Home
last modified time | relevance | path

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

/openbmc/linux/drivers/cpufreq/
H A Dsparc-us2e-cpufreq.c85 unsigned long clock_tick, in frob_mem_refresh() argument
111 old_divisor) / clock_tick; in frob_mem_refresh()
117 unsigned long clock_tick, in us2e_transition() argument
234 unsigned long clock_tick, estar; in us2e_freq_get() local
240 return clock_tick / estar_to_divisor(estar); in us2e_freq_get()
280 table[0].frequency = clock_tick / 1; in us2e_freq_cpu_init()
282 table[1].frequency = clock_tick / 2; in us2e_freq_cpu_init()
284 table[2].frequency = clock_tick / 4; in us2e_freq_cpu_init()
286 table[2].frequency = clock_tick / 6; in us2e_freq_cpu_init()
288 table[2].frequency = clock_tick / 8; in us2e_freq_cpu_init()
[all …]
H A Dsparc-us3-cpufreq.c64 unsigned long clock_tick = sparc64_get_clock_tick(cpu) / 1000; in get_current_freq() local
69 ret = clock_tick / 1; in get_current_freq()
72 ret = clock_tick / 2; in get_current_freq()
75 ret = clock_tick / 32; in get_current_freq()
123 unsigned long clock_tick = sparc64_get_clock_tick(cpu) / 1000; in us3_freq_cpu_init() local
128 table[0].frequency = clock_tick / 1; in us3_freq_cpu_init()
130 table[1].frequency = clock_tick / 2; in us3_freq_cpu_init()
132 table[2].frequency = clock_tick / 32; in us3_freq_cpu_init()
137 policy->cur = clock_tick; in us3_freq_cpu_init()
/openbmc/linux/arch/sparc/kernel/
H A Dpcr.c96 u32 delta = local_cpu_data().clock_tick / nmi_hz; in direct_picl_value()
126 u32 delta = local_cpu_data().clock_tick / (nmi_hz << 2); in n2_picl_value()
178 u32 delta = local_cpu_data().clock_tick / (nmi_hz << 2); in n4_picl_value()
H A Dsysfs.c188 SHOW_CPUDATA_ULONG_NAME(clock_tick, clock_tick);
197 __ATTR(clock_tick, 0444, show_clock_tick, NULL),
H A Ddevices.c130 cpu_data(0).clock_tick = prom_getintdefault(cpu_node, in device_scan()
H A Dcpu.c350 cpu_data(0).clock_tick in show_cpuinfo()
398 , cpu_data(0).clock_tick in show_cpuinfo()
H A Dtime_64.c646 return cpu_data(cpu).clock_tick; in sparc64_get_clock_tick()
664 ft->clock_tick_ref = cpu_data(cpu).clock_tick; in sparc64_cpufreq_notifier()
669 cpu_data(cpu).clock_tick = in sparc64_cpufreq_notifier()
H A Dsmp_32.c64 cpu_data(id).clock_tick = prom_getintdefault(cpu_node, in smp_store_cpu_info()
H A Dprom_64.c532 cpu_data(cpuid).clock_tick = in fill_in_one_cpu()
H A Dsmp_64.c97 i, cpu_data(i).clock_tick); in smp_bogo()
H A Dmdesc.c1199 c->clock_tick = *cfreq; in fill_in_one_cpu()
/openbmc/linux/arch/sparc/include/asm/
H A Dcpudata_32.h17 unsigned long clock_tick; member
H A Dcpudata_64.h16 unsigned long clock_tick; /* %tick's per second */ member