Searched refs:consumer_index (Results 1 – 15 of 15) sorted by relevance
28 (((_q)->consumer_index - (_q)->producer_index - 1) & ((_q)->depth - 1))70 u16 consumer_index; member96 u16 consumer_index; member
62 cmdq->consumer_index = 0; in cmdq_sm_stopped_entry()240 cmdq->consumer_index = ntohs(dbell->idx.cmdq_ci); in bfa_msgq_cmdq_ci_update()339 rspq->consumer_index = 0; in rspq_sm_stopped_entry()457 dbell->idx.rspq_ci = htons(rspq->consumer_index); in bfa_msgq_rspq_dbell()476 while (rspq->consumer_index != rspq->producer_index) { in bfa_msgq_rspq_pi_update()478 rspq_qe += (rspq->consumer_index * BFI_MSGQ_RSP_ENTRY_SIZE); in bfa_msgq_rspq_pi_update()489 BFA_MSGQ_INDX_ADD(rspq->consumer_index, num_entries, in bfa_msgq_rspq_pi_update()652 ci = rspq->consumer_index; in bfa_msgq_rsp_copy()
147 (((_q_ptr)->consumer_index - (_q_ptr)->producer_index - 1) & \151 ((((_q_ptr)->producer_index - (_q_ptr)->consumer_index)) & \154 #define BNA_Q_GET_CI(_q_ptr) ((_q_ptr)->q.consumer_index)164 (_q_ptr)->q.consumer_index = \165 (((_q_ptr)->q.consumer_index + (_num)) \
436 u32 consumer_index; member568 u32 consumer_index; member
810 buf[bi++] = rcb->consumer_index; in bnad_per_q_stats_fill()824 buf[bi++] = rcb->consumer_index; in bnad_per_q_stats_fill()839 buf[bi++] = tcb->consumer_index; in bnad_per_q_stats_fill()
196 cons = tcb->consumer_index; in bnad_txcmpl_process()218 tcb->consumer_index = hw_cons; in bnad_txcmpl_process()577 unmap = &unmap_q->unmap[rcb->consumer_index]; in bnad_cq_process()622 BNA_QE_INDX_INC(rcb->consumer_index, rcb->q_depth); in bnad_cq_process()2810 if ((*tcb->hw_consumer_index != tcb->consumer_index) && in bnad_start_xmit()
2226 q0->rcb->producer_index = q0->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()2228 q1->rcb->producer_index = q1->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()3424 txq->tcb->producer_index = txq->tcb->consumer_index = 0; in bna_bfi_tx_enet_start_rsp()
190 pool->consumer_index = 0; in ibmveth_alloc_buffer_pool()232 free_index = pool->consumer_index; in ibmveth_replenish_buffer_pool()233 pool->consumer_index++; in ibmveth_replenish_buffer_pool()234 if (pool->consumer_index >= pool->size) in ibmveth_replenish_buffer_pool()235 pool->consumer_index = 0; in ibmveth_replenish_buffer_pool()281 if (pool->consumer_index == 0) in ibmveth_replenish_buffer_pool()282 pool->consumer_index = pool->size - 1; in ibmveth_replenish_buffer_pool()284 pool->consumer_index--; in ibmveth_replenish_buffer_pool()
118 u32 consumer_index; member
324 __be32 consumer_index; member344 __be32 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()
386 __le32 consumer_index; member
300 pm8001_ha->inbnd_q_tbl[i].consumer_index = 0; in init_default_table_values()
63 __be32 consumer_index; member
74 __be32 consumer_index; member