Searched refs:clockspeed_reg (Results 1 – 2 of 2) sorted by relevance
79 u8 clockspeed_reg; /* Clock Speed Register */ in elanfreq_get_cpu_frequency() local83 clockspeed_reg = inb_p(REG_CSCDR); in elanfreq_get_cpu_frequency()86 if ((clockspeed_reg & 0xE0) == 0xE0) in elanfreq_get_cpu_frequency()90 if ((clockspeed_reg & 0xE0) == 0xC0) { in elanfreq_get_cpu_frequency()91 if ((clockspeed_reg & 0x01) == 0) in elanfreq_get_cpu_frequency()98 if ((clockspeed_reg & 0xE0) == 0xA0) in elanfreq_get_cpu_frequency()101 return (1<<((clockspeed_reg & 0xE0) >> 5)) * 1000; in elanfreq_get_cpu_frequency()
39 u8 clockspeed_reg = *cpuctl; in sc520_freq_get_cpu_frequency() local41 switch (clockspeed_reg & 0x03) { in sc520_freq_get_cpu_frequency()44 clockspeed_reg); in sc520_freq_get_cpu_frequency()56 u8 clockspeed_reg; in sc520_freq_target() local60 clockspeed_reg = *cpuctl & ~0x03; in sc520_freq_target()61 *cpuctl = clockspeed_reg | sc520_freq_table[state].driver_data; in sc520_freq_target()