Lines Matching refs:resources
473 acpi_power_resources_list_free(&device->wakeup.resources);
480 acpi_power_resources_list_free(&ps->resources);
552 * Drop references to all power resources that might have been
898 INIT_LIST_HEAD(&wakeup->resources);
941 err = acpi_extract_power_resources(package, 2, &wakeup->resources);
945 if (!list_empty(&wakeup->resources)) {
948 err = acpi_power_wakeup_list_init(&wakeup->resources,
952 "of wakeup power resources failed\n");
953 acpi_power_resources_list_free(&wakeup->resources);
958 "(S%d) by S%d from power resources\n",
1012 dev_err(&device->dev, "Unable to extract wakeup power resources");
1037 INIT_LIST_HEAD(&ps->resources);
1039 /* Evaluate "_PRx" to get referenced power resources */
1047 acpi_extract_power_resources(package, 0, &ps->resources);
1058 if (!list_empty(&ps->resources) || ps->flags.explicit_set)
1098 INIT_LIST_HEAD(&device->power.states[ACPI_STATE_D3_COLD].resources);
1106 * Use power resources only if the D0 list of them is populated, because
1108 * in those cases the power resources list returned by it may be bogus.
1110 if (!list_empty(&device->power.states[ACPI_STATE_D0].resources)) {
1113 * D3cold is supported if the D3hot list of power resources is
1116 if (!list_empty(&device->power.states[ACPI_STATE_D3_HOT].resources))
1747 * These devices have multiple SerialBus resources and a client
1767 * Some ACPI devs contain SerialBus resources even though they are not
1786 /* Macs use device properties in lieu of _CRS resources */