Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/tests/
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()
/linux-6.6.21/include/linux/
Dunits.h26 #define HZ_PER_KHZ 1000UL macro
/linux-6.6.21/drivers/powercap/
Ddtpm_devfreq.c100 freq = DIV_ROUND_UP(status.current_frequency, HZ_PER_KHZ); in get_pd_power_uw()
/linux-6.6.21/drivers/i2c/busses/
Di2c-hisi.c386 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()
Di2c-ls2x.c62 #define LS2X_I2C_FREQ_STD (33 * HZ_PER_KHZ)
/linux-6.6.21/drivers/cpufreq/
Dqcom-cpufreq-hw.c177 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/
Das73211.c446 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/
Dmsm_gpu_devfreq.c279 do_div(freq, HZ_PER_KHZ); in msm_devfreq_boost()
/linux-6.6.21/drivers/clk/nuvoton/
Dclk-ma35d1-pll.c28 #define PLL_FCLKO_MIN_FREQ (85700 * HZ_PER_KHZ)
/linux-6.6.21/drivers/devfreq/
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()
Dgovernor_passive.c103 cpu_cur = parent_cpu_data->cur_freq * HZ_PER_KHZ; in get_target_freq_with_cpufreq()
/linux-6.6.21/drivers/thermal/
Ddevfreq_cooling.c109 DIV_ROUND_UP(freq, HZ_PER_KHZ)); in devfreq_cooling_set_cur_state()
/linux-6.6.21/drivers/tty/serial/8250/
D8250_pci1xxxx.c70 #define UART_CLOCK_DEFAULT (62500 * HZ_PER_KHZ)
/linux-6.6.21/drivers/media/pci/intel/ivsc/
Dmei_csi.c43 #define CSI_LINK_FREQ(x) ((u32)(div_u64(x, 100 * HZ_PER_KHZ)))