Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/nvme/host/
Dpci.c139 u32 cmbsz; member
1543 if (qid && dev->cmb_use_sqes && (dev->cmbsz & NVME_CMBSZ_SQS)) { in nvme_alloc_sq_cmds()
1858 u8 szu = (dev->cmbsz >> NVME_CMBSZ_SZU_SHIFT) & NVME_CMBSZ_SZU_MASK; in nvme_cmb_size_unit()
1865 return (dev->cmbsz >> NVME_CMBSZ_SZ_SHIFT) & NVME_CMBSZ_SZ_MASK; in nvme_cmb_size()
1881 dev->cmbsz = readl(dev->bar + NVME_REG_CMBSZ); in nvme_map_cmb()
1882 if (!dev->cmbsz) in nvme_map_cmb()
1919 dev->cmb_use_sqes = use_cmb_sqes && (dev->cmbsz & NVME_CMBSZ_SQS); in nvme_map_cmb()
1921 if ((dev->cmbsz & (NVME_CMBSZ_WDS | NVME_CMBSZ_RDS)) == in nvme_map_cmb()
2116 ndev->cmbloc, ndev->cmbsz); in cmb_show()
2134 return sysfs_emit(buf, "%u\n", ndev->cmbsz); in cmbsz_show()
[all …]