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.c41 static struct platform_device *cxl_switch_dport[NR_MEM_MULTI]; variable
590 for (i = 0; i < ARRAY_SIZE(cxl_switch_dport); i++) in is_mock_port()
591 if (dev == &cxl_switch_dport[i]->dev) in is_mock_port()
1347 array_size = ARRAY_SIZE(cxl_switch_dport); in get_port_array()
1348 array = cxl_switch_dport; in get_port_array()
1731 struct platform_device *dport = cxl_switch_dport[i]; in cxl_mem_init()
1906 for (i = 0; i < ARRAY_SIZE(cxl_switch_dport); i++) { in cxl_test_init()
1916 rc = cxl_mock_platform_device_add(pdev, &cxl_switch_dport[i]); in cxl_test_init()
1960 for (i = ARRAY_SIZE(cxl_switch_dport) - 1; i >= 0; i--) in cxl_test_init()
1961 platform_device_unregister(cxl_switch_dport[i]); in cxl_test_init()
[all …]