Home
last modified time | relevance | path

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

/arch/mips/alchemy/common/
Dpower.c88 alchemy_wrsys(sleep_sys_clocks[0], AU1000_SYS_FREQCTRL0); in restore_core_regs()
89 alchemy_wrsys(sleep_sys_clocks[1], AU1000_SYS_FREQCTRL1); in restore_core_regs()
90 alchemy_wrsys(sleep_sys_clocks[2], AU1000_SYS_CLKSRC); in restore_core_regs()
91 alchemy_wrsys(sleep_sys_clocks[4], AU1000_SYS_AUXPLL); in restore_core_regs()
93 alchemy_wrsys(sleep_sys_clocks[3], AU1000_SYS_CPUPLL); in restore_core_regs()
95 alchemy_wrsys(sleep_sys_pinfunc, AU1000_SYS_PINFUNC); in restore_core_regs()
Dtime.c67 alchemy_wrsys(delta, AU1000_SYS_RTCMATCH2); in au1x_rtcmatch2_set_next_event()
120 alchemy_wrsys(0, AU1000_SYS_RTCTRIM); /* 32.768 kHz */ in alchemy_time_init()
127 alchemy_wrsys(0, AU1000_SYS_RTCWRITE); in alchemy_time_init()
Dclock.c209 alchemy_wrsys(d, a->reg); in alchemy_clk_aux_setr()
498 alchemy_wrsys(v, c->reg); in alchemy_clk_fgv1_en()
520 alchemy_wrsys(v, c->reg); in alchemy_clk_fgv1_dis()
535 alchemy_wrsys(v, c->reg); in alchemy_clk_fgv1_setp()
562 alchemy_wrsys(v, c->reg); in alchemy_clk_fgv1_setr()
602 alchemy_wrsys(v, c->reg); in __alchemy_clk_fgv2_en()
634 alchemy_wrsys(v, c->reg); in alchemy_clk_fgv2_dis()
687 alchemy_wrsys(v, c->reg); in alchemy_clk_fgv2_setr()
832 alchemy_wrsys(v, c->reg); in __alchemy_clk_csrc_en()
857 alchemy_wrsys(v, c->reg); in alchemy_clk_csrc_dis()
[all …]
Dirq.c397 alchemy_wrsys(wakemsk, AU1000_SYS_WAKEMSK); in au1x_ic1_setwake()
/arch/mips/alchemy/devboards/
Dpm.c48 alchemy_wrsys(0, AU1000_SYS_WAKEMSK); in db1x_pm_enter()
49 alchemy_wrsys(0, AU1000_SYS_WAKESRC); in db1x_pm_enter()
51 alchemy_wrsys(db1x_pm_wakemsk, AU1000_SYS_WAKEMSK); in db1x_pm_enter()
57 alchemy_wrsys(alchemy_rdsys(AU1000_SYS_TOYREAD) + db1x_pm_sleep_secs, in db1x_pm_enter()
104 alchemy_wrsys(0, AU1000_SYS_WAKEMSK); in db1x_pm_end()
105 alchemy_wrsys(0, AU1000_SYS_WAKESRC); in db1x_pm_end()
241 alchemy_wrsys(32767, AU1000_SYS_TOYTRIM); in pm_init()
245 alchemy_wrsys(0, AU1000_SYS_WAKESRC); in pm_init()
246 alchemy_wrsys(0, AU1000_SYS_WAKEMSK); in pm_init()
Ddb1200.c840 alchemy_wrsys(pfc, AU1000_SYS_PINFUNC); in db1200_dev_setup()
907 alchemy_wrsys(pfc, AU1000_SYS_PINFUNC); in db1200_dev_setup()
Ddb1550.c42 alchemy_wrsys(v | 1 | SYS_PF_PSC1_S1, AU1000_SYS_PINFUNC); in db1550_hw_setup()
Ddb1000.c526 alchemy_wrsys(pfc, AU1000_SYS_PINFUNC); in db1000_dev_setup()
/arch/mips/alchemy/
Dboard-mtx1.c89 alchemy_wrsys(SYS_PF_NI2, AU1000_SYS_PINFUNC); in board_setup()
92 alchemy_wrsys(~0, AU1000_SYS_TRIOUTCLR); in board_setup()
Dboard-xxs1500.c93 alchemy_wrsys(pin_func, AU1000_SYS_PINFUNC); in board_setup()
/arch/mips/include/asm/mach-au1x00/
Dgpio-au1000.h222 alchemy_wrsys(mask, r); in alchemy_gpio1_set_value()
234 alchemy_wrsys(mask, AU1000_SYS_TRIOUTCLR); in alchemy_gpio1_direction_input()
Dau1000.h608 static inline void alchemy_wrsys(unsigned long v, int regofs) in alchemy_wrsys() function