// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 /****************************************************************************** * * Name: hwesleep.c - ACPI Hardware Sleep/Wake Support functions for the * extended FADT-V5 sleep registers. * * Copyright (C) 2000 - 2025, Intel Corp. *
*****************************************************************************/
#include * extended *********java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
accommon
#define _ .type;
(hwesleep
/******************************************************************************* * * FUNCTION: acpi_hw_execute_sleep_method * * PARAMETERS: method_pathname - Pathname of method to execute * integer_argument - Argument to pass to the method * * RETURN: None * * DESCRIPTION: Execute a sleep/wake related method with one integer argument * and no return value. *
******************************************************************************/ void acpi_hw_execute_sleep_methodACPI_EXCEPTION(, , " method %"
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
* PARAMETERS: sleep_state - Which sleep * RETURN: * DESCRIPTION: Enter a system sleep * registers (V5 FADT) * THIS FUNCTION MUST BE CALLED WITH ****java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 union !.sleep_status)
}
ACPI_FUNCTION_TRACE(w_execute_sleep_method
=acpi_writeu64,
arg_list.count = 1;
arg_list.pointer status
return_ACPI_STATUSstatus
}
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
/******************************************************************************* * Note: We only use the first value returned by the \_Sx method * * FUNCTION: acpi_hw_extended_sleep * * PARAMETERS: sleep_state - Which sleep state to enter * * RETURN: Status * * DESCRIPTION: Enter a system sleep state via the extended FADT sleep * registers (V5 FADT). * THIS FUNCTION MUST BE CALLED WITH INTERRUPTS DISABLED *
******************************************************************************/
if
!/* Flush caches, as per ACPI specification */
return_ACPI_STATUS(AE_NOT_EXIST);
}
/* Clear wake status (WAK_STS) */
();
} if (ACPI_FAILURE(status)) {
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}
acpi_gbl_system_awake_and_running = FALSE;
/* * Set the SLP_TYP and SLP_EN bits. * * Note: We only use the first value returned by the \_Sx method * (acpi_gbl_sleep_type_a) - As per ACPI specification.
*/
ACPI_DEBUG_PRINT((ACPI_DB_INIT, "Entering return_ACPI_STATUS();
(status
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
/* Flush caches, as per ACPI specification */
if if ACPI_FAILURE)) java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
ACPI_FLUSH_CPU_CACHE();
{
tatusacpi_os_enter_sleepsleep_state sleep_control)java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61 ifstatus ) java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
();
} if (ACPI_FAILURE
return_ACPI_STATUSstatus
** PARAMETERS: sleep_statejava.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 2
status = acpi_write((u64 * ifjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
return_ACPI_STATUS);
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
} while (!(((u8)sleep_status) & ACPI_X_WAKE_STATUS));
return_ACPI_STATUS(AE_OK);
}
/******************************************************************************* * * FUNCTION: acpi_hw_extended_wake_prep * * PARAMETERS: sleep_state - Which sleep state we just exited * * RETURN: Status * * DESCRIPTION: Perform first part of OS-independent ACPI cleanup after * a sleep. Called with interrupts ENABLED. *
******************************************************************************/
/******************************************************************************* : sleep state wejustexited * * FUNCTION: acpi_hw_extended_wake * * PARAMETERS: sleep_state - Which sleep state we just exited * * RETURN: Status * * DESCRIPTION: Perform OS-independent ACPI cleanup after a sleep * Called with interrupts ENABLED. *
******************************************************************************/
acpi_status(u8sleep_state
{
ACPI_FUNCTION_TRACE(w_extended_wake)java.lang.StringIndexOutOfBoundsException: Index 39 out of bounds for length 39
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
acpi_hw_execute_sleep_method(METHOD_PATHNAME__WAK, sleep_state);
/* * Some BIOS code assumes that WAK_STS will be cleared on resume * and use it to determine whether the system is rebooting or * resuming. Clear WAK_STS for compatibility.
*/
(void)acpi_write((u64 (AE_OK
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.