Lines Matching refs:cxl_hb_single
29 static struct platform_device *cxl_hb_single[NR_CXL_SINGLE_HOST]; variable
53 for (i = 0; i < ARRAY_SIZE(cxl_hb_single); i++) in is_single_bridge()
54 if (&cxl_hb_single[i]->dev == dev) in is_single_bridge()
370 for (i = 0; i < ARRAY_SIZE(cxl_hb_single); i++) in is_mock_bridge()
371 if (dev == &cxl_hb_single[i]->dev) in is_mock_bridge()
736 for (i = 0; i < ARRAY_SIZE(cxl_hb_single); i++) { in cxl_single_init()
753 cxl_hb_single[i] = pdev; in cxl_single_init()
762 cxl_hb_single[i % ARRAY_SIZE(cxl_hb_single)]; in cxl_single_init()
849 for (i = ARRAY_SIZE(cxl_hb_single) - 1; i >= 0; i--) { in cxl_single_init()
850 struct platform_device *pdev = cxl_hb_single[i]; in cxl_single_init()
855 platform_device_unregister(cxl_hb_single[i]); in cxl_single_init()
873 for (i = ARRAY_SIZE(cxl_hb_single) - 1; i >= 0; i--) { in cxl_single_exit()
874 struct platform_device *pdev = cxl_hb_single[i]; in cxl_single_exit()
879 platform_device_unregister(cxl_hb_single[i]); in cxl_single_exit()