Home
last modified time | relevance | path

Searched refs:alarm_string (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/acpi/
Dbattery.c579 char alarm_string[12] = {'\0'}; in acpi_battery_write_alarm() local
583 if (!battery || (count > sizeof(alarm_string) - 1)) in acpi_battery_write_alarm()
589 if (copy_from_user(alarm_string, buffer, count)) in acpi_battery_write_alarm()
592 alarm_string[count] = '\0'; in acpi_battery_write_alarm()
595 simple_strtoul(alarm_string, NULL, 0)); in acpi_battery_write_alarm()
Dsystem.c901 char alarm_string[30] = {'\0'}; in acpi_system_write_alarm() local
902 char *p = alarm_string; in acpi_system_write_alarm()
909 if (count > sizeof(alarm_string) - 1) in acpi_system_write_alarm()
912 if (copy_from_user(alarm_string, buffer, count)) in acpi_system_write_alarm()
915 alarm_string[count] = '\0'; in acpi_system_write_alarm()
918 if (alarm_string[0] == '+') { in acpi_system_write_alarm()