/drivers/net/ethernet/intel/ixgb/ |
H A D | ixgb.h | 132 unsigned int next_to_use; member in struct:ixgb_desc_ring 140 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 141 (R)->next_to_clean - (R)->next_to_use - 1)
|
H A D | ixgb_main.c | 733 txdr->next_to_use = 0; 824 rxdr->next_to_use = 0; 991 tx_ring->next_to_use = 0; 1063 rx_ring->next_to_use = 0; 1268 i = adapter->tx_ring.next_to_use; 1292 adapter->tx_ring.next_to_use = i; 1312 i = adapter->tx_ring.next_to_use; 1330 adapter->tx_ring.next_to_use = i; 1354 i = tx_ring->next_to_use; 1465 i = tx_ring->next_to_use; [all...] |
/drivers/net/ethernet/intel/e1000/ |
H A D | e1000.h | 168 unsigned int next_to_use; member in struct:e1000_tx_ring 189 unsigned int next_to_use; member in struct:e1000_rx_ring 204 ((((R)->next_to_clean > (R)->next_to_use) \ 205 ? 0 : (R)->count) + (R)->next_to_clean - (R)->next_to_use - 1)
|
H A D | e1000_main.c | 398 * next_to_use != next_to_clean */ 1561 txdr->next_to_use = 0; 1761 rxdr->next_to_use = 0; 2000 tx_ring->next_to_use = 0; 2114 rx_ring->next_to_use = 0; 2747 i = tx_ring->next_to_use; 2765 tx_ring->next_to_use = i; 2803 i = tx_ring->next_to_use; 2819 tx_ring->next_to_use = i; 2840 i = tx_ring->next_to_use; [all...] |
H A D | e1000_ethtool.c | 991 txdr->next_to_use = txdr->next_to_clean = 0; 1046 rxdr->next_to_use = rxdr->next_to_clean = 0;
|
/drivers/net/ethernet/intel/igb/ |
H A D | igb.h | 229 u16 next_to_use; member in struct:igb_ring 275 if (ring->next_to_clean > ring->next_to_use) 276 return ring->next_to_clean - ring->next_to_use - 1; 278 return ring->count + ring->next_to_clean - ring->next_to_use - 1;
|
H A D | igb_main.c | 395 n, tx_ring->next_to_use, tx_ring->next_to_clean, 434 if (i == tx_ring->next_to_use && 437 else if (i == tx_ring->next_to_use) 469 n, rx_ring->next_to_use, rx_ring->next_to_clean); 517 if (i == rx_ring->next_to_use) 1493 * next_to_use != next_to_clean */ 2653 tx_ring->next_to_use = 0; 2810 rx_ring->next_to_use = 0; 3253 tx_ring->next_to_use = 0; 3354 rx_ring->next_to_use [all...] |
/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf.h | 66 unsigned int next_to_use; member in struct:ixgbevf_ring 168 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 169 (R)->next_to_clean - (R)->next_to_use - 1)
|
H A D | ixgbevf_main.c | 360 i = rx_ring->next_to_use; 426 if (rx_ring->next_to_use != i) { 427 rx_ring->next_to_use = i; 1542 ring->next_to_use = ring->count - 1; 1543 writel(ring->next_to_use, adapter->hw.hw_addr + ring->tail); 1739 rx_ring->next_to_use = 0; 1774 tx_ring->next_to_use = 0; 2470 tx_ring->next_to_use = 0; 2548 rx_ring->next_to_use = 0; 2763 i = tx_ring->next_to_use; [all...] |
/drivers/net/ethernet/atheros/atlx/ |
H A D | atl1.c | 1137 atomic_set(&tpd_ring->next_to_use, 0); 1141 atomic_set(&rfd_ring->next_to_use, 0); 1143 rrd_ring->next_to_use = 0; 1181 atomic_set(&rfd_ring->next_to_use, 0); 1183 rrd_ring->next_to_use = 0; 1223 atomic_set(&tpd_ring->next_to_use, 0); 1522 value = ((atomic_read(&adapter->tpd_ring.next_to_use) 1526 ((atomic_read(&adapter->rfd_ring.next_to_use) 1761 tpd_next_to_use = atomic_read(&adapter->tpd_ring.next_to_use); 1762 rfd_next_to_use = atomic_read(&adapter->rfd_ring.next_to_use); 2103 u16 next_to_use = atomic_read(&tpd_ring->next_to_use); local 2206 u16 next_to_use; local 2307 u16 next_to_use = (u16) atomic_read(&tpd_ring->next_to_use); local [all...] |
H A D | atl1.h | 617 atomic_t next_to_use; member in struct:atl1_tpd_ring 627 atomic_t next_to_use; member in struct:atl1_rfd_ring 638 u16 next_to_use; member in struct:atl1_rrd_ring
|
/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c_main.c | 844 tpd_ring->next_to_use = 0; 867 rfd_ring[i].next_to_use = 0; 868 rrd_ring[i].next_to_use = 0; 885 tpd_ring[i].next_to_use = 0; 893 rfd_ring[i].next_to_use = 0; 895 rrd_ring[i].next_to_use = 0; 1759 next_next = rfd_next_to_use = rfd_ring->next_to_use; 1801 rfd_ring->next_to_use = rfd_next_to_use; 1803 rfd_ring->next_to_use & MB_RFDX_PROD_IDX_MASK); 1964 u16 next_to_use local 1985 u16 next_to_use = 0; local [all...] |
H A D | atl1c.h | 518 u16 next_to_use; /* this is protectd by adapter->tx_lock */ member in struct:atl1c_tpd_ring 529 u16 next_to_use; member in struct:atl1c_rfd_ring 540 u16 next_to_use; member in struct:atl1c_rrd_ring
|
/drivers/net/ethernet/intel/igbvf/ |
H A D | netdev.c | 87 if (ring->next_to_clean > ring->next_to_use) 88 return ring->next_to_clean - ring->next_to_use - 1; 90 return ring->count + ring->next_to_clean - ring->next_to_use - 1; 155 i = rx_ring->next_to_use; 215 if (rx_ring->next_to_use != i) { 216 rx_ring->next_to_use = i; 430 tx_ring->next_to_use = 0; 471 rx_ring->next_to_use = 0; 511 tx_ring->next_to_use = 0; 595 rx_ring->next_to_use [all...] |
H A D | igbvf.h | 145 u16 next_to_use; member in struct:igbvf_ring
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
H A D | pch_gbe_main.c | 69 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 70 (R)->next_to_clean - (R)->next_to_use - 1) 819 tx_ring->next_to_use = 0; 851 rx_ring->next_to_use = 0; 1028 ring_num = tx_ring->next_to_use; 1030 tx_ring->next_to_use = 0; 1032 tx_ring->next_to_use = ring_num + 1; 1054 tx_ring->next_to_use = ring_num; 1264 i = rx_ring->next_to_use; 1301 if (likely(rx_ring->next_to_use ! [all...] |
H A D | pch_gbe.h | 490 * @next_to_use: next descriptor to associate a buffer with 500 unsigned int next_to_use; member in struct:pch_gbe_tx_ring 511 * @next_to_use: next descriptor to associate a buffer with 523 unsigned int next_to_use; member in struct:pch_gbe_rx_ring
|
/drivers/net/ethernet/intel/e1000e/ |
H A D | netdev.c | 230 0, tx_ring->next_to_use, tx_ring->next_to_clean, 277 if (i == tx_ring->next_to_use && i == tx_ring->next_to_clean) 279 else if (i == tx_ring->next_to_use) 307 0, rx_ring->next_to_use, rx_ring->next_to_clean); 351 if (i == rx_ring->next_to_use) 419 if (i == rx_ring->next_to_use) 462 if (ring->next_to_clean > ring->next_to_use) 463 return ring->next_to_clean - ring->next_to_use - 1; 465 return ring->count + ring->next_to_clean - ring->next_to_use - 1; 607 i = rx_ring->next_to_use; [all...] |
H A D | ethtool.c | 1085 tx_ring->next_to_use = 0; 1146 rx_ring->next_to_use = 0;
|
H A D | e1000.h | 242 u16 next_to_use; member in struct:e1000_ring
|
/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 752 tx_ring->next_to_use = 0; 1553 u16 next_to_use = 0; local 1557 next_to_use = tx_ring->next_to_use; 1559 return (u16)(next_to_clean > next_to_use) ? 1560 (next_to_clean - next_to_use - 1) : 1561 (tx_ring->count + next_to_clean - next_to_use - 1); 1572 u16 next_to_use = 0; local 1574 next_to_use = tx_ring->next_to_use; [all...] |
H A D | atl1e.h | 415 u16 next_to_use; member in struct:atl1e_tx_ring
|
/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe.h | 245 u16 next_to_use; member in struct:ixgbe_ring 335 u16 ntu = ring->next_to_use;
|
H A D | ixgbe_main.c | 330 n, tx_ring->next_to_use, tx_ring->next_to_clean, 376 if (i == tx_ring->next_to_use && 379 else if (i == tx_ring->next_to_use) 402 n, rx_ring->next_to_use, rx_ring->next_to_clean); 481 if (i == rx_ring->next_to_use) 814 " next_to_use <%x>\n" 822 tx_ring->next_to_use, i, 1109 u16 i = rx_ring->next_to_use; 1184 if (rx_ring->next_to_use != i) { 1185 rx_ring->next_to_use [all...] |
/drivers/net/ethernet/ |
H A D | jme.c | 581 txring->next_to_use = 0; 648 txring->next_to_use = 0; 821 rxring->next_to_use = 0; 844 rxring->next_to_use = 0; 1973 idx = txring->next_to_use; 1981 txring->next_to_use = (txring->next_to_use + nr_alloc) & mask;
|