Lines Matching refs:entry
102 struct acpi_power_resource_entry *entry; in acpi_power_resources_list_add() local
107 entry = kzalloc(sizeof(*entry), GFP_KERNEL); in acpi_power_resources_list_add()
108 if (!entry) in acpi_power_resources_list_add()
111 entry->resource = resource; in acpi_power_resources_list_add()
117 list_add_tail(&entry->node, &e->node); in acpi_power_resources_list_add()
121 list_add_tail(&entry->node, list); in acpi_power_resources_list_add()
127 struct acpi_power_resource_entry *entry, *e; in acpi_power_resources_list_free() local
129 list_for_each_entry_safe(entry, e, list, node) { in acpi_power_resources_list_free()
130 list_del(&entry->node); in acpi_power_resources_list_free()
131 kfree(entry); in acpi_power_resources_list_free()
197 struct acpi_power_resource_entry *entry; in acpi_power_get_list_state() local
204 list_for_each_entry(entry, list, node) { in acpi_power_get_list_state()
205 struct acpi_power_resource *resource = entry->resource; in acpi_power_get_list_state()
315 struct acpi_power_resource_entry *entry; in acpi_power_off_list() local
318 list_for_each_entry_reverse(entry, list, node) { in acpi_power_off_list()
319 result = acpi_power_off(entry->resource); in acpi_power_off_list()
326 list_for_each_entry_continue(entry, list, node) in acpi_power_off_list()
327 acpi_power_on(entry->resource); in acpi_power_off_list()
334 struct acpi_power_resource_entry *entry; in acpi_power_on_list() local
337 list_for_each_entry(entry, list, node) { in acpi_power_on_list()
338 result = acpi_power_on(entry->resource); in acpi_power_on_list()
345 list_for_each_entry_continue_reverse(entry, list, node) in acpi_power_on_list()
346 acpi_power_off(entry->resource); in acpi_power_on_list()
383 struct acpi_power_resource_entry *entry; in acpi_power_hide_list() local
388 list_for_each_entry_reverse(entry, resources, node) { in acpi_power_hide_list()
389 struct acpi_device *res_dev = &entry->resource->device; in acpi_power_hide_list()
402 struct acpi_power_resource_entry *entry; in acpi_power_expose_list() local
412 list_for_each_entry(entry, resources, node) { in acpi_power_expose_list()
413 struct acpi_device *res_dev = &entry->resource->device; in acpi_power_expose_list()
456 struct acpi_power_resource_entry *entry; in acpi_power_wakeup_list_init() local
459 list_for_each_entry(entry, list, node) { in acpi_power_wakeup_list_init()
460 struct acpi_power_resource *resource = entry->resource; in acpi_power_wakeup_list_init()
558 struct acpi_power_resource_entry *entry; in acpi_enable_wakeup_device_power() local
569 list_for_each_entry(entry, &dev->wakeup.resources, node) { in acpi_enable_wakeup_device_power()
570 struct acpi_power_resource *resource = entry->resource; in acpi_enable_wakeup_device_power()
610 struct acpi_power_resource_entry *entry; in acpi_disable_wakeup_device_power() local
632 list_for_each_entry(entry, &dev->wakeup.resources, node) { in acpi_disable_wakeup_device_power()
633 struct acpi_power_resource *resource = entry->resource; in acpi_disable_wakeup_device_power()