Home
last modified time | relevance | path

Searched refs:cxl_root (Results 1 – 6 of 6) sorted by relevance

/drivers/cxl/
A Dcxl.h629 struct cxl_root { struct
634 static inline struct cxl_root * argument
637 return container_of(port, struct cxl_root, port); in to_cxl_root()
641 int (*qos_class)(struct cxl_root *cxl_root,
740 struct cxl_root *devm_cxl_add_root(struct device *host,
742 struct cxl_root *find_cxl_root(struct cxl_port *port);
744 DEFINE_FREE(put_cxl_root, struct cxl_root *, if (_T) put_device(&_T->port.dev))
A Dacpi.c282 static int cxl_acpi_qos_class(struct cxl_root *cxl_root, in cxl_acpi_qos_class() argument
286 struct device *dev = cxl_root->port.uport_dev; in cxl_acpi_qos_class()
889 struct cxl_root *cxl_root; in cxl_acpi_probe() local
909 cxl_root = devm_cxl_add_root(host, &acpi_root_ops); in cxl_acpi_probe()
910 if (IS_ERR(cxl_root)) in cxl_acpi_probe()
911 return PTR_ERR(cxl_root); in cxl_acpi_probe()
912 root_port = &cxl_root->port; in cxl_acpi_probe()
/drivers/cxl/core/
A Dcdat.c211 struct cxl_root *cxl_root __free(put_cxl_root) = find_cxl_root(port); in cxl_port_perf_data_calculate()
213 if (!cxl_root) in cxl_port_perf_data_calculate()
216 if (!cxl_root->ops || !cxl_root->ops->qos_class) in cxl_port_perf_data_calculate()
224 rc = cxl_root->ops->qos_class(cxl_root, in cxl_port_perf_data_calculate()
353 struct cxl_root *cxl_root __free(put_cxl_root) = in cxl_qos_class_verify()
360 if (!cxl_root) in cxl_qos_class_verify()
363 root_port = &cxl_root->port; in cxl_qos_class_verify()
A Dpmem.c61 struct cxl_root *cxl_root __free(put_cxl_root) = find_cxl_root(port); in cxl_find_nvdimm_bridge()
64 if (!cxl_root) in cxl_find_nvdimm_bridge()
67 dev = device_find_child(&cxl_root->port.dev, in cxl_find_nvdimm_bridge()
A Dport.c675 struct cxl_root *cxl_root __free(kfree) = NULL; in cxl_port_alloc()
682 cxl_root = kzalloc(sizeof(*cxl_root), GFP_KERNEL); in cxl_port_alloc()
683 if (!cxl_root) in cxl_port_alloc()
695 if (cxl_root) in cxl_port_alloc()
696 port = &no_free_ptr(cxl_root)->port; in cxl_port_alloc()
949 struct cxl_root *devm_cxl_add_root(struct device *host, in devm_cxl_add_root()
952 struct cxl_root *cxl_root; in devm_cxl_add_root() local
959 cxl_root = to_cxl_root(port); in devm_cxl_add_root()
960 cxl_root->ops = ops; in devm_cxl_add_root()
961 return cxl_root; in devm_cxl_add_root()
[all …]
A Dregion.c3261 struct cxl_root *cxl_root __free(put_cxl_root) = find_cxl_root(port); in cxl_find_root_decoder()
3265 root = cxl_port_find_switch_decoder(&cxl_root->port, hpa); in cxl_find_root_decoder()

Completed in 25 milliseconds