Home
last modified time | relevance | path

Searched refs:rx_ctrl (Results 1 – 18 of 18) sorted by relevance

/drivers/net/ethernet/brocade/bna/
Dbnad.c595 struct bnad_rx_ctrl *rx_ctrl = ccb->ctrl; in bnad_cq_process() local
633 skb = napi_get_frags(&rx_ctrl->napi); in bnad_cq_process()
717 napi_gro_frags(&rx_ctrl->napi); in bnad_cq_process()
728 napi_gro_flush(&rx_ctrl->napi, false); in bnad_cq_process()
742 struct bnad_rx_ctrl *rx_ctrl = (struct bnad_rx_ctrl *)(ccb->ctrl); in bnad_netif_rx_schedule_poll() local
743 struct napi_struct *napi = &rx_ctrl->napi; in bnad_netif_rx_schedule_poll()
747 rx_ctrl->rx_schedule++; in bnad_netif_rx_schedule_poll()
799 struct bnad_rx_ctrl *rx_ctrl; in bnad_isr() local
838 rx_ctrl = &rx_info->rx_ctrl[j]; in bnad_isr()
839 if (rx_ctrl->ccb) in bnad_isr()
[all …]
Dbnad_ethtool.c651 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_strings()
652 bnad->rx_info[i].rx_ctrl[j].ccb-> in bnad_get_strings()
654 bnad->rx_info[i].rx_ctrl[j].ccb-> in bnad_get_strings()
738 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_get_stats_count_locked()
739 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1] && in bnad_get_stats_count_locked()
740 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[1]->rxq) in bnad_get_stats_count_locked()
763 if (bnad->rx_info[i].rx_ctrl[j].ccb && in bnad_per_q_stats_fill()
764 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0] && in bnad_per_q_stats_fill()
765 bnad->rx_info[i].rx_ctrl[j].ccb->rcb[0]->rxq) { in bnad_per_q_stats_fill()
766 buf[bi++] = bnad->rx_info[i].rx_ctrl[j]. in bnad_per_q_stats_fill()
[all …]
Dbnad.h213 struct bnad_rx_ctrl rx_ctrl[BNAD_MAX_RXP_PER_RX]; member
/drivers/net/wireless/ath/carl9170/
Dmac.c309 u32 rx_ctrl = AR9170_MAC_RX_CTRL_DEAGG | in carl9170_set_operating_mode() local
330 rx_ctrl |= AR9170_MAC_RX_CTRL_PASS_TO_HOST; in carl9170_set_operating_mode()
334 rx_ctrl |= AR9170_MAC_RX_CTRL_PASS_TO_HOST; in carl9170_set_operating_mode()
338 rx_ctrl |= AR9170_MAC_RX_CTRL_PASS_TO_HOST; in carl9170_set_operating_mode()
362 rx_ctrl |= AR9170_MAC_RX_CTRL_PASS_TO_HOST; in carl9170_set_operating_mode()
390 carl9170_regwrite(AR9170_MAC_REG_RX_CONTROL, rx_ctrl); in carl9170_set_operating_mode()
/drivers/net/ethernet/atheros/alx/
Dhw.c388 hw->rx_ctrl &= ~(ALX_MAC_CTRL_RX_EN | ALX_MAC_CTRL_TX_EN); in alx_stop_mac()
389 alx_write_mem32(hw, ALX_MAC_CTRL, hw->rx_ctrl); in alx_stop_mac()
480 alx_write_mem32(hw, ALX_MAC_CTRL, hw->rx_ctrl); in alx_reset_mac()
616 mac = hw->rx_ctrl; in alx_start_mac()
625 hw->rx_ctrl = mac; in alx_start_mac()
632 hw->rx_ctrl |= ALX_MAC_CTRL_RXFC_EN; in alx_cfg_mac_flowcontrol()
634 hw->rx_ctrl &= ~ALX_MAC_CTRL_RXFC_EN; in alx_cfg_mac_flowcontrol()
637 hw->rx_ctrl |= ALX_MAC_CTRL_TXFC_EN; in alx_cfg_mac_flowcontrol()
639 hw->rx_ctrl &= ~ALX_MAC_CTRL_TXFC_EN; in alx_cfg_mac_flowcontrol()
641 alx_write_mem32(hw, ALX_MAC_CTRL, hw->rx_ctrl); in alx_cfg_mac_flowcontrol()
[all …]
Dhw.h398 u64 rx_ctrl; /* RX control packets other than pause frames */ member
478 u32 rx_ctrl; member
Dmain.c584 hw->rx_ctrl &= ~(ALX_MAC_CTRL_MULTIALL_EN | ALX_MAC_CTRL_PROMISC_EN); in __alx_set_rx_mode()
586 hw->rx_ctrl |= ALX_MAC_CTRL_PROMISC_EN; in __alx_set_rx_mode()
588 hw->rx_ctrl |= ALX_MAC_CTRL_MULTIALL_EN; in __alx_set_rx_mode()
590 alx_write_mem32(hw, ALX_MAC_CTRL, hw->rx_ctrl); in __alx_set_rx_mode()
1086 hw->rx_ctrl = ALX_MAC_CTRL_WOLSPED_SWEN | in alx_init_sw()
1145 alx_write_mem32(hw, ALX_MAC_CTRL, hw->rx_ctrl); in alx_configure()
/drivers/net/hippi/
Drrunner.c664 rrpriv->rx_ctrl[4].entry_size = sizeof(struct rx_desc); in rr_init1()
665 rrpriv->rx_ctrl[4].entries = RX_RING_ENTRIES; in rr_init1()
666 rrpriv->rx_ctrl[4].mode = 8; in rr_init1()
667 rrpriv->rx_ctrl[4].pi = 0; in rr_init1()
669 set_rraddr(&rrpriv->rx_ctrl[4].rngptr, rrpriv->rx_ring_dma); in rr_init1()
1154 memset(rrpriv->rx_ctrl, 0, 256 * sizeof(struct ring_ctrl)); in rr_timer()
1191 rrpriv->rx_ctrl = pci_alloc_consistent(pdev, in rr_open()
1194 if (!rrpriv->rx_ctrl) { in rr_open()
1244 if (rrpriv->rx_ctrl) { in rr_open()
1246 rrpriv->rx_ctrl, rrpriv->rx_ctrl_dma); in rr_open()
[all …]
Drrunner.h812 struct ring_ctrl *rx_ctrl; /* Receive ring control */ member
/drivers/net/ethernet/seeq/
Dsgiseeq.c135 hregs->rx_ctrl = hregs->tx_ctrl = 0; in reset_hpc3_and_seeq()
147 hregs->rx_ctrl = HPC3_ERXCTRL_ACTIVE; in seeq_go()
278 hregs->rx_cbptr, hregs->rx_ndptr, hregs->rx_ctrl); in sgiseeq_dump_rings()
331 if (!(hregs->rx_ctrl & HPC3_ERXCTRL_ACTIVE)) { in rx_maybe_restart()
/drivers/net/ethernet/qualcomm/emac/
Demac.h218 u64 rx_ctrl; /* control packets other than pause frame. */ member
/drivers/net/ethernet/atheros/atl1e/
Datl1e.h252 unsigned long rx_ctrl; /* The number of Control packet received other than Pause frame. */ member
/drivers/net/wireless/marvell/
Dmwl8k.c955 __u8 rx_ctrl; member
976 rxd->rx_ctrl = MWL8K_AP_RX_CTRL_OWNED_BY_HOST; in mwl8k_rxd_ap_init()
986 rxd->rx_ctrl = 0; in mwl8k_rxd_ap_refill()
995 if (!(rxd->rx_ctrl & MWL8K_AP_RX_CTRL_OWNED_BY_HOST)) in mwl8k_rxd_ap_process()
1063 __u8 rx_ctrl; member
1087 rxd->rx_ctrl = MWL8K_STA_RX_CTRL_OWNED_BY_HOST; in mwl8k_rxd_sta_init()
1097 rxd->rx_ctrl = 0; in mwl8k_rxd_sta_refill()
1107 if (!(rxd->rx_ctrl & MWL8K_STA_RX_CTRL_OWNED_BY_HOST)) in mwl8k_rxd_sta_process()
1141 if ((rxd->rx_ctrl & MWL8K_STA_RX_CTRL_DECRYPT_ERROR) && in mwl8k_rxd_sta_process()
1142 (rxd->rx_ctrl & MWL8K_STA_RX_CTRL_DEC_ERR_TYPE)) in mwl8k_rxd_sta_process()
/drivers/net/ethernet/atheros/atl1c/
Datl1c.h305 unsigned long rx_ctrl; /* The number of Control packet received other than Pause frame. */ member
/drivers/net/ethernet/atheros/atlx/
Datl1.h315 u32 rx_ctrl; /* RX control packets other than pause frames */ member
/drivers/net/ethernet/nvidia/
Dforcedeth.c1536 u32 rx_ctrl = readl(base + NvRegReceiverControl); in nv_start_rx() local
1540 rx_ctrl &= ~NVREG_RCVCTL_START; in nv_start_rx()
1541 writel(rx_ctrl, base + NvRegReceiverControl); in nv_start_rx()
1546 rx_ctrl |= NVREG_RCVCTL_START; in nv_start_rx()
1548 rx_ctrl &= ~NVREG_RCVCTL_RX_PATH_EN; in nv_start_rx()
1549 writel(rx_ctrl, base + NvRegReceiverControl); in nv_start_rx()
1557 u32 rx_ctrl = readl(base + NvRegReceiverControl); in nv_stop_rx() local
1560 rx_ctrl &= ~NVREG_RCVCTL_START; in nv_stop_rx()
1562 rx_ctrl |= NVREG_RCVCTL_RX_PATH_EN; in nv_stop_rx()
1563 writel(rx_ctrl, base + NvRegReceiverControl); in nv_stop_rx()
/drivers/net/wireless/ti/wlcore/
Dacx.h514 __le32 rx_ctrl; member
/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h1092 u32 rx_ctrl; member