| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_modes_test.c | 47 13500 * HZ_PER_KHZ, 720, 480, in drm_test_modes_analog_tv_ntsc_480i() 81 13500 * HZ_PER_KHZ, 720, 480, in drm_test_modes_analog_tv_ntsc_480i_inlined() 105 13500 * HZ_PER_KHZ, 720, 576, in drm_test_modes_analog_tv_pal_576i() 139 13500 * HZ_PER_KHZ, 720, 576, in drm_test_modes_analog_tv_pal_576i_inlined() 163 13500 * HZ_PER_KHZ, 720, 576, in drm_test_modes_analog_tv_mono_576i()
|
| /linux/drivers/firmware/samsung/ |
| H A D | exynos-acpm-dvfs.c | 40 cmd[1] = rate / HZ_PER_KHZ; in acpm_dvfs_init_set_rate_cmd() 79 return xfer.rxd[1] * HZ_PER_KHZ; in acpm_dvfs_get_rate()
|
| /linux/net/mac80211/ |
| H A D | wbrf.c | 38 *start = *start * HZ_PER_KHZ; in get_chan_freq_boundary() 39 *end = *end * HZ_PER_KHZ; in get_chan_freq_boundary()
|
| /linux/drivers/iio/adc/ |
| H A D | ad7779.c | 91 #define AD7779_MAXCLK_LOWPOWER (4096 * HZ_PER_KHZ) 99 #define AD7779_SINC3_MAXFREQ (16 * HZ_PER_KHZ) 100 #define AD7779_SINC5_MAXFREQ (128 * HZ_PER_KHZ) 102 #define AD7779_DEFAULT_SAMPLING_FREQ (8 * HZ_PER_KHZ) 103 #define AD7779_DEFAULT_SAMPLING_2LINE (4 * HZ_PER_KHZ) 104 #define AD7779_DEFAULT_SAMPLING_1LINE (2 * HZ_PER_KHZ) 106 #define AD7779_SPIMODE_MAX_SAMP_FREQ (16 * HZ_PER_KHZ) 285 freq_khz = sampling_freq / HZ_PER_KHZ; in ad7779_set_sampling_frequency()
|
| H A D | ad7173.c | 1612 return st->info->clock / HZ_PER_KHZ; in ad7173_clk_recalc_rate()
|
| H A D | ad4170-4.c | 197 #define AD4170_DEFAULT_SAMP_RATE (125 * HZ_PER_KHZ)
|
| /linux/drivers/gpu/drm/imx/dc/ |
| H A D | dc-fg.c | 184 ret = clk_set_rate(fg->clk_disp, m->clock * HZ_PER_KHZ); in dc_fg_cfg_videomode() 287 rounded_rate = clk_round_rate(fg->clk_disp, clk_khz * HZ_PER_KHZ); in dc_fg_check_clock() 289 if (rounded_rate != clk_khz * HZ_PER_KHZ) in dc_fg_check_clock()
|
| /linux/drivers/cpufreq/ |
| H A D | tegra186-cpufreq.c | 85 dev_pm_opp_find_freq_exact(dev, freq_khz * HZ_PER_KHZ, true); in tegra_cpufreq_set_bw() 148 dev_pm_opp_find_freq_exact(cpu_dev, pos->frequency * HZ_PER_KHZ, false); in tegra_cpufreq_init_cpufreq_table() 152 ret = dev_pm_opp_enable(cpu_dev, pos->frequency * HZ_PER_KHZ); in tegra_cpufreq_init_cpufreq_table()
|
| H A D | qcom-cpufreq-hw.c | 174 return qcom_lmh_get_throttle_freq(data) / HZ_PER_KHZ; in __qcom_cpufreq_hw_get() 350 throttled_freq = freq_hz / HZ_PER_KHZ; in qcom_lmh_dcvs_notify() 614 return __qcom_cpufreq_hw_get(data->policy) * HZ_PER_KHZ; in qcom_cpufreq_hw_recalc_rate()
|
| H A D | scmi-cpufreq.c | 189 limit_freq_khz = limit_notify->range_max_freq / HZ_PER_KHZ; in scmi_limit_notify_cb()
|
| /linux/include/linux/ |
| H A D | units.h | 48 #define HZ_PER_KHZ 1000UL macro
|
| /linux/drivers/base/ |
| H A D | arch_topology.c | 304 clk_get_rate(cpu_clk) / HZ_PER_KHZ; in topology_parse_cpu_capacity() 362 per_cpu(capacity_freq_ref, cpu) * HZ_PER_KHZ); in topology_init_cpu_capacity_cppc() 409 per_cpu(capacity_freq_ref, cpu) * HZ_PER_KHZ); in init_cpu_capacity_callback()
|
| /linux/drivers/gpu/drm/mgag200/ |
| H A D | mgag200_g200eh5.c | 49 fo_hz = (u64)clock * HZ_PER_KHZ; in mgag200_g200eh5_pixpllc_atomic_check()
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-hisi.c | 397 total_cnt = DIV_ROUND_UP_ULL(ctlr->clk_rate_khz * HZ_PER_KHZ, ctlr->t.bus_freq_hz); in hisi_i2c_set_scl() 496 ctlr->clk_rate_khz = DIV_ROUND_UP_ULL(clk_rate_hz, HZ_PER_KHZ); in hisi_i2c_probe()
|
| H A D | i2c-designware-platdrv.c | 37 return clk_get_rate(dev->clk) / HZ_PER_KHZ; in i2c_dw_get_clk_rate_khz()
|
| H A D | i2c-ls2x.c | 64 #define LS2X_I2C_FREQ_STD (33 * HZ_PER_KHZ)
|
| /linux/drivers/powercap/ |
| H A D | dtpm_devfreq.c | 109 freq = DIV_ROUND_UP(status.current_frequency, HZ_PER_KHZ); in get_pd_power_uw()
|
| /linux/drivers/iio/light/ |
| H A D | as73211.c | 532 int reg_bits, freq_kHz = val / HZ_PER_KHZ; /* 1024, 2048, ... */ in _as73211_write_raw() 535 if (val < 0 || (freq_kHz * HZ_PER_KHZ) != val || in _as73211_write_raw()
|
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gpu_devfreq.c | 285 do_div(freq, HZ_PER_KHZ); in msm_devfreq_boost()
|
| /linux/drivers/devfreq/ |
| H A D | devfreq.c | 150 *min_freq = max(*min_freq, HZ_PER_KHZ * qos_min_freq); in devfreq_get_freq_range() 152 *max_freq = min(*max_freq, HZ_PER_KHZ * qos_max_freq); in devfreq_get_freq_range() 1589 value / HZ_PER_KHZ); in min_freq_store() 1639 value = DIV_ROUND_UP(value, HZ_PER_KHZ); in max_freq_store()
|
| H A D | governor_passive.c | 128 cpu_cur = parent_cpu_data->cur_freq * HZ_PER_KHZ; in get_target_freq_with_cpufreq()
|
| /linux/drivers/clk/nuvoton/ |
| H A D | clk-ma35d1-pll.c | 28 #define PLL_FCLKO_MIN_FREQ (85700 * HZ_PER_KHZ)
|
| /linux/drivers/thermal/ |
| H A D | devfreq_cooling.c | 114 DIV_ROUND_UP(freq, HZ_PER_KHZ)); in devfreq_cooling_set_cur_state()
|
| /linux/drivers/clk/ |
| H A D | clk-rp1.c | 1681 .max_freq = 76800 * HZ_PER_KHZ, 1707 .max_freq = 76800 * HZ_PER_KHZ, 1734 .max_freq = 76800 * HZ_PER_KHZ, 1760 .max_freq = 153600 * HZ_PER_KHZ,
|
| /linux/drivers/media/pci/intel/ivsc/ |
| H A D | mei_csi.c | 43 #define CSI_LINK_FREQ(x) ((u32)(div_u64(x, 100 * HZ_PER_KHZ)))
|