Searched refs:rx_idx (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/drivers/net/wwan/t7xx/ |
D | t7xx_hif_dpmaif.c | 203 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/ |
D | rtl8180.h | 116 unsigned int rx_idx; member
|
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-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
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-6.1.9/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_core.c | 1700 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()
|
D | rtl_core.h | 377 unsigned int rx_idx[MAX_RX_QUEUE]; member
|
/linux-6.1.9/drivers/net/ethernet/amd/ |
D | amd8111e.h | 755 unsigned long rx_idx, tx_idx; /* The next free ring entry */ member
|
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-6.1.9/drivers/mailbox/ |
D | bcm-pdc-mailbox.c | 589 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/ |
D | atmel_serial.c | 1614 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/ |
D | bnx2x_ethtool.c | 2503 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/ |
D | bnx2.c | 5808 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()
|
D | tg3.c | 13380 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()
|