/Linux-v6.1/drivers/cxl/ |
D | cxl.h | 415 struct cxl_port *port; 469 struct cxl_port { struct 493 cxl_find_dport_by_dev(struct cxl_port *port, const struct device *dport_dev) in cxl_find_dport_by_dev() argument 509 struct cxl_port *port; 522 struct cxl_port *next; 536 struct cxl_port *port; 551 static inline bool is_cxl_root(struct cxl_port *port) in is_cxl_root() 557 struct cxl_port *to_cxl_port(struct device *dev); 561 struct pci_bus *cxl_port_to_pci_bus(struct cxl_port *port); 562 struct cxl_port *devm_cxl_add_port(struct device *host, struct device *uport, [all …]
|
D | port.c | 35 struct cxl_port *port = to_cxl_port(dev); in cxl_port_probe() 89 struct cxl_port *port = to_cxl_port(dev); in CDAT_read() 108 struct cxl_port *port = to_cxl_port(dev); in cxl_port_bin_attr_is_visible()
|
D | Makefile | 7 obj-$(CONFIG_CXL_PORT) += cxl_port.o 13 cxl_port-y := port.o
|
D | cxlmem.h | 53 static inline struct cxl_port *cxled_to_port(struct cxl_endpoint_decoder *cxled) in cxled_to_port() 58 static inline struct cxl_port *cxlrd_to_port(struct cxl_root_decoder *cxlrd) in cxlrd_to_port() 66 struct cxl_port *port = to_cxl_port(cxled->cxld.dev.parent); in cxled_to_memdev() 72 static inline bool is_cxl_endpoint(struct cxl_port *port) in is_cxl_endpoint() 401 struct cxl_port *port;
|
D | acpi.c | 75 struct cxl_port *root_port; 85 struct cxl_port *root_port = ctx->root_port; in cxl_parse_cfmws() 194 struct cxl_port *root_port = arg; in add_host_bridge_uport() 199 struct cxl_port *port; in add_host_bridge_uport() 258 struct cxl_port *root_port = arg; in add_host_bridge_dport() 298 struct cxl_port *root_port = data; in add_root_nvdimm_bridge() 447 struct cxl_port *root_port; in cxl_acpi_probe()
|
D | cxlpci.h | 74 int devm_cxl_port_enumerate_dports(struct cxl_port *port); 77 void read_cdat_data(struct cxl_port *port);
|
D | mem.c | 51 struct cxl_port *parent_port; in cxl_mem_probe()
|
D | Kconfig | 63 consumes these resource to publish the root of a cxl_port decode
|
/Linux-v6.1/drivers/cxl/core/ |
D | port.c | 384 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in __cxl_decoder_release() 492 static void cxl_ep_remove(struct cxl_port *port, struct cxl_ep *ep) in cxl_ep_remove() 502 struct cxl_port *port = to_cxl_port(dev); in cxl_port_release() 532 struct cxl_port *to_cxl_port(struct device *dev) in to_cxl_port() 537 return container_of(dev, struct cxl_port, dev); in to_cxl_port() 543 struct cxl_port *port = _port; in unregister_port() 544 struct cxl_port *parent; in unregister_port() 571 struct cxl_port *port = _port; in cxl_unlink_uport() 576 static int devm_cxl_link_uport(struct device *host, struct cxl_port *port) in devm_cxl_link_uport() 588 static struct cxl_port *cxl_port_alloc(struct device *uport, in cxl_port_alloc() [all …]
|
D | hdm.c | 22 static int add_hdm_decoder(struct cxl_port *port, struct cxl_decoder *cxld, in add_hdm_decoder() 50 int devm_cxl_add_passthrough_decoder(struct cxl_port *port) in devm_cxl_add_passthrough_decoder() 85 static void __iomem *map_hdm_decoder_regs(struct cxl_port *port, in map_hdm_decoder_regs() 103 struct cxl_hdm *devm_cxl_setup_hdm(struct cxl_port *port) in devm_cxl_setup_hdm() 167 struct cxl_port *port = cxled_to_port(cxled); in __cxl_dpa_release() 198 struct cxl_port *port = cxled_to_port(cxled); in devm_cxl_dpa_release() 210 struct cxl_port *port = cxled_to_port(cxled); in __cxl_dpa_reserve() 281 struct cxl_port *port = cxled_to_port(cxled); in devm_cxl_dpa_reserve() 320 struct cxl_port *port = cxled_to_port(cxled); in cxl_dpa_free() 403 struct cxl_port *port = cxled_to_port(cxled); in cxl_dpa_alloc() [all …]
|
D | region.c | 118 static struct cxl_region_ref *cxl_rr_load(struct cxl_port *port, in cxl_rr_load() 132 struct cxl_port *iter = cxled_to_port(cxled); in cxl_region_decode_reset() 169 struct cxl_port *iter; in cxl_region_decode_commit() 631 static struct cxl_decoder *cxl_region_find_decoder(struct cxl_port *port, in cxl_region_find_decoder() 650 static struct cxl_region_ref *alloc_region_ref(struct cxl_port *port, in alloc_region_ref() 710 struct cxl_port *port = cxl_rr->port; in free_region_ref() 723 struct cxl_port *port = cxl_rr->port; in cxl_rr_ep_add() 744 static int cxl_rr_alloc_decoder(struct cxl_port *port, struct cxl_region *cxlr, in cxl_rr_alloc_decoder() 795 static int cxl_port_attach_region(struct cxl_port *port, in cxl_port_attach_region() 881 static void cxl_port_detach_region(struct cxl_port *port, in cxl_port_detach_region() [all …]
|
D | pci.c | 26 struct cxl_port *port; 35 struct cxl_port *port = ctx->port; in match_add_dports() 77 int devm_cxl_port_enumerate_dports(struct cxl_port *port) in devm_cxl_port_enumerate_dports() 271 struct cxl_port *port = cxlhdm->port; in __cxl_hdm_decode_init() 273 struct cxl_port *root; in __cxl_hdm_decode_init() 592 void read_cdat_data(struct cxl_port *port) in read_cdat_data()
|
D | pmem.c | 67 struct cxl_port *port = find_cxl_root(start); in cxl_find_nvdimm_bridge() 85 static struct cxl_nvdimm_bridge *cxl_nvdimm_bridge_alloc(struct cxl_port *port) in cxl_nvdimm_bridge_alloc() 153 struct cxl_port *port) in devm_cxl_add_nvdimm_bridge()
|
D | core.h | 61 static inline struct cxl_ep *cxl_ep_load(struct cxl_port *port, in cxl_ep_load()
|
/Linux-v6.1/tools/testing/cxl/test/ |
D | mock.h | 22 int (*devm_cxl_port_enumerate_dports)(struct cxl_port *port); 23 struct cxl_hdm *(*devm_cxl_setup_hdm)(struct cxl_port *port); 24 int (*devm_cxl_add_passthrough_decoder)(struct cxl_port *port);
|
D | mock.c | 134 struct cxl_hdm *__wrap_devm_cxl_setup_hdm(struct cxl_port *port) in __wrap_devm_cxl_setup_hdm() 150 int __wrap_devm_cxl_add_passthrough_decoder(struct cxl_port *port) in __wrap_devm_cxl_add_passthrough_decoder() 168 struct cxl_port *port = cxlhdm->port; in __wrap_devm_cxl_enumerate_decoders() 181 int __wrap_devm_cxl_port_enumerate_dports(struct cxl_port *port) in __wrap_devm_cxl_port_enumerate_dports()
|
D | cxl.c | 471 static struct cxl_hdm *mock_cxl_setup_hdm(struct cxl_port *port) in mock_cxl_setup_hdm() 482 static int mock_cxl_add_passthrough_decoder(struct cxl_port *port) in mock_cxl_add_passthrough_decoder() 512 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in mock_decoder_commit() 534 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in mock_decoder_reset() 556 struct cxl_port *port = cxlhdm->port; in mock_cxl_enumerate_decoders() 557 struct cxl_port *parent_port = to_cxl_port(port->dev.parent); in mock_cxl_enumerate_decoders() 635 static int mock_cxl_port_enumerate_dports(struct cxl_port *port) in mock_cxl_port_enumerate_dports() 654 struct cxl_port *parent = to_cxl_port(port->dev.parent); in mock_cxl_port_enumerate_dports()
|
/Linux-v6.1/tools/testing/cxl/ |
D | Kbuild | 31 obj-m += cxl_port.o 33 cxl_port-y := $(CXL_SRC)/port.o 34 cxl_port-y += config_check.o
|
/Linux-v6.1/Documentation/driver-api/cxl/ |
D | memory-devices.rst | 184 'struct cxl_port' object. A 'cxl_port' is a device that can decode CXL.mem to
|
/Linux-v6.1/Documentation/ABI/testing/ |
D | sysfs-bus-cxl | 116 cxl_port container of this decoder, and 'Y' represents the 130 decode range of the cxl_port ancestor of the decoder's cxl_port,
|