Searched refs:cxlmd (Results 1 – 5 of 5) sorted by relevance
/drivers/cxl/core/ |
D | memdev.c | 22 struct cxl_memdev *cxlmd = to_cxl_memdev(dev); in cxl_memdev_release() local 24 ida_free(&cxl_memdev_ida, cxlmd->id); in cxl_memdev_release() 25 kfree(cxlmd); in cxl_memdev_release() 37 struct cxl_memdev *cxlmd = to_cxl_memdev(dev); in firmware_version_show() local 38 struct cxl_mem *cxlm = cxlmd->cxlm; in firmware_version_show() 47 struct cxl_memdev *cxlmd = to_cxl_memdev(dev); in payload_max_show() local 48 struct cxl_mem *cxlm = cxlmd->cxlm; in payload_max_show() 57 struct cxl_memdev *cxlmd = to_cxl_memdev(dev); in label_storage_size_show() local 58 struct cxl_mem *cxlm = cxlmd->cxlm; in label_storage_size_show() 67 struct cxl_memdev *cxlmd = to_cxl_memdev(dev); in ram_size_show() local [all …]
|
D | pmem.c | 175 static struct cxl_nvdimm *cxl_nvdimm_alloc(struct cxl_memdev *cxlmd) in cxl_nvdimm_alloc() argument 185 cxl_nvd->cxlmd = cxlmd; in cxl_nvdimm_alloc() 188 dev->parent = &cxlmd->dev; in cxl_nvdimm_alloc() 202 int devm_cxl_add_nvdimm(struct device *host, struct cxl_memdev *cxlmd) in devm_cxl_add_nvdimm() argument 208 cxl_nvd = cxl_nvdimm_alloc(cxlmd); in devm_cxl_add_nvdimm() 213 rc = dev_set_name(dev, "pmem%d", cxlmd->id); in devm_cxl_add_nvdimm()
|
/drivers/cxl/ |
D | pci.c | 700 static int cxl_query_cmd(struct cxl_memdev *cxlmd, in cxl_query_cmd() argument 703 struct device *dev = &cxlmd->dev; in cxl_query_cmd() 734 static int cxl_send_cmd(struct cxl_memdev *cxlmd, in cxl_send_cmd() argument 737 struct cxl_mem *cxlm = cxlmd->cxlm; in cxl_send_cmd() 738 struct device *dev = &cxlmd->dev; in cxl_send_cmd() 748 rc = cxl_validate_cmd_from_user(cxlmd->cxlm, &send, &c); in cxl_send_cmd() 768 static long __cxl_memdev_ioctl(struct cxl_memdev *cxlmd, unsigned int cmd, in __cxl_memdev_ioctl() argument 773 return cxl_query_cmd(cxlmd, (void __user *)arg); in __cxl_memdev_ioctl() 775 return cxl_send_cmd(cxlmd, (void __user *)arg); in __cxl_memdev_ioctl() 784 struct cxl_memdev *cxlmd = file->private_data; in cxl_memdev_ioctl() local [all …]
|
D | cxl.h | 224 struct cxl_memdev *cxlmd; member 325 int devm_cxl_add_nvdimm(struct device *host, struct cxl_memdev *cxlmd);
|
D | cxlmem.h | 86 struct cxl_memdev *cxlmd; member
|