Lines Matching refs:cxlhdm
62 struct cxl_hdm *cxlhdm; in cxl_switch_port_probe() local
69 cxlhdm = devm_cxl_setup_hdm(port, NULL); in cxl_switch_port_probe()
70 if (!IS_ERR(cxlhdm)) in cxl_switch_port_probe()
71 return devm_cxl_enumerate_decoders(cxlhdm, NULL); in cxl_switch_port_probe()
73 if (PTR_ERR(cxlhdm) != -ENODEV) { in cxl_switch_port_probe()
75 return PTR_ERR(cxlhdm); in cxl_switch_port_probe()
92 struct cxl_hdm *cxlhdm; in cxl_endpoint_port_probe() local
100 cxlhdm = devm_cxl_setup_hdm(port, &info); in cxl_endpoint_port_probe()
101 if (IS_ERR(cxlhdm)) { in cxl_endpoint_port_probe()
102 if (PTR_ERR(cxlhdm) == -ENODEV) in cxl_endpoint_port_probe()
104 return PTR_ERR(cxlhdm); in cxl_endpoint_port_probe()
115 rc = cxl_hdm_decode_init(cxlds, cxlhdm, &info); in cxl_endpoint_port_probe()
119 rc = devm_cxl_enumerate_decoders(cxlhdm, &info); in cxl_endpoint_port_probe()