Searched refs:HZ_PER_KHZ (Results 1 – 15 of 15) sorted by relevance
/linux/drivers/gpu/drm/tests/ |
H A D | drm_modes_test.c | 46 13500 * HZ_PER_KHZ, 720, 480, in drm_test_modes_analog_tv_ntsc_480i() 76 13500 * HZ_PER_KHZ, 720, 480, in drm_test_modes_analog_tv_ntsc_480i_inlined() 93 13500 * HZ_PER_KHZ, 720, 576, in drm_test_modes_analog_tv_pal_576i() 123 13500 * HZ_PER_KHZ, 720, 576, in drm_test_modes_analog_tv_pal_576i_inlined() 140 13500 * HZ_PER_KHZ, 720, 576, in drm_test_modes_analog_tv_mono_576i()
|
/linux/net/mac80211/ |
H A D | wbrf.c | 37 *start = *start * HZ_PER_KHZ; in get_chan_freq_boundary() 38 *end = *end * HZ_PER_KHZ; in get_chan_freq_boundary()
|
/linux/include/linux/ |
H A D | units.h | 28 #define HZ_PER_KHZ 1000UL macro
|
/linux/drivers/base/ |
H A D | arch_topology.c | 346 clk_get_rate(cpu_clk) / HZ_PER_KHZ; in topology_parse_cpu_capacity() 404 per_cpu(capacity_freq_ref, cpu) * HZ_PER_KHZ); in topology_init_cpu_capacity_cppc() 451 per_cpu(capacity_freq_ref, cpu) * HZ_PER_KHZ); in init_cpu_capacity_callback()
|
/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-ls2x.c | 62 #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/cpufreq/ |
H A D | qcom-cpufreq-hw.c | 178 return qcom_lmh_get_throttle_freq(data) / HZ_PER_KHZ; in qcom_cpufreq_hw_get() 349 throttled_freq = freq_hz / HZ_PER_KHZ; in qcom_lmh_dcvs_notify()
|
/linux/drivers/iio/light/ |
H A D | as73211.c | 516 int reg_bits, freq_kHz = val / HZ_PER_KHZ; /* 1024, 2048, ... */ in _as73211_write_raw() 519 if (val < 0 || (freq_kHz * HZ_PER_KHZ) != val || in _as73211_write_raw()
|
/linux/drivers/devfreq/ |
H A D | devfreq.c | 149 *min_freq = max(*min_freq, (unsigned long)HZ_PER_KHZ * qos_min_freq); in devfreq_get_freq_range() 152 (unsigned long)HZ_PER_KHZ * qos_max_freq); in devfreq_get_freq_range() 1604 value / HZ_PER_KHZ); in min_freq_store() 1654 value = DIV_ROUND_UP(value, HZ_PER_KHZ); in max_freq_store()
|
H A D | governor_passive.c | 103 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/media/pci/intel/ivsc/ |
H A D | mei_csi.c | 45 #define CSI_LINK_FREQ(x) ((u32)(div_u64(x, 100 * HZ_PER_KHZ)))
|
/linux/drivers/iio/adc/ |
H A D | ad7173.c | 1072 return st->info->clock / HZ_PER_KHZ; in ad7173_clk_recalc_rate()
|