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.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()
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()
Dbna.h66 (((_q_ptr)->consumer_index - (_q_ptr)->producer_index - 1) & \
69 ((((_q_ptr)->producer_index - (_q_ptr)->consumer_index)) & \
Dbna_types.h428 u32 consumer_index; member
557 u32 consumer_index; member
Dbnad_ethtool.c819 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()
Dbnad.c199 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()
Dbna_tx_rx.c2129 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()
/drivers/net/ethernet/ibm/
Dibmveth.c202 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()
Dibmveth.h127 u32 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.h447 __le32 consumer_index; member
Dpm80xx_hwi.c518 pm8001_ha->inbnd_q_tbl[i].consumer_index = 0; in init_default_table_values()
/drivers/net/ethernet/mellanox/mlx4/
Dmlx4.h338 __be32 consumer_index; member
358 __be32 consumer_index; member
/drivers/infiniband/hw/mthca/
Dmthca_eq.c63 __be32 consumer_index; member
Dmthca_cq.c74 __be32 consumer_index; member