Searched refs:clock_tick (Results 1 – 2 of 2) sorted by relevance
/drivers/cpufreq/ |
D | sparc-us2e-cpufreq.c | 86 unsigned long clock_tick, in frob_mem_refresh() argument 91 refr_count = (clock_tick * MCTRL0_REFR_INTERVAL); in frob_mem_refresh() 112 old_divisor) / clock_tick; in frob_mem_refresh() 118 unsigned long clock_tick, in us2e_transition() argument 131 frob_mem_refresh(0, clock_tick, old_divisor, divisor); in us2e_transition() 133 frob_mem_refresh(1, clock_tick, old_divisor, divisor); in us2e_transition() 137 us2e_transition(estar, ESTAR_MODE_DIV_2, clock_tick, in us2e_transition() 139 us2e_transition(estar, new_bits, clock_tick, in us2e_transition() 142 us2e_transition(estar, ESTAR_MODE_DIV_2, clock_tick, in us2e_transition() 144 us2e_transition(estar, new_bits, clock_tick, in us2e_transition() [all …]
|
D | sparc-us3-cpufreq.c | 59 unsigned long clock_tick = sparc64_get_clock_tick(cpu) / 1000; in get_current_freq() local 64 ret = clock_tick / 1; in get_current_freq() 67 ret = clock_tick / 2; in get_current_freq() 70 ret = clock_tick / 32; in get_current_freq() 138 unsigned long clock_tick = sparc64_get_clock_tick(cpu) / 1000; in us3_freq_cpu_init() local 143 table[0].frequency = clock_tick / 1; in us3_freq_cpu_init() 145 table[1].frequency = clock_tick / 2; in us3_freq_cpu_init() 147 table[2].frequency = clock_tick / 32; in us3_freq_cpu_init() 152 policy->cur = clock_tick; in us3_freq_cpu_init()
|