Home
last modified time | relevance | path

Searched refs:CSIO_QCREDIT_SZ (Results 1 – 2 of 2) sorted by relevance

/linux-4.1.27/drivers/scsi/csiostor/
Dcsio_wr.c203 qsz = ALIGN(qsize, CSIO_QCREDIT_SZ) + csio_wr_qstat_pgsz(hw); in csio_wr_alloc_q()
313 q->credits = (qsz - csio_wr_qstat_pgsz(hw)) / CSIO_QCREDIT_SZ; in csio_wr_alloc_q()
489 iqp.fl0size = csio_q_size(hw, flq_idx) / CSIO_QCREDIT_SZ; in csio_wr_iq_create()
577 eqp.eqsize = csio_q_size(hw, eq_idx) / CSIO_QCREDIT_SZ; in csio_wr_eq_create()
863 (q->pidx * CSIO_QCREDIT_SZ)); in csio_wr_get()
867 uint32_t req_sz = ALIGN(size, CSIO_QCREDIT_SZ); in csio_wr_get()
868 int req_credits = req_sz / CSIO_QCREDIT_SZ; in csio_wr_get()
908 q->pidx = (uint16_t)(ALIGN(wrp->size2, CSIO_QCREDIT_SZ) / in csio_wr_get()
909 CSIO_QCREDIT_SZ); in csio_wr_get()
Dcsio_wr.h282 CSIO_QCREDIT_SZ = 64, /* pidx/cidx increments enumerator