Home
last modified time | relevance | path

Searched refs:acpi_power_resource (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/drivers/acpi/
Dpower.c48 struct acpi_power_resource { struct
61 struct acpi_power_resource *resource; argument
71 static inline const char *resource_dev_name(struct acpi_power_resource *pr) in resource_dev_name()
77 struct acpi_power_resource *to_power_resource(struct acpi_device *device) in to_power_resource()
79 return container_of(device, struct acpi_power_resource, device); in to_power_resource()
82 static struct acpi_power_resource *acpi_power_get_context(acpi_handle handle) in acpi_power_get_context()
95 struct acpi_power_resource *resource = acpi_power_get_context(handle); in acpi_power_resources_list_add()
205 static int acpi_power_get_state(struct acpi_power_resource *resource, u8 *state) in acpi_power_get_state()
229 struct acpi_power_resource *resource = entry->resource; in acpi_power_get_list_state()
249 acpi_power_resource_add_dependent(struct acpi_power_resource *resource, in acpi_power_resource_add_dependent()
[all …]