/freebsd/sys/dev/ice/ |
H A D | ice_controlq.h | 46 ((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 D | ice_controlq.c | 368 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 D | i40e_adminq.c | 391 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 D | i40e_adminq.h | 60 u16 next_to_use; member
|
H A D | i40e_type.h | 105 ((((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 D | iavf_adminq.c | 368 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 D | iavf_adminq.h | 58 u16 next_to_use; member
|
H A D | iavf_type.h | 92 ((((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 D | al_eth.c | 1089 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 D | al_eth.h | 112 uint16_t next_to_use; member
|
/freebsd/sys/dev/ena/ |
H A D | ena_datapath.c | 977 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 D | ena.c | 675 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 D | ena.h | 347 uint16_t next_to_use; member
|
H A D | ena_netmap.c | 351 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 D | ena_com.h | 163 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 D | ena_com.c | 408 io_sq->bounce_buf_ctrl.next_to_use = 0; in ena_com_init_io_sq()
|
/freebsd/sys/dev/mana/ |
H A D | mana_en.c | 503 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 D | mana.h | 181 uint16_t next_to_use; member
|