Home
last modified time | relevance | path

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

/linux/drivers/cxl/core/
H A Dport.c67 if (is_cxl_root(to_cxl_port(dev))) in cxl_device_id()
411 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in __cxl_decoder_release()
532 struct cxl_port *port = to_cxl_port(dev); in cxl_port_release()
551 struct cxl_port *port = to_cxl_port(dev); in decoders_committed_show()
590 struct cxl_port *to_cxl_port(const struct device *dev) in to_cxl_port() function
597 EXPORT_SYMBOL_NS_GPL(to_cxl_port, "CXL");
608 parent = to_cxl_port(port->dev.parent); in unregister_port()
722 !is_cxl_root(to_cxl_port(iter->dev.parent))) in cxl_port_alloc()
723 iter = to_cxl_port(iter->dev.parent); in cxl_port_alloc()
1007 port = to_cxl_port(dev); in dev_is_cxl_root_child()
[all …]
H A Dcdat.c629 struct cxl_port *endpoint = to_cxl_port(cxled->cxld.dev.parent); in cxl_endpoint_gather_bandwidth()
630 struct cxl_port *parent_port = to_cxl_port(endpoint->dev.parent); in cxl_endpoint_gather_bandwidth()
631 struct cxl_port *gp_port = to_cxl_port(parent_port->dev.parent); in cxl_endpoint_gather_bandwidth()
654 gp_port = to_cxl_port(parent_port->dev.parent); in cxl_endpoint_gather_bandwidth()
772 struct cxl_port *parent_port = to_cxl_port(port->dev.parent); in DEFINE_FREE()
773 struct cxl_port *gp_port = to_cxl_port(parent_port->dev.parent); in DEFINE_FREE()
922 parent_port = to_cxl_port(port->dev.parent); in cxl_hb_gather_bandwidth()
H A Dregion.c267 while (!is_cxl_root(to_cxl_port(iter->dev.parent))) in cxl_region_decode_reset()
268 iter = to_cxl_port(iter->dev.parent); in cxl_region_decode_reset()
322 iter = to_cxl_port(iter->dev.parent)) { in cxl_region_decode_commit()
797 struct cxl_port *port = to_cxl_port(dev->parent); in match_free_decoder()
1243 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in check_interleave_cap()
1291 struct cxl_port *parent_port = to_cxl_port(port->dev.parent); in cxl_port_setup_targets()
1331 iter = to_cxl_port(iter->dev.parent); in cxl_port_setup_targets()
1541 while (!is_cxl_root(to_cxl_port(iter->dev.parent))) in cxl_region_teardown_targets()
1542 iter = to_cxl_port(iter->dev.parent); in cxl_region_teardown_targets()
1574 while (!is_cxl_root(to_cxl_port(iter->dev.parent))) in cxl_region_setup_targets()
[all …]
H A Dhdm.c620 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in cxl_decoder_commit()
708 struct cxl_port *port = to_cxl_port(dev->parent); in commit_reap()
727 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in cxl_port_commit_reap()
745 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in cxl_decoder_reset()
H A Dpci.c421 root = to_cxl_port(port->dev.parent); in cxl_hdm_decode_init()
423 root = to_cxl_port(root->dev.parent); in cxl_hdm_decode_init()
/linux/drivers/cxl/
H A Dport.c148 struct cxl_port *port = to_cxl_port(dev); in cxl_port_probe()
160 struct cxl_port *port = to_cxl_port(dev); in CDAT_read()
179 struct cxl_port *port = to_cxl_port(dev); in cxl_port_bin_attr_is_visible()
H A Dcxlmem.h68 return to_cxl_port(cxled->cxld.dev.parent); in cxled_to_port()
73 return to_cxl_port(cxlrd->cxlsd.cxld.dev.parent); in cxlrd_to_port()
79 struct cxl_port *port = to_cxl_port(cxled->cxld.dev.parent); in cxled_to_memdev()
H A Dmem.c60 down = iter, iter = to_cxl_port(iter->dev.parent)) { in devm_cxl_add_endpoint()
/linux/tools/testing/cxl/test/
H A Dcxl.c675 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in mock_decoder_commit()
698 struct cxl_port *port = to_cxl_port(cxld->dev.parent); in mock_decoder_reset()
769 port = to_cxl_port(port->dev.parent); in mock_init_hdm_decoder()
854 struct cxl_port *parent_port = to_cxl_port(port->dev.parent); in mock_cxl_enumerate_decoders()
941 struct cxl_port *parent = to_cxl_port(port->dev.parent); in mock_cxl_port_enumerate_dports()