Lines Matching defs:adev
343 static int hisi_lpc_acpi_xlat_io_res(struct acpi_device *adev,
397 struct acpi_device *adev;
409 adev = to_acpi_device(child);
411 if (!adev->status.present) {
416 if (acpi_device_enumerated(adev)) {
426 count = acpi_dev_get_resources(adev, &resource_list, NULL, NULL);
455 ret = hisi_lpc_acpi_xlat_io_res(adev, host, &resources[i]);
483 struct acpi_device *adev = ACPI_COMPANION(hostdev);
488 list_for_each_entry(child, &adev->children, node)
504 struct acpi_device *adev = ACPI_COMPANION(hostdev);
510 list_for_each_entry(child, &adev->children, node) {
517 ret = hisi_lpc_acpi_set_io_res(&child->dev, &adev->dev, &res,