Searched refs:rx_idx (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/net/wwan/t7xx/ |
H A D | t7xx_hif_dpmaif.c | 212 int ret, rx_idx, tx_idx, i; in t7xx_dpmaif_rxtx_sw_allocs() local 226 for (rx_idx = 0; rx_idx < DPMAIF_RXQ_NUM; rx_idx++) { in t7xx_dpmaif_rxtx_sw_allocs() 227 rx_q = &dpmaif_ctrl->rxq[rx_idx]; in t7xx_dpmaif_rxtx_sw_allocs() 228 rx_q->index = rx_idx; in t7xx_dpmaif_rxtx_sw_allocs() 266 for (i = 0; i < rx_idx; i++) { in t7xx_dpmaif_rxtx_sw_allocs()
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_lib.c | 151 unsigned int tx_idx, rx_idx; in ixgbe_cache_ring_dcb() local 161 ixgbe_get_first_reg_idx(adapter, tc, &tx_idx, &rx_idx); in ixgbe_cache_ring_dcb() 162 for (i = 0; i < rss_i; i++, tx_idx++, rx_idx++) { in ixgbe_cache_ring_dcb() 164 adapter->rx_ring[offset + i]->reg_idx = rx_idx; in ixgbe_cache_ring_dcb()
|
/linux/drivers/net/wireless/realtek/rtl818x/rtl8180/ |
H A D | rtl8180.h | 116 unsigned int rx_idx; member
|
H A D | dev.c | 221 void *entry = priv->rx_ring + priv->rx_idx * priv->rx_ring_sz; in rtl8180_handle_rx() 222 struct sk_buff *skb = priv->rx_buf[priv->rx_idx]; in rtl8180_handle_rx() 326 priv->rx_buf[priv->rx_idx] = skb; in rtl8180_handle_rx() 335 if (priv->rx_idx == 31) in rtl8180_handle_rx() 338 priv->rx_idx = (priv->rx_idx + 1) % 32; in rtl8180_handle_rx() 1019 priv->rx_idx = 0; in rtl8180_init_rx_ring()
|
/linux/drivers/mailbox/ |
H A D | bcm-pdc-mailbox.c | 585 u32 rx_idx; /* ring index of start of receive frame */ in pdc_receive_one() local 615 rx_idx = pdcs->rxin; in pdc_receive_one() 616 rx_ctx = &pdcs->rx_ctx[rx_idx]; in pdc_receive_one()
|
/linux/drivers/tty/serial/ |
H A D | atmel_serial.c | 1589 int rx_idx = atmel_port->pdc_rx_idx; in atmel_rx_from_pdc() local 1598 pdc = &atmel_port->pdc_rx[rx_idx]; in atmel_rx_from_pdc() 1645 rx_idx = !rx_idx; in atmel_rx_from_pdc() 1646 atmel_port->pdc_rx_idx = rx_idx; in atmel_rx_from_pdc()
|
/linux/drivers/net/ethernet/amd/ |
H A D | amd8111e.c | 282 lp->rx_idx = lp->tx_idx = 0; in amd8111e_init_ring() 685 int rx_index = lp->rx_idx & RX_RING_DR_MOD_MASK; in amd8111e_rx_poll() 775 rx_index = (++lp->rx_idx) & RX_RING_DR_MOD_MASK; in amd8111e_rx_poll()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_ethtool.c | 2501 u16 rx_start_idx, rx_idx; in bnx2x_run_loopback() local 2654 rx_idx = le16_to_cpu(*fp_rx->rx_cons_sb); in bnx2x_run_loopback() 2655 if (rx_idx != rx_start_idx + num_pkts) in bnx2x_run_loopback()
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | bnx2.c | 5792 u16 rx_start_idx, rx_idx; in bnx2_run_loopback() local 5876 rx_idx = bnx2_get_hw_rx_cons(bnapi); in bnx2_run_loopback() 5877 if (rx_idx != rx_start_idx + num_pkts) { in bnx2_run_loopback()
|
H A D | tg3.c | 13516 u32 rx_start_idx, rx_idx, tx_idx, opaque_key; in tg3_run_loopback() local 13649 rx_idx = rnapi->hw_status->idx[0].rx_producer; in tg3_run_loopback() 13651 (rx_idx == (rx_start_idx + num_pkts))) in tg3_run_loopback() 13661 if (rx_idx != rx_start_idx + num_pkts) in tg3_run_loopback() 13665 while (rx_idx != rx_start_idx) { in tg3_run_loopback()
|