Home
last modified time | relevance | path

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

/arch/mips/alchemy/common/
Dtime.c49 return alchemy_rdsys(AU1000_SYS_RTCREAD); in au1x_counter1_read()
63 delta += alchemy_rdsys(AU1000_SYS_RTCREAD); in au1x_rtcmatch2_set_next_event()
65 while (alchemy_rdsys(AU1000_SYS_CNTRCTRL) & SYS_CNTRL_M21) in au1x_rtcmatch2_set_next_event()
114 if (CNTR_OK != (alchemy_rdsys(AU1000_SYS_CNTRCTRL) & CNTR_OK)) in alchemy_time_init()
121 while ((alchemy_rdsys(AU1000_SYS_CNTRCTRL) & SYS_CNTRL_T1S) && --t) in alchemy_time_init()
129 while ((alchemy_rdsys(AU1000_SYS_CNTRCTRL) & SYS_CNTRL_C1S) && --t) in alchemy_time_init()
136 while ((alchemy_rdsys(AU1000_SYS_CNTRCTRL) & SYS_CNTRL_C1S) && --t) in alchemy_time_init()
Dpower.c57 sleep_sys_clocks[0] = alchemy_rdsys(AU1000_SYS_FREQCTRL0); in save_core_regs()
58 sleep_sys_clocks[1] = alchemy_rdsys(AU1000_SYS_FREQCTRL1); in save_core_regs()
59 sleep_sys_clocks[2] = alchemy_rdsys(AU1000_SYS_CLKSRC); in save_core_regs()
60 sleep_sys_clocks[3] = alchemy_rdsys(AU1000_SYS_CPUPLL); in save_core_regs()
61 sleep_sys_clocks[4] = alchemy_rdsys(AU1000_SYS_AUXPLL); in save_core_regs()
64 sleep_sys_pinfunc = alchemy_rdsys(AU1000_SYS_PINFUNC); in save_core_regs()
Dclock.c130 t = alchemy_rdsys(AU1000_SYS_CPUPLL) & 0x7f; in alchemy_clk_cpu_recalc()
177 return (alchemy_rdsys(a->reg) & 0xff) * parent_rate; in alchemy_clk_aux_recalc()
261 unsigned long v = (alchemy_rdsys(AU1000_SYS_POWERCTRL) & 3) + 2; in alchemy_clk_setup_sysbus()
469 v = alchemy_rdsys(c->reg); in alchemy_clk_fgv1_en()
480 unsigned long v = alchemy_rdsys(c->reg) >> (c->shift + 1); in alchemy_clk_fgv1_isen()
491 v = alchemy_rdsys(c->reg); in alchemy_clk_fgv1_dis()
503 v = alchemy_rdsys(c->reg); in alchemy_clk_fgv1_setp()
518 return (alchemy_rdsys(c->reg) >> c->shift) & 1; in alchemy_clk_fgv1_getp()
532 v = alchemy_rdsys(c->reg); in alchemy_clk_fgv1_setr()
545 unsigned long v = alchemy_rdsys(c->reg) >> (c->shift + 2); in alchemy_clk_fgv1_recalc()
[all …]
Dplatform.c434 if (!(alchemy_rdsys(AU1000_SYS_PINFUNC) & SYS_PF_NI2)) { in alchemy_setup_macs()
Dirq.c392 wakemsk = alchemy_rdsys(AU1000_SYS_WAKEMSK); in au1x_ic1_setwake()
/arch/mips/alchemy/devboards/
Dpm.c54 while (alchemy_rdsys(AU1000_SYS_CNTRCTRL) & SYS_CNTRL_M20) in db1x_pm_enter()
57 alchemy_wrsys(alchemy_rdsys(AU1000_SYS_TOYREAD) + db1x_pm_sleep_secs, in db1x_pm_enter()
61 while (alchemy_rdsys(AU1000_SYS_CNTRCTRL) & SYS_CNTRL_M20) in db1x_pm_enter()
102 db1x_pm_last_wakesrc = alchemy_rdsys(AU1000_SYS_WAKESRC); in db1x_pm_end()
240 if (alchemy_rdsys(AU1000_SYS_TOYTRIM) != 32767) in pm_init()
243 db1x_pm_last_wakesrc = alchemy_rdsys(AU1000_SYS_WAKESRC); in pm_init()
Ddb1200.c836 pfc = alchemy_rdsys(AU1000_SYS_PINFUNC); in db1200_dev_setup()
881 pfc = alchemy_rdsys(AU1000_SYS_PINFUNC) & ~SYS_PINFUNC_P0A; in db1200_dev_setup()
Ddb1550.c40 v = alchemy_rdsys(AU1000_SYS_PINFUNC); in db1550_hw_setup()
Ddb1000.c523 pfc = alchemy_rdsys(AU1000_SYS_PINFUNC); in db1000_dev_setup()
/arch/mips/alchemy/
Dboard-xxs1500.c90 pin_func = alchemy_rdsys(AU1000_SYS_PINFUNC) & ~SYS_PF_UR3; in board_setup()
/arch/mips/include/asm/mach-au1x00/
Dgpio-au1000.h228 return alchemy_rdsys(AU1000_SYS_PINSTATERD) & mask; in alchemy_gpio1_get_value()
Dau1000.h601 static inline unsigned long alchemy_rdsys(int regofs) in alchemy_rdsys() function