Lines Matching refs:sleep_state
36 static void acpi_db_do_one_sleep_state(u8 sleep_state);
109 u8 sleep_state; in acpi_db_sleep() local
129 sleep_state = (u8)strtoul(object_arg, NULL, 0); in acpi_db_sleep()
130 acpi_db_do_one_sleep_state(sleep_state); in acpi_db_sleep()
146 static void acpi_db_do_one_sleep_state(u8 sleep_state) in acpi_db_do_one_sleep_state() argument
154 if (sleep_state > ACPI_S_STATES_MAX) { in acpi_db_do_one_sleep_state()
156 sleep_state, ACPI_S_STATES_MAX); in acpi_db_do_one_sleep_state()
161 sleep_state, acpi_gbl_sleep_state_names[sleep_state]); in acpi_db_do_one_sleep_state()
166 acpi_get_sleep_type_data(sleep_state, &sleep_type_a, &sleep_type_b); in acpi_db_do_one_sleep_state()
169 acpi_gbl_sleep_state_names[sleep_state], in acpi_db_do_one_sleep_state()
176 sleep_state, sleep_type_a, sleep_type_b); in acpi_db_do_one_sleep_state()
181 sleep_state); in acpi_db_do_one_sleep_state()
182 status = acpi_enter_sleep_state_prep(sleep_state); in acpi_db_do_one_sleep_state()
187 acpi_os_printf("**** Sleep: Going to sleep (S%d) ****\n", sleep_state); in acpi_db_do_one_sleep_state()
188 status = acpi_enter_sleep_state(sleep_state); in acpi_db_do_one_sleep_state()
194 sleep_state); in acpi_db_do_one_sleep_state()
195 status = acpi_leave_sleep_state_prep(sleep_state); in acpi_db_do_one_sleep_state()
201 sleep_state); in acpi_db_do_one_sleep_state()
202 status = acpi_leave_sleep_state(sleep_state); in acpi_db_do_one_sleep_state()
211 sleep_state)); in acpi_db_do_one_sleep_state()