Esempio n. 1
0
/*----------------------------------------------------------------------------
 * Power Management sleep sysctl proc interface
 *
 * A write to /proc/sys/pm/suspend invokes this function 
 * which initiates a sleep.
 *--------------------------------------------------------------------------*/
static int sysctl_jz_pm_sleep(void)
{
	return jz_pm_sleep();
}
Esempio n. 2
0
/*
 * Jz CPU enter save power mode
 */
static int jz_pm_enter(suspend_state_t state)
{
	return jz_pm_sleep();
}