/linux-4.1.27/drivers/net/ethernet/intel/ixgb/ |
D | ixgb.h | 119 unsigned int next_to_use; 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_use = 0; in ixgb_setup_tx_resources() 809 rxdr->next_to_use = 0; in ixgb_setup_rx_resources() 976 tx_ring->next_to_use = 0; in ixgb_clean_tx_ring() 1048 rx_ring->next_to_use = 0; in ixgb_clean_rx_ring() 1249 i = adapter->tx_ring.next_to_use; in ixgb_tso() 1273 adapter->tx_ring.next_to_use = i; in ixgb_tso() 1293 i = adapter->tx_ring.next_to_use; in ixgb_tx_csum() 1311 adapter->tx_ring.next_to_use = i; in ixgb_tx_csum() 1335 i = tx_ring->next_to_use; in ixgb_tx_map() 1446 i = tx_ring->next_to_use; in ixgb_tx_queue() [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
D | i40e_adminq.c | 385 hw->aq.asq.next_to_use = 0; in i40e_init_asq() 444 hw->aq.arq.next_to_use = 0; in i40e_init_arq() 667 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use; in i40evf_asq_done() 711 details = I40E_ADMINQ_DETAILS(hw->aq.asq, hw->aq.asq.next_to_use); in i40evf_asq_send_command() 768 desc_on_ring = I40E_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use); in i40evf_asq_send_command() 775 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); in i40evf_asq_send_command() 793 (hw->aq.asq.next_to_use)++; in i40evf_asq_send_command() 794 if (hw->aq.asq.next_to_use == hw->aq.asq.count) in i40evf_asq_send_command() 795 hw->aq.asq.next_to_use = 0; in i40evf_asq_send_command() 797 wr32(hw, hw->aq.asq.tail, hw->aq.asq.next_to_use); in i40evf_asq_send_command() [all …]
|
D | i40e_txrx.c | 99 tx_ring->next_to_use = 0; in i40evf_clean_tx_ring() 324 tx_ring->next_to_use, i); in i40e_clean_tx_irq() 511 tx_ring->next_to_use = 0; in i40evf_setup_tx_descriptors() 587 rx_ring->next_to_use = 0; in i40evf_clean_rx_ring() 673 rx_ring->next_to_use = 0; in i40evf_setup_rx_descriptors() 689 rx_ring->next_to_use = val; in i40e_release_rx_desc() 706 u16 i = rx_ring->next_to_use; in i40evf_alloc_rx_buffers_ps() 760 if (rx_ring->next_to_use != i) in i40evf_alloc_rx_buffers_ps() 771 u16 i = rx_ring->next_to_use; in i40evf_alloc_rx_buffers_1buf() 817 if (rx_ring->next_to_use != i) in i40evf_alloc_rx_buffers_1buf() [all …]
|
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_use; member
|
D | i40e_txrx.h | 244 u16 next_to_use; member
|
D | i40e_type.h | 76 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 77 (R)->next_to_clean - (R)->next_to_use - 1)
|
D | i40evf_main.c | 957 ring->next_to_use = ring->count - 1; in i40evf_configure() 958 writel(ring->next_to_use, ring->tail); in i40evf_configure()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq.c | 387 hw->aq.asq.next_to_use = 0; in i40e_init_asq() 446 hw->aq.arq.next_to_use = 0; in i40e_init_arq() 716 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use; in i40e_asq_done() 760 details = I40E_ADMINQ_DETAILS(hw->aq.asq, hw->aq.asq.next_to_use); in i40e_asq_send_command() 817 desc_on_ring = I40E_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use); in i40e_asq_send_command() 824 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); in i40e_asq_send_command() 842 (hw->aq.asq.next_to_use)++; in i40e_asq_send_command() 843 if (hw->aq.asq.next_to_use == hw->aq.asq.count) in i40e_asq_send_command() 844 hw->aq.asq.next_to_use = 0; in i40e_asq_send_command() 846 wr32(hw, hw->aq.asq.tail, hw->aq.asq.next_to_use); in i40e_asq_send_command() [all …]
|
D | i40e_txrx.c | 94 i = tx_ring->next_to_use; in i40e_program_fdir_filter() 99 tx_ring->next_to_use = ((i + 1) < tx_ring->count) ? i + 1 : 0; in i40e_program_fdir_filter() 147 i = tx_ring->next_to_use; in i40e_program_fdir_filter() 151 tx_ring->next_to_use = ((i + 1) < tx_ring->count) ? i + 1 : 0; in i40e_program_fdir_filter() 179 writel(tx_ring->next_to_use, tx_ring->tail); in i40e_program_fdir_filter() 574 tx_ring->next_to_use = 0; in i40e_clean_tx_ring() 809 tx_ring->next_to_use, i); in i40e_clean_tx_irq() 1028 tx_ring->next_to_use = 0; in i40e_setup_tx_descriptors() 1104 rx_ring->next_to_use = 0; in i40e_clean_rx_ring() 1190 rx_ring->next_to_use = 0; in i40e_setup_rx_descriptors() [all …]
|
D | i40e_fcoe.c | 1013 u16 i = tx_ring->next_to_use; in i40e_fcoe_program_ddp() 1092 tx_ring->next_to_use = i; in i40e_fcoe_program_ddp() 1113 i = tx_ring->next_to_use; in i40e_fcoe_invalidate_ddp() 1128 tx_ring->next_to_use = i; in i40e_fcoe_invalidate_ddp() 1251 context_desc = I40E_TX_CTXTDESC(tx_ring, tx_ring->next_to_use); in i40e_fcoe_tso() 1252 tx_ring->next_to_use++; in i40e_fcoe_tso() 1253 if (tx_ring->next_to_use == tx_ring->count) in i40e_fcoe_tso() 1254 tx_ring->next_to_use = 0; in i40e_fcoe_tso() 1378 first = &tx_ring->tx_bi[tx_ring->next_to_use]; in i40e_fcoe_xmit_frame()
|
D | i40e_adminq.h | 53 u16 next_to_use; member
|
D | i40e_txrx.h | 245 u16 next_to_use; member
|
D | i40e_type.h | 76 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \ 77 (R)->next_to_clean - (R)->next_to_use - 1)
|
D | i40e_debugfs.c | 514 rx_ring->next_to_use, in i40e_dbg_dump_vsi_seid() 560 tx_ring->next_to_use, in i40e_dbg_dump_vsi_seid()
|
D | i40e_main.c | 344 rx_ring->next_to_use = val; in i40e_release_rx_desc()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atlx/ |
D | atl1.c | 1133 atomic_set(&tpd_ring->next_to_use, 0); in atl1_init_ring_ptrs() 1137 atomic_set(&rfd_ring->next_to_use, 0); in atl1_init_ring_ptrs() 1139 rrd_ring->next_to_use = 0; in atl1_init_ring_ptrs() 1177 atomic_set(&rfd_ring->next_to_use, 0); in atl1_clean_rx_ring() 1179 rrd_ring->next_to_use = 0; in atl1_clean_rx_ring() 1219 atomic_set(&tpd_ring->next_to_use, 0); in atl1_clean_tx_ring() 1518 value = ((atomic_read(&adapter->tpd_ring.next_to_use) in atl1_configure() 1522 ((atomic_read(&adapter->rfd_ring.next_to_use) in atl1_configure() 1764 tpd_next_to_use = atomic_read(&adapter->tpd_ring.next_to_use); in atl1_update_mailbox() 1765 rfd_next_to_use = atomic_read(&adapter->rfd_ring.next_to_use); in atl1_update_mailbox() [all …]
|
D | atl1.h | 621 atomic_t next_to_use; member 631 atomic_t next_to_use; member 642 u16 next_to_use; member
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000/ |
D | e1000.h | 180 unsigned int next_to_use; member 201 unsigned int next_to_use; member 216 ((((R)->next_to_clean > (R)->next_to_use) \ 217 ? 0 : (R)->count) + (R)->next_to_clean - (R)->next_to_use - 1)
|
D | e1000_main.c | 1560 txdr->next_to_use = 0; in e1000_setup_tx_resources() 1752 rxdr->next_to_use = 0; in e1000_setup_rx_resources() 2008 tx_ring->next_to_use = 0; in e1000_clean_tx_ring() 2138 rx_ring->next_to_use = 0; in e1000_clean_rx_ring() 2752 i = tx_ring->next_to_use; in e1000_tso() 2770 tx_ring->next_to_use = i; in e1000_tso() 2809 i = tx_ring->next_to_use; in e1000_tx_csum() 2825 tx_ring->next_to_use = i; in e1000_tx_csum() 2846 i = tx_ring->next_to_use; in e1000_tx_map() 3012 i = tx_ring->next_to_use; in e1000_tx_queue() [all …]
|
D | e1000_ethtool.c | 1024 txdr->next_to_use = txdr->next_to_clean = 0; in e1000_setup_desc_rings() 1082 rxdr->next_to_use = rxdr->next_to_clean = 0; in e1000_setup_desc_rings()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_main.c | 771 tx_ring->next_to_use = 0; in atl1e_init_ring_ptrs() 1572 u16 next_to_use = 0; in atl1e_tpd_avail() local 1576 next_to_use = tx_ring->next_to_use; in atl1e_tpd_avail() 1578 return (u16)(next_to_clean > next_to_use) ? in atl1e_tpd_avail() 1579 (next_to_clean - next_to_use - 1) : in atl1e_tpd_avail() 1580 (tx_ring->count + next_to_clean - next_to_use - 1); in atl1e_tpd_avail() 1591 u16 next_to_use = 0; in atl1e_get_tpd() local 1593 next_to_use = tx_ring->next_to_use; in atl1e_get_tpd() 1594 if (++tx_ring->next_to_use == tx_ring->count) in atl1e_get_tpd() 1595 tx_ring->next_to_use = 0; in atl1e_get_tpd() [all …]
|
D | atl1e.h | 414 u16 next_to_use; member
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_main.c | 881 tpd_ring->next_to_use = 0; in atl1c_clean_tx_ring() 903 rfd_ring->next_to_use = 0; in atl1c_clean_rx_ring() 904 rrd_ring->next_to_use = 0; in atl1c_clean_rx_ring() 920 tpd_ring[i].next_to_use = 0; in atl1c_init_ring_ptrs() 927 rfd_ring->next_to_use = 0; in atl1c_init_ring_ptrs() 929 rrd_ring->next_to_use = 0; in atl1c_init_ring_ptrs() 1698 next_next = rfd_next_to_use = rfd_ring->next_to_use; in atl1c_alloc_rx_buffer() 1749 rfd_ring->next_to_use = rfd_next_to_use; in atl1c_alloc_rx_buffer() 1751 rfd_ring->next_to_use & MB_RFDX_PROD_IDX_MASK); in atl1c_alloc_rx_buffer() 1911 u16 next_to_use = 0; in atl1c_tpd_avail() local [all …]
|
D | atl1c.h | 491 u16 next_to_use; /* this is protectd by adapter->tx_lock */ member 502 u16 next_to_use; member 513 u16 next_to_use; member
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb.h | 253 u16 next_to_use; 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()
|
D | igb_main.c | 405 n, tx_ring->next_to_use, tx_ring->next_to_clean, in igb_dump() 442 if (i == tx_ring->next_to_use && in igb_dump() 445 else if (i == tx_ring->next_to_use) in igb_dump() 477 n, rx_ring->next_to_use, rx_ring->next_to_clean); in igb_dump() 523 if (i == rx_ring->next_to_use) in igb_dump() 3199 tx_ring->next_to_use = 0; in igb_setup_tx_resources() 3343 rx_ring->next_to_use = 0; in igb_setup_rx_resources() 3784 tx_ring->next_to_use = 0; in igb_clean_tx_ring() 3879 rx_ring->next_to_use = 0; in igb_clean_rx_ring() 4627 u16 i = tx_ring->next_to_use; in igb_tx_ctxtdesc() [all …]
|
/linux-4.1.27/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() 167 i = rx_ring->next_to_use; in igbvf_alloc_rx_buffers() 240 if (rx_ring->next_to_use != i) { in igbvf_alloc_rx_buffers() 241 rx_ring->next_to_use = i; in igbvf_alloc_rx_buffers() 456 tx_ring->next_to_use = 0; in igbvf_setup_tx_resources() 496 rx_ring->next_to_use = 0; in igbvf_setup_rx_resources() 536 tx_ring->next_to_use = 0; in igbvf_clean_tx_ring() 620 rx_ring->next_to_use = 0; in igbvf_clean_rx_ring() [all …]
|
D | igbvf.h | 153 u16 next_to_use; member
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 133 u16 i = rx_ring->next_to_use; in fm10k_alloc_rx_buffers() 169 if (rx_ring->next_to_use != i) { in fm10k_alloc_rx_buffers() 171 rx_ring->next_to_use = i; in fm10k_alloc_rx_buffers() 826 tx_desc = FM10K_TX_DESC(tx_ring, tx_ring->next_to_use); in fm10k_tso() 910 tx_desc = FM10K_TX_DESC(tx_ring, tx_ring->next_to_use); in fm10k_tx_csum() 989 u16 i = tx_ring->next_to_use; in fm10k_tx_map() 1069 tx_ring->next_to_use = i; in fm10k_tx_map() 1099 tx_ring->next_to_use = i; in fm10k_tx_map() 1130 first = &tx_ring->tx_buffer[tx_ring->next_to_use]; in fm10k_xmit_frame_ring() 1164 u32 tail = ring->next_to_use; in fm10k_get_tx_pending() [all …]
|
D | fm10k.h | 138 u16 next_to_use; member 386 s16 unused = ring->next_to_clean - ring->next_to_use - 1; in fm10k_desc_unused()
|
D | fm10k_pci.c | 399 if (tx_ring->next_to_use != tx_ring->next_to_clean) { in fm10k_watchdog_flush_tx() 537 ring->next_to_use = 0; in fm10k_configure_tx_ring() 643 ring->next_to_use = 0; in fm10k_configure_rx_ring()
|
D | fm10k_netdev.c | 303 rx_ring->next_to_use = 0; in fm10k_clean_rx_ring()
|
/linux-4.1.27/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) 997 tx_ring->next_to_use = 0; in pch_gbe_clean_tx_ring() 1030 rx_ring->next_to_use = 0; in pch_gbe_clean_rx_ring() 1204 ring_num = tx_ring->next_to_use; in pch_gbe_tx_queue() 1206 tx_ring->next_to_use = 0; in pch_gbe_tx_queue() 1208 tx_ring->next_to_use = ring_num + 1; in pch_gbe_tx_queue() 1230 tx_ring->next_to_use = ring_num; in pch_gbe_tx_queue() 1421 i = rx_ring->next_to_use; in pch_gbe_alloc_rx_buffers() 1459 if (likely(rx_ring->next_to_use != i)) { in pch_gbe_alloc_rx_buffers() [all …]
|
D | pch_gbe.h | 499 unsigned int next_to_use; member 522 unsigned int next_to_use; member
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 264 0, tx_ring->next_to_use, tx_ring->next_to_clean, in e1000e_dump() 311 if (i == tx_ring->next_to_use && i == tx_ring->next_to_clean) in e1000e_dump() 313 else if (i == tx_ring->next_to_use) in e1000e_dump() 341 0, rx_ring->next_to_use, rx_ring->next_to_clean); in e1000e_dump() 385 if (i == rx_ring->next_to_use) in e1000e_dump() 451 if (i == rx_ring->next_to_use) in e1000e_dump() 491 if (ring->next_to_clean > ring->next_to_use) in e1000_desc_unused() 492 return ring->next_to_clean - ring->next_to_use - 1; in e1000_desc_unused() 494 return ring->count + ring->next_to_clean - ring->next_to_use - 1; in e1000_desc_unused() 673 i = rx_ring->next_to_use; in e1000_alloc_rx_buffers() [all …]
|
D | e1000.h | 176 u16 next_to_use; member
|
D | ethtool.c | 1196 tx_ring->next_to_use = 0; in e1000_setup_desc_rings() 1256 rx_ring->next_to_use = 0; in e1000_setup_desc_rings()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf.h | 115 u16 next_to_use; member 348 u16 ntu = ring->next_to_use; in ixgbevf_desc_unused()
|
D | ixgbevf_main.c | 407 tx_ring->next_to_use, i, in ixgbevf_clean_tx_irq() 598 unsigned int i = rx_ring->next_to_use; in ixgbevf_alloc_rx_buffers() 634 if (rx_ring->next_to_use != i) { in ixgbevf_alloc_rx_buffers() 636 rx_ring->next_to_use = i; in ixgbevf_alloc_rx_buffers() 1577 ring->next_to_use = 0; in ixgbevf_configure_tx_ring() 1757 ring->next_to_use = 0; in ixgbevf_configure_rx_ring() 3250 u16 i = tx_ring->next_to_use; in ixgbevf_tx_ctxtdesc() 3255 tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; in ixgbevf_tx_ctxtdesc() 3459 u16 i = tx_ring->next_to_use; in ixgbevf_tx_map() 3548 tx_ring->next_to_use = i; in ixgbevf_tx_map() [all …]
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe.h | 274 u16 next_to_use; member 555 u16 ntu = ring->next_to_use; in ixgbe_desc_unused()
|
D | ixgbe_main.c | 599 n, tx_ring->next_to_use, tx_ring->next_to_clean, in ixgbe_dump() 671 if (i == tx_ring->next_to_use && in ixgbe_dump() 674 else if (i == tx_ring->next_to_use) in ixgbe_dump() 699 n, rx_ring->next_to_use, rx_ring->next_to_clean); in ixgbe_dump() 797 if (i == rx_ring->next_to_use) in ixgbe_dump() 1190 tx_ring->next_to_use, i, in ixgbe_clean_tx_irq() 1503 u16 i = rx_ring->next_to_use; in ixgbe_alloc_rx_buffers() 1540 if (rx_ring->next_to_use != i) { in ixgbe_alloc_rx_buffers() 1541 rx_ring->next_to_use = i; in ixgbe_alloc_rx_buffers() 4536 rx_ring->next_to_use = 0; in ixgbe_clean_rx_ring() [all …]
|
D | ixgbe_lib.c | 1206 u16 i = tx_ring->next_to_use; in ixgbe_tx_ctxtdesc() 1211 tx_ring->next_to_use = (i < tx_ring->count) ? i : 0; in ixgbe_tx_ctxtdesc()
|
/linux-4.1.27/drivers/net/ethernet/ |
D | jme.c | 582 txring->next_to_use = 0; in jme_setup_tx_resources() 649 txring->next_to_use = 0; in jme_free_tx_resources() 822 rxring->next_to_use = 0; in jme_free_rx_resources() 845 rxring->next_to_use = 0; in jme_setup_rx_resources() 1978 idx = txring->next_to_use; in jme_alloc_txdesc() 1986 txring->next_to_use = (txring->next_to_use + nr_alloc) & mask; in jme_alloc_txdesc()
|
D | jme.h | 385 int next_to_use; member
|