Searched refs:cmbloc (Results 1 – 2 of 2) sorted by relevance
164 #define NVME_CMB_BIR(cmbloc) ((cmbloc) & 0x7) argument165 #define NVME_CMB_OFST(cmbloc) (((cmbloc) >> 12) & 0xfffff) argument
140 u32 cmbloc; member1839 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);