Searched refs:current_freq (Results 1 – 7 of 7) sorted by relevance
1186 uint32_t feedback_div, current_freq = 0, error, vco_diff; in radeon_compute_pll_legacy() local1218 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 …]
169 unsigned long current_freq; member
404 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()
127 u32 current_freq; /* frequency in hz */ member
311 if (transfer->speed_hz != dws->current_freq) { in dw_spi_transfer_one()317 dws->current_freq = transfer->speed_hz; in dw_spi_transfer_one()
121 u32 current_freq; member
422 f->frequency = av7110->current_freq; in vidioc_g_frequency()447 av7110->current_freq = f->frequency; in vidioc_s_frequency()