Home
last modified time | relevance | path

Searched refs:to_cxl_port (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/cxl/core/
H A Dport.c65 if (is_cxl_root(to_cxl_port(dev))) in cxl_device_id()
399 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in __cxl_decoder_release()
520 struct cxl_port *port = to_cxl_port(dev); in cxl_port_release()
550 struct cxl_port *to_cxl_port(const struct device *dev) in to_cxl_port() function
557 EXPORT_SYMBOL_NS_GPL(to_cxl_port, CXL);
568 parent = to_cxl_port(port->dev.parent); in unregister_port()
669 !is_cxl_root(to_cxl_port(iter->dev.parent))) in cxl_port_alloc()
670 iter = to_cxl_port(iter->dev.parent); in cxl_port_alloc()
877 port = to_cxl_port(dev); in dev_is_cxl_root_child()
881 parent = to_cxl_port(port->dev.parent); in dev_is_cxl_root_child()
[all …]
H A Dregion.c163 while (!is_cxl_root(to_cxl_port(iter->dev.parent))) in cxl_region_decode_reset()
164 iter = to_cxl_port(iter->dev.parent); in cxl_region_decode_reset()
218 iter = to_cxl_port(iter->dev.parent)) { in cxl_region_decode_commit()
1115 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in check_interleave_cap()
1163 struct cxl_port *parent_port = to_cxl_port(port->dev.parent); in cxl_port_setup_targets()
1203 iter = to_cxl_port(iter->dev.parent); in cxl_port_setup_targets()
1413 while (!is_cxl_root(to_cxl_port(iter->dev.parent))) in cxl_region_teardown_targets()
1414 iter = to_cxl_port(iter->dev.parent); in cxl_region_teardown_targets()
1446 while (!is_cxl_root(to_cxl_port(iter->dev.parent))) in cxl_region_setup_targets()
1447 iter = to_cxl_port(iter->dev.parent); in cxl_region_setup_targets()
[all …]
H A Dhdm.c640 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in cxl_decoder_commit()
728 struct cxl_port *port = to_cxl_port(dev->parent); in commit_reap()
747 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in cxl_port_commit_reap()
765 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in cxl_decoder_reset()
H A Dpci.c450 root = to_cxl_port(port->dev.parent); in cxl_hdm_decode_init()
452 root = to_cxl_port(root->dev.parent); in cxl_hdm_decode_init()
/openbmc/linux/drivers/cxl/
H A Dport.c141 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()
H A Dcxlmem.h65 return to_cxl_port(cxled->cxld.dev.parent); in cxled_to_port()
70 return to_cxl_port(cxlrd->cxlsd.cxld.dev.parent); in cxlrd_to_port()
76 struct cxl_port *port = to_cxl_port(cxled->cxld.dev.parent); in cxled_to_memdev()
H A Dmem.c61 down = iter, iter = to_cxl_port(iter->dev.parent)) { in devm_cxl_add_endpoint()
H A Dcxl.h684 struct cxl_port *to_cxl_port(const struct device *dev);
/openbmc/linux/tools/testing/cxl/test/
H A Dcxl.c669 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in mock_decoder_commit()
692 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in mock_decoder_reset()
763 port = to_cxl_port(port->dev.parent); in mock_init_hdm_decoder()
848 struct cxl_port *parent_port = to_cxl_port(port->dev.parent); in mock_cxl_enumerate_decoders()
935 struct cxl_port *parent = to_cxl_port(port->dev.parent); in mock_cxl_port_enumerate_dports()