Lines Matching defs:battery
129 struct acpi_battery battery[MAX_SBS_BAT]; member
145 static inline int acpi_battery_vscale(struct acpi_battery *battery) in acpi_battery_vscale()
150 static inline int acpi_battery_ipscale(struct acpi_battery *battery) in acpi_battery_ipscale()
155 static inline int acpi_battery_mode(struct acpi_battery *battery) in acpi_battery_mode()
160 static inline int acpi_battery_scale(struct acpi_battery *battery) in acpi_battery_scale()
182 static int acpi_battery_technology(struct acpi_battery *battery) in acpi_battery_technology()
199 struct acpi_battery *battery = to_acpi_battery(psy); in acpi_sbs_battery_get_property() local
352 static int acpi_battery_get_info(struct acpi_battery *battery) in acpi_battery_get_info()
369 static int acpi_battery_get_state(struct acpi_battery *battery) in acpi_battery_get_state()
392 static int acpi_battery_get_alarm(struct acpi_battery *battery) in acpi_battery_get_alarm()
399 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
527 static inline char *acpi_battery_units(struct acpi_battery *battery) in acpi_battery_units()
535 struct acpi_battery *battery = seq->private; in acpi_battery_read_info() local
578 struct acpi_battery *battery = seq->private; in acpi_battery_read_state() local
617 struct acpi_battery *battery = seq->private; in acpi_battery_read_alarm() local
647 struct acpi_battery *battery = seq->private; in acpi_battery_write_alarm() local
741 static int acpi_battery_read(struct acpi_battery *battery) in acpi_battery_read()
773 struct acpi_battery *battery = &sbs->battery[id]; in acpi_battery_add() local
819 struct acpi_battery *battery = &sbs->battery[id]; in acpi_battery_remove() local