Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbnad.c105 for (i = 0; i < ccb->q_depth; i++) { in bnad_cq_cleanup()
118 u32 q_depth, u32 index) in bnad_tx_buff_unmap() argument
141 BNA_QE_INDX_INC(index, q_depth); in bnad_tx_buff_unmap()
153 BNA_QE_INDX_INC(index, q_depth); in bnad_tx_buff_unmap()
170 for (i = 0; i < tcb->q_depth; i++) { in bnad_txq_cleanup()
174 bnad_tx_buff_unmap(bnad, unmap_q, tcb->q_depth, i); in bnad_txq_cleanup()
189 u32 wis, unmap_wis, hw_cons, cons, q_depth; in bnad_txcmpl_process() local
200 q_depth = tcb->q_depth; in bnad_txcmpl_process()
202 wis = BNA_Q_INDEX_CHANGE(cons, hw_cons, q_depth); in bnad_txcmpl_process()
203 BUG_ON(!(wis <= BNA_QE_IN_USE_CNT(tcb, tcb->q_depth))); in bnad_txcmpl_process()
[all …]
Dbna_types.h430 u32 q_depth; member
558 u32 q_depth; member
574 int q_depth; member
622 u32 q_depth; member
Dbfa_msgq.c526 msgq_cfg->cmdq.q_depth = htons(msgq->cmdq.depth); in bfa_msgq_init()
528 msgq_cfg->rspq.q_depth = htons(msgq->rspq.depth); in bfa_msgq_init()
Dbfi.h421 u16 q_depth; /* Total num of entries in the queue */ member
Dbna_tx_rx.c2393 q0->rcb->q_depth = rx_cfg->q0_depth; in bna_rx_create()
2394 q0->q_depth = rx_cfg->q0_depth; in bna_rx_create()
2420 q1->rcb->q_depth = rx_cfg->q1_depth; in bna_rx_create()
2421 q1->q_depth = rx_cfg->q1_depth; in bna_rx_create()
2452 rxp->cq.ccb->q_depth = cq_depth; in bna_rx_create()
3474 txq->tcb->q_depth = tx_cfg->txq_depth; in bna_tx_create()
/linux-4.4.14/drivers/block/rsxx/
Dcregs.c147 card->creg_ctrl.q_depth--; in creg_kick_queue()
199 card->creg_ctrl.q_depth++; in creg_queue_cmd()
336 card->creg_ctrl.q_depth--; in creg_reset()
413 card->creg_ctrl.q_depth + 20000); in __issue_creg_rw()
720 card->creg_ctrl.q_depth++; in rsxx_eeh_save_issued_creg()
Drsxx_priv.h142 unsigned int q_depth; member
Ddma.c207 u32 q_depth = 0; in dma_intr_coal_auto_tune() local
215 q_depth += atomic_read(&card->ctrl[i].stats.hw_q_depth); in dma_intr_coal_auto_tune()
218 q_depth / 2, in dma_intr_coal_auto_tune()
/linux-4.4.14/drivers/nvme/host/
Dpci.c121 u16 q_depth; member
373 if (tag >= nvmeq->q_depth) { in nvme_finish_cmd()
402 if (++tail == nvmeq->q_depth) in __nvme_submit_cmd()
961 if (++head == nvmeq->q_depth) { in __nvme_process_cq()
1163 c.create_cq.qsize = cpu_to_le16(nvmeq->q_depth - 1); in adapter_alloc_cq()
1184 c.create_sq.qsize = cpu_to_le16(nvmeq->q_depth - 1); in adapter_alloc_sq()
1394 dma_free_coherent(nvmeq->q_dmadev, CQ_SIZE(nvmeq->q_depth), in nvme_free_queue()
1397 dma_free_coherent(nvmeq->q_dmadev, SQ_SIZE(nvmeq->q_depth), in nvme_free_queue()
1473 int q_depth = dev->q_depth; in nvme_cmb_qdepth() local
1474 unsigned q_size_aligned = roundup(q_depth * entry_size, dev->page_size); in nvme_cmb_qdepth()
[all …]
Dnvme.h47 int q_depth; member
/linux-4.4.14/drivers/scsi/bfa/
Dbfi.h545 #define BFI_MSGQ_FULL(_q) (((_q->pi + 1) % _q->q_depth) == _q->ci)
547 #define BFI_MSGQ_UPDATE_CI(_q) (_q->ci = (_q->ci + 1) % _q->q_depth)
548 #define BFI_MSGQ_UPDATE_PI(_q) (_q->pi = (_q->pi + 1) % _q->q_depth)
551 #define BFI_MSGQ_FREE_CNT(_q) ((_q->ci - _q->pi - 1) & (_q->q_depth - 1))
592 u16 q_depth; /* Total num of entries in the queue */ member
Dbfa_fcpim.h126 u16 q_depth; member
Dbfa_defs_svc.h965 u16 q_depth; /* SCSI Queue depth */ member
Dbfa_svc.c3657 fcport->cfg.q_depth = in bfa_fcport_isr()
3658 cpu_to_be16(fcport->cfg.q_depth); in bfa_fcport_isr()
4078 attr->pport_cfg.q_depth = bfa_fcpim_qdepth_get(bfa); in bfa_fcport_get_attr()
Dbfa_fcpim.c505 return fcpim->q_depth; in bfa_fcpim_qdepth_get()