Searched refs:rx_idx (Results 1 – 13 of 13) sorted by relevance
/linux/drivers/staging/mt7621-dma/ |
A D | hsdma-mt7621.c | 148 int rx_idx; member 196 chan->rx_idx = HSDMA_DESCS_NUM - 1; in mtk_hsdma_reset_chan() 199 mtk_hsdma_write(hsdma, HSDMA_REG_RX_CRX, chan->rx_idx); in mtk_hsdma_reset_chan() 237 chan->tx_idx, chan->rx_idx); in hsdma_dump_desc() 320 int rx_idx; in mtk_hsdma_start_transfer() local 356 rx_idx = HSDMA_NEXT_DESC(chan->rx_idx); in mtk_hsdma_start_transfer() 360 rx_desc = &chan->rx_ring[rx_idx]; in mtk_hsdma_start_transfer() 373 rx_idx = HSDMA_NEXT_DESC(rx_idx); in mtk_hsdma_start_transfer() 517 next_idx = HSDMA_NEXT_DESC(chan->rx_idx); in mtk_hsdma_rx() 525 chan->rx_idx = (chan->rx_idx + cnt) & HSDMA_DESCS_MASK; in mtk_hsdma_rx() [all …]
|
/linux/drivers/net/ethernet/intel/ixgbe/ |
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/ |
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() 1015 priv->rx_idx = 0; in rtl8180_init_rx_ring()
|
A D | rtl8180.h | 116 unsigned int rx_idx; member
|
/linux/drivers/staging/rtl8192e/rtl8192e/ |
A D | rtl_core.c | 1792 priv->rx_idx[rx_queue_idx] = 0; in _rtl92e_alloc_rx_ring() 1892 priv->rx_idx[rx_queue_idx] = 0; in rtl92e_reset_desc_ring() 2012 [priv->rx_idx[rx_queue_idx]]; in _rtl92e_rx_normal() 2014 [priv->rx_idx[rx_queue_idx]]; in _rtl92e_rx_normal() 2071 priv->rx_buf[rx_queue_idx][priv->rx_idx[rx_queue_idx]] = in _rtl92e_rx_normal() 2084 if (priv->rx_idx[rx_queue_idx] == priv->rxringcount - 1) in _rtl92e_rx_normal() 2086 priv->rx_idx[rx_queue_idx] = (priv->rx_idx[rx_queue_idx] + 1) % in _rtl92e_rx_normal()
|
A D | rtl_core.h | 377 unsigned int rx_idx[MAX_RX_QUEUE]; member
|
/linux/drivers/mailbox/ |
A 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/drivers/net/ethernet/amd/ |
A D | amd8111e.h | 755 unsigned long rx_idx, tx_idx; /* The next free ring entry */ member
|
A D | amd8111e.c | 283 lp->rx_idx = lp->tx_idx = 0; in amd8111e_init_ring() 686 int rx_index = lp->rx_idx & RX_RING_DR_MOD_MASK; in amd8111e_rx_poll() 776 rx_index = (++lp->rx_idx) & RX_RING_DR_MOD_MASK; in amd8111e_rx_poll()
|
/linux/drivers/tty/serial/ |
A D | atmel_serial.c | 1597 int rx_idx = atmel_port->pdc_rx_idx; in atmel_rx_from_pdc() local 1606 pdc = &atmel_port->pdc_rx[rx_idx]; in atmel_rx_from_pdc() 1653 rx_idx = !rx_idx; in atmel_rx_from_pdc() 1654 atmel_port->pdc_rx_idx = rx_idx; in atmel_rx_from_pdc()
|
/linux/drivers/net/ethernet/broadcom/bnx2x/ |
A D | bnx2x_ethtool.c | 2499 u16 rx_start_idx, rx_idx; in bnx2x_run_loopback() local 2652 rx_idx = le16_to_cpu(*fp_rx->rx_cons_sb); in bnx2x_run_loopback() 2653 if (rx_idx != rx_start_idx + num_pkts) in bnx2x_run_loopback()
|
/linux/drivers/net/ethernet/broadcom/ |
A D | bnx2.c | 5807 u16 rx_start_idx, rx_idx; in bnx2_run_loopback() local 5891 rx_idx = bnx2_get_hw_rx_cons(bnapi); in bnx2_run_loopback() 5892 if (rx_idx != rx_start_idx + num_pkts) { in bnx2_run_loopback()
|
A D | tg3.c | 13374 u32 rx_start_idx, rx_idx, tx_idx, opaque_key; in tg3_run_loopback() local 13507 rx_idx = rnapi->hw_status->idx[0].rx_producer; in tg3_run_loopback() 13509 (rx_idx == (rx_start_idx + num_pkts))) in tg3_run_loopback() 13519 if (rx_idx != rx_start_idx + num_pkts) in tg3_run_loopback() 13523 while (rx_idx != rx_start_idx) { in tg3_run_loopback()
|
Completed in 75 milliseconds