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

/freebsd-current/sys/dev/ice/
H A Dice_controlq.h45 ((u16)((((R)->next_to_clean > (R)->next_to_use) ? 0 : (R)->count) + \
46 (R)->next_to_clean - (R)->next_to_use - 1))
79 u16 next_to_use; member in struct:ice_ctl_q_ring
H A Dice_controlq.c353 cq->sq.next_to_use = 0;
415 cq->rq.next_to_use = 0;
931 return rd32(hw, cq->sq.head) == cq->sq.next_to_use;
1010 desc_on_ring = ICE_CTL_Q_DESC(cq->sq, cq->sq.next_to_use);
1018 dma_buf = &cq->sq.r.sq_bi[cq->sq.next_to_use];
1036 (cq->sq.next_to_use)++;
1037 if (cq->sq.next_to_use == cq->sq.count)
1038 cq->sq.next_to_use = 0;
1039 wr32(hw, cq->sq.tail, cq->sq.next_to_use);
1194 /* set next_to_use t
[all...]
/freebsd-current/sys/dev/iavf/
H A Diavf_adminq.h58 u16 next_to_use; member in struct:iavf_adminq_ring
H A Diavf_adminq.c368 hw->aq.asq.next_to_use = 0;
431 hw->aq.arq.next_to_use = 0;
655 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use;
703 details = IAVF_ADMINQ_DETAILS(hw->aq.asq, hw->aq.asq.next_to_use);
763 desc_on_ring = IAVF_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use);
771 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]);
790 (hw->aq.asq.next_to_use)++;
791 if (hw->aq.asq.next_to_use == hw->aq.asq.count)
792 hw->aq.asq.next_to_use = 0;
794 wr32(hw, hw->aq.asq.tail, hw->aq.asq.next_to_use);
[all...]
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-current/sys/dev/ixl/
H A Di40e_adminq.c391 hw->aq.asq.next_to_use = 0;
454 hw->aq.arq.next_to_use = 0;
558 hw->aq.asq.next_to_use = 0;
563 hw->aq.arq.next_to_use = 0;
826 return rd32(hw, hw->aq.asq.head) == hw->aq.asq.next_to_use;
874 details = I40E_ADMINQ_DETAILS(hw->aq.asq, hw->aq.asq.next_to_use);
934 desc_on_ring = I40E_ADMINQ_DESC(hw->aq.asq, hw->aq.asq.next_to_use);
942 dma_buff = &(hw->aq.asq.r.asq_bi[hw->aq.asq.next_to_use]);
961 (hw->aq.asq.next_to_use)++;
962 if (hw->aq.asq.next_to_use
[all...]
H A Di40e_adminq.h60 u16 next_to_use; member in struct:i40e_adminq_ring
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-current/sys/contrib/ena-com/
H A Dena_com.h155 u16 next_to_use; member in struct:ena_com_io_bounce_buffer_control
1209 (bounce_buf_ctrl->next_to_use++ & (buffers_num - 1)) * size;
1212 (bounce_buf_ctrl->next_to_use & (buffers_num - 1)) * size);
H A Dena_com.c403 io_sq->bounce_buf_ctrl.next_to_use = 0;
/freebsd-current/sys/dev/ena/
H A Dena_datapath.c969 uint16_t next_to_use; local
991 next_to_use = tx_ring->next_to_use;
992 req_id = tx_ring->free_tx_ids[next_to_use];
1051 tx_ring->next_to_use = ENA_TX_RING_IDX_NEXT(next_to_use,
H A Dena.h335 uint16_t next_to_use; member in struct:ena_ring
H A Dena.c644 tx_ring->next_to_use = 0;
871 rx_ring->next_to_use = 0;
1081 uint16_t next_to_use, req_id; local
1087 next_to_use = rx_ring->next_to_use;
1093 next_to_use);
1095 req_id = rx_ring->free_rx_ids[next_to_use];
1118 next_to_use = ENA_RX_RING_IDX_NEXT(next_to_use,
1132 rx_ring->next_to_use
[all...]
H A Dena_netmap.c352 ctx->nt = ctx->ring->next_to_use;
378 ctx->ring->next_to_use = ctx->nt;
/freebsd-current/sys/dev/mana/
H A Dmana_en.c498 uint16_t next_to_use; local
512 next_to_use = txq->next_to_use;
542 tx_info = &txq->tx_buf_info[next_to_use];
637 next_to_use =
638 (next_to_use + 1) % MAX_SEND_BUFFERS_PER_QUEUE;
662 txq->next_to_use = next_to_use;
1522 txq_idx, next_to_complete, txq->next_to_use,
1962 if (txq->next_to_use !
[all...]
H A Dmana.h166 uint16_t next_to_use; member in struct:mana_txq
/freebsd-current/sys/dev/al_eth/
H A Dal_eth.h112 uint16_t next_to_use; member in struct:al_eth_ring
H A Dal_eth.c1089 uint16_t next_to_use; local
1092 next_to_use = rx_ring->next_to_use;
1097 &rx_ring->rx_buffer_info[next_to_use];
1114 next_to_use = AL_ETH_RX_RING_IDX_NEXT(rx_ring, next_to_use);
1125 rx_ring->next_to_use = next_to_use;
1295 uint16_t next_to_use; local
1323 next_to_use
[all...]

Completed in 299 milliseconds