Home
last modified time | relevance | path

Searched refs:cxl_root_port (Results 1 - 1 of 1) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/cxl/test/
H A Dcxl.c29 static struct platform_device *cxl_root_port[NR_MULTI_ROOT]; variable
528 for (i = 0; i < ARRAY_SIZE(cxl_root_port); i++) in is_mock_port()
529 if (dev == &cxl_root_port[i]->dev) in is_mock_port()
924 array_size = ARRAY_SIZE(cxl_root_port); in mock_cxl_port_enumerate_dports()
925 array = cxl_root_port; in mock_cxl_port_enumerate_dports()
1118 pdev = platform_device_alloc("cxl_root_port", in cxl_single_init()
1294 for (i = 0; i < ARRAY_SIZE(cxl_root_port); i++) { in cxl_test_init()
1299 pdev = platform_device_alloc("cxl_root_port", i); in cxl_test_init()
1309 cxl_root_port[i] = pdev; in cxl_test_init()
1312 BUILD_BUG_ON(ARRAY_SIZE(cxl_switch_uport) != ARRAY_SIZE(cxl_root_port)); in cxl_test_init()
[all...]

Completed in 2 milliseconds