Home
last modified time | relevance | path

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

/linux/tools/testing/cxl/test/
H A Dcxl.c35 static struct platform_device *cxl_switch_dport[NR_MEM_MULTI]; variable
542 for (i = 0; i < ARRAY_SIZE(cxl_switch_dport); i++) in is_mock_port()
543 if (dev == &cxl_switch_dport[i]->dev) in is_mock_port()
944 array_size = ARRAY_SIZE(cxl_switch_dport); in mock_cxl_port_enumerate_dports()
945 array = cxl_switch_dport; in mock_cxl_port_enumerate_dports()
1264 struct platform_device *dport = cxl_switch_dport[i]; in cxl_mem_init()
1426 for (i = 0; i < ARRAY_SIZE(cxl_switch_dport); i++) { in cxl_test_init()
1441 cxl_switch_dport[i] = pdev; in cxl_test_init()
1476 for (i = ARRAY_SIZE(cxl_switch_dport) - 1; i >= 0; i--) in cxl_test_init()
1477 platform_device_unregister(cxl_switch_dport[i]); in cxl_test_init()
[all …]