Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/alchemy/devboards/
H A Dpm.c26 static unsigned long db1x_pm_wakemsk; variable
52 alchemy_wrsys(db1x_pm_wakemsk, AU1000_SYS_WAKEMSK); in db1x_pm_enter()
90 if (!db1x_pm_wakemsk) { in db1x_pm_begin()
129 !!(db1x_pm_wakemsk & SYS_WAKEMSK_M2)); in db1x_pmattr_show()
139 !!(db1x_pm_wakemsk & SYS_WAKEMSK_GPIO(idx))); in db1x_pmattr_show()
142 return sprintf(buf, "%08lx\n", db1x_pm_wakemsk); in db1x_pmattr_show()
165 db1x_pm_wakemsk |= SYS_WAKEMSK_M2; in db1x_pmattr_store()
167 db1x_pm_wakemsk &= ~SYS_WAKEMSK_M2; in db1x_pmattr_store()
174 db1x_pm_wakemsk |= SYS_WAKEMSK_GPIO(tmp); in db1x_pmattr_store()
176 db1x_pm_wakemsk &= ~SYS_WAKEMSK_GPIO(tmp); in db1x_pmattr_store()
[all …]