Home
last modified time | relevance | path

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

/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()
/drivers/gpu/drm/radeon/
Dradeon_display.c1195 uint32_t feedback_div, current_freq = 0, error, vco_diff; in radeon_compute_pll_legacy() local
1227 current_freq = radeon_div(tmp, ref_div * post_div); in radeon_compute_pll_legacy()
1230 if (freq < current_freq) in radeon_compute_pll_legacy()
1233 error = freq - current_freq; in radeon_compute_pll_legacy()
1235 error = abs(current_freq - freq); in radeon_compute_pll_legacy()
1246 best_freq = current_freq; in radeon_compute_pll_legacy()
1249 } else if (current_freq == freq) { in radeon_compute_pll_legacy()
1255 best_freq = current_freq; in radeon_compute_pll_legacy()
1268 best_freq = current_freq; in radeon_compute_pll_legacy()
1273 if (current_freq < freq) in radeon_compute_pll_legacy()
[all …]
/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()
445 transfer->effective_speed_hz = dws->current_freq; in dw_spi_transfer_one()
630 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
/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()