Home
last modified time | relevance | path

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

/drivers/acpi/
Dbattery.c100 struct acpi_battery { struct
139 static inline int acpi_battery_present(struct acpi_battery *battery) in acpi_battery_present() argument
144 static int acpi_battery_technology(struct acpi_battery *battery) in acpi_battery_technology()
159 static int acpi_battery_get_state(struct acpi_battery *battery);
161 static int acpi_battery_is_charged(struct acpi_battery *battery) in acpi_battery_is_charged()
184 static bool acpi_battery_is_degraded(struct acpi_battery *battery) in acpi_battery_is_degraded()
191 static int acpi_battery_handle_discharging(struct acpi_battery *battery) in acpi_battery_handle_discharging()
210 struct acpi_battery *battery = to_acpi_battery(psy); in acpi_battery_get_property()
389 {offsetof(struct acpi_battery, state), 0},
390 {offsetof(struct acpi_battery, rate_now), 0},
[all …]
Dsbs.c54 struct acpi_battery { struct
90 struct acpi_battery battery[MAX_SBS_BAT]; argument
100 static int acpi_battery_get_state(struct acpi_battery *battery);
110 static inline int acpi_battery_vscale(struct acpi_battery *battery) in acpi_battery_vscale()
115 static inline int acpi_battery_ipscale(struct acpi_battery *battery) in acpi_battery_ipscale()
120 static inline int acpi_battery_mode(struct acpi_battery *battery) in acpi_battery_mode()
125 static inline int acpi_battery_scale(struct acpi_battery *battery) in acpi_battery_scale()
146 static int acpi_battery_technology(struct acpi_battery *battery) in acpi_battery_technology()
163 struct acpi_battery *battery = to_acpi_battery(psy); in acpi_sbs_battery_get_property()
304 {0x01, SMBUS_READ_WORD, offsetof(struct acpi_battery, alarm_capacity)},
[all …]