Searched refs:consumer_index (Results 1 – 15 of 15) sorted by relevance
29 (((_q)->consumer_index - (_q)->producer_index - 1) & ((_q)->depth - 1))71 u16 consumer_index; member97 u16 consumer_index; member
63 cmdq->consumer_index = 0; in cmdq_sm_stopped_entry()242 cmdq->consumer_index = ntohs(dbell->idx.cmdq_ci); in bfa_msgq_cmdq_ci_update()341 rspq->consumer_index = 0; in rspq_sm_stopped_entry()459 dbell->idx.rspq_ci = htons(rspq->consumer_index); in bfa_msgq_rspq_dbell()478 while (rspq->consumer_index != rspq->producer_index) { in bfa_msgq_rspq_pi_update()480 rspq_qe += (rspq->consumer_index * BFI_MSGQ_RSP_ENTRY_SIZE); in bfa_msgq_rspq_pi_update()491 BFA_MSGQ_INDX_ADD(rspq->consumer_index, num_entries, in bfa_msgq_rspq_pi_update()653 ci = rspq->consumer_index; in bfa_msgq_rsp_copy()
66 (((_q_ptr)->consumer_index - (_q_ptr)->producer_index - 1) & \69 ((((_q_ptr)->producer_index - (_q_ptr)->consumer_index)) & \
428 u32 consumer_index; member557 u32 consumer_index; member
819 buf[bi++] = rcb->consumer_index; in bnad_per_q_stats_fill()834 buf[bi++] = rcb->consumer_index; in bnad_per_q_stats_fill()849 buf[bi++] = tcb->consumer_index; in bnad_per_q_stats_fill()
199 cons = tcb->consumer_index; in bnad_txcmpl_process()221 tcb->consumer_index = hw_cons; in bnad_txcmpl_process()642 sop_ci = rcb->consumer_index; in bnad_cq_process()735 BNA_QE_INDX_ADD(rcb->consumer_index, nvecs, rcb->q_depth); in bnad_cq_process()2995 if ((*tcb->hw_consumer_index != tcb->consumer_index) && in bnad_start_xmit()
2129 q0->rcb->producer_index = q0->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()2131 q1->rcb->producer_index = q1->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()3302 txq->tcb->producer_index = txq->tcb->consumer_index = 0; in bna_bfi_tx_enet_start_rsp()
202 pool->consumer_index = 0; in ibmveth_alloc_buffer_pool()244 free_index = pool->consumer_index; in ibmveth_replenish_buffer_pool()245 pool->consumer_index++; in ibmveth_replenish_buffer_pool()246 if (pool->consumer_index >= pool->size) in ibmveth_replenish_buffer_pool()247 pool->consumer_index = 0; in ibmveth_replenish_buffer_pool()293 if (pool->consumer_index == 0) in ibmveth_replenish_buffer_pool()294 pool->consumer_index = pool->size - 1; in ibmveth_replenish_buffer_pool()296 pool->consumer_index--; in ibmveth_replenish_buffer_pool()
127 u32 consumer_index; member
246 pm8001_ha->inbnd_q_tbl[i].consumer_index = 0; in init_default_table_values()1300 u32 offset, consumer_index; in pm8001_mpi_msg_free_get() local1311 consumer_index = pm8001_read_32(circularQ->ci_virt); in pm8001_mpi_msg_free_get()1312 circularQ->consumer_index = cpu_to_le32(consumer_index); in pm8001_mpi_msg_free_get()1314 le32_to_cpu(circularQ->consumer_index)) { in pm8001_mpi_msg_free_get()1368 circularQ->consumer_index)); in pm8001_mpi_build_cmd()
447 __le32 consumer_index; member
518 pm8001_ha->inbnd_q_tbl[i].consumer_index = 0; in init_default_table_values()
338 __be32 consumer_index; member358 __be32 consumer_index; member
63 __be32 consumer_index; member
74 __be32 consumer_index; member