Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A Dsc520_freq.c29 static __u8 __iomem *cpuctl; variable
39 u8 clockspeed_reg = *cpuctl; in sc520_freq_get_cpu_frequency()
60 clockspeed_reg = *cpuctl & ~0x03; in sc520_freq_target()
61 *cpuctl = clockspeed_reg | sc520_freq_table[state].driver_data; in sc520_freq_target()
111 cpuctl = ioremap((unsigned long)(MMCR_BASE + OFFS_CPUCTL), 1); in sc520_freq_init()
112 if (!cpuctl) { in sc520_freq_init()
119 iounmap(cpuctl); in sc520_freq_init()
128 iounmap(cpuctl); in sc520_freq_exit()