Lines Matching defs:battery
90 struct acpi_battery battery[MAX_SBS_BAT]; member
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() local
339 static int acpi_battery_get_info(struct acpi_battery *battery) in acpi_battery_get_info()
356 static int acpi_battery_get_state(struct acpi_battery *battery) in acpi_battery_get_state()
379 static int acpi_battery_get_alarm(struct acpi_battery *battery) in acpi_battery_get_alarm()
386 static int acpi_battery_set_alarm(struct acpi_battery *battery) in acpi_battery_set_alarm()
445 struct acpi_battery *battery = to_acpi_battery(dev_get_drvdata(dev)); in acpi_battery_alarm_show() local
456 struct acpi_battery *battery = to_acpi_battery(dev_get_drvdata(dev)); in acpi_battery_alarm_store() local
474 static int acpi_battery_read(struct acpi_battery *battery) in acpi_battery_read()
511 struct acpi_battery *battery = &sbs->battery[id]; in acpi_battery_add() local
555 struct acpi_battery *battery = &sbs->battery[id]; in acpi_battery_remove() local