Lines Matching refs:resources

308 	struct list_head *resources;  in acpi_device_power_add_dependent()  local
314 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_add_dependent()
315 list_for_each_entry(entry, resources, node) { in acpi_device_power_add_dependent()
324 list_for_each_entry(entry, resources, node) in acpi_device_power_add_dependent()
343 struct list_head *resources; in acpi_device_power_remove_dependent() local
348 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_remove_dependent()
349 list_for_each_entry_reverse(entry, resources, node) in acpi_device_power_remove_dependent()
523 struct list_head *resources, in acpi_power_hide_list() argument
528 if (list_empty(resources)) in acpi_power_hide_list()
531 list_for_each_entry_reverse(entry, resources, node) { in acpi_power_hide_list()
542 struct list_head *resources, in acpi_power_expose_list() argument
548 if (list_empty(resources)) in acpi_power_expose_list()
555 list_for_each_entry(entry, resources, node) { in acpi_power_expose_list()
563 acpi_power_hide_list(adev, resources, attr_group); in acpi_power_expose_list()
570 struct list_head *resources, in acpi_power_expose_hide() argument
575 acpi_power_expose_list(adev, resources, attr_group); in acpi_power_expose_hide()
577 acpi_power_hide_list(adev, resources, attr_group); in acpi_power_expose_hide()
585 acpi_power_expose_hide(adev, &adev->wakeup.resources, in acpi_power_add_remove_device()
593 &adev->power.states[state].resources, in acpi_power_add_remove_device()
712 list_for_each_entry(entry, &dev->wakeup.resources, node) { in acpi_enable_wakeup_device_power()
775 list_for_each_entry(entry, &dev->wakeup.resources, node) { in acpi_disable_wakeup_device_power()
815 struct list_head *list = &device->power.states[i].resources; in acpi_power_get_inferred_state()
840 return acpi_power_on_list(&device->power.states[state].resources); in acpi_power_on_resources()
864 &device->power.states[state].resources); in acpi_power_transition()
868 &device->power.states[device->power.state].resources); in acpi_power_transition()