Home
last modified time | relevance | path

Searched refs:qsz (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/scsi/csiostor/
H A Dcsio_wr.c194 uint32_t qsz; in csio_wr_alloc_q() local
204 qsz = ALIGN(qsize, CSIO_QCREDIT_SZ) + csio_wr_qstat_pgsz(hw); in csio_wr_alloc_q()
223 qsz = ALIGN(qsize/wrsize, 16) * wrsize; in csio_wr_alloc_q()
236 q->vstart = dma_alloc_coherent(&hw->pdev->dev, qsz, &q->pstart, in csio_wr_alloc_q()
248 q->size = qsz; in csio_wr_alloc_q()
261 q->credits = (qsz - q->wr_sz) / q->wr_sz; in csio_wr_alloc_q()
262 q->vwrap = (void *)((uintptr_t)(q->vstart) + qsz in csio_wr_alloc_q()
315 q->credits = (qsz - csio_wr_qstat_pgsz(hw)) / CSIO_QCREDIT_SZ; in csio_wr_alloc_q()
316 q->vwrap = (void *)((uintptr_t)(q->vstart) + qsz in csio_wr_alloc_q()
320 q->credits = (qsz - csio_wr_qstat_pgsz(hw)) / sizeof(__be64); in csio_wr_alloc_q()
[all …]
/openbmc/linux/drivers/scsi/snic/
H A Dsnic_main.c88 int qsz = 0; in snic_change_queue_depth() local
90 qsz = min_t(u32, qdepth, SNIC_MAX_QUEUE_DEPTH); in snic_change_queue_depth()
91 if (qsz < sdev->queue_depth) in snic_change_queue_depth()
93 else if (qsz > sdev->queue_depth) in snic_change_queue_depth()
98 scsi_change_queue_depth(sdev, qsz); in snic_change_queue_depth()
/openbmc/linux/drivers/iommu/arm/arm-smmu-v3/
H A Darm-smmu-v3.c2897 size_t qsz; in arm_smmu_init_one_queue() local
2900 qsz = ((1 << q->llq.max_n_shift) * dwords) << 3; in arm_smmu_init_one_queue()
2901 q->base = dmam_alloc_coherent(smmu->dev, qsz, &q->base_dma, in arm_smmu_init_one_queue()
2903 if (q->base || qsz < PAGE_SIZE) in arm_smmu_init_one_queue()
2912 qsz, name); in arm_smmu_init_one_queue()
2916 if (!WARN_ON(q->base_dma & (qsz - 1))) { in arm_smmu_init_one_queue()