Home
last modified time | relevance | path

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

/openbmc/linux/drivers/infiniband/sw/rxe/
H A Drxe_queue.h108 prod = smp_load_acquire(&q->buf->producer_index); in queue_get_producer()
116 prod = q->buf->producer_index; in queue_get_producer()
120 prod = smp_load_acquire(&q->buf->producer_index); in queue_get_producer()
197 smp_store_release(&q->buf->producer_index, prod); in queue_advance_producer()
201 prod = q->buf->producer_index; in queue_advance_producer()
204 smp_store_release(&q->buf->producer_index, prod); in queue_advance_producer()
H A Drxe_queue.c132 new_q->buf->producer_index = new_prod; in resize_finish()
137 new_q->index = new_q->buf->producer_index; in resize_finish()
/openbmc/linux/drivers/net/ethernet/brocade/bna/
H A Dbfa_msgq.h21 (((_q)->consumer_index - (_q)->producer_index - 1) & ((_q)->depth - 1))
64 u16 producer_index; member
92 u16 producer_index; member
H A Dbfa_msgq.c54 cmdq->producer_index = 0; in cmdq_sm_stopped_entry()
193 dbell->idx.cmdq_pi = htons(cmdq->producer_index); in bfa_msgq_cmdq_dbell()
210 dst += (cmdq->producer_index * BFI_MSGQ_CMD_ENTRY_SIZE); in __cmd_copy()
218 BFA_MSGQ_INDX_ADD(cmdq->producer_index, 1, cmdq->depth); in __cmd_copy()
220 dst += (cmdq->producer_index * BFI_MSGQ_CMD_ENTRY_SIZE); in __cmd_copy()
330 rspq->producer_index = 0; in rspq_sm_stopped_entry()
466 rspq->producer_index = ntohs(dbell->idx.rspq_pi); in bfa_msgq_rspq_pi_update()
468 while (rspq->consumer_index != rspq->producer_index) { in bfa_msgq_rspq_pi_update()
H A Dbna_types.h425 u32 producer_index; member
557 u32 producer_index; member
621 u32 producer_index; member
H A Dbna_hw_defs.h262 (writel(BNA_DOORBELL_Q_PRD_IDX((_tcb)->producer_index), \
266 (writel(BNA_DOORBELL_Q_PRD_IDX((_rcb)->producer_index), \
H A Dbnad.c349 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()
2956 prod = tcb->producer_index; in bnad_start_xmit()
[all …]
H A Dbnad_ethtool.c718 ccb->producer_index; in bnad_per_q_stats_fill()
752 buf[bi++] = rcb->producer_index; in bnad_per_q_stats_fill()
767 buf[bi++] = rcb->producer_index; in bnad_per_q_stats_fill()
782 buf[bi++] = tcb->producer_index; in bnad_per_q_stats_fill()
H A Dbna.h58 (((_q_ptr)->consumer_index - (_q_ptr)->producer_index - 1) & \
61 ((((_q_ptr)->producer_index - (_q_ptr)->consumer_index)) & \
H A Dbna_tx_rx.c2120 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()
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_hwi.c281 pm8001_ha->outbnd_q_tbl[i].producer_index = 0; in init_default_table_values()
1376 u32 producer_index; in pm8001_mpi_msg_free_set() local
1389 producer_index = pm8001_read_32(circularQ->pi_virt); in pm8001_mpi_msg_free_set()
1390 circularQ->producer_index = cpu_to_le32(producer_index); in pm8001_mpi_msg_free_set()
1394 circularQ->producer_index, msgHeader); in pm8001_mpi_msg_free_set()
1404 producer_index = pm8001_read_32(circularQ->pi_virt); in pm8001_mpi_msg_free_set()
1405 circularQ->producer_index = cpu_to_le32(producer_index); in pm8001_mpi_msg_free_set()
1407 circularQ->consumer_idx, circularQ->producer_index); in pm8001_mpi_msg_free_set()
1428 if (le32_to_cpu(circularQ->producer_index) in pm8001_mpi_msg_consume()
1440 circularQ->producer_index); in pm8001_mpi_msg_consume()
[all …]
H A Dpm8001_sas.h460 __le32 producer_index; member
H A Dpm80xx_hwi.c835 pm8001_ha->outbnd_q_tbl[i].producer_index = 0; in init_default_table_values()
4089 circularQ->producer_index = in process_oq()
4091 if (le32_to_cpu(circularQ->producer_index) == in process_oq()
/openbmc/linux/include/uapi/rdma/
H A Drdma_user_rxe.h224 __u32 producer_index; member
/openbmc/linux/drivers/net/ethernet/ibm/
H A Dibmveth.h119 u32 producer_index; member
H A Dibmveth.c195 pool->producer_index = 0; in ibmveth_alloc_buffer_pool()
389 free_index = adapter->rx_buff_pool[pool].producer_index; in ibmveth_remove_buffer_from_pool()
390 adapter->rx_buff_pool[pool].producer_index++; in ibmveth_remove_buffer_from_pool()
391 if (adapter->rx_buff_pool[pool].producer_index >= in ibmveth_remove_buffer_from_pool()
393 adapter->rx_buff_pool[pool].producer_index = 0; in ibmveth_remove_buffer_from_pool()
H A Dibmvnic.h854 int producer_index; member
H A Dibmvnic.c1239 tx_pool->producer_index = 0; in init_one_tx_pool()
1386 tx_pool->producer_index = 0; in init_tx_pools()
1402 tso_pool->producer_index = 0; in init_tx_pools()
4209 tx_pool->free_map[tx_pool->producer_index] = index; in ibmvnic_complete_tx()
4210 tx_pool->producer_index = in ibmvnic_complete_tx()
4211 (tx_pool->producer_index + 1) % in ibmvnic_complete_tx()
/openbmc/linux/drivers/scsi/mpi3mr/mpi/
H A Dmpi30_transport.h25 __le16 producer_index; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dmlx4.h340 __be32 producer_index; member
360 __be32 producer_index; member
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_eq.c64 __be32 producer_index; member
H A Dmthca_cq.c75 __be32 producer_index; member
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_fw.c2253 &mrioc->sysif_regs->oper_queue_indexes[reply_qidx].producer_index); in mpi3mr_op_request_post()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_hsi.h9317 __le32 producer_index; member
H A Dbnxt.c11538 *prod = le32_to_cpu(resp->producer_index); in bnxt_dbg_hwrm_ring_info_get()