Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/drivers/cxl/
H A Dcxl.h410 * The 'switch' decoder type represents the decoder instances of cxl_port's that
524 struct cxl_port *port;
561 * struct cxl_port - logical collection of upstream port devices and
583 struct cxl_port { struct
608 cxl_find_dport_by_dev(struct cxl_port *port, const struct device *dport_dev) in cxl_find_dport_by_dev()
625 * @port: reference to cxl_port that contains this downstream port
633 struct cxl_port *port;
646 struct cxl_port *next;
660 struct cxl_port *port;
675 static inline bool is_cxl_root(struct cxl_port *por
[all...]
H A 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()
196 .name = "cxl_port",
H A DMakefile7 obj-$(CONFIG_CXL_PORT) += cxl_port.o
13 cxl_port-y := port.o
H A Dcxlpci.h88 int devm_cxl_port_enumerate_dports(struct cxl_port *port);
92 void read_cdat_data(struct cxl_port *port);
H A Dacpi.c192 struct cxl_port *root_port;
201 struct cxl_port *root_port = ctx->root_port; in __cxl_parse_cfmws()
406 struct cxl_port *root_port = arg; in add_host_bridge_dport()
459 struct cxl_port *root_port = arg; in add_host_bridge_uport()
464 struct cxl_port *port; in add_host_bridge_uport()
517 struct cxl_port *root_port = data; in add_root_nvdimm_bridge()
666 struct cxl_port *root_port; in cxl_acpi_probe()
H A 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()
97 static inline struct cxl_ep *cxl_ep_load(struct cxl_port *port, in cxl_ep_load()
896 struct cxl_port *port;
H 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()
113 struct cxl_port *parent_port; in cxl_mem_probe()
262 MODULE_SOFTDEP("pre: cxl_port");
H A Dpci.c472 struct cxl_port *port; in cxl_rcrb_get_comp_regs()
/kernel/linux/linux-6.6/drivers/cxl/core/
H A Dport.c40 int cxl_num_decoders_committed(struct cxl_port *port) in cxl_num_decoders_committed()
399 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in __cxl_decoder_release()
510 static void cxl_ep_remove(struct cxl_port *port, struct cxl_ep *ep) in cxl_ep_remove()
520 struct cxl_port *port = to_cxl_port(dev); in cxl_port_release()
539 .name = "cxl_port",
550 struct cxl_port *to_cxl_port(const struct device *dev) in to_cxl_port()
553 "not a cxl_port device\n")) in to_cxl_port()
555 return container_of(dev, struct cxl_port, dev); in to_cxl_port()
561 struct cxl_port *port = _port; in unregister_port()
562 struct cxl_port *paren in unregister_port()
[all...]
H A Dregion.c116 static struct cxl_region_ref *cxl_rr_load(struct cxl_port *port, in cxl_rr_load()
158 struct cxl_port *iter = cxled_to_port(cxled); in cxl_region_decode_reset()
221 struct cxl_port *iter; in cxl_region_decode_commit()
733 cxl_region_find_decoder(struct cxl_port *port, in cxl_region_find_decoder()
760 static bool auto_order_ok(struct cxl_port *port, struct cxl_region *cxlr_iter, in auto_order_ok()
783 alloc_region_ref(struct cxl_port *port, struct cxl_region *cxlr, in alloc_region_ref()
848 struct cxl_port *port = cxl_rr->port; in free_region_ref()
861 struct cxl_port *port = cxl_rr->port; in cxl_rr_ep_add()
882 static int cxl_rr_alloc_decoder(struct cxl_port *port, struct cxl_region *cxlr, in cxl_rr_alloc_decoder()
942 static int cxl_port_attach_region(struct cxl_port *por
[all...]
H A 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()
150 * @port: cxl_port to map
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()
385 struct cxl_port *por in cxl_dpa_free()
[all...]
H A 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()
H A 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()
H A Dpci.c27 struct cxl_port *port;
36 struct cxl_port *port = ctx->port; in match_add_dports()
70 * @port: cxl_port whose ->uport_dev is the upstream of dports to be enumerated
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()
H A Dmemdev.c223 struct cxl_port *port; in cxl_trigger_poison_list()
286 struct cxl_port *port; in cxl_dpa_to_region()
H A Dmbox.c1192 struct cxl_port *endpoint; in cxl_mem_sanitize()
/kernel/linux/linux-6.6/tools/testing/cxl/test/
H A 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);
H 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()
247 struct cxl_dport *__wrap_devm_cxl_add_rch_dport(struct cxl_port *port, in __wrap_devm_cxl_add_rch_dport()
H 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()
688 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in mock_decoder_reset()
740 struct cxl_port *port, *iter; in mock_init_hdm_decoder()
847 struct cxl_port *port = cxlhdm->port; in mock_cxl_enumerate_decoders()
848 struct cxl_port *parent_port = to_cxl_port(port->dev.parent); in mock_cxl_enumerate_decoders()
917 static int mock_cxl_port_enumerate_dports(struct cxl_port *port) in mock_cxl_port_enumerate_dports()
935 struct cxl_port *parent = to_cxl_port(port->dev.parent); in mock_cxl_port_enumerate_dports()
/kernel/linux/linux-6.6/tools/testing/cxl/
H A Dcxl_port_test.c6 cxl_test_watermark(cxl_port); variable

Completed in 20 milliseconds