Lines Matching refs:qsz
193 uint32_t qsz; in csio_wr_alloc_q() local
203 qsz = ALIGN(qsize, CSIO_QCREDIT_SZ) + csio_wr_qstat_pgsz(hw); in csio_wr_alloc_q()
222 qsz = ALIGN(qsize/wrsize, 16) * wrsize; in csio_wr_alloc_q()
226 qsz = ALIGN(qsize/wrsize, 8) * wrsize + csio_wr_qstat_pgsz(hw); in csio_wr_alloc_q()
235 q->vstart = pci_zalloc_consistent(hw->pdev, qsz, &q->pstart); in csio_wr_alloc_q()
246 q->size = qsz; in csio_wr_alloc_q()
259 q->credits = (qsz - q->wr_sz) / q->wr_sz; in csio_wr_alloc_q()
260 q->vwrap = (void *)((uintptr_t)(q->vstart) + qsz in csio_wr_alloc_q()
313 q->credits = (qsz - csio_wr_qstat_pgsz(hw)) / CSIO_QCREDIT_SZ; in csio_wr_alloc_q()
314 q->vwrap = (void *)((uintptr_t)(q->vstart) + qsz in csio_wr_alloc_q()
318 q->credits = (qsz - csio_wr_qstat_pgsz(hw)) / sizeof(__be64); in csio_wr_alloc_q()
319 q->vwrap = (void *)((uintptr_t)(q->vstart) + qsz in csio_wr_alloc_q()