Home
last modified time | relevance | path

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

/Linux-v6.6/include/linux/
Dnvme.h164 #define NVME_CMB_BIR(cmbloc) ((cmbloc) & 0x7) argument
165 #define NVME_CMB_OFST(cmbloc) (((cmbloc) >> 12) & 0xfffff) argument
/Linux-v6.6/drivers/nvme/host/
Dpci.c140 u32 cmbloc; member
1839 dev->cmbloc = readl(dev->bar + NVME_REG_CMBLOC); in nvme_map_cmb()
1842 offset = nvme_cmb_size_unit(dev) * NVME_CMB_OFST(dev->cmbloc); in nvme_map_cmb()
1843 bar = NVME_CMB_BIR(dev->cmbloc); in nvme_map_cmb()
2071 ndev->cmbloc, ndev->cmbsz); in cmb_show()
2080 return sysfs_emit(buf, "%u\n", ndev->cmbloc); in cmbloc_show()
2082 static DEVICE_ATTR_RO(cmbloc);