Lines Matching +full:1 +full:khz
21 #define KHZ 1000 macro
25 #define CPUFREQ_TBL_STEP_HZ (50 * KHZ * KHZ)
63 *((uint32_t *)cluster) = MPIDR_AFFINITY_LEVEL(mpidr, 1); in get_cpu_cluster()
87 return nltbl->ref_clk_hz / KHZ * ndiv / (nltbl->pdiv * nltbl->mdiv); in map_ndiv_to_freq()
130 * - Return Kcycles/second, freq in KHz
137 * in KHz = (delta cycles * 408 * 10^3) / delta ref_clk_counter
140 * Returns freq in KHz on success, 0 if cpu is offline
180 return (rate_mhz * KHZ); /* in KHz */ in tegra194_get_speed_common()
203 for (cpu = (cl * 2); cpu < ((cl + 1) * 2); cpu++) in tegra194_cpufreq_init()
290 num_freqs = 1; in init_freq_table()
292 /* We store both ndiv_min and ndiv_max hence the +1 */ in init_freq_table()
293 num_freqs = delta_ndiv / freq_table_step_size + 1; in init_freq_table()
296 num_freqs += (delta_ndiv % freq_table_step_size) ? 1 : 0; in init_freq_table()
298 freq_table = devm_kcalloc(&pdev->dev, num_freqs + 1, in init_freq_table()
339 read_counters_wq = alloc_workqueue("read_counters_wq", __WQ_LEGACY, 1); in tegra194_cpufreq_probe()