Home
last modified time | relevance | path

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

/drivers/net/ethernet/brocade/bna/
Dbfa_msgq.h28 (((_q)->consumer_index - (_q)->producer_index - 1) & ((_q)->depth - 1))
70 u16 consumer_index; member
96 u16 consumer_index; member
Dbfa_msgq.c62 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()
Dbna.h147 (((_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)) \
Dbna_types.h436 u32 consumer_index; member
568 u32 consumer_index; member
Dbnad_ethtool.c810 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()
Dbnad.c196 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()
Dbna_tx_rx.c2226 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()
/drivers/net/ethernet/ibm/
Dibmveth.c190 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()
Dibmveth.h118 u32 consumer_index; member
/drivers/net/ethernet/mellanox/mlx4/
Dmlx4.h324 __be32 consumer_index; member
344 __be32 consumer_index; member
/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.h386 __le32 consumer_index; member
Dpm80xx_hwi.c300 pm8001_ha->inbnd_q_tbl[i].consumer_index = 0; in init_default_table_values()
/drivers/infiniband/hw/mthca/
Dmthca_eq.c63 __be32 consumer_index; member
Dmthca_cq.c74 __be32 consumer_index; member