/drivers/net/ethernet/intel/ixgb/ |
D | ixgb.h | 121 unsigned int next_to_clean; member 127 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 128 (R)->next_to_clean - (R)->next_to_use - 1)
|
D | ixgb_main.c | 723 txdr->next_to_clean = 0; in ixgb_setup_tx_resources() 807 rxdr->next_to_clean = 0; in ixgb_setup_rx_resources() 976 tx_ring->next_to_clean = 0; in ixgb_clean_tx_ring() 1046 rx_ring->next_to_clean = 0; in ixgb_clean_rx_ring() 1850 i = tx_ring->next_to_clean; in ixgb_clean_tx_irq() 1878 tx_ring->next_to_clean = i; in ixgb_clean_tx_irq() 1916 tx_ring->next_to_clean, in ixgb_clean_tx_irq() 2005 i = rx_ring->next_to_clean; in ixgb_clean_rx_irq() 2097 rx_ring->next_to_clean = i; in ixgb_clean_rx_irq()
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000.h | 182 unsigned int next_to_clean; member 203 unsigned int next_to_clean; member 216 ((((R)->next_to_clean > (R)->next_to_use) \ 217 ? 0 : (R)->count) + (R)->next_to_clean - (R)->next_to_use - 1)
|
/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.h | 42 unsigned int next_to_clean; member 55 unsigned int next_to_clean; member 117 #define RING_USED(ring) (((ring)->next_to_fill - (ring)->next_to_clean) \
|
D | pasemi_mac.c | 478 ring->next_to_clean = 0; in pasemi_mac_setup_rx_resources() 541 ring->next_to_clean = 0; in pasemi_mac_setup_tx_resources() 563 start = txring->next_to_clean; in pasemi_mac_free_tx_resources() 759 n = rx->next_to_clean; in pasemi_mac_clean_rx() 840 rx_ring(mac)->next_to_clean = n; in pasemi_mac_clean_rx() 882 start = txring->next_to_clean; in pasemi_mac_clean_tx() 937 txring->next_to_clean = i & (TX_RING_SIZE-1); in pasemi_mac_clean_tx()
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 880 atomic_set(&tpd_ring->next_to_clean, 0); in atl1c_clean_tx_ring() 902 rfd_ring->next_to_clean = 0; in atl1c_clean_rx_ring() 905 rrd_ring->next_to_clean = 0; in atl1c_clean_rx_ring() 921 atomic_set(&tpd_ring[i].next_to_clean, 0); in atl1c_init_ring_ptrs() 928 rfd_ring->next_to_clean = 0; in atl1c_init_ring_ptrs() 930 rrd_ring->next_to_clean = 0; in atl1c_init_ring_ptrs() 1550 u16 next_to_clean = atomic_read(&tpd_ring->next_to_clean); in atl1c_clean_tx_irq() local 1558 while (next_to_clean != hw_next_to_clean) { in atl1c_clean_tx_irq() 1559 buffer_info = &tpd_ring->buffer_info[next_to_clean]; in atl1c_clean_tx_irq() 1561 if (++next_to_clean == tpd_ring->count) in atl1c_clean_tx_irq() [all …]
|
D | atl1c.h | 492 atomic_t next_to_clean; member 503 u16 next_to_clean; member 514 u16 next_to_clean; member
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq.c | 388 hw->aq.asq.next_to_clean = 0; in i40e_init_asq() 447 hw->aq.arq.next_to_clean = 0; in i40e_init_arq() 670 u16 ntc = asq->next_to_clean; in i40e_clean_asq() 696 asq->next_to_clean = ntc; in i40e_clean_asq() 946 u16 ntc = hw->aq.arq.next_to_clean; in i40e_clean_arq_element() 1014 hw->aq.arq.next_to_clean = ntc; in i40e_clean_arq_element() 1038 hw->aq.asq.next_to_clean = 0; in i40e_resume_aq() 1043 hw->aq.arq.next_to_clean = 0; in i40e_resume_aq()
|
D | i40e_txrx.c | 559 tx_ring->next_to_clean = 0; in i40e_clean_tx_ring() 597 u32 ntu = ((ring->next_to_clean <= ring->next_to_use) in i40e_get_tx_pending() 600 return ntu - ring->next_to_clean; in i40e_get_tx_pending() 670 u16 i = tx_ring->next_to_clean; in i40e_clean_tx_irq() 754 tx_ring->next_to_clean = i; in i40e_clean_tx_irq() 969 tx_ring->next_to_clean = 0; in i40e_setup_tx_descriptors() 1027 rx_ring->next_to_clean = 0; in i40e_clean_rx_ring() 1080 rx_ring->next_to_clean = 0; in i40e_setup_rx_descriptors() 1381 u16 i = rx_ring->next_to_clean; in i40e_clean_rx_irq() 1554 rx_ring->next_to_clean = i; in i40e_clean_rx_irq()
|
D | i40e_adminq.h | 53 u16 next_to_clean; member
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_adminq.c | 386 hw->aq.asq.next_to_clean = 0; in i40e_init_asq() 445 hw->aq.arq.next_to_clean = 0; in i40e_init_arq() 623 u16 ntc = asq->next_to_clean; in i40e_clean_asq() 650 asq->next_to_clean = ntc; in i40e_clean_asq() 895 u16 ntc = hw->aq.arq.next_to_clean; in i40evf_clean_arq_element() 966 hw->aq.arq.next_to_clean = ntc; in i40evf_clean_arq_element() 982 hw->aq.asq.next_to_clean = 0; in i40evf_resume_aq() 987 hw->aq.arq.next_to_clean = 0; in i40evf_resume_aq()
|
D | i40e_txrx.c | 99 tx_ring->next_to_clean = 0; in i40evf_clean_tx_ring() 137 u32 ntu = ((ring->next_to_clean <= ring->next_to_use) in i40e_get_tx_pending() 140 return ntu - ring->next_to_clean; in i40e_get_tx_pending() 204 u16 i = tx_ring->next_to_clean; in i40e_clean_tx_irq() 288 tx_ring->next_to_clean = i; in i40e_clean_tx_irq() 474 tx_ring->next_to_clean = 0; in i40evf_setup_tx_descriptors() 532 rx_ring->next_to_clean = 0; in i40evf_clean_rx_ring() 585 rx_ring->next_to_clean = 0; in i40evf_setup_rx_descriptors() 886 u16 i = rx_ring->next_to_clean; in i40e_clean_rx_irq() 1038 rx_ring->next_to_clean = i; in i40e_clean_rx_irq()
|
D | i40evf.h | 130 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 131 (R)->next_to_clean - (R)->next_to_use - 1)
|
D | i40e_adminq.h | 53 u16 next_to_clean; member
|
/drivers/net/ethernet/intel/igb/ |
D | igb.h | 252 u16 next_to_clean; member 317 if (ring->next_to_clean > ring->next_to_use) in igb_desc_unused() 318 return ring->next_to_clean - ring->next_to_use - 1; in igb_desc_unused() 320 return ring->count + ring->next_to_clean - ring->next_to_use - 1; in igb_desc_unused()
|
/drivers/net/ethernet/atheros/atlx/ |
D | atl1.c | 1134 atomic_set(&tpd_ring->next_to_clean, 0); in atl1_init_ring_ptrs() 1136 rfd_ring->next_to_clean = 0; in atl1_init_ring_ptrs() 1140 atomic_set(&rrd_ring->next_to_clean, 0); in atl1_init_ring_ptrs() 1176 rfd_ring->next_to_clean = 0; in atl1_clean_rx_ring() 1180 atomic_set(&rrd_ring->next_to_clean, 0); in atl1_clean_rx_ring() 1220 atomic_set(&tpd_ring->next_to_clean, 0); in atl1_clean_tx_ring() 1520 ((atomic_read(&adapter->rrd_ring.next_to_clean) in atl1_configure() 1766 rrd_next_to_clean = atomic_read(&adapter->rrd_ring.next_to_clean); in atl1_update_mailbox() 1784 while (rfd_ring->next_to_clean != (rrd->buf_indx + offset)) { in atl1_clean_alloc_flag() 1785 rfd_ring->buffer_info[rfd_ring->next_to_clean].alloced = 0; in atl1_clean_alloc_flag() [all …]
|
D | atl1.h | 620 atomic_t next_to_clean; member 632 u16 next_to_clean; member 643 atomic_t next_to_clean; member
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 772 atomic_set(&tx_ring->next_to_clean, 0); in atl1e_init_ring_ptrs() 1251 u16 next_to_clean = atomic_read(&tx_ring->next_to_clean); in atl1e_clean_tx_irq() local 1253 while (next_to_clean != hw_next_to_clean) { in atl1e_clean_tx_irq() 1254 tx_buffer = &tx_ring->tx_buffer[next_to_clean]; in atl1e_clean_tx_irq() 1270 if (++next_to_clean == tx_ring->count) in atl1e_clean_tx_irq() 1271 next_to_clean = 0; in atl1e_clean_tx_irq() 1274 atomic_set(&tx_ring->next_to_clean, next_to_clean); in atl1e_clean_tx_irq() 1573 u16 next_to_clean = 0; in atl1e_tpd_avail() local 1575 next_to_clean = atomic_read(&tx_ring->next_to_clean); in atl1e_tpd_avail() 1578 return (u16)(next_to_clean > next_to_use) ? in atl1e_tpd_avail() [all …]
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 71 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 72 (R)->next_to_clean - (R)->next_to_use - 1) 998 tx_ring->next_to_clean = 0; in pch_gbe_clean_tx_ring() 1029 rx_ring->next_to_clean = 0; in pch_gbe_clean_rx_ring() 1547 tx_ring->next_to_clean); in pch_gbe_clean_tx() 1549 i = tx_ring->next_to_clean; in pch_gbe_clean_tx() 1562 tx_ring->next_to_clean, tx_ring->next_to_use, in pch_gbe_clean_tx() 1651 tx_ring->next_to_clean = i; in pch_gbe_clean_tx() 1654 tx_ring->next_to_clean); in pch_gbe_clean_tx() 1688 i = rx_ring->next_to_clean; in pch_gbe_clean_rx() [all …]
|
D | pch_gbe.h | 500 unsigned int next_to_clean; member 523 unsigned int next_to_clean; member
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 295 rx_buffer = &rx_ring->rx_buffer[rx_ring->next_to_clean]; in fm10k_fetch_rx_buffer() 496 u32 ntc = rx_ring->next_to_clean + 1; in fm10k_is_non_eop() 500 rx_ring->next_to_clean = ntc; in fm10k_is_non_eop() 621 rx_desc = FM10K_RX_DESC(rx_ring, rx_ring->next_to_clean); in fm10k_clean_rx_irq() 1141 u32 head = ring->next_to_clean; in fm10k_get_tx_pending() 1204 unsigned int i = tx_ring->next_to_clean; in fm10k_clean_tx_irq() 1286 tx_ring->next_to_clean = i; in fm10k_clean_tx_irq()
|
D | fm10k.h | 139 u16 next_to_clean; member 384 s16 unused = ring->next_to_clean - ring->next_to_use - 1; in fm10k_desc_unused()
|
/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 92 if (ring->next_to_clean > ring->next_to_use) in igbvf_desc_unused() 93 return ring->next_to_clean - ring->next_to_use - 1; in igbvf_desc_unused() 95 return ring->count + ring->next_to_clean - ring->next_to_use - 1; in igbvf_desc_unused() 278 i = rx_ring->next_to_clean; in igbvf_clean_rx_irq() 391 rx_ring->next_to_clean = i; in igbvf_clean_rx_irq() 455 tx_ring->next_to_clean = 0; in igbvf_setup_tx_resources() 493 rx_ring->next_to_clean = 0; in igbvf_setup_rx_resources() 535 tx_ring->next_to_clean = 0; in igbvf_clean_tx_ring() 617 rx_ring->next_to_clean = 0; in igbvf_clean_rx_ring() 801 i = tx_ring->next_to_clean; in igbvf_clean_tx_irq() [all …]
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf.h | 97 unsigned int next_to_clean; member 312 u16 ntc = ring->next_to_clean; in ixgbevf_desc_unused()
|
/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 261 buffer_info = &tx_ring->buffer_info[tx_ring->next_to_clean]; in e1000e_dump() 263 0, tx_ring->next_to_use, tx_ring->next_to_clean, in e1000e_dump() 310 if (i == tx_ring->next_to_use && i == tx_ring->next_to_clean) in e1000e_dump() 314 else if (i == tx_ring->next_to_clean) in e1000e_dump() 340 0, rx_ring->next_to_use, rx_ring->next_to_clean); in e1000e_dump() 386 else if (i == rx_ring->next_to_clean) in e1000e_dump() 452 else if (i == rx_ring->next_to_clean) in e1000e_dump() 490 if (ring->next_to_clean > ring->next_to_use) in e1000_desc_unused() 491 return ring->next_to_clean - ring->next_to_use - 1; in e1000_desc_unused() 493 return ring->count + ring->next_to_clean - ring->next_to_use - 1; in e1000_desc_unused() [all …]
|