Lines Matching +full:32 +full:khz
21 #define KHZ 1000 macro
23 #define CPUFREQ_TBL_STEP_HZ (50 * KHZ * KHZ)
95 opp = dev_pm_opp_find_freq_exact(dev, freq_khz * KHZ, true); in tegra_cpufreq_set_bw()
146 * [63:32] PLLP counter: Counts at fixed frequency (408 MHz)
225 * [63:32] Core clock counter: counts on every core clock cycle
240 return nltbl->ref_clk_hz / KHZ * ndiv / (nltbl->pdiv * nltbl->mdiv); in map_ndiv_to_freq()
281 * ref_clk_counter(32 bit counter) runs on constant clk, in tegra_read_counters()
283 * It will take = 2 ^ 32 / 408 MHz to overflow ref clk counter in tegra_read_counters()
286 * Like wise core_clk_counter(32 bit counter) runs on core clock. in tegra_read_counters()
289 * It will take = 2 ^ 32 / 2000 MHz to overflow core clk counter in tegra_read_counters()
308 * - Return Kcycles/second, freq in KHz
315 * in KHz = (delta cycles * 408 * 10^3) / delta ref_clk_counter
318 * Returns freq in KHz on success, 0 if cpu is offline
345 /* ref clock is 32 bits */ in tegra194_calculate_speed()
356 return (rate_mhz * KHZ); /* in KHz */ in tegra194_calculate_speed()
475 opp = dev_pm_opp_find_freq_exact(cpu_dev, pos->frequency * KHZ, false); in tegra_cpufreq_init_cpufreq_table()
481 ret = dev_pm_opp_enable(cpu_dev, pos->frequency * KHZ); in tegra_cpufreq_init_cpufreq_table()