Home
last modified time | relevance | path

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

/drivers/gpu/drm/radeon/
Dradeon_display.c1186 uint32_t feedback_div, current_freq = 0, error, vco_diff; in radeon_compute_pll_legacy() local
1218 current_freq = radeon_div(tmp, ref_div * post_div); in radeon_compute_pll_legacy()
1221 if (freq < current_freq) in radeon_compute_pll_legacy()
1224 error = freq - current_freq; in radeon_compute_pll_legacy()
1226 error = abs(current_freq - freq); in radeon_compute_pll_legacy()
1237 best_freq = current_freq; in radeon_compute_pll_legacy()
1240 } else if (current_freq == freq) { in radeon_compute_pll_legacy()
1246 best_freq = current_freq; in radeon_compute_pll_legacy()
1259 best_freq = current_freq; in radeon_compute_pll_legacy()
1264 if (current_freq < freq) in radeon_compute_pll_legacy()
[all …]
/drivers/clk/qcom/
Dclk-rcg.h169 unsigned long current_freq; member
Dclk-rcg2.c404 rcg->current_freq = rate; in clk_rcg2_shared_set_rate()
409 return clk_rcg2_shared_force_enable(hw, rcg->current_freq); in clk_rcg2_shared_set_rate()
417 return rcg->current_freq = clk_rcg2_recalc_rate(hw, parent_rate); in clk_rcg2_shared_recalc_rate()
424 return clk_rcg2_shared_force_enable(hw, rcg->current_freq); in clk_rcg2_shared_enable()
/drivers/spi/
Dspi-dw.h127 u32 current_freq; /* frequency in hz */ member
Dspi-dw.c311 if (transfer->speed_hz != dws->current_freq) { in dw_spi_transfer_one()
317 dws->current_freq = transfer->speed_hz; in dw_spi_transfer_one()
/drivers/media/pci/ttpci/
Dav7110.h121 u32 current_freq; member
Dav7110_v4l.c422 f->frequency = av7110->current_freq; in vidioc_g_frequency()
447 av7110->current_freq = f->frequency; in vidioc_s_frequency()