Searched refs:clock_tick (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/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 127 frob_mem_refresh(0, clock_tick, old_divisor, divisor); in us2e_transition() 129 frob_mem_refresh(1, clock_tick, old_divisor, divisor); in us2e_transition() 133 us2e_transition(estar, ESTAR_MODE_DIV_2, clock_tick, in us2e_transition() 135 us2e_transition(estar, new_bits, clock_tick, in us2e_transition() 138 us2e_transition(estar, ESTAR_MODE_DIV_2, clock_tick, in us2e_transition() 140 us2e_transition(estar, new_bits, clock_tick, in us2e_transition() [all …]
|
D | sparc-us3-cpufreq.c | 65 unsigned long clock_tick = sparc64_get_clock_tick(cpu) / 1000; in get_current_freq() local 70 ret = clock_tick / 1; in get_current_freq() 73 ret = clock_tick / 2; in get_current_freq() 76 ret = clock_tick / 32; in get_current_freq() 124 unsigned long clock_tick = sparc64_get_clock_tick(cpu) / 1000; in us3_freq_cpu_init() local 129 table[0].frequency = clock_tick / 1; in us3_freq_cpu_init() 131 table[1].frequency = clock_tick / 2; in us3_freq_cpu_init() 133 table[2].frequency = clock_tick / 32; in us3_freq_cpu_init() 138 policy->cur = clock_tick; in us3_freq_cpu_init()
|