Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/cxl/test/
H A Dcxl.c33 static struct platform_device *cxl_switch_dport[NR_MEM_MULTI]; variable
536 for (i = 0; i < ARRAY_SIZE(cxl_switch_dport); i++) in is_mock_port()
537 if (dev == &cxl_switch_dport[i]->dev) in is_mock_port()
938 array_size = ARRAY_SIZE(cxl_switch_dport); in mock_cxl_port_enumerate_dports()
939 array = cxl_switch_dport; in mock_cxl_port_enumerate_dports()
1330 for (i = 0; i < ARRAY_SIZE(cxl_switch_dport); i++) { in cxl_test_init()
1345 cxl_switch_dport[i] = pdev; in cxl_test_init()
1349 struct platform_device *dport = cxl_switch_dport[i]; in cxl_test_init()
1397 for (i = ARRAY_SIZE(cxl_switch_dport) - 1; i >= 0; i--) in cxl_test_init()
1398 platform_device_unregister(cxl_switch_dport[i]); in cxl_test_init()
[all …]