Lines Matching refs:acpi_power_meter_resource

75 struct acpi_power_meter_resource {  struct
109 static int update_avg_interval(struct acpi_power_meter_resource *resource) in update_avg_interval() argument
130 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in show_avg_interval()
144 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in set_avg_interval()
181 static int update_cap(struct acpi_power_meter_resource *resource) in update_cap()
202 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in show_cap()
215 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in set_cap()
252 static int set_acpi_trip(struct acpi_power_meter_resource *resource) in set_acpi_trip()
289 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in set_trip()
311 static int update_meter(struct acpi_power_meter_resource *resource) in update_meter()
340 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in show_power()
356 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in show_str()
385 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in show_val()
440 struct acpi_power_meter_resource *resource = acpi_dev->driver_data; in show_accuracy()
516 static void remove_domain_devices(struct acpi_power_meter_resource *resource) in remove_domain_devices()
538 static int read_domain_devices(struct acpi_power_meter_resource *resource) in read_domain_devices()
618 static int register_attrs(struct acpi_power_meter_resource *resource, in register_attrs()
652 static void remove_attrs(struct acpi_power_meter_resource *resource) in remove_attrs()
668 static int setup_attrs(struct acpi_power_meter_resource *resource) in setup_attrs()
719 static void free_capabilities(struct acpi_power_meter_resource *resource) in free_capabilities()
729 static int read_capabilities(struct acpi_power_meter_resource *resource) in read_capabilities()
812 struct acpi_power_meter_resource *resource; in acpi_power_meter_notify()
860 struct acpi_power_meter_resource *resource; in acpi_power_meter_add()
865 resource = kzalloc(sizeof(struct acpi_power_meter_resource), in acpi_power_meter_add()
907 struct acpi_power_meter_resource *resource; in acpi_power_meter_remove()
926 struct acpi_power_meter_resource *resource; in acpi_power_meter_resume()