Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/cxl/test/
Dcxl.c30 static struct platform_device *cxl_root_single[NR_CXL_SINGLE_HOST]; variable
395 for (i = 0; i < ARRAY_SIZE(cxl_root_single); i++) in is_mock_port()
396 if (dev == &cxl_root_single[i]->dev) in is_mock_port()
646 array_size = ARRAY_SIZE(cxl_root_single); in mock_cxl_port_enumerate_dports()
647 array = cxl_root_single; in mock_cxl_port_enumerate_dports()
760 for (i = 0; i < ARRAY_SIZE(cxl_root_single); i++) { in cxl_single_init()
776 cxl_root_single[i] = pdev; in cxl_single_init()
780 struct platform_device *root_port = cxl_root_single[i]; in cxl_single_init()
846 for (i = ARRAY_SIZE(cxl_root_single) - 1; i >= 0; i--) in cxl_single_init()
847 platform_device_unregister(cxl_root_single[i]); in cxl_single_init()
[all …]