Searched refs:next_to_use (Results 1 - 25 of 46) sorted by relevance

12

/drivers/net/ethernet/intel/ixgb/
H A Dixgb.h119 unsigned int next_to_use; member in struct:ixgb_desc_ring
127 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
128 (R)->next_to_clean - (R)->next_to_use - 1)
H A Dixgb_main.c722 txdr->next_to_use = 0;
808 rxdr->next_to_use = 0;
975 tx_ring->next_to_use = 0;
1047 rx_ring->next_to_use = 0;
1248 i = adapter->tx_ring.next_to_use;
1272 adapter->tx_ring.next_to_use = i;
1292 i = adapter->tx_ring.next_to_use;
1310 adapter->tx_ring.next_to_use = i;
1334 i = tx_ring->next_to_use;
1445 i = tx_ring->next_to_use;
[all...]
/drivers/net/ethernet/intel/i40e/
H A Di40e_txrx.c93 i = tx_ring->next_to_use;
98 tx_ring->next_to_use = ((i + 1) < tx_ring->count) ? i + 1 : 0;
146 i = tx_ring->next_to_use;
150 tx_ring->next_to_use = ((i + 1) < tx_ring->count) ? i + 1 : 0;
178 writel(tx_ring->next_to_use, tx_ring->tail);
558 tx_ring->next_to_use = 0;
597 u32 ntu = ((ring->next_to_clean <= ring->next_to_use)
598 ? ring->next_to_use
599 : ring->next_to_use + ring->count);
767 " next_to_use <
[all...]
H A Di40e_adminq.c387 hw->aq.asq.next_to_use = 0;
446 hw->aq.arq.next_to_use = 0;
713 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use;
763 details = I40E_ADMINQ_DETAILS(hw->aq.asq, hw->aq.asq.next_to_use);
820 desc_on_ring = I40E_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use);
827 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]);
845 (hw->aq.asq.next_to_use)++;
846 if (hw->aq.asq.next_to_use == hw->aq.asq.count)
847 hw->aq.asq.next_to_use = 0;
849 wr32(hw, hw->aq.asq.tail, hw->aq.asq.next_to_use);
[all...]
H A Di40e_adminq.h52 u16 next_to_use; member in struct:i40e_adminq_ring
H A Di40e_fcoe.c1018 u16 i = tx_ring->next_to_use;
1097 tx_ring->next_to_use = i;
1118 i = tx_ring->next_to_use;
1133 tx_ring->next_to_use = i;
1256 context_desc = I40E_TX_CTXTDESC(tx_ring, tx_ring->next_to_use);
1257 tx_ring->next_to_use++;
1258 if (tx_ring->next_to_use == tx_ring->count)
1259 tx_ring->next_to_use = 0;
1384 first = &tx_ring->tx_bi[tx_ring->next_to_use];
/drivers/net/ethernet/intel/i40evf/
H A Di40e_txrx.c98 tx_ring->next_to_use = 0;
137 u32 ntu = ((ring->next_to_clean <= ring->next_to_use)
138 ? ring->next_to_use
139 : ring->next_to_use + ring->count);
301 " next_to_use <%x>\n"
305 tx_ring->next_to_use, i);
473 tx_ring->next_to_use = 0;
533 rx_ring->next_to_use = 0;
586 rx_ring->next_to_use = 0;
602 rx_ring->next_to_use
[all...]
H A Di40e_adminq.c385 hw->aq.asq.next_to_use = 0;
444 hw->aq.arq.next_to_use = 0;
667 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use;
711 details = I40E_ADMINQ_DETAILS(hw->aq.asq, hw->aq.asq.next_to_use);
768 desc_on_ring = I40E_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use);
775 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]);
793 (hw->aq.asq.next_to_use)++;
794 if (hw->aq.asq.next_to_use == hw->aq.asq.count)
795 hw->aq.asq.next_to_use = 0;
797 wr32(hw, hw->aq.asq.tail, hw->aq.asq.next_to_use);
[all...]
H A Di40e_adminq.h52 u16 next_to_use; member in struct:i40e_adminq_ring
H A Di40evf.h130 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
131 (R)->next_to_clean - (R)->next_to_use - 1)
/drivers/net/ethernet/intel/e1000/
H A De1000.h180 unsigned int next_to_use; member in struct:e1000_tx_ring
201 unsigned int next_to_use; member in struct:e1000_rx_ring
216 ((((R)->next_to_clean > (R)->next_to_use) \
217 ? 0 : (R)->count) + (R)->next_to_clean - (R)->next_to_use - 1)
H A De1000_main.c400 * next_to_use != next_to_clean
1555 txdr->next_to_use = 0;
1747 rxdr->next_to_use = 0;
2003 tx_ring->next_to_use = 0;
2133 rx_ring->next_to_use = 0;
2747 i = tx_ring->next_to_use;
2765 tx_ring->next_to_use = i;
2804 i = tx_ring->next_to_use;
2820 tx_ring->next_to_use = i;
2841 i = tx_ring->next_to_use;
[all...]
/drivers/net/ethernet/atheros/atlx/
H A Datl1.c1133 atomic_set(&tpd_ring->next_to_use, 0);
1137 atomic_set(&rfd_ring->next_to_use, 0);
1139 rrd_ring->next_to_use = 0;
1177 atomic_set(&rfd_ring->next_to_use, 0);
1179 rrd_ring->next_to_use = 0;
1219 atomic_set(&tpd_ring->next_to_use, 0);
1518 value = ((atomic_read(&adapter->tpd_ring.next_to_use)
1522 ((atomic_read(&adapter->rfd_ring.next_to_use)
1764 tpd_next_to_use = atomic_read(&adapter->tpd_ring.next_to_use);
1765 rfd_next_to_use = atomic_read(&adapter->rfd_ring.next_to_use);
2113 u16 next_to_use = atomic_read(&tpd_ring->next_to_use); local
2215 u16 next_to_use; local
2316 u16 next_to_use = (u16) atomic_read(&tpd_ring->next_to_use); local
[all...]
H A Datl1.h621 atomic_t next_to_use; member in struct:atl1_tpd_ring
631 atomic_t next_to_use; member in struct:atl1_rfd_ring
642 u16 next_to_use; member in struct:atl1_rrd_ring
/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_main.c881 tpd_ring->next_to_use = 0;
903 rfd_ring->next_to_use = 0;
904 rrd_ring->next_to_use = 0;
920 tpd_ring[i].next_to_use = 0;
927 rfd_ring->next_to_use = 0;
929 rrd_ring->next_to_use = 0;
1699 next_next = rfd_next_to_use = rfd_ring->next_to_use;
1750 rfd_ring->next_to_use = rfd_next_to_use;
1752 rfd_ring->next_to_use & MB_RFDX_PROD_IDX_MASK);
1912 u16 next_to_use local
1933 u16 next_to_use = 0; local
[all...]
H A Datl1c.h491 u16 next_to_use; /* this is protectd by adapter->tx_lock */ member in struct:atl1c_tpd_ring
502 u16 next_to_use; member in struct:atl1c_rfd_ring
513 u16 next_to_use; member in struct:atl1c_rrd_ring
/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c771 tx_ring->next_to_use = 0;
1572 u16 next_to_use = 0; local
1576 next_to_use = tx_ring->next_to_use;
1578 return (u16)(next_to_clean > next_to_use) ?
1579 (next_to_clean - next_to_use - 1) :
1580 (tx_ring->count + next_to_clean - next_to_use - 1);
1591 u16 next_to_use = 0; local
1593 next_to_use = tx_ring->next_to_use;
[all...]
/drivers/net/ethernet/intel/igb/
H A Digb.h253 u16 next_to_use; member in struct:igb_ring
317 if (ring->next_to_clean > ring->next_to_use)
318 return ring->next_to_clean - ring->next_to_use - 1;
320 return ring->count + ring->next_to_clean - ring->next_to_use - 1;
/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c122 u16 i = rx_ring->next_to_use;
150 /* clear the hdr_addr for the next_to_use descriptor */
158 if (rx_ring->next_to_use != i) {
160 rx_ring->next_to_use = i;
804 tx_desc = FM10K_TX_DESC(tx_ring, tx_ring->next_to_use);
888 tx_desc = FM10K_TX_DESC(tx_ring, tx_ring->next_to_use);
967 u16 i = tx_ring->next_to_use;
1047 tx_ring->next_to_use = i;
1077 tx_ring->next_to_use = i;
1108 first = &tx_ring->tx_buffer[tx_ring->next_to_use];
[all...]
H A Dfm10k.h138 u16 next_to_use; member in struct:fm10k_ring
384 s16 unused = ring->next_to_clean - ring->next_to_use - 1;
/drivers/net/ethernet/intel/igbvf/
H A Dnetdev.c92 if (ring->next_to_clean > ring->next_to_use)
93 return ring->next_to_clean - ring->next_to_use - 1;
95 return ring->count + ring->next_to_clean - ring->next_to_use - 1;
167 i = rx_ring->next_to_use;
240 if (rx_ring->next_to_use != i) {
241 rx_ring->next_to_use = i;
454 tx_ring->next_to_use = 0;
494 rx_ring->next_to_use = 0;
534 tx_ring->next_to_use = 0;
618 rx_ring->next_to_use
[all...]
H A Digbvf.h156 u16 next_to_use; member in struct:igbvf_ring
/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_main.c71 ((((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;
1030 rx_ring->next_to_use = 0;
1204 ring_num = tx_ring->next_to_use;
1206 tx_ring->next_to_use = 0;
1208 tx_ring->next_to_use = ring_num + 1;
1230 tx_ring->next_to_use = ring_num;
1421 i = rx_ring->next_to_use;
1459 if (likely(rx_ring->next_to_use !
[all...]
H A Dpch_gbe.h489 * @next_to_use: next descriptor to associate a buffer with
499 unsigned int next_to_use; member in struct:pch_gbe_tx_ring
510 * @next_to_use: next descriptor to associate a buffer with
522 unsigned int next_to_use; member in struct:pch_gbe_rx_ring
/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf.h96 unsigned int next_to_use; member in struct:ixgbevf_ring
313 u16 ntu = ring->next_to_use;

Completed in 318 milliseconds

12