Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/cxl/test/
Dcxl.c33 static struct platform_device *cxl_swd_single[NR_MEM_SINGLE]; variable
403 for (i = 0; i < ARRAY_SIZE(cxl_swd_single); i++) in is_mock_port()
404 if (dev == &cxl_swd_single[i]->dev) in is_mock_port()
660 array_size = ARRAY_SIZE(cxl_swd_single); in mock_cxl_port_enumerate_dports()
661 array = cxl_swd_single; in mock_cxl_port_enumerate_dports()
797 for (i = 0; i < ARRAY_SIZE(cxl_swd_single); i++) { in cxl_single_init()
813 cxl_swd_single[i] = pdev; in cxl_single_init()
817 struct platform_device *dport = cxl_swd_single[i]; in cxl_single_init()
840 for (i = ARRAY_SIZE(cxl_swd_single) - 1; i >= 0; i--) in cxl_single_init()
841 platform_device_unregister(cxl_swd_single[i]); in cxl_single_init()
[all …]