Lines Matching +full:0 +full:x2000
27 #define SDCASR_REG 0x0100
28 #define SDCASR_REG_STRIDE 0x1000
29 #define SDCPWR_CFGA0_REG 0x0100
30 #define SDCPWR_PWST0_REG 0x0000
31 #define SDCPWR_GIZTIME_REG 0x0440
34 #define SDCPWR_GIZTIME_GR 0x80000000
35 #define SDCPWR_GIZTIME_LONGLOCK 0x000000ff
38 #define SDCASR_OFFSET 0x120000
51 {0, 0, 0},
52 {0, 1, 0},
53 {0, 2, 0},
54 {0, 3, 0},
55 {0, 4, 0},
56 {0, 0, CPUFREQ_TABLE_END},
66 ret = in_le32(sdcpwr_mapbase + SDCPWR_CFGA0_REG + (astate * 0x10)); in get_astate_freq()
68 return ret & 0x3f; in get_astate_freq()
76 ret = (ret >> (cpu * 4)) & 0x7; in get_cur_astate()
155 err = of_address_to_resource(dn, 0, &res); in pas_cpufreq_cpu_init()
159 sdcasr_mapbase = ioremap(res.start + SDCASR_OFFSET, 0x2000); in pas_cpufreq_cpu_init()
173 err = of_address_to_resource(dn, 0, &res); in pas_cpufreq_cpu_init()
177 sdcpwr_mapbase = ioremap(res.start, 0x1000); in pas_cpufreq_cpu_init()
200 return 0; in pas_cpufreq_cpu_init()
215 return 0; in pas_cpufreq_cpu_exit()
222 return 0; in pas_cpufreq_cpu_exit()
241 return 0; in pas_cpufreq_target()