/linux-2.6.39/drivers/net/ixgb/ |
D | ixgb.h | 134 unsigned int next_to_clean; member 140 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 141 (R)->next_to_clean - (R)->next_to_use - 1)
|
D | ixgb_main.c | 694 txdr->next_to_clean = 0; in ixgb_setup_tx_resources() 783 rxdr->next_to_clean = 0; in ixgb_setup_rx_resources() 952 tx_ring->next_to_clean = 0; in ixgb_clean_tx_ring() 1022 rx_ring->next_to_clean = 0; in ixgb_clean_rx_ring() 1823 i = tx_ring->next_to_clean; in ixgb_clean_tx_irq() 1851 tx_ring->next_to_clean = i; in ixgb_clean_tx_irq() 1889 tx_ring->next_to_clean, in ixgb_clean_tx_irq() 1978 i = rx_ring->next_to_clean; in ixgb_clean_rx_irq() 2070 rx_ring->next_to_clean = i; in ixgb_clean_rx_irq()
|
/linux-2.6.39/drivers/net/ |
D | pasemi_mac.h | 43 unsigned int next_to_clean; member 56 unsigned int next_to_clean; member 118 #define RING_USED(ring) (((ring)->next_to_fill - (ring)->next_to_clean) \
|
D | pasemi_mac.c | 480 ring->next_to_clean = 0; in pasemi_mac_setup_rx_resources() 543 ring->next_to_clean = 0; in pasemi_mac_setup_tx_resources() 565 start = txring->next_to_clean; in pasemi_mac_free_tx_resources() 760 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()
|
D | jme.c | 584 atomic_set(&txring->next_to_clean, 0); in jme_setup_tx_resources() 651 atomic_set(&txring->next_to_clean, 0); in jme_free_tx_resources() 816 atomic_set(&rxring->next_to_clean, 0); in jme_free_rx_resources() 839 atomic_set(&rxring->next_to_clean, 0); in jme_setup_rx_resources() 1092 i = atomic_read(&rxring->next_to_clean); in jme_process_receive() 1131 atomic_set(&rxring->next_to_clean, i); in jme_process_receive() 1465 for (i = atomic_read(&txring->next_to_clean) ; cnt < max ; ) { in jme_tx_clean_tasklet() 1515 atomic_set(&txring->next_to_clean, i); in jme_tx_clean_tasklet() 2080 int idx = atomic_read(&txring->next_to_clean); in jme_stop_queue_if_full()
|
/linux-2.6.39/drivers/net/e1000/ |
D | e1000.h | 168 unsigned int next_to_clean; member 189 unsigned int next_to_clean; member 202 ((((R)->next_to_clean > (R)->next_to_use) \ 203 ? 0 : (R)->count) + (R)->next_to_clean - (R)->next_to_use - 1)
|
D | e1000_main.c | 1526 txdr->next_to_clean = 0; in e1000_setup_tx_resources() 1724 rxdr->next_to_clean = 0; in e1000_setup_rx_resources() 1965 tx_ring->next_to_clean = 0; in e1000_clean_tx_ring() 2077 rx_ring->next_to_clean = 0; in e1000_clean_rx_ring() 3562 i = tx_ring->next_to_clean; in e1000_clean_tx_irq() 3595 tx_ring->next_to_clean = i; in e1000_clean_tx_irq() 3638 tx_ring->next_to_clean, in e1000_clean_tx_irq() 3750 i = rx_ring->next_to_clean; in e1000_clean_jumbo_rx_irq() 3894 rx_ring->next_to_clean = i; in e1000_clean_jumbo_rx_irq() 3955 i = rx_ring->next_to_clean; in e1000_clean_rx_irq() [all …]
|
/linux-2.6.39/drivers/net/igb/ |
D | igb.h | 199 u16 next_to_clean; member 245 if (ring->next_to_clean > ring->next_to_use) in igb_desc_unused() 246 return ring->next_to_clean - ring->next_to_use - 1; in igb_desc_unused() 248 return ring->count + ring->next_to_clean - ring->next_to_use - 1; in igb_desc_unused()
|
D | igb_main.c | 378 buffer_info = &tx_ring->buffer_info[tx_ring->next_to_clean]; in igb_dump() 380 n, tx_ring->next_to_use, tx_ring->next_to_clean, in igb_dump() 427 i == tx_ring->next_to_clean) in igb_dump() 431 else if (i == tx_ring->next_to_clean) in igb_dump() 451 rx_ring->next_to_use, rx_ring->next_to_clean); in igb_dump() 533 else if (i == rx_ring->next_to_clean) in igb_dump() 2545 tx_ring->next_to_clean = 0; in igb_setup_tx_resources() 2696 rx_ring->next_to_clean = 0; in igb_setup_rx_resources() 3155 tx_ring->next_to_clean = 0; in igb_clean_tx_ring() 3255 rx_ring->next_to_clean = 0; in igb_clean_rx_ring() [all …]
|
D | igb_ethtool.c | 1608 rx_ntc = rx_ring->next_to_clean; in igb_clean_test_rings() 1609 tx_ntc = tx_ring->next_to_clean; in igb_clean_test_rings() 1647 rx_ring->next_to_clean = rx_ntc; in igb_clean_test_rings() 1648 tx_ring->next_to_clean = tx_ntc; in igb_clean_test_rings()
|
/linux-2.6.39/drivers/net/ixgbevf/ |
D | ixgbevf.h | 64 unsigned int next_to_clean; member 164 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 165 (R)->next_to_clean - (R)->next_to_use - 1)
|
D | ixgbevf_main.c | 195 i = tx_ring->next_to_clean; in ixgbevf_clean_tx_irq() 236 tx_ring->next_to_clean = i; in ixgbevf_clean_tx_irq() 468 i = rx_ring->next_to_clean; in ixgbevf_clean_rx_irq() 591 rx_ring->next_to_clean = i; in ixgbevf_clean_rx_irq() 1724 rx_ring->next_to_clean = 0; in ixgbevf_clean_rx_ring() 1761 tx_ring->next_to_clean = 0; in ixgbevf_clean_tx_ring() 2461 tx_ring->next_to_clean = 0; in ixgbevf_setup_tx_resources() 2537 rx_ring->next_to_clean = 0; in ixgbevf_setup_rx_resources()
|
/linux-2.6.39/drivers/net/atl1c/ |
D | atl1c_main.c | 817 atomic_set(&tpd_ring->next_to_clean, 0); in atl1c_clean_tx_ring() 840 rfd_ring[i].next_to_clean = 0; in atl1c_clean_rx_ring() 843 rrd_ring[i].next_to_clean = 0; in atl1c_clean_rx_ring() 860 atomic_set(&tpd_ring[i].next_to_clean, 0); in atl1c_init_ring_ptrs() 868 rfd_ring[i].next_to_clean = 0; in atl1c_init_ring_ptrs() 870 rrd_ring[i].next_to_clean = 0; in atl1c_init_ring_ptrs() 1612 u16 next_to_clean = atomic_read(&tpd_ring->next_to_clean); in atl1c_clean_tx_irq() local 1625 while (next_to_clean != hw_next_to_clean) { in atl1c_clean_tx_irq() 1626 buffer_info = &tpd_ring->buffer_info[next_to_clean]; in atl1c_clean_tx_irq() 1628 if (++next_to_clean == tpd_ring->count) in atl1c_clean_tx_irq() [all …]
|
D | atl1c.h | 519 atomic_t next_to_clean; member 530 u16 next_to_clean; member 541 u16 next_to_clean; member
|
/linux-2.6.39/drivers/net/atlx/ |
D | atl1.c | 1137 atomic_set(&tpd_ring->next_to_clean, 0); in atl1_init_ring_ptrs() 1139 rfd_ring->next_to_clean = 0; in atl1_init_ring_ptrs() 1143 atomic_set(&rrd_ring->next_to_clean, 0); in atl1_init_ring_ptrs() 1179 rfd_ring->next_to_clean = 0; in atl1_clean_rx_ring() 1183 atomic_set(&rrd_ring->next_to_clean, 0); in atl1_clean_rx_ring() 1223 atomic_set(&tpd_ring->next_to_clean, 0); in atl1_clean_tx_ring() 1524 ((atomic_read(&adapter->rrd_ring.next_to_clean) in atl1_configure() 1763 rrd_next_to_clean = atomic_read(&adapter->rrd_ring.next_to_clean); in atl1_update_mailbox() 1781 while (rfd_ring->next_to_clean != (rrd->buf_indx + offset)) { in atl1_clean_alloc_flag() 1782 rfd_ring->buffer_info[rfd_ring->next_to_clean].alloced = 0; in atl1_clean_alloc_flag() [all …]
|
D | atl1.h | 616 atomic_t next_to_clean; member 628 u16 next_to_clean; member 639 atomic_t next_to_clean; member
|
/linux-2.6.39/drivers/net/atl1e/ |
D | atl1e_main.c | 727 atomic_set(&tx_ring->next_to_clean, 0); in atl1e_init_ring_ptrs() 1207 u16 next_to_clean = atomic_read(&tx_ring->next_to_clean); in atl1e_clean_tx_irq() local 1209 while (next_to_clean != hw_next_to_clean) { in atl1e_clean_tx_irq() 1210 tx_buffer = &tx_ring->tx_buffer[next_to_clean]; in atl1e_clean_tx_irq() 1226 if (++next_to_clean == tx_ring->count) in atl1e_clean_tx_irq() 1227 next_to_clean = 0; in atl1e_clean_tx_irq() 1230 atomic_set(&tx_ring->next_to_clean, next_to_clean); in atl1e_clean_tx_irq() 1533 u16 next_to_clean = 0; in atl1e_tpd_avail() local 1535 next_to_clean = atomic_read(&tx_ring->next_to_clean); in atl1e_tpd_avail() 1538 return (u16)(next_to_clean > next_to_use) ? in atl1e_tpd_avail() [all …]
|
D | atl1e.h | 416 atomic_t next_to_clean; member
|
/linux-2.6.39/drivers/net/pch_gbe/ |
D | pch_gbe_main.c | 63 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 64 (R)->next_to_clean - (R)->next_to_use - 1) 792 tx_ring->next_to_clean = 0; in pch_gbe_clean_tx_ring() 822 rx_ring->next_to_clean = 0; in pch_gbe_clean_rx_ring() 1288 pr_debug("next_to_clean : %d\n", tx_ring->next_to_clean); in pch_gbe_clean_tx() 1290 i = tx_ring->next_to_clean; in pch_gbe_clean_tx() 1352 tx_ring->next_to_clean = i; in pch_gbe_clean_tx() 1354 pr_debug("next_to_clean : %d\n", tx_ring->next_to_clean); in pch_gbe_clean_tx() 1386 i = rx_ring->next_to_clean; in pch_gbe_clean_rx() 1520 rx_ring->next_to_clean = i; in pch_gbe_clean_rx() [all …]
|
D | pch_gbe.h | 497 unsigned int next_to_clean; member 517 unsigned int next_to_clean; member
|
/linux-2.6.39/drivers/net/ixgbe/ |
D | ixgbe.h | 205 u16 next_to_clean; member 302 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 303 (R)->next_to_clean - (R)->next_to_use - 1)
|
D | ixgbe_main.c | 359 &tx_ring->tx_buffer_info[tx_ring->next_to_clean]; in ixgbe_dump() 361 n, tx_ring->next_to_use, tx_ring->next_to_clean, in ixgbe_dump() 408 i == tx_ring->next_to_clean) in ixgbe_dump() 412 else if (i == tx_ring->next_to_clean) in ixgbe_dump() 433 n, rx_ring->next_to_use, rx_ring->next_to_clean); in ixgbe_dump() 514 else if (i == rx_ring->next_to_clean) in ixgbe_dump() 830 i = tx_ring->next_to_clean; in ixgbe_clean_tx_irq() 863 tx_ring->next_to_clean = i; in ixgbe_clean_tx_irq() 1312 i = rx_ring->next_to_clean; in ixgbe_clean_rx_irq() 1491 rx_ring->next_to_clean = i; in ixgbe_clean_rx_irq() [all …]
|
/linux-2.6.39/drivers/net/igbvf/ |
D | netdev.c | 84 if (ring->next_to_clean > ring->next_to_use) in igbvf_desc_unused() 85 return ring->next_to_clean - ring->next_to_use - 1; in igbvf_desc_unused() 87 return ring->count + ring->next_to_clean - ring->next_to_use - 1; in igbvf_desc_unused() 250 i = rx_ring->next_to_clean; in igbvf_clean_rx_irq() 363 rx_ring->next_to_clean = i; in igbvf_clean_rx_irq() 428 tx_ring->next_to_clean = 0; in igbvf_setup_tx_resources() 467 rx_ring->next_to_clean = 0; in igbvf_setup_rx_resources() 509 tx_ring->next_to_clean = 0; in igbvf_clean_tx_ring() 591 rx_ring->next_to_clean = 0; in igbvf_clean_rx_ring() 753 i = tx_ring->next_to_clean; in igbvf_clean_tx_irq() [all …]
|
D | igbvf.h | 146 u16 next_to_clean; member
|
/linux-2.6.39/drivers/net/e1000e/ |
D | netdev.c | 229 buffer_info = &tx_ring->buffer_info[tx_ring->next_to_clean]; in e1000e_dump() 231 0, tx_ring->next_to_use, tx_ring->next_to_clean, in e1000e_dump() 293 if (i == tx_ring->next_to_use && i == tx_ring->next_to_clean) in e1000e_dump() 297 else if (i == tx_ring->next_to_clean) in e1000e_dump() 313 rx_ring->next_to_use, rx_ring->next_to_clean); in e1000e_dump() 390 else if (i == rx_ring->next_to_clean) in e1000e_dump() 422 else if (i == rx_ring->next_to_clean) in e1000e_dump() 445 if (ring->next_to_clean > ring->next_to_use) in e1000_desc_unused() 446 return ring->next_to_clean - ring->next_to_use - 1; in e1000_desc_unused() 448 return ring->count + ring->next_to_clean - ring->next_to_use - 1; in e1000_desc_unused() [all …]
|