Searched refs:acpi_battery (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/drivers/acpi/ |
D | battery.c | 93 struct acpi_battery { struct 132 static inline int acpi_battery_present(struct acpi_battery *battery) in acpi_battery_present() argument 137 static int acpi_battery_technology(struct acpi_battery *battery) in acpi_battery_technology() 152 static int acpi_battery_get_state(struct acpi_battery *battery); 154 static int acpi_battery_is_charged(struct acpi_battery *battery) in acpi_battery_is_charged() 177 static bool acpi_battery_is_degraded(struct acpi_battery *battery) in acpi_battery_is_degraded() 184 static int acpi_battery_handle_discharging(struct acpi_battery *battery) in acpi_battery_handle_discharging() 203 struct acpi_battery *battery = to_acpi_battery(psy); in acpi_battery_get_property() 380 {offsetof(struct acpi_battery, state), 0}, 381 {offsetof(struct acpi_battery, rate_now), 0}, [all …]
|
D | sbs.c | 54 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 …]
|