Home
last modified time | relevance | path

Searched refs:is_cxl_root (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/cxl/core/
H A Dcore.h163 struct cxl_port *parent = is_cxl_root(port) ? NULL : in port_to_host()
173 else if (is_cxl_root(parent)) in port_to_host()
183 if (is_cxl_root(port)) in dport_to_host()
H A Dport.c71 if (is_cxl_root(to_cxl_port(dev))) in cxl_device_id()
559 if (is_cxl_root(port)) { in cxl_port_release()
726 !is_cxl_root(to_cxl_port(iter->dev.parent))) in cxl_port_alloc()
830 !(dev_is_pci(dport->dport_dev) && parent && is_cxl_root(parent))) in cxl_debugfs_create_dport_dir()
967 if (is_cxl_root(port)) in cxl_port_to_pci_bus()
1009 if (is_cxl_root(port)) in dev_is_cxl_root_child()
1013 if (is_cxl_root(parent)) in dev_is_cxl_root_child()
1023 while (iter && !is_cxl_root(iter)) in find_cxl_root()
1082 if (is_cxl_root(port)) in cond_cxl_root_lock()
1088 if (is_cxl_root(port)) in cond_cxl_root_unlock()
[all …]
H A Dregion.c272 while (!is_cxl_root(to_cxl_port(iter->dev.parent))) in cxl_region_decode_reset()
326 for (iter = cxled_to_port(cxled); !is_cxl_root(iter); in cxl_region_decode_commit()
1485 } while (!is_cxl_root(iter)); in cxl_port_setup_targets()
1499 if (is_cxl_root(parent_port)) { in cxl_port_setup_targets()
1692 while (!is_cxl_root(to_cxl_port(iter->dev.parent))) in cxl_region_teardown_targets()
1725 while (!is_cxl_root(to_cxl_port(iter->dev.parent))) in cxl_region_setup_targets()
1818 for (iter = cxled_to_port(cxled); !is_cxl_root(iter); in cxl_region_attach_position()
1828 for (iter = cxled_to_port(cxled); !is_cxl_root(iter); in cxl_region_attach_position()
2005 if (is_cxl_root(iter)) in cxl_calc_interleave_pos()
2303 for (struct cxl_port *iter = cxled_to_port(cxled); !is_cxl_root(iter); in __cxl_decoder_detach()
H A Dpci.c422 while (!is_cxl_root(root) && is_cxl_port(root->dev.parent)) in cxl_hdm_decode_init()
424 if (!is_cxl_root(root)) { in cxl_hdm_decode_init()
H A Dcdat.c658 *gp_is_root = is_cxl_root(gp_port); in cxl_endpoint_gather_bandwidth()
781 if (is_cxl_root(gp_port)) { in DEFINE_FREE()
H A Dhdm.c1223 if (is_cxl_root(port) || is_cxl_endpoint(port)) in devm_cxl_switch_port_decoders_setup()
/linux/drivers/cxl/
H A Dcxl.h699 static inline bool is_cxl_root(struct cxl_port *port) in is_cxl_root() function
/linux/tools/testing/cxl/test/
H A Dcxl.c1394 else if (is_cxl_root(parent_port)) in mock_cxl_enumerate_decoders()
1472 if (is_cxl_root(port) || is_cxl_endpoint(port)) in mock_cxl_switch_port_decoders_setup()