/Linux-v5.10/drivers/infiniband/sw/rxe/ |
D | rxe_queue.h | 35 __u32 producer_index; member 79 return ((q->buf->producer_index - q->buf->consumer_index) in queue_empty() 85 return ((q->buf->producer_index + 1 - q->buf->consumer_index) in queue_full() 91 q->buf->producer_index = (q->buf->producer_index + 1) in advance_producer() 103 return q->buf->data + ((q->buf->producer_index & q->index_mask) in producer_addr() 113 static inline unsigned int producer_index(struct rxe_queue *q) in producer_index() function 115 return q->buf->producer_index; in producer_index() 138 return (q->buf->producer_index - q->buf->consumer_index) in queue_count()
|
D | rxe_req.c | 54 wqe_index != producer_index(qp->sq.queue); in req_retry() 147 if (qp->req.wqe_index == producer_index(qp->sq.queue)) in req_next_wqe()
|
D | rxe_qp.c | 237 qp->req.wqe_index = producer_index(qp->sq.queue); in rxe_qp_init_req()
|
/Linux-v5.10/drivers/net/ethernet/brocade/bna/ |
D | bfa_msgq.h | 21 (((_q)->consumer_index - (_q)->producer_index - 1) & ((_q)->depth - 1)) 62 u16 producer_index; member 88 u16 producer_index; member
|
D | bfa_msgq.c | 54 cmdq->producer_index = 0; in cmdq_sm_stopped_entry() 193 dbell->idx.cmdq_pi = htons(cmdq->producer_index); in bfa_msgq_cmdq_dbell() 211 dst += (cmdq->producer_index * BFI_MSGQ_CMD_ENTRY_SIZE); in __cmd_copy() 219 BFA_MSGQ_INDX_ADD(cmdq->producer_index, 1, cmdq->depth); in __cmd_copy() 221 dst += (cmdq->producer_index * BFI_MSGQ_CMD_ENTRY_SIZE); in __cmd_copy() 332 rspq->producer_index = 0; in rspq_sm_stopped_entry() 468 rspq->producer_index = ntohs(dbell->idx.rspq_pi); in bfa_msgq_rspq_pi_update() 470 while (rspq->consumer_index != rspq->producer_index) { in bfa_msgq_rspq_pi_update()
|
D | bna_types.h | 419 u32 producer_index; member 548 u32 producer_index; member 612 u32 producer_index; member
|
D | bna_hw_defs.h | 262 (writel(BNA_DOORBELL_Q_PRD_IDX((_tcb)->producer_index), \ 266 (writel(BNA_DOORBELL_Q_PRD_IDX((_rcb)->producer_index), \
|
D | bnad.c | 349 prod = rcb->producer_index; in bnad_rxq_refill_page() 403 rcb->producer_index = prod; in bnad_rxq_refill_page() 423 prod = rcb->producer_index; in bnad_rxq_refill_skb() 459 rcb->producer_index = prod; in bnad_rxq_refill_skb() 528 pi = ccb->producer_index; in bnad_cq_setup_skb_frags() 605 cmpl = &cq[ccb->producer_index]; in bnad_cq_process() 649 pi = ccb->producer_index; in bnad_cq_process() 722 cmpl = &cq[ccb->producer_index]; in bnad_cq_process() 724 BNA_QE_INDX_INC(ccb->producer_index, ccb->q_depth); in bnad_cq_process() 2959 prod = tcb->producer_index; in bnad_start_xmit() [all …]
|
D | bna.h | 58 (((_q_ptr)->consumer_index - (_q_ptr)->producer_index - 1) & \ 61 ((((_q_ptr)->producer_index - (_q_ptr)->consumer_index)) & \
|
D | bnad_ethtool.c | 766 ccb->producer_index; in bnad_per_q_stats_fill() 800 buf[bi++] = rcb->producer_index; in bnad_per_q_stats_fill() 815 buf[bi++] = rcb->producer_index; in bnad_per_q_stats_fill() 830 buf[bi++] = tcb->producer_index; in bnad_per_q_stats_fill()
|
D | bna_tx_rx.c | 2120 rxp->cq.ccb->producer_index = 0; in bna_bfi_rx_enet_start_rsp() 2121 q0->rcb->producer_index = q0->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp() 2123 q1->rcb->producer_index = q1->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp() 3294 txq->tcb->producer_index = txq->tcb->consumer_index = 0; in bna_bfi_tx_enet_start_rsp()
|
/Linux-v5.10/drivers/scsi/pm8001/ |
D | pm8001_hwi.c | 278 pm8001_ha->outbnd_q_tbl[i].producer_index = 0; in init_default_table_values() 1393 u32 producer_index; in pm8001_mpi_msg_free_set() local 1406 producer_index = pm8001_read_32(circularQ->pi_virt); in pm8001_mpi_msg_free_set() 1407 circularQ->producer_index = cpu_to_le32(producer_index); in pm8001_mpi_msg_free_set() 1411 circularQ->producer_index, msgHeader)); in pm8001_mpi_msg_free_set() 1421 producer_index = pm8001_read_32(circularQ->pi_virt); in pm8001_mpi_msg_free_set() 1422 circularQ->producer_index = cpu_to_le32(producer_index); in pm8001_mpi_msg_free_set() 1425 circularQ->producer_index)); in pm8001_mpi_msg_free_set() 1446 if (le32_to_cpu(circularQ->producer_index) in pm8001_mpi_msg_consume() 1458 circularQ->producer_index)); in pm8001_mpi_msg_consume() [all …]
|
D | pm8001_sas.h | 486 __le32 producer_index; member
|
D | pm80xx_hwi.c | 842 pm8001_ha->outbnd_q_tbl[i].producer_index = 0; in init_default_table_values() 4231 circularQ->producer_index = in process_oq() 4233 if (le32_to_cpu(circularQ->producer_index) == in process_oq()
|
/Linux-v5.10/drivers/net/ethernet/ibm/ |
D | ibmveth.h | 116 u32 producer_index; member
|
D | ibmveth.c | 188 pool->producer_index = 0; in ibmveth_alloc_buffer_pool() 382 free_index = adapter->rx_buff_pool[pool].producer_index; in ibmveth_remove_buffer_from_pool() 383 adapter->rx_buff_pool[pool].producer_index++; in ibmveth_remove_buffer_from_pool() 384 if (adapter->rx_buff_pool[pool].producer_index >= in ibmveth_remove_buffer_from_pool() 386 adapter->rx_buff_pool[pool].producer_index = 0; in ibmveth_remove_buffer_from_pool()
|
D | ibmvnic.h | 905 int producer_index; member
|
D | ibmvnic.c | 633 tx_pool->producer_index = 0; in reset_one_tx_pool() 722 tx_pool->producer_index = 0; in init_one_tx_pool() 3158 tx_pool->free_map[tx_pool->producer_index] = index; in ibmvnic_complete_tx() 3159 tx_pool->producer_index = in ibmvnic_complete_tx() 3160 (tx_pool->producer_index + 1) % in ibmvnic_complete_tx()
|
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/ |
D | mlx4.h | 338 __be32 producer_index; member 358 __be32 producer_index; member
|
/Linux-v5.10/drivers/infiniband/hw/mthca/ |
D | mthca_cq.c | 75 __be32 producer_index; member
|
D | mthca_eq.c | 64 __be32 producer_index; member
|
/Linux-v5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_hsi.h | 8066 __le32 producer_index; member
|
D | bnxt.c | 10526 *prod = le32_to_cpu(resp->producer_index); in bnxt_dbg_hwrm_ring_info_get()
|