Lines Matching refs:cxl_switch_dport
27 static struct platform_device *cxl_switch_dport[NR_MEM_MULTI]; variable
391 for (i = 0; i < ARRAY_SIZE(cxl_switch_dport); i++) in is_mock_port()
392 if (dev == &cxl_switch_dport[i]->dev) in is_mock_port()
657 array_size = ARRAY_SIZE(cxl_switch_dport); in mock_cxl_port_enumerate_dports()
658 array = cxl_switch_dport; in mock_cxl_port_enumerate_dports()
962 for (i = 0; i < ARRAY_SIZE(cxl_switch_dport); i++) { in cxl_test_init()
977 cxl_switch_dport[i] = pdev; in cxl_test_init()
981 struct platform_device *dport = cxl_switch_dport[i]; in cxl_test_init()
1023 for (i = ARRAY_SIZE(cxl_switch_dport) - 1; i >= 0; i--) in cxl_test_init()
1024 platform_device_unregister(cxl_switch_dport[i]); in cxl_test_init()
1057 for (i = ARRAY_SIZE(cxl_switch_dport) - 1; i >= 0; i--) in cxl_test_exit()
1058 platform_device_unregister(cxl_switch_dport[i]); in cxl_test_exit()