Lines Matching refs:resources

317 	struct list_head *resources;  in acpi_device_power_add_dependent()  local
323 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_add_dependent()
324 list_for_each_entry(entry, resources, node) { in acpi_device_power_add_dependent()
333 list_for_each_entry(entry, resources, node) in acpi_device_power_add_dependent()
352 struct list_head *resources; in acpi_device_power_remove_dependent() local
357 resources = &adev->power.states[ACPI_STATE_D0].resources; in acpi_device_power_remove_dependent()
358 list_for_each_entry_reverse(entry, resources, node) in acpi_device_power_remove_dependent()
537 struct list_head *resources, in acpi_power_hide_list() argument
542 if (list_empty(resources)) in acpi_power_hide_list()
545 list_for_each_entry_reverse(entry, resources, node) { in acpi_power_hide_list()
556 struct list_head *resources, in acpi_power_expose_list() argument
562 if (list_empty(resources)) in acpi_power_expose_list()
569 list_for_each_entry(entry, resources, node) { in acpi_power_expose_list()
577 acpi_power_hide_list(adev, resources, attr_group); in acpi_power_expose_list()
584 struct list_head *resources, in acpi_power_expose_hide() argument
589 acpi_power_expose_list(adev, resources, attr_group); in acpi_power_expose_hide()
591 acpi_power_hide_list(adev, resources, attr_group); in acpi_power_expose_hide()
599 acpi_power_expose_hide(adev, &adev->wakeup.resources, in acpi_power_add_remove_device()
607 &adev->power.states[state].resources, in acpi_power_add_remove_device()
726 err = acpi_power_on_list(&dev->wakeup.resources); in acpi_enable_wakeup_device_power()
739 acpi_power_off_list(&dev->wakeup.resources); in acpi_enable_wakeup_device_power()
785 list_for_each_entry(entry, &dev->wakeup.resources, node) { in acpi_disable_wakeup_device_power()
819 struct list_head *list = &device->power.states[i].resources; in acpi_power_get_inferred_state()
844 return acpi_power_on_list(&device->power.states[state].resources); in acpi_power_on_resources()
868 &device->power.states[state].resources); in acpi_power_transition()
872 &device->power.states[device->power.state].resources); in acpi_power_transition()