/kernel/linux/linux-5.10/drivers/phy/samsung/ |
D | phy-samsung-usb2.h | 19 #define KHZ 1000 macro 20 #define MHZ (KHZ * KHZ)
|
D | phy-exynos5-usbdrd.c | 149 #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()
|
D | phy-exynos4x12-usb2.c | 137 case 9600 * KHZ: in exynos4x12_rate_to_clk() 146 case 19200 * KHZ: in exynos4x12_rate_to_clk()
|
D | phy-exynos5250-usb2.c | 147 case 9600 * KHZ: in exynos5250_rate_to_clk() 156 case 19200 * KHZ: in exynos5250_rate_to_clk()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | gk20a.h | 27 #define KHZ (1000) macro 28 #define MHZ (KHZ * 1000) 146 clk->parent_rate / KHZ); in gk20a_pllg_n_lo()
|
D | gk20a.c | 113 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()
|
D | gm20b.c | 490 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()
|
/kernel/linux/linux-5.10/drivers/cpufreq/ |
D | tegra194-cpufreq.c | 21 #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()
|
/kernel/linux/linux-5.10/drivers/devfreq/ |
D | tegra30-devfreq.c | 73 #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()
|
/kernel/linux/linux-5.10/arch/arm/mach-s3c/ |
D | cpu.h | 76 #ifndef KHZ 77 #define KHZ (1000) macro
|
/kernel/linux/linux-5.10/arch/x86/kernel/ |
D | tsc.c | 38 #define KHZ 1000 macro 1468 (unsigned long)cpu_khz / KHZ, in determine_cpu_tsc_frequencies() 1469 (unsigned long)cpu_khz % KHZ); in determine_cpu_tsc_frequencies() 1473 (unsigned long)tsc_khz / KHZ, in determine_cpu_tsc_frequencies() 1474 (unsigned long)tsc_khz % KHZ); in determine_cpu_tsc_frequencies() 1481 u64 lpj = (u64)tsc_khz * KHZ; in get_loops_per_jiffy()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-qcom-geni.c | 68 #define KHZ(freq) (1000 * freq) macro 133 {KHZ(100), 7, 10, 11, 26}, 134 {KHZ(400), 2, 5, 12, 24}, 135 {KHZ(1000), 1, 3, 9, 18}, 551 gi2c->clk_freq_out = KHZ(100); in geni_i2c_probe()
|
/kernel/linux/linux-5.10/drivers/clk/sirf/ |
D | clk-common.c | 11 #define KHZ 1000 macro 12 #define MHZ (KHZ * KHZ)
|
/kernel/linux/linux-5.10/Documentation/virt/kvm/ |
D | timekeeping.rst | 68 |------>| CLOCK OUT | ---------> 66.3 KHZ DRAM
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
D | 0001_linux_arch.patch | 12222 + pwms = <&pwm1 0 1000000 >; /*1KHZ*/ 12365 + pwms = <&pwm1 0 1000000 >; /*1KHZ*/ 12483 + pwms = <&pwm1 0 1000000 >; /*1KHZ*/
|
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | drivers.patch | 1021 +#define KHZ (1000UL) 1024 +#define PLL_FREF_MIN (269 * KHZ) 1030 +#define PLL_FOUT_MIN (27500 * KHZ) 28749 + * = line_bandwidth(Byte) * clock(KHZ) / 1000 / htotal 30080 + /* KHZ, keep align with mode->clock */
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0020_linux_drivers_gpu.patch | 7833 +/* in KHZ */ 33974 +#define KHZ 1000 34218 + dotclock = clk_get_rate(fg->clk_disp) / KHZ;
|