Home
last modified time | relevance | path

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

/freebsd/sys/dev/ice/
H A Dice_controlq.h46 ((u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
47 (R)->next_to_clean - (R)->next_to_use - 1))
97 u16 next_to_use;
80 u16 next_to_use; global() member
H A Dice_controlq.c368 cq->sq.next_to_use = 0; in ice_init_sq()
430 cq->rq.next_to_use = 0; in ice_init_rq()
1005 return rd32(hw, cq->sq.head) == cq->sq.next_to_use; in ice_sq_send_cmd_nolock()
1084 desc_on_ring = ICE_CTL_Q_DESC(cq->sq, cq->sq.next_to_use); in ice_sq_send_cmd_nolock()
1092 dma_buf = &cq->sq.r.sq_bi[cq->sq.next_to_use]; in ice_sq_send_cmd_nolock()
1110 (cq->sq.next_to_use)++;
1111 if (cq->sq.next_to_use == cq->sq.count)
1112 cq->sq.next_to_use = 0;
1113 wr32(hw, cq->sq.tail, cq->sq.next_to_use);
1268 /* set next_to_use t
[all...]
/freebsd/sys/dev/ixl/
H A Di40e_adminq.c391 hw->aq.asq.next_to_use = 0; in i40e_init_asq()
454 hw->aq.arq.next_to_use = 0; in i40e_init_arq()
558 hw->aq.asq.next_to_use = 0; in i40e_resume_aq()
563 hw->aq.arq.next_to_use = 0; in i40e_resume_aq()
826 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use; in i40e_asq_done()
874 details = I40E_ADMINQ_DETAILS(hw->aq.asq, hw->aq.asq.next_to_use); in i40e_asq_send_command()
934 desc_on_ring = I40E_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use); in i40e_asq_send_command()
942 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); in i40e_asq_send_command()
961 (hw->aq.asq.next_to_use)++; in i40e_asq_send_command()
962 if (hw->aq.asq.next_to_use == hw->aq.asq.count) in i40e_asq_send_command()
[all …]
H A Di40e_adminq.h60 u16 next_to_use; member
H A Di40e_type.h105 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
106 (R)->next_to_clean - (R)->next_to_use - 1)
/freebsd/sys/dev/iavf/
H A Diavf_adminq.c368 hw->aq.asq.next_to_use = 0; in iavf_init_asq()
431 hw->aq.arq.next_to_use = 0; in iavf_init_arq()
655 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use; in iavf_asq_done()
703 details = IAVF_ADMINQ_DETAILS(hw->aq.asq, hw->aq.asq.next_to_use); in iavf_asq_send_command()
763 desc_on_ring = IAVF_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use); in iavf_asq_send_command()
771 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]); in iavf_asq_send_command()
790 (hw->aq.asq.next_to_use)++; in iavf_asq_send_command()
791 if (hw->aq.asq.next_to_use == hw->aq.asq.count) in iavf_asq_send_command()
792 hw->aq.asq.next_to_use = 0; in iavf_asq_send_command()
794 wr32(hw, hw->aq.asq.tail, hw->aq.asq.next_to_use); in iavf_asq_send_command()
[all …]
H A Diavf_adminq.h58 u16 next_to_use; member
H A Diavf_type.h92 ((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
93 (R)->next_to_clean - (R)->next_to_use - 1)
/freebsd/sys/dev/al_eth/
H A Dal_eth.c1089 uint16_t next_to_use; in al_eth_refill_rx_bufs() local
1092 next_to_use = rx_ring->next_to_use; in al_eth_refill_rx_bufs()
1097 &rx_ring->rx_buffer_info[next_to_use]; in al_eth_refill_rx_bufs()
1114 next_to_use = AL_ETH_RX_RING_IDX_NEXT(rx_ring, next_to_use); in al_eth_refill_rx_bufs()
1125 rx_ring->next_to_use = next_to_use; in al_eth_refill_rx_bufs()
1295 uint16_t next_to_use; in al_eth_xmit_mbuf() local
1323 next_to_use = tx_ring->next_to_use; in al_eth_xmit_mbuf()
1324 tx_info = &tx_ring->tx_buffer_info[next_to_use]; in al_eth_xmit_mbuf()
1397 tx_ring->next_to_use = AL_ETH_TX_RING_IDX_NEXT(tx_ring, next_to_use); in al_eth_xmit_mbuf()
2359 tx_ring->next_to_use = 0; in al_eth_setup_tx_resources()
[all …]
H A Dal_eth.h112 uint16_t next_to_use; member
/freebsd/sys/dev/ena/
H A Dena_datapath.c977 uint16_t next_to_use; in ena_xmit_mbuf() local
999 next_to_use = tx_ring->next_to_use; in ena_xmit_mbuf()
1000 req_id = tx_ring->free_tx_ids[next_to_use]; in ena_xmit_mbuf()
1059 tx_ring->next_to_use = ENA_TX_RING_IDX_NEXT(next_to_use, in ena_xmit_mbuf()
H A Dena.c675 tx_ring->next_to_use = 0; in ena_setup_tx_resources()
902 rx_ring->next_to_use = 0; in ena_setup_rx_resources()
1112 uint16_t next_to_use, req_id; in ena_refill_rx_bufs() local
1118 next_to_use = rx_ring->next_to_use; in ena_refill_rx_bufs()
1124 next_to_use); in ena_refill_rx_bufs()
1126 req_id = rx_ring->free_rx_ids[next_to_use]; in ena_refill_rx_bufs()
1149 next_to_use = ENA_RX_RING_IDX_NEXT(next_to_use, in ena_refill_rx_bufs()
1163 rx_ring->next_to_use = next_to_use; in ena_refill_rx_bufs()
H A Dena.h347 uint16_t next_to_use; member
H A Dena_netmap.c351 ctx->nt = ctx->ring->next_to_use; in ena_netmap_tx_frames()
377 ctx->ring->next_to_use = ctx->nt; in ena_netmap_tx_frames()
/freebsd/sys/contrib/ena-com/
H A Dena_com.h163 u16 next_to_use; member
1252 (bounce_buf_ctrl->next_to_use++ & (buffers_num - 1)) * size; in ena_com_get_next_bounce_buffer()
1255 (bounce_buf_ctrl->next_to_use & (buffers_num - 1)) * size); in ena_com_get_next_bounce_buffer()
H A Dena_com.c408 io_sq->bounce_buf_ctrl.next_to_use = 0; in ena_com_init_io_sq()
/freebsd/sys/dev/mana/
H A Dmana_en.c503 uint16_t next_to_use; in mana_xmit() local
517 next_to_use = txq->next_to_use; in mana_xmit()
547 tx_info = &txq->tx_buf_info[next_to_use]; in mana_xmit()
642 next_to_use = MANA_IDX_NEXT(next_to_use, tx_queue_size); in mana_xmit()
666 txq->next_to_use = next_to_use; in mana_xmit()
1517 txq_idx, next_to_complete, txq->next_to_use, in mana_poll_tx_cq()
2000 if (txq->next_to_use != txq->next_to_complete) { in mana_deinit_txq()
2004 txq->next_to_use, txq->next_to_complete); in mana_deinit_txq()
H A Dmana.h181 uint16_t next_to_use; member