Lines Matching refs:acpi_battery_present
140 inline int acpi_battery_present(struct acpi_battery *battery)
192 if (acpi_battery_present(battery)) {
209 val->intval = acpi_battery_present(battery);
397 if (!acpi_battery_present(battery))
427 if (!acpi_battery_present(battery))
467 if (!acpi_battery_present(battery) ||
519 if (acpi_battery_present(battery))
600 int result, old_present = acpi_battery_present(battery);
604 if (!acpi_battery_present(battery)) {
612 old_present != acpi_battery_present(battery)) {
643 acpi_battery_present(battery)?"yes":"no");
644 if (!acpi_battery_present(battery))
699 acpi_battery_present(battery)?"yes":"no");
700 if (!acpi_battery_present(battery))
745 if (!acpi_battery_present(battery)) {
772 if (!acpi_battery_present(battery)) {
917 acpi_battery_present(battery));
920 acpi_battery_present(battery));