Searched refs:ltq_cgu_r32 (Results 1 - 4 of 4) sorted by relevance

/linux-master/arch/mips/lantiq/xway/
H A Dclk.c22 #define DDR_HZ ram_clocks[ltq_cgu_r32(CGU_SYS) & 0x3]
35 if (ltq_cgu_r32(CGU_SYS) & 0x40)
42 switch (ltq_cgu_r32(CGU_SYS) & 0xc) {
56 unsigned int clksys = (ltq_cgu_r32(CGU_SYS) >> 7) & 3;
79 if (((ltq_cgu_r32(CGU_SYS) >> 3) & 0x3) == 0x2)
88 if (ltq_cgu_r32(CGU_SYS) & BIT(0))
96 if (ltq_cgu_r32(CGU_SYS) & BIT(2))
107 cpu_sel = (ltq_cgu_r32(CGU_SYS_XRX) >> 4) & 0xf;
148 ocp_sel = ltq_cgu_r32(CGU_SYS_XRX) & 0x3;
177 unsigned int clksys = (ltq_cgu_r32(CGU_SY
[all...]
H A Dsysctrl.c191 ltq_cgu_w32(ltq_cgu_r32(ifccr) | clk->bits, ifccr);
198 ltq_cgu_w32(ltq_cgu_r32(ifccr) & ~clk->bits, ifccr);
253 unsigned int val = ltq_cgu_r32(ifccr);
277 ltq_cgu_w32(ltq_cgu_r32(ifccr) & ~(1 << 16), ifccr);
285 ltq_cgu_w32(ltq_cgu_r32(ifccr) | (1 << 16), ifccr);
299 unsigned int val = ltq_cgu_r32(ifccr);
507 if (ltq_cgu_r32(CGU_SYS) & (1 << 5))
/linux-master/drivers/hwmon/
H A Dltq-cputemp.c24 ltq_cgu_w32(ltq_cgu_r32(CGU_GPHY1_CR) | CGU_TEMP_PD, CGU_GPHY1_CR);
29 ltq_cgu_w32(ltq_cgu_r32(CGU_GPHY1_CR) & ~CGU_TEMP_PD, CGU_GPHY1_CR);
40 value = (ltq_cgu_r32(CGU_GPHY1_CR) >> 9) & 0x01FF;
/linux-master/arch/mips/include/asm/mach-lantiq/xway/
H A Dlantiq_soc.h71 #define ltq_cgu_r32(x) ltq_r32(ltq_cgu_membase + (x)) macro

Completed in 144 milliseconds