Symbol: cxl_root
drivers/cxl/acpi.c
311
static int cxl_acpi_qos_class(struct cxl_root *cxl_root,
drivers/cxl/acpi.c
315
struct device *dev = cxl_root->port.uport_dev;
drivers/cxl/acpi.c
890
struct cxl_root *cxl_root;
drivers/cxl/acpi.c
910
cxl_root = devm_cxl_add_root(host);
drivers/cxl/acpi.c
911
if (IS_ERR(cxl_root))
drivers/cxl/acpi.c
912
return PTR_ERR(cxl_root);
drivers/cxl/acpi.c
913
cxl_root->ops.qos_class = cxl_acpi_qos_class;
drivers/cxl/acpi.c
914
root_port = &cxl_root->port;
drivers/cxl/acpi.c
916
cxl_setup_prm_address_translation(cxl_root);
drivers/cxl/core/atl.c
190
void cxl_setup_prm_address_translation(struct cxl_root *cxl_root)
drivers/cxl/core/atl.c
192
struct device *host = cxl_root->port.uport_dev;
drivers/cxl/core/atl.c
209
cxl_root->ops.translation_setup_root = cxl_prm_setup_root;
drivers/cxl/core/atl.c
60
static int cxl_prm_setup_root(struct cxl_root *cxl_root, void *data)
drivers/cxl/core/cdat.c
211
struct cxl_root *cxl_root __free(put_cxl_root) = find_cxl_root(port);
drivers/cxl/core/cdat.c
213
if (!cxl_root)
drivers/cxl/core/cdat.c
216
if (!cxl_root->ops.qos_class)
drivers/cxl/core/cdat.c
224
rc = cxl_root->ops.qos_class(cxl_root,
drivers/cxl/core/cdat.c
353
struct cxl_root *cxl_root __free(put_cxl_root) =
drivers/cxl/core/cdat.c
360
if (!cxl_root)
drivers/cxl/core/cdat.c
363
root_port = &cxl_root->port;
drivers/cxl/core/pmem.c
61
struct cxl_root *cxl_root __free(put_cxl_root) = find_cxl_root(port);
drivers/cxl/core/pmem.c
64
if (!cxl_root)
drivers/cxl/core/pmem.c
67
dev = device_find_child(&cxl_root->port.dev,
drivers/cxl/core/port.c
1019
struct cxl_root *find_cxl_root(struct cxl_port *port)
drivers/cxl/core/port.c
675
struct cxl_root *cxl_root __free(kfree) = NULL;
drivers/cxl/core/port.c
682
cxl_root = kzalloc_obj(*cxl_root);
drivers/cxl/core/port.c
683
if (!cxl_root)
drivers/cxl/core/port.c
695
if (cxl_root)
drivers/cxl/core/port.c
696
port = &no_free_ptr(cxl_root)->port;
drivers/cxl/core/port.c
952
struct cxl_root *devm_cxl_add_root(struct device *host)
drivers/cxl/core/region.c
3571
static int cxl_root_setup_translation(struct cxl_root *cxl_root,
drivers/cxl/core/region.c
3574
if (!cxl_root->ops.translation_setup_root)
drivers/cxl/core/region.c
3577
return cxl_root->ops.translation_setup_root(cxl_root, ctx);
drivers/cxl/core/region.c
3590
struct cxl_root *cxl_root __free(put_cxl_root) = find_cxl_root(port);
drivers/cxl/core/region.c
3599
rc = cxl_root_setup_translation(cxl_root, ctx);
drivers/cxl/core/region.c
3608
cxlrd_dev = device_find_child(&cxl_root->port.dev, &ctx->hpa_range,
drivers/cxl/cxl.h
594
struct cxl_root;
drivers/cxl/cxl.h
597
int (*qos_class)(struct cxl_root *cxl_root,
drivers/cxl/cxl.h
600
int (*translation_setup_root)(struct cxl_root *cxl_root, void *data);
drivers/cxl/cxl.h
614
static inline struct cxl_root *
drivers/cxl/cxl.h
617
return container_of(port, struct cxl_root, port);
drivers/cxl/cxl.h
733
struct cxl_root *devm_cxl_add_root(struct device *host);
drivers/cxl/cxl.h
736
struct cxl_root *find_cxl_root(struct cxl_port *port);
drivers/cxl/cxl.h
738
DEFINE_FREE(put_cxl_root, struct cxl_root *, if (_T) put_device(&_T->port.dev))
drivers/cxl/cxl.h
761
void cxl_setup_prm_address_translation(struct cxl_root *cxl_root);
drivers/cxl/cxl.h
764
void cxl_setup_prm_address_translation(struct cxl_root *cxl_root) {}
tools/testing/cxl/test/cxl.c
1430
struct cxl_root *cxl_root __free(put_cxl_root) =
tools/testing/cxl/test/cxl.c
1436
if (!cxl_root)