Home
last modified time | relevance | path

Searched refs:consumer_index (Results 1 – 15 of 15) sorted by relevance

/linux-4.1.27/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.h29 (((_q)->consumer_index - (_q)->producer_index - 1) & ((_q)->depth - 1))
71 u16 consumer_index; member
97 u16 consumer_index; member
Dbfa_msgq.c63 cmdq->consumer_index = 0; in cmdq_sm_stopped_entry()
241 cmdq->consumer_index = ntohs(dbell->idx.cmdq_ci); in bfa_msgq_cmdq_ci_update()
340 rspq->consumer_index = 0; in rspq_sm_stopped_entry()
458 dbell->idx.rspq_ci = htons(rspq->consumer_index); in bfa_msgq_rspq_dbell()
477 while (rspq->consumer_index != rspq->producer_index) { in bfa_msgq_rspq_pi_update()
479 rspq_qe += (rspq->consumer_index * BFI_MSGQ_RSP_ENTRY_SIZE); in bfa_msgq_rspq_pi_update()
490 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()
Dbna.h148 (((_q_ptr)->consumer_index - (_q_ptr)->producer_index - 1) & \
152 ((((_q_ptr)->producer_index - (_q_ptr)->consumer_index)) & \
155 #define BNA_Q_GET_CI(_q_ptr) ((_q_ptr)->q.consumer_index)
165 (_q_ptr)->q.consumer_index = \
166 (((_q_ptr)->q.consumer_index + (_num)) \
Dbna_types.h438 u32 consumer_index; member
570 u32 consumer_index; member
Dbnad_ethtool.c811 buf[bi++] = rcb->consumer_index; in bnad_per_q_stats_fill()
825 buf[bi++] = rcb->consumer_index; in bnad_per_q_stats_fill()
840 buf[bi++] = tcb->consumer_index; in bnad_per_q_stats_fill()
Dbnad.c198 cons = tcb->consumer_index; in bnad_txcmpl_process()
220 tcb->consumer_index = hw_cons; in bnad_txcmpl_process()
628 sop_ci = rcb->consumer_index; in bnad_cq_process()
721 BNA_QE_INDX_ADD(rcb->consumer_index, nvecs, rcb->q_depth); in bnad_cq_process()
2991 if ((*tcb->hw_consumer_index != tcb->consumer_index) && in bnad_start_xmit()
Dbna_tx_rx.c2373 q0->rcb->producer_index = q0->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()
2375 q1->rcb->producer_index = q1->rcb->consumer_index = 0; in bna_bfi_rx_enet_start_rsp()
3611 txq->tcb->producer_index = txq->tcb->consumer_index = 0; in bna_bfi_tx_enet_start_rsp()
/linux-4.1.27/drivers/net/ethernet/ibm/
Dibmveth.c189 pool->consumer_index = 0; in ibmveth_alloc_buffer_pool()
231 free_index = pool->consumer_index; in ibmveth_replenish_buffer_pool()
232 pool->consumer_index++; in ibmveth_replenish_buffer_pool()
233 if (pool->consumer_index >= pool->size) in ibmveth_replenish_buffer_pool()
234 pool->consumer_index = 0; in ibmveth_replenish_buffer_pool()
280 if (pool->consumer_index == 0) in ibmveth_replenish_buffer_pool()
281 pool->consumer_index = pool->size - 1; in ibmveth_replenish_buffer_pool()
283 pool->consumer_index--; in ibmveth_replenish_buffer_pool()
Dibmveth.h117 u32 consumer_index; member
/linux-4.1.27/drivers/scsi/pm8001/
Dpm8001_hwi.c246 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() local
1311 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()
Dpm8001_sas.h445 __le32 consumer_index; member
Dpm80xx_hwi.c515 pm8001_ha->inbnd_q_tbl[i].consumer_index = 0; in init_default_table_values()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dmlx4.h329 __be32 consumer_index; member
349 __be32 consumer_index; member
/linux-4.1.27/drivers/infiniband/hw/mthca/
Dmthca_eq.c63 __be32 consumer_index; member
Dmthca_cq.c74 __be32 consumer_index; member