Home
last modified time | relevance | path

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

/linux/tools/testing/cxl/test/
H A Dcxl.c44 static struct platform_device *cxl_root_single[NR_CXL_SINGLE_HOST]; variable
594 for (i = 0; i < ARRAY_SIZE(cxl_root_single); i++) in is_mock_port()
595 if (dev == &cxl_root_single[i]->dev) in is_mock_port()
1336 array_size = ARRAY_SIZE(cxl_root_single); in get_port_array()
1337 array = cxl_root_single; in get_port_array()
1623 for (i = 0; i < ARRAY_SIZE(cxl_root_single); i++) { in cxl_single_topo_init()
1634 rc = cxl_mock_platform_device_add(pdev, &cxl_root_single[i]); in cxl_single_topo_init()
1640 struct platform_device *root_port = cxl_root_single[i]; in cxl_single_topo_init()
1679 for (i = ARRAY_SIZE(cxl_root_single) - 1; i >= 0; i--) in cxl_single_topo_init()
1680 platform_device_unregister(cxl_root_single[i]); in cxl_single_topo_init()
[all …]