status = acpi_hw_disable_all_gpes (ACPI_ISR); 
status = acpi_hw_disable_all_gpes (); 
acpi_enter_sleep_state_s4bios (	void){	u32                             in_value;	acpi_status                     status;	ACPI_FUNCTION_TRACE ("acpi_enter_sleep_state_s4bios");	status = acpi_set_register (ACPI_BITREG_WAKE_STATUS, 1, ACPI_MTX_DO_NOT_LOCK);	if (ACPI_FAILURE (status)) {		return_ACPI_STATUS (status);	}	status = acpi_hw_clear_acpi_status (ACPI_MTX_DO_NOT_LOCK);	if (ACPI_FAILURE (status)) {		return_ACPI_STATUS (status);	}	/*	 * 1) Disable/Clear all GPEs	 * 2) Enable all wakeup GPEs	 */	status = acpi_hw_disable_all_gpes (ACPI_ISR);	if (ACPI_FAILURE (status)) {		return_ACPI_STATUS (status);	}	acpi_gbl_system_awake_and_running = FALSE;	status = acpi_hw_enable_all_wakeup_gpes (ACPI_ISR);	if (ACPI_FAILURE (status)) {		return_ACPI_STATUS (status);	}	ACPI_FLUSH_CPU_CACHE ();	status = acpi_os_write_port (acpi_gbl_FADT->smi_cmd,			 (u32) acpi_gbl_FADT->S4bios_req, 8);	do {		acpi_os_stall(1000);		status = acpi_get_register (ACPI_BITREG_WAKE_STATUS, &in_value,			ACPI_MTX_DO_NOT_LOCK);		if (ACPI_FAILURE (status)) {			return_ACPI_STATUS (status);		}	} while (!in_value);	return_ACPI_STATUS (AE_OK);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/73459f73e5d1602c59ebec114fc45185521353c1/hwsleep.c/clean/drivers/acpi/hardware/hwsleep.c