Lines Matching refs:CGU_SYS
22 #define DDR_HZ ram_clocks[ltq_cgu_r32(CGU_SYS) & 0x3]
25 #define CGU_SYS 0x10 macro
35 if (ltq_cgu_r32(CGU_SYS) & 0x40) in ltq_danube_fpi_hz()
42 switch (ltq_cgu_r32(CGU_SYS) & 0xc) { in ltq_danube_cpu_hz()
56 unsigned int clksys = (ltq_cgu_r32(CGU_SYS) >> 7) & 3; in ltq_danube_pp32_hz()
79 if (((ltq_cgu_r32(CGU_SYS) >> 3) & 0x3) == 0x2) in ltq_ar9_sys_hz()
88 if (ltq_cgu_r32(CGU_SYS) & BIT(0)) in ltq_ar9_fpi_hz()
96 if (ltq_cgu_r32(CGU_SYS) & BIT(2)) in ltq_ar9_cpu_hz()
177 unsigned int clksys = (ltq_cgu_r32(CGU_SYS) >> 16) & 0x7; in ltq_vr9_pp32_hz()
249 unsigned int clksys = (ltq_cgu_r32(CGU_SYS) >> 16) & 0x7; in ltq_ar10_pp32_hz()
333 unsigned int clksys = (ltq_cgu_r32(CGU_SYS) >> 16) & 0x7; in ltq_grx390_pp32_hz()