Home
last modified time | relevance | path

Searched refs:rx_idx (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif.c203 int ret, rx_idx, tx_idx, i; in t7xx_dpmaif_rxtx_sw_allocs() local
217 for (rx_idx = 0; rx_idx < DPMAIF_RXQ_NUM; rx_idx++) { in t7xx_dpmaif_rxtx_sw_allocs()
218 rx_q = &dpmaif_ctrl->rxq[rx_idx]; in t7xx_dpmaif_rxtx_sw_allocs()
219 rx_q->index = rx_idx; in t7xx_dpmaif_rxtx_sw_allocs()
257 for (i = 0; i < rx_idx; i++) { in t7xx_dpmaif_rxtx_sw_allocs()
/linux-6.1.9/drivers/net/wireless/realtek/rtl818x/rtl8180/
Drtl8180.h116 unsigned int rx_idx; member
Ddev.c221 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-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_lib.c151 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-6.1.9/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.c1700 priv->rx_idx[rx_queue_idx] = 0; in _rtl92e_alloc_rx_ring()
1800 priv->rx_idx[rx_queue_idx] = 0; in rtl92e_reset_desc_ring()
1916 [priv->rx_idx[rx_queue_idx]]; in _rtl92e_rx_normal()
1918 [priv->rx_idx[rx_queue_idx]]; in _rtl92e_rx_normal()
1975 priv->rx_buf[rx_queue_idx][priv->rx_idx[rx_queue_idx]] = in _rtl92e_rx_normal()
1988 if (priv->rx_idx[rx_queue_idx] == priv->rxringcount - 1) in _rtl92e_rx_normal()
1990 priv->rx_idx[rx_queue_idx] = (priv->rx_idx[rx_queue_idx] + 1) % in _rtl92e_rx_normal()
Drtl_core.h377 unsigned int rx_idx[MAX_RX_QUEUE]; member
/linux-6.1.9/drivers/net/ethernet/amd/
Damd8111e.h755 unsigned long rx_idx, tx_idx; /* The next free ring entry */ member
Damd8111e.c282 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-6.1.9/drivers/mailbox/
Dbcm-pdc-mailbox.c589 u32 rx_idx; /* ring index of start of receive frame */ in pdc_receive_one() local
619 rx_idx = pdcs->rxin; in pdc_receive_one()
620 rx_ctx = &pdcs->rx_ctx[rx_idx]; in pdc_receive_one()
/linux-6.1.9/drivers/tty/serial/
Datmel_serial.c1614 int rx_idx = atmel_port->pdc_rx_idx; in atmel_rx_from_pdc() local
1623 pdc = &atmel_port->pdc_rx[rx_idx]; in atmel_rx_from_pdc()
1670 rx_idx = !rx_idx; in atmel_rx_from_pdc()
1671 atmel_port->pdc_rx_idx = rx_idx; in atmel_rx_from_pdc()
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c2503 u16 rx_start_idx, rx_idx; in bnx2x_run_loopback() local
2656 rx_idx = le16_to_cpu(*fp_rx->rx_cons_sb); in bnx2x_run_loopback()
2657 if (rx_idx != rx_start_idx + num_pkts) in bnx2x_run_loopback()
/linux-6.1.9/drivers/net/ethernet/broadcom/
Dbnx2.c5808 u16 rx_start_idx, rx_idx; in bnx2_run_loopback() local
5892 rx_idx = bnx2_get_hw_rx_cons(bnapi); in bnx2_run_loopback()
5893 if (rx_idx != rx_start_idx + num_pkts) { in bnx2_run_loopback()
Dtg3.c13380 u32 rx_start_idx, rx_idx, tx_idx, opaque_key; in tg3_run_loopback() local
13513 rx_idx = rnapi->hw_status->idx[0].rx_producer; in tg3_run_loopback()
13515 (rx_idx == (rx_start_idx + num_pkts))) in tg3_run_loopback()
13525 if (rx_idx != rx_start_idx + num_pkts) in tg3_run_loopback()
13529 while (rx_idx != rx_start_idx) { in tg3_run_loopback()