Home
last modified time | relevance | path

Searched refs:HZ_PER_KHZ (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/gpu/drm/tests/
H A Ddrm_modes_test.c46 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 Dwbrf.c37 *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 Dunits.h28 #define HZ_PER_KHZ 1000UL macro
/linux/drivers/base/
H A Darch_topology.c346 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 Di2c-hisi.c397 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 Di2c-ls2x.c62 #define LS2X_I2C_FREQ_STD (33 * HZ_PER_KHZ)
/linux/drivers/powercap/
H A Ddtpm_devfreq.c109 freq = DIV_ROUND_UP(status.current_frequency, HZ_PER_KHZ); in get_pd_power_uw()
/linux/drivers/cpufreq/
H A Dqcom-cpufreq-hw.c178 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 Das73211.c516 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 Ddevfreq.c149 *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 Dgovernor_passive.c103 cpu_cur = parent_cpu_data->cur_freq * HZ_PER_KHZ; in get_target_freq_with_cpufreq()
/linux/drivers/clk/nuvoton/
H A Dclk-ma35d1-pll.c28 #define PLL_FCLKO_MIN_FREQ (85700 * HZ_PER_KHZ)
/linux/drivers/thermal/
H A Ddevfreq_cooling.c114 DIV_ROUND_UP(freq, HZ_PER_KHZ)); in devfreq_cooling_set_cur_state()
/linux/drivers/media/pci/intel/ivsc/
H A Dmei_csi.c45 #define CSI_LINK_FREQ(x) ((u32)(div_u64(x, 100 * HZ_PER_KHZ)))
/linux/drivers/iio/adc/
H A Dad7173.c1072 return st->info->clock / HZ_PER_KHZ; in ad7173_clk_recalc_rate()