Home
last modified time | relevance | path

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

/linux-6.1.9/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.c55 alchemy_wrsys(delta, AU1000_SYS_RTCMATCH2); in au1x_rtcmatch2_set_next_event()
101 alchemy_wrsys(0, AU1000_SYS_RTCTRIM); /* 32.768 kHz */ in alchemy_time_init()
108 alchemy_wrsys(0, AU1000_SYS_RTCWRITE); in alchemy_time_init()
Dclock.c210 alchemy_wrsys(d, a->reg); in alchemy_clk_aux_setr()
499 alchemy_wrsys(v, c->reg); in alchemy_clk_fgv1_en()
521 alchemy_wrsys(v, c->reg); in alchemy_clk_fgv1_dis()
536 alchemy_wrsys(v, c->reg); in alchemy_clk_fgv1_setp()
563 alchemy_wrsys(v, c->reg); in alchemy_clk_fgv1_setr()
603 alchemy_wrsys(v, c->reg); in __alchemy_clk_fgv2_en()
635 alchemy_wrsys(v, c->reg); in alchemy_clk_fgv2_dis()
688 alchemy_wrsys(v, c->reg); in alchemy_clk_fgv2_setr()
833 alchemy_wrsys(v, c->reg); in __alchemy_clk_csrc_en()
858 alchemy_wrsys(v, c->reg); in alchemy_clk_csrc_dis()
[all …]
Dirq.c397 alchemy_wrsys(wakemsk, AU1000_SYS_WAKEMSK); in au1x_ic1_setwake()
/linux-6.1.9/arch/mips/alchemy/devboards/
Dpm.c49 alchemy_wrsys(0, AU1000_SYS_WAKEMSK); in db1x_pm_enter()
50 alchemy_wrsys(0, AU1000_SYS_WAKESRC); in db1x_pm_enter()
52 alchemy_wrsys(db1x_pm_wakemsk, AU1000_SYS_WAKEMSK); in db1x_pm_enter()
58 alchemy_wrsys(alchemy_rdsys(AU1000_SYS_TOYREAD) + db1x_pm_sleep_secs, in db1x_pm_enter()
105 alchemy_wrsys(0, AU1000_SYS_WAKEMSK); in db1x_pm_end()
106 alchemy_wrsys(0, AU1000_SYS_WAKESRC); in db1x_pm_end()
242 alchemy_wrsys(32767, AU1000_SYS_TOYTRIM); in pm_init()
246 alchemy_wrsys(0, AU1000_SYS_WAKESRC); in pm_init()
247 alchemy_wrsys(0, AU1000_SYS_WAKEMSK); in pm_init()
Ddb1200.c831 alchemy_wrsys(pfc, AU1000_SYS_PINFUNC); in db1200_dev_setup()
898 alchemy_wrsys(pfc, AU1000_SYS_PINFUNC); in db1200_dev_setup()
Ddb1000.c475 alchemy_wrsys(pfc, AU1000_SYS_PINFUNC); in db1000_dev_setup()
Ddb1550.c42 alchemy_wrsys(v | 1 | SYS_PF_PSC1_S1, AU1000_SYS_PINFUNC); in db1550_hw_setup()
/linux-6.1.9/drivers/rtc/
Drtc-au1xxx.c45 alchemy_wrsys(t, AU1000_SYS_TOYWRITE); in au1xtoy_rtc_set_time()
88 alchemy_wrsys(32767, AU1000_SYS_TOYTRIM); in au1xtoy_rtc_probe()
/linux-6.1.9/arch/mips/alchemy/
Dboard-mtx1.c61 alchemy_wrsys(SYS_PF_NI2, AU1000_SYS_PINFUNC); in board_setup()
64 alchemy_wrsys(~0, AU1000_SYS_TRIOUTCLR); in board_setup()
Dboard-xxs1500.c63 alchemy_wrsys(pin_func, AU1000_SYS_PINFUNC); in board_setup()
/linux-6.1.9/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