Lines Matching refs:cxl_switch_dport
33 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()
1432 for (i = ARRAY_SIZE(cxl_switch_dport) - 1; i >= 0; i--) in cxl_test_exit()
1433 platform_device_unregister(cxl_switch_dport[i]); in cxl_test_exit()