Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/cxl/
A Dcxl.h503 struct cxl_port *port;
561 struct cxl_port { struct
605 struct cxl_port *port;
618 struct cxl_port *next;
632 struct cxl_port *port;
647 static inline bool is_cxl_root(struct cxl_port *port) in is_cxl_root()
653 struct cxl_port *to_cxl_port(const struct device *dev);
661 struct cxl_port *find_cxl_root(struct device *dev);
709 struct cxl_hdm *devm_cxl_setup_hdm(struct cxl_port *port,
756 struct cxl_port *port);
[all …]
A Dport.c60 static int cxl_switch_port_probe(struct cxl_port *port) in cxl_switch_port_probe()
79 static int cxl_endpoint_port_probe(struct cxl_port *port) in cxl_endpoint_port_probe()
85 struct cxl_port *root; in cxl_endpoint_port_probe()
136 struct cxl_port *port = to_cxl_port(dev); in cxl_port_probe()
148 struct cxl_port *port = to_cxl_port(dev); in CDAT_read()
167 struct cxl_port *port = to_cxl_port(dev); in cxl_port_bin_attr_is_visible()
A DMakefile7 obj-$(CONFIG_CXL_PORT) += cxl_port.o
13 cxl_port-y := port.o
A 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()
102 struct cxl_port *parent_port; in cxl_mem_probe()
A Dcxlmem.h60 static inline struct cxl_port *cxled_to_port(struct cxl_endpoint_decoder *cxled) in cxled_to_port()
65 static inline struct cxl_port *cxlrd_to_port(struct cxl_root_decoder *cxlrd) in cxlrd_to_port()
73 struct cxl_port *port = to_cxl_port(cxled->cxld.dev.parent); in cxled_to_memdev()
79 static inline bool is_cxl_endpoint(struct cxl_port *port) in is_cxl_endpoint()
89 static inline struct cxl_ep *cxl_ep_load(struct cxl_port *port, in cxl_ep_load()
629 struct cxl_port *port;
A Dcxlpci.h71 int devm_cxl_port_enumerate_dports(struct cxl_port *port);
75 void read_cdat_data(struct cxl_port *port);
A Dacpi.c192 struct cxl_port *root_port;
202 struct cxl_port *root_port = ctx->root_port; in cxl_parse_cfmws()
336 struct cxl_port *root_port = arg; in add_host_bridge_uport()
341 struct cxl_port *port; in add_host_bridge_uport()
427 struct cxl_port *root_port = arg; in add_host_bridge_dport()
482 struct cxl_port *root_port = data; in add_root_nvdimm_bridge()
631 struct cxl_port *root_port; in cxl_acpi_probe()
A DKconfig63 consumes these resource to publish the root of a cxl_port decode
/linux-6.3-rc2/drivers/cxl/core/
A Dport.c622 struct cxl_port *port; in cxl_port_alloc()
645 struct cxl_port *iter; in cxl_port_alloc()
695 struct cxl_port *port; in __devm_cxl_add_port()
831 struct cxl_port *port; in match_root_child()
851 struct cxl_port *root; in find_cxl_root()
1118 struct cxl_port *port; in match_port_by_dport()
1152 struct cxl_port *port; in find_cxl_port()
1158 static struct cxl_port *find_cxl_port_at(struct cxl_port *parent_port, in find_cxl_port_at()
1167 struct cxl_port *port; in find_cxl_port_at()
1260 struct cxl_port *port; in port_has_memdev()
[all …]
A Dhdm.c50 int devm_cxl_add_passthrough_decoder(struct cxl_port *port) in devm_cxl_add_passthrough_decoder()
130 struct cxl_hdm *devm_cxl_setup_hdm(struct cxl_port *port, in devm_cxl_setup_hdm()
198 struct cxl_port *port = cxled_to_port(cxled); in __cxl_dpa_release()
229 struct cxl_port *port = cxled_to_port(cxled); in devm_cxl_dpa_release()
241 struct cxl_port *port = cxled_to_port(cxled); in __cxl_dpa_reserve()
312 struct cxl_port *port = cxled_to_port(cxled); in devm_cxl_dpa_reserve()
352 struct cxl_port *port = cxled_to_port(cxled); in cxl_dpa_free()
435 struct cxl_port *port = cxled_to_port(cxled); in cxl_dpa_alloc()
601 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in cxl_decoder_commit()
676 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in cxl_decoder_reset()
[all …]
A Dregion.c190 struct cxl_port *iter; in cxl_region_decode_commit()
750 struct cxl_port *port = cxl_rr->port; in free_region_ref()
763 struct cxl_port *port = cxl_rr->port; in cxl_rr_ep_add()
970 struct cxl_port *port = cxl_rr->port; in check_last_peer()
1203 struct cxl_port *iter; in cxl_region_teardown_targets()
1233 struct cxl_port *iter; in cxl_region_setup_targets()
1316 struct cxl_port *iter; in cxl_region_attach_position()
1380 static struct cxl_port *next_port(struct cxl_port *port) in next_port()
1400 const struct cxl_port *iter_a, in find_positions()
1440 struct cxl_port *next_a, *next_b; in cmp_decode_pos()
[all …]
A Dpmem.c67 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()
131 struct cxl_port *port) in devm_cxl_add_nvdimm_bridge()
A 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()
371 struct cxl_port *port = cxlhdm->port; in cxl_hdm_decode_init()
373 struct cxl_port *root; in cxl_hdm_decode_init()
571 void read_cdat_data(struct cxl_port *port) in read_cdat_data()
/linux-6.3-rc2/tools/testing/cxl/test/
A Dmock.h25 int (*devm_cxl_port_enumerate_dports)(struct cxl_port *port);
27 struct cxl_port *port, struct cxl_endpoint_dvsec_info *info);
28 int (*devm_cxl_add_passthrough_decoder)(struct cxl_port *port);
A 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()
A 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-6.3-rc2/tools/testing/cxl/
A DKbuild37 obj-m += cxl_port.o
39 cxl_port-y := $(CXL_SRC)/port.o
40 cxl_port-y += config_check.o
41 cxl_port-y += cxl_port_test.o
A Dcxl_port_test.c6 cxl_test_watermark(cxl_port);
/linux-6.3-rc2/Documentation/driver-api/cxl/
A Dmemory-devices.rst184 'struct cxl_port' object. A 'cxl_port' is a device that can decode CXL.mem to
/linux-6.3-rc2/Documentation/ABI/testing/
A Dsysfs-bus-cxl131 cxl_port container of this decoder, and 'Y' represents the
145 decode range of the cxl_port ancestor of the decoder's cxl_port,

Completed in 37 milliseconds