Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_wr.c193 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()
[all …]
/linux-4.4.14/drivers/scsi/snic/
Dsnic_main.c101 int qsz = 0; in snic_change_queue_depth() local
103 qsz = min_t(u32, qdepth, SNIC_MAX_QUEUE_DEPTH); in snic_change_queue_depth()
104 scsi_change_queue_depth(sdev, qsz); in snic_change_queue_depth()
/linux-4.4.14/drivers/iommu/
Darm-smmu-v3.c1938 size_t qsz = ((1 << q->max_n_shift) * dwords) << 3; in arm_smmu_init_one_queue() local
1940 q->base = dma_alloc_coherent(smmu->dev, qsz, &q->base_dma, GFP_KERNEL); in arm_smmu_init_one_queue()
1943 qsz); in arm_smmu_init_one_queue()
1963 size_t qsz = ((1 << q->max_n_shift) * q->ent_dwords) << 3; in arm_smmu_free_one_queue() local
1965 dma_free_coherent(smmu->dev, qsz, q->base, q->base_dma); in arm_smmu_free_one_queue()