Home
last modified time | relevance | path

Searched refs:KHZ (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.10/drivers/phy/samsung/
Dphy-samsung-usb2.h19 #define KHZ 1000 macro
20 #define MHZ (KHZ * KHZ)
Dphy-exynos5-usbdrd.c149 #define KHZ 1000 macro
150 #define MHZ (KHZ * KHZ)
230 case 9600 * KHZ: in exynos5_rate_to_clk()
239 case 19200 * KHZ: in exynos5_rate_to_clk()
Dphy-exynos4x12-usb2.c137 case 9600 * KHZ: in exynos4x12_rate_to_clk()
146 case 19200 * KHZ: in exynos4x12_rate_to_clk()
Dphy-exynos5250-usb2.c147 case 9600 * KHZ: in exynos5250_rate_to_clk()
156 case 19200 * KHZ: in exynos5250_rate_to_clk()
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgk20a.h27 #define KHZ (1000) macro
28 #define MHZ (KHZ * 1000)
146 clk->parent_rate / KHZ); in gk20a_pllg_n_lo()
Dgk20a.c113 target_clk_f = rate * 2 / KHZ; in gk20a_pllg_calc_mnp()
114 ref_clk_f = clk->parent_rate / KHZ; in gk20a_pllg_calc_mnp()
195 target_clk_f / KHZ); in gk20a_pllg_calc_mnp()
205 target_freq / KHZ, pll->m, pll->n, pll->pl, in gk20a_pllg_calc_mnp()
530 clk->parent_rate / KHZ); in gk20a_clk_setup_slide()
636 clk->parent_rate / KHZ); in gk20a_clk_ctor()
Dgm20b.c490 u32 rate = gk20a_pllg_calc_rate(&clk->base, pll) / KHZ; in gm20b_dvfs_calc_safe_pll()
491 u32 parent_rate = clk->base.parent_rate / KHZ; in gm20b_dvfs_calc_safe_pll()
1049 (clk->base.parent_rate / KHZ)); in gm20b_clk_new()
/Linux-v5.10/drivers/cpufreq/
Dtegra194-cpufreq.c21 #define KHZ 1000 macro
25 #define CPUFREQ_TBL_STEP_HZ (50 * KHZ * KHZ)
87 return nltbl->ref_clk_hz / KHZ * ndiv / (nltbl->pdiv * nltbl->mdiv); in map_ndiv_to_freq()
180 return (rate_mhz * KHZ); /* in KHz */ in tegra194_get_speed_common()
/Linux-v5.10/drivers/devfreq/
Dtegra30-devfreq.c73 #define KHZ 1000 macro
75 #define KHZ_MAX (ULONG_MAX / KHZ)
229 u32 avg_band_freq = tegra->max_freq * ACTMON_DEFAULT_AVG_BAND / KHZ; in tegra_devfreq_update_avg_wmark()
387 tegra->cur_freq = data->new_rate / KHZ; in tegra_actmon_clk_notify_cb()
542 tegra->cur_freq = clk_get_rate(tegra->emc_clock) / KHZ; in tegra_actmon_resume()
629 err = clk_set_min_rate(tegra->emc_clock, rate * KHZ); in tegra_devfreq_target()
845 tegra->max_freq = rate / KHZ; in tegra_devfreq_probe()
853 for (rate = 0; rate <= tegra->max_freq * KHZ; rate++) { in tegra_devfreq_probe()
863 err = dev_pm_opp_add(&pdev->dev, rate / KHZ, 0); in tegra_devfreq_probe()
885 tegra_devfreq_profile.initial_freq /= KHZ; in tegra_devfreq_probe()
/Linux-v5.10/arch/arm/mach-s3c/
Dcpu.h76 #ifndef KHZ
77 #define KHZ (1000) macro
/Linux-v5.10/arch/x86/kernel/
Dtsc.c38 #define KHZ 1000 macro
1446 (unsigned long)cpu_khz / KHZ, in determine_cpu_tsc_frequencies()
1447 (unsigned long)cpu_khz % KHZ); in determine_cpu_tsc_frequencies()
1451 (unsigned long)tsc_khz / KHZ, in determine_cpu_tsc_frequencies()
1452 (unsigned long)tsc_khz % KHZ); in determine_cpu_tsc_frequencies()
1459 u64 lpj = (u64)tsc_khz * KHZ; in get_loops_per_jiffy()
/Linux-v5.10/drivers/i2c/busses/
Di2c-qcom-geni.c68 #define KHZ(freq) (1000 * freq) macro
130 {KHZ(100), 7, 10, 11, 26},
131 {KHZ(400), 2, 5, 12, 24},
132 {KHZ(1000), 1, 3, 9, 18},
526 gi2c->clk_freq_out = KHZ(100); in geni_i2c_probe()
/Linux-v5.10/drivers/clk/sirf/
Dclk-common.c11 #define KHZ 1000 macro
12 #define MHZ (KHZ * KHZ)
/Linux-v5.10/Documentation/virt/kvm/
Dtimekeeping.rst68 |------>| CLOCK OUT | ---------> 66.3 KHZ DRAM