Searched refs:adev (Results 1 – 4 of 4) sorted by relevance
/tools/testing/cxl/ |
A D | mock_acpi.c | 13 struct acpi_device *adev, *found = NULL; in to_cxl_host_bridge() local 24 adev = to_acpi_device(dev); in to_cxl_host_bridge() 25 if (!acpi_pci_find_root(adev->handle)) in to_cxl_host_bridge() 28 if (strcmp(acpi_device_hid(adev), "ACPI0016") == 0) { in to_cxl_host_bridge() 29 found = adev; in to_cxl_host_bridge() 30 dev_dbg(host, "found host bridge %s\n", dev_name(&adev->dev)); in to_cxl_host_bridge()
|
/tools/testing/cxl/test/ |
A D | cxl.c | 112 if (adev == &acpi0017_mock) in is_mock_adev() 116 if (adev == &host_bridge[i]) in is_mock_adev() 567 return adev - host_bridge; in host_bridge_index() 590 *data = host_bridge_index(adev); in mock_acpi_evaluate_integer() 625 if (!adev) in mock_acpi_pci_find_root() 1048 device_initialize(&adev->dev); in mock_companion() 1049 fwnode_init(&adev->fwnode, NULL); in mock_companion() 1050 dev->fwnode = &adev->fwnode; in mock_companion() 1051 adev->fwnode.dev = dev; in mock_companion() 1071 mock_companion(adev, &pdev->dev); in cxl_rch_topo_init() [all …]
|
A D | mock.c | 46 struct acpi_device *adev = in __wrap_is_acpi_device_node() local 53 retval = ops->is_mock_adev(adev); in __wrap_is_acpi_device_node()
|
/tools/testing/nvdimm/test/ |
A D | nfit.c | 2875 struct acpi_device *adev; in nfit_ctl_test() local 2894 adev = devm_kzalloc(dev, sizeof(*adev), GFP_KERNEL); in nfit_ctl_test() 2895 if (!adev) in nfit_ctl_test() 2897 *adev = (struct acpi_device) { in nfit_ctl_test() 2926 .dev = &adev->dev, in nfit_ctl_test() 2938 .adev = adev, in nfit_ctl_test()
|
Completed in 43 milliseconds