Searched refs:clockspeed_reg (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/cpufreq/
H A Dsc520_freq.c43 u8 clockspeed_reg = *cpuctl; sc520_freq_get_cpu_frequency() local
45 switch (clockspeed_reg & 0x03) { sc520_freq_get_cpu_frequency()
48 "value %02x\n", clockspeed_reg); sc520_freq_get_cpu_frequency()
59 u8 clockspeed_reg; sc520_freq_target() local
63 clockspeed_reg = *cpuctl & ~0x03; sc520_freq_target()
64 *cpuctl = clockspeed_reg | sc520_freq_table[state].driver_data; sc520_freq_target()
H A Delanfreq.c82 u8 clockspeed_reg; /* Clock Speed Register */ elanfreq_get_cpu_frequency() local
86 clockspeed_reg = inb_p(REG_CSCDR); elanfreq_get_cpu_frequency()
89 if ((clockspeed_reg & 0xE0) == 0xE0) elanfreq_get_cpu_frequency()
93 if ((clockspeed_reg & 0xE0) == 0xC0) { elanfreq_get_cpu_frequency()
94 if ((clockspeed_reg & 0x01) == 0) elanfreq_get_cpu_frequency()
101 if ((clockspeed_reg & 0xE0) == 0xA0) elanfreq_get_cpu_frequency()
104 return (1<<((clockspeed_reg & 0xE0) >> 5)) * 1000; elanfreq_get_cpu_frequency()

Completed in 127 milliseconds