Searched refs:to_cxl_port (Results 1 – 9 of 9) sorted by relevance
67 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() function597 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 …]
629 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()
267 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 …]
620 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()
421 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()
148 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()
68 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()
60 down = iter, iter = to_cxl_port(iter->dev.parent)) { in devm_cxl_add_endpoint()
675 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()