Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dunits.h23 #define HZ_PER_KHZ 1000UL macro
/Linux-v5.15/drivers/i2c/busses/
Di2c-hisi.c83 #define HZ_PER_KHZ 1000 macro
366 total_cnt = DIV_ROUND_UP_ULL(ctlr->clk_rate_khz * HZ_PER_KHZ, ctlr->t.bus_freq_hz); in hisi_i2c_set_scl()
464 ctlr->clk_rate_khz = DIV_ROUND_UP_ULL(clk_rate_hz, HZ_PER_KHZ); in hisi_i2c_probe()
/Linux-v5.15/drivers/cpufreq/
Dqcom-cpufreq-hw.c27 #define HZ_PER_KHZ 1000 macro
290 freq_hz = freq * HZ_PER_KHZ; in qcom_lmh_dcvs_notify()
296 throttled_freq = freq_hz / HZ_PER_KHZ; in qcom_lmh_dcvs_notify()
/Linux-v5.15/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-v5.15/drivers/devfreq/
Ddevfreq.c149 *min_freq = max(*min_freq, (unsigned long)HZ_PER_KHZ * qos_min_freq); in get_freq_range()
152 (unsigned long)HZ_PER_KHZ * qos_max_freq); in get_freq_range()
1550 value / HZ_PER_KHZ); in min_freq_store()
1600 value = DIV_ROUND_UP(value, HZ_PER_KHZ); in max_freq_store()
/Linux-v5.15/drivers/thermal/
Ddevfreq_cooling.c107 DIV_ROUND_UP(freq, HZ_PER_KHZ)); in devfreq_cooling_set_cur_state()