Home
last modified time | relevance | path

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

/drivers/cpufreq/
Dintegrator-cpufreq.c153 unsigned int current_freq; in integrator_get() local
172 current_freq = icst_hz(&cclk_params, vco) / 1000; /* current freq */ in integrator_get()
176 return current_freq; in integrator_get()
/drivers/gpu/drm/radeon/
Dradeon_display.c1220 uint32_t feedback_div, current_freq = 0, error, vco_diff; in radeon_compute_pll_legacy() local
1252 current_freq = radeon_div(tmp, ref_div * post_div); in radeon_compute_pll_legacy()
1255 if (freq < current_freq) in radeon_compute_pll_legacy()
1258 error = freq - current_freq; in radeon_compute_pll_legacy()
1260 error = abs(current_freq - freq); in radeon_compute_pll_legacy()
1271 best_freq = current_freq; in radeon_compute_pll_legacy()
1274 } else if (current_freq == freq) { in radeon_compute_pll_legacy()
1280 best_freq = current_freq; in radeon_compute_pll_legacy()
1293 best_freq = current_freq; in radeon_compute_pll_legacy()
1298 if (current_freq < freq) in radeon_compute_pll_legacy()
[all …]
/drivers/clk/qcom/
Dclk-rcg2.c346 rcg->current_freq = rate; in clk_rcg2_shared_set_rate()
351 return clk_rcg2_shared_force_enable(hw, rcg->current_freq); in clk_rcg2_shared_set_rate()
359 return rcg->current_freq = clk_rcg2_recalc_rate(hw, parent_rate); in clk_rcg2_shared_recalc_rate()
366 return clk_rcg2_shared_force_enable(hw, rcg->current_freq); in clk_rcg2_shared_enable()
Dclk-rcg.h169 unsigned long current_freq; member
/drivers/media/pci/ttpci/
Dav7110.h117 u32 current_freq; member
Dav7110_v4l.c425 f->frequency = av7110->current_freq; in vidioc_g_frequency()
450 av7110->current_freq = f->frequency; in vidioc_s_frequency()
/drivers/gpu/drm/i915/
Dintel_display.c5475 uint32_t current_freq; in broxton_set_cdclk() local
5526 current_freq = I915_READ(CDCLK_CTL) & CDCLK_FREQ_DECIMAL_MASK; in broxton_set_cdclk()
5528 current_freq = current_freq * 500 + 1000; in broxton_set_cdclk()
5537 current_freq == 624000) { in broxton_set_cdclk()