Lines Matching refs:entry
101 struct acpi_power_resource_entry *entry; in acpi_power_resources_list_add() local
106 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in acpi_power_resources_list_add()
107 if (!entry) in acpi_power_resources_list_add()
110 entry->resource = resource; in acpi_power_resources_list_add()
116 list_add_tail(&entry->node, &e->node); in acpi_power_resources_list_add()
120 list_add_tail(&entry->node, list); in acpi_power_resources_list_add()
126 struct acpi_power_resource_entry *entry, *e; in acpi_power_resources_list_free() local
128 list_for_each_entry_safe(entry, e, list, node) { in acpi_power_resources_list_free()
129 list_del(&entry->node); in acpi_power_resources_list_free()
130 kfree(entry); in acpi_power_resources_list_free()
196 struct acpi_power_resource_entry *entry; in acpi_power_get_list_state() local
203 list_for_each_entry(entry, list, node) { in acpi_power_get_list_state()
204 struct acpi_power_resource *resource = entry->resource; in acpi_power_get_list_state()
314 struct acpi_power_resource_entry *entry; in acpi_power_off_list() local
317 list_for_each_entry_reverse(entry, list, node) { in acpi_power_off_list()
318 result = acpi_power_off(entry->resource); in acpi_power_off_list()
325 list_for_each_entry_continue(entry, list, node) in acpi_power_off_list()
326 acpi_power_on(entry->resource); in acpi_power_off_list()
333 struct acpi_power_resource_entry *entry; in acpi_power_on_list() local
336 list_for_each_entry(entry, list, node) { in acpi_power_on_list()
337 result = acpi_power_on(entry->resource); in acpi_power_on_list()
344 list_for_each_entry_continue_reverse(entry, list, node) in acpi_power_on_list()
345 acpi_power_off(entry->resource); in acpi_power_on_list()
382 struct acpi_power_resource_entry *entry; in acpi_power_hide_list() local
387 list_for_each_entry_reverse(entry, resources, node) { in acpi_power_hide_list()
388 struct acpi_device *res_dev = &entry->resource->device; in acpi_power_hide_list()
401 struct acpi_power_resource_entry *entry; in acpi_power_expose_list() local
411 list_for_each_entry(entry, resources, node) { in acpi_power_expose_list()
412 struct acpi_device *res_dev = &entry->resource->device; in acpi_power_expose_list()
455 struct acpi_power_resource_entry *entry; in acpi_power_wakeup_list_init() local
458 list_for_each_entry(entry, list, node) { in acpi_power_wakeup_list_init()
459 struct acpi_power_resource *resource = entry->resource; in acpi_power_wakeup_list_init()
557 struct acpi_power_resource_entry *entry; in acpi_enable_wakeup_device_power() local
568 list_for_each_entry(entry, &dev->wakeup.resources, node) { in acpi_enable_wakeup_device_power()
569 struct acpi_power_resource *resource = entry->resource; in acpi_enable_wakeup_device_power()
609 struct acpi_power_resource_entry *entry; in acpi_disable_wakeup_device_power() local
631 list_for_each_entry(entry, &dev->wakeup.resources, node) { in acpi_disable_wakeup_device_power()
632 struct acpi_power_resource *resource = entry->resource; in acpi_disable_wakeup_device_power()