Searched refs:acpi_battery (Results 1 – 2 of 2) sorted by relevance
/drivers/acpi/ |
D | battery.c | 113 struct acpi_battery { struct 148 #define to_acpi_battery(x) container_of(x, struct acpi_battery, bat) argument 150 inline int acpi_battery_present(struct acpi_battery *battery) in acpi_battery_present() 155 static int acpi_battery_technology(struct acpi_battery *battery) in acpi_battery_technology() 170 static int acpi_battery_get_state(struct acpi_battery *battery); 172 static int acpi_battery_is_charged(struct acpi_battery *battery) in acpi_battery_is_charged() 200 struct acpi_battery *battery = to_acpi_battery(psy); in acpi_battery_get_property() 315 inline char *acpi_battery_units(struct acpi_battery *battery) in acpi_battery_units() 331 {offsetof(struct acpi_battery, state), 0}, 332 {offsetof(struct acpi_battery, rate_now), 0}, [all …]
|
D | sbs.c | 84 struct acpi_battery { struct 115 #define to_acpi_battery(x) container_of(x, struct acpi_battery, bat) argument 125 struct acpi_battery battery[MAX_SBS_BAT]; 134 static int acpi_battery_get_state(struct acpi_battery *battery); 144 static inline int acpi_battery_vscale(struct acpi_battery *battery) in acpi_battery_vscale() 149 static inline int acpi_battery_ipscale(struct acpi_battery *battery) in acpi_battery_ipscale() 154 static inline int acpi_battery_mode(struct acpi_battery *battery) in acpi_battery_mode() 159 static inline int acpi_battery_scale(struct acpi_battery *battery) in acpi_battery_scale() 180 static int acpi_battery_technology(struct acpi_battery *battery) in acpi_battery_technology() 197 struct acpi_battery *battery = to_acpi_battery(psy); in acpi_sbs_battery_get_property() [all …]
|