Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wwan/t7xx/
Dt7xx_hif_dpmaif.c212 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-6.12.1/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.12.1/drivers/staging/rtl8192e/rtl8192e/
Drtl_core.c1309 priv->rx_idx = 0; in _rtl92e_alloc_rx_ring()
1407 priv->rx_idx = 0; in rtl92e_reset_desc_ring()
1505 [priv->rx_idx]; in _rtl92e_rx_normal()
1507 [priv->rx_idx]; in _rtl92e_rx_normal()
1545 priv->rx_buf[priv->rx_idx] = skb; in _rtl92e_rx_normal()
1557 if (priv->rx_idx == priv->rxringcount - 1) in _rtl92e_rx_normal()
1559 priv->rx_idx = (priv->rx_idx + 1) % in _rtl92e_rx_normal()
Drtl_core.h231 unsigned int rx_idx; member
/linux-6.12.1/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.12.1/drivers/mailbox/
Dbcm-pdc-mailbox.c585 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-6.12.1/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.12.1/drivers/tty/serial/
Datmel_serial.c1589 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-6.12.1/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c2501 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-6.12.1/drivers/net/ethernet/broadcom/
Dbnx2.c5792 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()
Dtg3.c13480 u32 rx_start_idx, rx_idx, tx_idx, opaque_key; in tg3_run_loopback() local
13613 rx_idx = rnapi->hw_status->idx[0].rx_producer; in tg3_run_loopback()
13615 (rx_idx == (rx_start_idx + num_pkts))) in tg3_run_loopback()
13625 if (rx_idx != rx_start_idx + num_pkts) in tg3_run_loopback()
13629 while (rx_idx != rx_start_idx) { in tg3_run_loopback()