/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_queue.h | 108 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 D | rxe_queue.c | 132 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 D | bfa_msgq.h | 21 (((_q)->consumer_index - (_q)->producer_index - 1) & ((_q)->depth - 1)) 64 u16 producer_index; member 92 u16 producer_index; member
|
H A 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() 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 D | bna_types.h | 425 u32 producer_index; member 557 u32 producer_index; member 621 u32 producer_index; member
|
H A 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), \
|
H A 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() 2956 prod = tcb->producer_index; in bnad_start_xmit() [all …]
|
H A D | bnad_ethtool.c | 718 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 D | bna.h | 58 (((_q_ptr)->consumer_index - (_q_ptr)->producer_index - 1) & \ 61 ((((_q_ptr)->producer_index - (_q_ptr)->consumer_index)) & \
|
H A 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()
|
/openbmc/linux/drivers/scsi/pm8001/ |
H A D | pm8001_hwi.c | 281 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 D | pm8001_sas.h | 460 __le32 producer_index; member
|
H A D | pm80xx_hwi.c | 835 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 D | rdma_user_rxe.h | 224 __u32 producer_index; member
|
/openbmc/linux/drivers/net/ethernet/ibm/ |
H A D | ibmveth.h | 119 u32 producer_index; member
|
H A D | ibmveth.c | 195 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 D | ibmvnic.h | 854 int producer_index; member
|
H A D | ibmvnic.c | 1239 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 D | mpi30_transport.h | 25 __le16 producer_index; member
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mlx4.h | 340 __be32 producer_index; member 360 __be32 producer_index; member
|
/openbmc/linux/drivers/infiniband/hw/mthca/ |
H A D | mthca_eq.c | 64 __be32 producer_index; member
|
H A D | mthca_cq.c | 75 __be32 producer_index; member
|
/openbmc/linux/drivers/scsi/mpi3mr/ |
H A D | mpi3mr_fw.c | 2253 &mrioc->sysif_regs->oper_queue_indexes[reply_qidx].producer_index); in mpi3mr_op_request_post()
|
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_hsi.h | 9317 __le32 producer_index; member
|
H A D | bnxt.c | 11538 *prod = le32_to_cpu(resp->producer_index); in bnxt_dbg_hwrm_ring_info_get()
|