Searched refs:alchemy_wrsys (Results 1 – 13 of 13) sorted by relevance
/linux-6.6.21/arch/mips/alchemy/common/ |
D | power.c | 88 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()
|
D | time.c | 55 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()
|
D | clock.c | 210 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 …]
|
D | irq.c | 397 alchemy_wrsys(wakemsk, AU1000_SYS_WAKEMSK); in au1x_ic1_setwake()
|
/linux-6.6.21/arch/mips/alchemy/devboards/ |
D | pm.c | 49 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()
|
D | db1200.c | 822 alchemy_wrsys(pfc, AU1000_SYS_PINFUNC); in db1200_dev_setup() 889 alchemy_wrsys(pfc, AU1000_SYS_PINFUNC); in db1200_dev_setup()
|
D | db1000.c | 481 alchemy_wrsys(pfc, AU1000_SYS_PINFUNC); in db1000_dev_setup()
|
D | db1550.c | 42 alchemy_wrsys(v | 1 | SYS_PF_PSC1_S1, AU1000_SYS_PINFUNC); in db1550_hw_setup()
|
/linux-6.6.21/drivers/rtc/ |
D | rtc-au1xxx.c | 45 alchemy_wrsys(t, AU1000_SYS_TOYWRITE); in au1xtoy_rtc_set_time() 88 alchemy_wrsys(32767, AU1000_SYS_TOYTRIM); in au1xtoy_rtc_probe()
|
/linux-6.6.21/arch/mips/alchemy/ |
D | board-mtx1.c | 61 alchemy_wrsys(SYS_PF_NI2, AU1000_SYS_PINFUNC); in board_setup() 64 alchemy_wrsys(~0, AU1000_SYS_TRIOUTCLR); in board_setup()
|
D | board-xxs1500.c | 63 alchemy_wrsys(pin_func, AU1000_SYS_PINFUNC); in board_setup()
|
/linux-6.6.21/arch/mips/include/asm/mach-au1x00/ |
D | gpio-au1000.h | 222 alchemy_wrsys(mask, r); in alchemy_gpio1_set_value() 234 alchemy_wrsys(mask, AU1000_SYS_TRIOUTCLR); in alchemy_gpio1_direction_input()
|
D | au1000.h | 608 static inline void alchemy_wrsys(unsigned long v, int regofs) in alchemy_wrsys() function
|