Home
last modified time | relevance | path

Searched refs:next_to_use (Results 1 – 25 of 300) sorted by relevance

12345678910>>...12

/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c193 u16 ntu = rx_ring->next_to_use; in i40e_alloc_rx_buffers_zc()
224 if (rx_ring->next_to_use != ntu) { in i40e_alloc_rx_buffers_zc()
389 if (failure || next_to_clean == rx_ring->next_to_use) in i40e_clean_rx_irq_zc()
408 tx_desc = I40E_TX_DESC(xdp_ring, xdp_ring->next_to_use++); in i40e_xmit_pkt()
419 u16 ntu = xdp_ring->next_to_use; in i40e_xmit_pkt_batch()
437 xdp_ring->next_to_use = ntu; in i40e_xmit_pkt_batch()
455 u16 ntu = xdp_ring->next_to_use ? xdp_ring->next_to_use - 1 : xdp_ring->count - 1; in i40e_set_rs_bit()
479 if (xdp_ring->next_to_use + nb_pkts >= xdp_ring->count) { in i40e_xmit_zc()
480 nb_processed = xdp_ring->count - xdp_ring->next_to_use; in i40e_xmit_zc()
482 xdp_ring->next_to_use = 0; in i40e_xmit_zc()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c193 u16 ntu = rx_ring->next_to_use; in i40e_alloc_rx_buffers_zc()
224 if (rx_ring->next_to_use != ntu) { in i40e_alloc_rx_buffers_zc()
389 if (failure || next_to_clean == rx_ring->next_to_use) in i40e_clean_rx_irq_zc()
408 tx_desc = I40E_TX_DESC(xdp_ring, xdp_ring->next_to_use++); in i40e_xmit_pkt()
419 u16 ntu = xdp_ring->next_to_use; in i40e_xmit_pkt_batch()
437 xdp_ring->next_to_use = ntu; in i40e_xmit_pkt_batch()
455 u16 ntu = xdp_ring->next_to_use ? xdp_ring->next_to_use - 1 : xdp_ring->count - 1; in i40e_set_rs_bit()
479 if (xdp_ring->next_to_use + nb_pkts >= xdp_ring->count) { in i40e_xmit_zc()
480 nb_processed = xdp_ring->count - xdp_ring->next_to_use; in i40e_xmit_zc()
482 xdp_ring->next_to_use = 0; in i40e_xmit_zc()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c193 u16 ntu = rx_ring->next_to_use; in i40e_alloc_rx_buffers_zc()
224 if (rx_ring->next_to_use != ntu) { in i40e_alloc_rx_buffers_zc()
389 if (failure || next_to_clean == rx_ring->next_to_use) in i40e_clean_rx_irq_zc()
408 tx_desc = I40E_TX_DESC(xdp_ring, xdp_ring->next_to_use++); in i40e_xmit_pkt()
419 u16 ntu = xdp_ring->next_to_use; in i40e_xmit_pkt_batch()
437 xdp_ring->next_to_use = ntu; in i40e_xmit_pkt_batch()
455 u16 ntu = xdp_ring->next_to_use ? xdp_ring->next_to_use - 1 : xdp_ring->count - 1; in i40e_set_rs_bit()
479 if (xdp_ring->next_to_use + nb_pkts >= xdp_ring->count) { in i40e_xmit_zc()
480 nb_processed = xdp_ring->count - xdp_ring->next_to_use; in i40e_xmit_zc()
482 xdp_ring->next_to_use = 0; in i40e_xmit_zc()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_xsk.c143 u16 i = rx_ring->next_to_use; in ixgbe_alloc_rx_buffers_zc()
186 if (rx_ring->next_to_use != i) { in ixgbe_alloc_rx_buffers_zc()
187 rx_ring->next_to_use = i; in ixgbe_alloc_rx_buffers_zc()
341 writel(ring->next_to_use, ring->tail); in ixgbe_clean_rx_irq_zc()
401 tx_bi = &xdp_ring->tx_buffer_info[xdp_ring->next_to_use]; in ixgbe_xmit_zc()
406 tx_desc = IXGBE_TX_DESC(xdp_ring, xdp_ring->next_to_use); in ixgbe_xmit_zc()
418 xdp_ring->next_to_use++; in ixgbe_xmit_zc()
419 if (xdp_ring->next_to_use == xdp_ring->count) in ixgbe_xmit_zc()
420 xdp_ring->next_to_use = 0; in ixgbe_xmit_zc()
444 u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; in ixgbe_clean_xdp_tx_irq()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_xsk.c143 u16 i = rx_ring->next_to_use; in ixgbe_alloc_rx_buffers_zc()
186 if (rx_ring->next_to_use != i) { in ixgbe_alloc_rx_buffers_zc()
187 rx_ring->next_to_use = i; in ixgbe_alloc_rx_buffers_zc()
341 writel(ring->next_to_use, ring->tail); in ixgbe_clean_rx_irq_zc()
401 tx_bi = &xdp_ring->tx_buffer_info[xdp_ring->next_to_use]; in ixgbe_xmit_zc()
406 tx_desc = IXGBE_TX_DESC(xdp_ring, xdp_ring->next_to_use); in ixgbe_xmit_zc()
418 xdp_ring->next_to_use++; in ixgbe_xmit_zc()
419 if (xdp_ring->next_to_use == xdp_ring->count) in ixgbe_xmit_zc()
420 xdp_ring->next_to_use = 0; in ixgbe_xmit_zc()
444 u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; in ixgbe_clean_xdp_tx_irq()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_xsk.c143 u16 i = rx_ring->next_to_use; in ixgbe_alloc_rx_buffers_zc()
186 if (rx_ring->next_to_use != i) { in ixgbe_alloc_rx_buffers_zc()
187 rx_ring->next_to_use = i; in ixgbe_alloc_rx_buffers_zc()
341 writel(ring->next_to_use, ring->tail); in ixgbe_clean_rx_irq_zc()
401 tx_bi = &xdp_ring->tx_buffer_info[xdp_ring->next_to_use]; in ixgbe_xmit_zc()
406 tx_desc = IXGBE_TX_DESC(xdp_ring, xdp_ring->next_to_use); in ixgbe_xmit_zc()
418 xdp_ring->next_to_use++; in ixgbe_xmit_zc()
419 if (xdp_ring->next_to_use == xdp_ring->count) in ixgbe_xmit_zc()
420 xdp_ring->next_to_use = 0; in ixgbe_xmit_zc()
444 u16 ntc = tx_ring->next_to_clean, ntu = tx_ring->next_to_use; in ixgbe_clean_xdp_tx_irq()
[all …]
/dports/devel/libdwarf/dwarf-20161124/libdwarf/
H A Ddwarf_macro.c90 long next_to_use; member
108 ms->next_to_use = 0; in _dwarf_reset_index_macro_stack()
117 if (ms->next_to_use >= ms->max) { in _dwarf_macro_stack_push_index()
134 ms->next_to_use * sizeof(Dwarf_Signed)); in _dwarf_macro_stack_push_index()
140 ms->st_base[ms->next_to_use] = indx; in _dwarf_macro_stack_push_index()
141 ++ms->next_to_use; in _dwarf_macro_stack_push_index()
151 if (ms->next_to_use > 0) { in _dwarf_macro_stack_pop_index()
152 ms->next_to_use--; in _dwarf_macro_stack_pop_index()
153 return (ms->st_base[ms->next_to_use]); in _dwarf_macro_stack_pop_index()
/dports/devel/dwarfdump/dwarf-20161124/libdwarf/
H A Ddwarf_macro.c90 long next_to_use; member
108 ms->next_to_use = 0; in _dwarf_reset_index_macro_stack()
117 if (ms->next_to_use >= ms->max) { in _dwarf_macro_stack_push_index()
134 ms->next_to_use * sizeof(Dwarf_Signed)); in _dwarf_macro_stack_push_index()
140 ms->st_base[ms->next_to_use] = indx; in _dwarf_macro_stack_push_index()
141 ++ms->next_to_use; in _dwarf_macro_stack_push_index()
151 if (ms->next_to_use > 0) { in _dwarf_macro_stack_pop_index()
152 ms->next_to_use--; in _dwarf_macro_stack_pop_index()
153 return (ms->st_base[ms->next_to_use]); in _dwarf_macro_stack_pop_index()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_cmd.c19 int ntu = ring->next_to_use; in hclgevf_ring_space()
30 int ntu = ring->next_to_use; in hclgevf_is_valid_csq_clean_head()
51 csq->next_to_use, csq->next_to_clean); in hclgevf_cmd_csq_clean()
69 return head == hw->cmq.csq.next_to_use; in hclgevf_cmd_csq_done()
193 (hw->cmq.csq.next_to_use)++; in hclgevf_cmd_copy_desc()
194 if (hw->cmq.csq.next_to_use == hw->cmq.csq.desc_num) in hclgevf_cmd_copy_desc()
195 hw->cmq.csq.next_to_use = 0; in hclgevf_cmd_copy_desc()
321 ntc = hw->cmq.csq.next_to_use; in hclgevf_cmd_send()
327 hw->cmq.csq.next_to_use); in hclgevf_cmd_send()
447 hdev->hw.cmq.csq.next_to_use = 0; in hclgevf_cmd_init()
[all …]
H A Dhclgevf_mbx.c149 return tail == hw->cmq.crq.next_to_use; in hclgevf_cmd_crq_empty()
172 desc = &crq->desc[crq->next_to_use]; in hclgevf_mbx_handler()
175 flag = le16_to_cpu(crq->desc[crq->next_to_use].flag); in hclgevf_mbx_handler()
182 crq->desc[crq->next_to_use].flag = 0; in hclgevf_mbx_handler()
254 crq->desc[crq->next_to_use].flag = 0; in hclgevf_mbx_handler()
260 crq->next_to_use); in hclgevf_mbx_handler()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_cmd.c19 int ntu = ring->next_to_use; in hclgevf_ring_space()
30 int ntu = ring->next_to_use; in hclgevf_is_valid_csq_clean_head()
51 csq->next_to_use, csq->next_to_clean); in hclgevf_cmd_csq_clean()
69 return head == hw->cmq.csq.next_to_use; in hclgevf_cmd_csq_done()
193 (hw->cmq.csq.next_to_use)++; in hclgevf_cmd_copy_desc()
194 if (hw->cmq.csq.next_to_use == hw->cmq.csq.desc_num) in hclgevf_cmd_copy_desc()
195 hw->cmq.csq.next_to_use = 0; in hclgevf_cmd_copy_desc()
321 ntc = hw->cmq.csq.next_to_use; in hclgevf_cmd_send()
327 hw->cmq.csq.next_to_use); in hclgevf_cmd_send()
447 hdev->hw.cmq.csq.next_to_use = 0; in hclgevf_cmd_init()
[all …]
H A Dhclgevf_mbx.c149 return tail == hw->cmq.crq.next_to_use; in hclgevf_cmd_crq_empty()
172 desc = &crq->desc[crq->next_to_use]; in hclgevf_mbx_handler()
175 flag = le16_to_cpu(crq->desc[crq->next_to_use].flag); in hclgevf_mbx_handler()
182 crq->desc[crq->next_to_use].flag = 0; in hclgevf_mbx_handler()
254 crq->desc[crq->next_to_use].flag = 0; in hclgevf_mbx_handler()
260 crq->next_to_use); in hclgevf_mbx_handler()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/hns3vf/
H A Dhclgevf_cmd.c19 int ntu = ring->next_to_use; in hclgevf_ring_space()
30 int ntu = ring->next_to_use; in hclgevf_is_valid_csq_clean_head()
51 csq->next_to_use, csq->next_to_clean); in hclgevf_cmd_csq_clean()
69 return head == hw->cmq.csq.next_to_use; in hclgevf_cmd_csq_done()
193 (hw->cmq.csq.next_to_use)++; in hclgevf_cmd_copy_desc()
194 if (hw->cmq.csq.next_to_use == hw->cmq.csq.desc_num) in hclgevf_cmd_copy_desc()
195 hw->cmq.csq.next_to_use = 0; in hclgevf_cmd_copy_desc()
321 ntc = hw->cmq.csq.next_to_use; in hclgevf_cmd_send()
327 hw->cmq.csq.next_to_use); in hclgevf_cmd_send()
447 hdev->hw.cmq.csq.next_to_use = 0; in hclgevf_cmd_init()
[all …]
H A Dhclgevf_mbx.c149 return tail == hw->cmq.crq.next_to_use; in hclgevf_cmd_crq_empty()
172 desc = &crq->desc[crq->next_to_use]; in hclgevf_mbx_handler()
175 flag = le16_to_cpu(crq->desc[crq->next_to_use].flag); in hclgevf_mbx_handler()
182 crq->desc[crq->next_to_use].flag = 0; in hclgevf_mbx_handler()
254 crq->desc[crq->next_to_use].flag = 0; in hclgevf_mbx_handler()
260 crq->next_to_use); in hclgevf_mbx_handler()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.c18 int ntu = ring->next_to_use; in hclge_ring_space()
27 int ntu = ring->next_to_use; in is_valid_csq_clean_head()
147 csq->next_to_use, csq->next_to_clean); in hclge_cmd_csq_clean()
164 return head == hw->cmq.csq.next_to_use; in hclge_cmd_csq_done()
204 desc_to_use = &hw->cmq.csq.desc[hw->cmq.csq.next_to_use]; in hclge_cmd_copy_desc()
206 (hw->cmq.csq.next_to_use)++; in hclge_cmd_copy_desc()
207 if (hw->cmq.csq.next_to_use >= hw->cmq.csq.desc_num) in hclge_cmd_copy_desc()
208 hw->cmq.csq.next_to_use = 0; in hclge_cmd_copy_desc()
336 ntc = hw->cmq.csq.next_to_use; in hclge_cmd_send()
493 hdev->hw.cmq.csq.next_to_use = 0; in hclge_cmd_init()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.c18 int ntu = ring->next_to_use; in hclge_ring_space()
27 int ntu = ring->next_to_use; in is_valid_csq_clean_head()
147 csq->next_to_use, csq->next_to_clean); in hclge_cmd_csq_clean()
164 return head == hw->cmq.csq.next_to_use; in hclge_cmd_csq_done()
204 desc_to_use = &hw->cmq.csq.desc[hw->cmq.csq.next_to_use]; in hclge_cmd_copy_desc()
206 (hw->cmq.csq.next_to_use)++; in hclge_cmd_copy_desc()
207 if (hw->cmq.csq.next_to_use >= hw->cmq.csq.desc_num) in hclge_cmd_copy_desc()
208 hw->cmq.csq.next_to_use = 0; in hclge_cmd_copy_desc()
336 ntc = hw->cmq.csq.next_to_use; in hclge_cmd_send()
493 hdev->hw.cmq.csq.next_to_use = 0; in hclge_cmd_init()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_cmd.c18 int ntu = ring->next_to_use; in hclge_ring_space()
27 int ntu = ring->next_to_use; in is_valid_csq_clean_head()
147 csq->next_to_use, csq->next_to_clean); in hclge_cmd_csq_clean()
164 return head == hw->cmq.csq.next_to_use; in hclge_cmd_csq_done()
204 desc_to_use = &hw->cmq.csq.desc[hw->cmq.csq.next_to_use]; in hclge_cmd_copy_desc()
206 (hw->cmq.csq.next_to_use)++; in hclge_cmd_copy_desc()
207 if (hw->cmq.csq.next_to_use >= hw->cmq.csq.desc_num) in hclge_cmd_copy_desc()
208 hw->cmq.csq.next_to_use = 0; in hclge_cmd_copy_desc()
336 ntc = hw->cmq.csq.next_to_use; in hclge_cmd_send()
493 hdev->hw.cmq.csq.next_to_use = 0; in hclge_cmd_init()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/intel/ice/
H A Dice_controlq.h17 ((u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
18 (R)->next_to_clean - (R)->next_to_use - 1))
53 u16 next_to_use; member
H A Dice_txrx_lib.c13 u16 prev_ntu = rx_ring->next_to_use & ~0x7; in ice_release_rx_desc()
15 rx_ring->next_to_use = val; in ice_release_rx_desc()
206 u16 i = xdp_ring->next_to_use; in ice_xmit_xdp_ring()
244 xdp_ring->next_to_use = i; in ice_xmit_xdp_ring()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/intel/ice/
H A Dice_controlq.h17 ((u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
18 (R)->next_to_clean - (R)->next_to_use - 1))
53 u16 next_to_use; member
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/intel/ice/
H A Dice_controlq.h17 ((u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
18 (R)->next_to_clean - (R)->next_to_use - 1))
53 u16 next_to_use; member
/dports/sysutils/syslinux/syslinux-6.03/gpxe/src/drivers/net/e1000/
H A De1000.h118 unsigned int next_to_use; member
137 unsigned int next_to_use; member
154 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
155 (R)->next_to_clean - (R)->next_to_use - 1)
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/intel/ixgb/
H A Dixgb.h93 unsigned int next_to_use; member
101 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
102 (R)->next_to_clean - (R)->next_to_use - 1)
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/intel/ixgb/
H A Dixgb.h93 unsigned int next_to_use; member
101 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
102 (R)->next_to_clean - (R)->next_to_use - 1)
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/intel/ixgb/
H A Dixgb.h93 unsigned int next_to_use; member
101 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
102 (R)->next_to_clean - (R)->next_to_use - 1)

12345678910>>...12