Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dnvme.h173 #define NVME_CMB_BIR(cmbloc) ((cmbloc) & 0x7) argument
174 #define NVME_CMB_OFST(cmbloc) (((cmbloc) >> 12) & 0xfffff) argument
/linux/drivers/nvme/host/
H A Dpci.c141 u32 cmbloc; member
1976 dev->cmbloc = readl(dev->bar + NVME_REG_CMBLOC); in nvme_map_cmb()
1979 offset = nvme_cmb_size_unit(dev) * NVME_CMB_OFST(dev->cmbloc); in nvme_map_cmb()
1980 bar = NVME_CMB_BIR(dev->cmbloc); in nvme_map_cmb()
2257 ndev->cmbloc, ndev->cmbsz); in cmb_show()
2266 return sysfs_emit(buf, "%u\n", ndev->cmbloc); in cmbloc_show()
2268 static DEVICE_ATTR_RO(cmbloc);