Home
last modified time | relevance | path

Searched refs:cxl_port (Results 1 – 23 of 23) sorted by relevance

/Linux-v6.6/drivers/cxl/
Dcxl.h526 struct cxl_port *port;
585 struct cxl_port { struct
610 cxl_find_dport_by_dev(struct cxl_port *port, const struct device *dport_dev) in cxl_find_dport_by_dev() argument
635 struct cxl_port *port;
648 struct cxl_port *next;
662 struct cxl_port *port;
677 static inline bool is_cxl_root(struct cxl_port *port) in is_cxl_root()
683 struct cxl_port *to_cxl_port(const struct device *dev);
687 struct pci_bus *cxl_port_to_pci_bus(struct cxl_port *port);
688 struct cxl_port *devm_cxl_add_port(struct device *host,
[all …]
Dport.c60 static int cxl_switch_port_probe(struct cxl_port *port) in cxl_switch_port_probe()
87 static int cxl_endpoint_port_probe(struct cxl_port *port) in cxl_endpoint_port_probe()
93 struct cxl_port *root; in cxl_endpoint_port_probe()
141 struct cxl_port *port = to_cxl_port(dev); in cxl_port_probe()
153 struct cxl_port *port = to_cxl_port(dev); in CDAT_read()
172 struct cxl_port *port = to_cxl_port(dev); in cxl_port_bin_attr_is_visible()
DMakefile7 obj-$(CONFIG_CXL_PORT) += cxl_port.o
13 cxl_port-y := port.o
Dcxlpci.h88 int devm_cxl_port_enumerate_dports(struct cxl_port *port);
92 void read_cdat_data(struct cxl_port *port);
Dcxlmem.h53 struct cxl_port *endpoint;
63 static inline struct cxl_port *cxled_to_port(struct cxl_endpoint_decoder *cxled) in cxled_to_port()
68 static inline struct cxl_port *cxlrd_to_port(struct cxl_root_decoder *cxlrd) in cxlrd_to_port()
76 struct cxl_port *port = to_cxl_port(cxled->cxld.dev.parent); in cxled_to_memdev()
82 static inline bool is_cxl_endpoint(struct cxl_port *port) in is_cxl_endpoint()
94 static inline struct cxl_ep *cxl_ep_load(struct cxl_port *port, in cxl_ep_load()
893 struct cxl_port *port;
Dmem.c51 struct cxl_port *parent_port = parent_dport->port; in devm_cxl_add_endpoint()
53 struct cxl_port *endpoint, *iter, *down; in devm_cxl_add_endpoint()
113 struct cxl_port *parent_port; in cxl_mem_probe()
Dacpi.c192 struct cxl_port *root_port;
202 struct cxl_port *root_port = ctx->root_port; in cxl_parse_cfmws()
396 struct cxl_port *root_port = arg; in add_host_bridge_dport()
449 struct cxl_port *root_port = arg; in add_host_bridge_uport()
454 struct cxl_port *port; in add_host_bridge_uport()
507 struct cxl_port *root_port = data; in add_root_nvdimm_bridge()
656 struct cxl_port *root_port; in cxl_acpi_probe()
DKconfig65 consumes these resource to publish the root of a cxl_port decode
Dpci.c482 struct cxl_port *port; in cxl_rcrb_get_comp_regs()
/Linux-v6.6/drivers/cxl/core/
Dport.c390 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in __cxl_decoder_release()
501 static void cxl_ep_remove(struct cxl_port *port, struct cxl_ep *ep) in cxl_ep_remove()
511 struct cxl_port *port = to_cxl_port(dev); in cxl_port_release()
541 struct cxl_port *to_cxl_port(const struct device *dev) in to_cxl_port()
546 return container_of(dev, struct cxl_port, dev); in to_cxl_port()
552 struct cxl_port *port = _port; in unregister_port()
553 struct cxl_port *parent; in unregister_port()
580 struct cxl_port *port = _port; in cxl_unlink_uport()
585 static int devm_cxl_link_uport(struct device *host, struct cxl_port *port) in devm_cxl_link_uport()
598 struct cxl_port *port = _port; in cxl_unlink_parent_dport()
[all …]
Dhdm.c21 static int add_hdm_decoder(struct cxl_port *port, struct cxl_decoder *cxld, in add_hdm_decoder()
49 int devm_cxl_add_passthrough_decoder(struct cxl_port *port) in devm_cxl_add_passthrough_decoder()
84 static int map_hdm_decoder_regs(struct cxl_port *port, void __iomem *crb, in map_hdm_decoder_regs()
153 struct cxl_hdm *devm_cxl_setup_hdm(struct cxl_port *port, in devm_cxl_setup_hdm()
230 struct cxl_port *port = cxled_to_port(cxled); in __cxl_dpa_release()
261 struct cxl_port *port = cxled_to_port(cxled); in devm_cxl_dpa_release()
273 struct cxl_port *port = cxled_to_port(cxled); in __cxl_dpa_reserve()
346 struct cxl_port *port = cxled_to_port(cxled); in devm_cxl_dpa_reserve()
386 struct cxl_port *port = cxled_to_port(cxled); in cxl_dpa_free()
469 struct cxl_port *port = cxled_to_port(cxled); in cxl_dpa_alloc()
[all …]
Dregion.c122 static struct cxl_region_ref *cxl_rr_load(struct cxl_port *port, in cxl_rr_load()
164 struct cxl_port *iter = cxled_to_port(cxled); in cxl_region_decode_reset()
227 struct cxl_port *iter; in cxl_region_decode_commit()
738 static struct cxl_decoder *cxl_region_find_decoder(struct cxl_port *port, in cxl_region_find_decoder()
761 static struct cxl_region_ref *alloc_region_ref(struct cxl_port *port, in alloc_region_ref()
821 struct cxl_port *port = cxl_rr->port; in free_region_ref()
834 struct cxl_port *port = cxl_rr->port; in cxl_rr_ep_add()
855 static int cxl_rr_alloc_decoder(struct cxl_port *port, struct cxl_region *cxlr, in cxl_rr_alloc_decoder()
918 static int cxl_port_attach_region(struct cxl_port *port, in cxl_port_attach_region()
1004 static void cxl_port_detach_region(struct cxl_port *port, in cxl_port_detach_region()
[all …]
Dcore.h29 int cxl_get_poison_by_endpoint(struct cxl_port *port);
31 static inline int cxl_get_poison_by_endpoint(struct cxl_port *port) in cxl_get_poison_by_endpoint()
Dpmem.c67 struct cxl_port *port = find_cxl_root(cxlmd->endpoint); in cxl_find_nvdimm_bridge()
85 static struct cxl_nvdimm_bridge *cxl_nvdimm_bridge_alloc(struct cxl_port *port) in cxl_nvdimm_bridge_alloc()
131 struct cxl_port *port) in devm_cxl_add_nvdimm_bridge()
Dpci.c27 struct cxl_port *port;
36 struct cxl_port *port = ctx->port; in match_add_dports()
75 int devm_cxl_port_enumerate_dports(struct cxl_port *port) in devm_cxl_port_enumerate_dports()
438 struct cxl_port *port = cxlhdm->port; in cxl_hdm_decode_init()
440 struct cxl_port *root; in cxl_hdm_decode_init()
604 void read_cdat_data(struct cxl_port *port) in read_cdat_data()
Dmemdev.c156 struct cxl_port *port = cxlmd->endpoint; in security_sanitize_store()
183 struct cxl_port *port = cxlmd->endpoint; in security_erase_store()
234 struct cxl_port *port; in cxl_trigger_poison_list()
290 struct cxl_port *port; in cxl_dpa_to_region()
/Linux-v6.6/tools/testing/cxl/test/
Dmock.h22 int (*devm_cxl_port_enumerate_dports)(struct cxl_port *port);
24 struct cxl_port *port, struct cxl_endpoint_dvsec_info *info);
25 int (*devm_cxl_add_passthrough_decoder)(struct cxl_port *port);
Dmock.c134 struct cxl_hdm *__wrap_devm_cxl_setup_hdm(struct cxl_port *port, in __wrap_devm_cxl_setup_hdm()
152 int __wrap_devm_cxl_add_passthrough_decoder(struct cxl_port *port) in __wrap_devm_cxl_add_passthrough_decoder()
171 struct cxl_port *port = cxlhdm->port; in __wrap_devm_cxl_enumerate_decoders()
184 int __wrap_devm_cxl_port_enumerate_dports(struct cxl_port *port) in __wrap_devm_cxl_port_enumerate_dports()
247 struct cxl_dport *__wrap_devm_cxl_add_rch_dport(struct cxl_port *port, in __wrap_devm_cxl_add_rch_dport()
Dcxl.c623 static struct cxl_hdm *mock_cxl_setup_hdm(struct cxl_port *port, in mock_cxl_setup_hdm()
635 static int mock_cxl_add_passthrough_decoder(struct cxl_port *port) in mock_cxl_add_passthrough_decoder()
665 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in mock_decoder_commit()
687 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in mock_decoder_reset()
739 struct cxl_port *port, *iter; in mock_init_hdm_decoder()
846 struct cxl_port *port = cxlhdm->port; in mock_cxl_enumerate_decoders()
847 struct cxl_port *parent_port = to_cxl_port(port->dev.parent); in mock_cxl_enumerate_decoders()
916 static int mock_cxl_port_enumerate_dports(struct cxl_port *port) in mock_cxl_port_enumerate_dports()
934 struct cxl_port *parent = to_cxl_port(port->dev.parent); in mock_cxl_port_enumerate_dports()
/Linux-v6.6/tools/testing/cxl/
DKbuild38 obj-m += cxl_port.o
40 cxl_port-y := $(CXL_SRC)/port.o
41 cxl_port-y += config_check.o
42 cxl_port-y += cxl_port_test.o
Dcxl_port_test.c6 cxl_test_watermark(cxl_port);
/Linux-v6.6/Documentation/driver-api/cxl/
Dmemory-devices.rst184 'struct cxl_port' object. A 'cxl_port' is a device that can decode CXL.mem to
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-bus-cxl190 cxl_port container of this decoder, and 'Y' represents the
204 decode range of the cxl_port ancestor of the decoder's cxl_port,