Searched refs:HZ_PER_KHZ (Results 1 – 14 of 14) sorted by relevance
/linux-6.6.21/drivers/gpu/drm/tests/ |
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()
|
/linux-6.6.21/include/linux/ |
D | units.h | 26 #define HZ_PER_KHZ 1000UL macro
|
/linux-6.6.21/drivers/powercap/ |
D | dtpm_devfreq.c | 100 freq = DIV_ROUND_UP(status.current_frequency, HZ_PER_KHZ); in get_pd_power_uw()
|
/linux-6.6.21/drivers/i2c/busses/ |
D | i2c-hisi.c | 386 total_cnt = DIV_ROUND_UP_ULL(ctlr->clk_rate_khz * HZ_PER_KHZ, ctlr->t.bus_freq_hz); in hisi_i2c_set_scl() 485 ctlr->clk_rate_khz = DIV_ROUND_UP_ULL(clk_rate_hz, HZ_PER_KHZ); in hisi_i2c_probe()
|
D | i2c-ls2x.c | 62 #define LS2X_I2C_FREQ_STD (33 * HZ_PER_KHZ)
|
/linux-6.6.21/drivers/cpufreq/ |
D | qcom-cpufreq-hw.c | 177 return qcom_lmh_get_throttle_freq(data) / HZ_PER_KHZ; in qcom_cpufreq_hw_get() 348 throttled_freq = freq_hz / HZ_PER_KHZ; in qcom_lmh_dcvs_notify()
|
/linux-6.6.21/drivers/iio/light/ |
D | as73211.c | 446 int reg_bits, freq_kHz = val / HZ_PER_KHZ; /* 1024, 2048, ... */ in _as73211_write_raw() 449 if (val < 0 || (freq_kHz * HZ_PER_KHZ) != val || in _as73211_write_raw()
|
/linux-6.6.21/drivers/gpu/drm/msm/ |
D | msm_gpu_devfreq.c | 279 do_div(freq, HZ_PER_KHZ); in msm_devfreq_boost()
|
/linux-6.6.21/drivers/clk/nuvoton/ |
D | clk-ma35d1-pll.c | 28 #define PLL_FCLKO_MIN_FREQ (85700 * HZ_PER_KHZ)
|
/linux-6.6.21/drivers/devfreq/ |
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()
|
D | governor_passive.c | 103 cpu_cur = parent_cpu_data->cur_freq * HZ_PER_KHZ; in get_target_freq_with_cpufreq()
|
/linux-6.6.21/drivers/thermal/ |
D | devfreq_cooling.c | 109 DIV_ROUND_UP(freq, HZ_PER_KHZ)); in devfreq_cooling_set_cur_state()
|
/linux-6.6.21/drivers/tty/serial/8250/ |
D | 8250_pci1xxxx.c | 70 #define UART_CLOCK_DEFAULT (62500 * HZ_PER_KHZ)
|
/linux-6.6.21/drivers/media/pci/intel/ivsc/ |
D | mei_csi.c | 43 #define CSI_LINK_FREQ(x) ((u32)(div_u64(x, 100 * HZ_PER_KHZ)))
|