Home
last modified time | relevance | path

Searched refs:current_freq (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/cpufreq/
Dmediatek-cpufreq.c56 unsigned long current_freq; member
308 info->current_freq = freq_hz; in mtk_cpufreq_set_target()
334 if (info->current_freq == freq) { in mtk_cpufreq_opp_notifier()
346 if (info->current_freq == freq) { in mtk_cpufreq_opp_notifier()
500 info->current_freq = clk_get_rate(info->cpu_clk); in mtk_cpu_dvfs_info_init()
/linux-6.1.9/drivers/gpu/drm/radeon/
Dradeon_display.c1190 uint32_t feedback_div, current_freq = 0, error, vco_diff; in radeon_compute_pll_legacy() local
1222 current_freq = radeon_div(tmp, ref_div * post_div); in radeon_compute_pll_legacy()
1225 if (freq < current_freq) in radeon_compute_pll_legacy()
1228 error = freq - current_freq; in radeon_compute_pll_legacy()
1230 error = abs(current_freq - freq); in radeon_compute_pll_legacy()
1241 best_freq = current_freq; in radeon_compute_pll_legacy()
1244 } else if (current_freq == freq) { in radeon_compute_pll_legacy()
1250 best_freq = current_freq; in radeon_compute_pll_legacy()
1263 best_freq = current_freq; in radeon_compute_pll_legacy()
1268 if (current_freq < freq) in radeon_compute_pll_legacy()
[all …]
/linux-6.1.9/drivers/spi/
Dspi-dw-core.c346 if (dws->current_freq != speed_hz) { in dw_spi_update_config()
348 dws->current_freq = speed_hz; in dw_spi_update_config()
442 transfer->effective_speed_hz = dws->current_freq; in dw_spi_transfer_one()
627 ns = NSEC_PER_SEC / dws->current_freq * nents; in dw_spi_wait_mem_op_done()
Dspi-dw.h180 u32 current_freq; /* frequency in hz */ member
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/
Dav7110.h109 u32 current_freq; member
Dav7110_v4l.c411 f->frequency = av7110->current_freq; in vidioc_g_frequency()
436 av7110->current_freq = f->frequency; in vidioc_s_frequency()
/linux-6.1.9/include/linux/soc/ti/
Dti_sci_protocol.h195 u64 *current_freq);