Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dnvme.h164 #define NVME_CMB_BIR(cmbloc) ((cmbloc) & 0x7) argument
165 #define NVME_CMB_OFST(cmbloc) (((cmbloc) >> 12) & 0xfffff) argument
/linux-6.1.9/drivers/nvme/host/
Dpci.c139 u32 cmbloc; member
1930 dev->cmbloc = readl(dev->bar + NVME_REG_CMBLOC); in nvme_map_cmb()
1933 offset = nvme_cmb_size_unit(dev) * NVME_CMB_OFST(dev->cmbloc); in nvme_map_cmb()
1934 bar = NVME_CMB_BIR(dev->cmbloc); in nvme_map_cmb()
2157 ndev->cmbloc, ndev->cmbsz); in cmb_show()
2166 return sysfs_emit(buf, "%u\n", ndev->cmbloc); in cmbloc_show()
2168 static DEVICE_ATTR_RO(cmbloc);