Lines Matching refs:batteries

9298 	struct tpacpi_battery_data batteries[3];  member
9455 memset(&battery_info.batteries[battery], 0, in tpacpi_battery_probe()
9456 sizeof(battery_info.batteries[battery])); in tpacpi_battery_probe()
9478 battery_info.batteries[battery].start_support = 1; in tpacpi_battery_probe()
9482 &battery_info.batteries[battery].charge_start)) { in tpacpi_battery_probe()
9494 battery_info.batteries[battery].stop_support = 1; in tpacpi_battery_probe()
9498 &battery_info.batteries[battery].charge_stop)) { in tpacpi_battery_probe()
9510 battery_info.batteries[battery].charge_behaviours |= in tpacpi_battery_probe()
9520 battery_info.batteries[battery].charge_behaviours |= in tpacpi_battery_probe()
9524 battery_info.batteries[battery].charge_behaviours |= in tpacpi_battery_probe()
9529 battery_info.batteries[battery].charge_start, in tpacpi_battery_probe()
9530 battery_info.batteries[battery].charge_stop, in tpacpi_battery_probe()
9531 battery_info.batteries[battery].charge_behaviours); in tpacpi_battery_probe()
9587 if (!battery_info.batteries[battery].start_support) in tpacpi_battery_store()
9592 if (value > battery_info.batteries[battery].charge_stop) in tpacpi_battery_store()
9596 battery_info.batteries[battery].charge_start = value; in tpacpi_battery_store()
9600 if (!battery_info.batteries[battery].stop_support) in tpacpi_battery_store()
9605 if (value < battery_info.batteries[battery].charge_start) in tpacpi_battery_store()
9607 battery_info.batteries[battery].charge_stop = value; in tpacpi_battery_store()
9676 available = battery_info.batteries[battery].charge_behaviours; in charge_behaviour_show()
9723 available = battery_info.batteries[battery].charge_behaviours; in charge_behaviour_store()