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
139 u32 cmbloc; member1930 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);