Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_display.c1189 uint32_t feedback_div, current_freq = 0, error, vco_diff; in radeon_compute_pll_legacy() local
1221 current_freq = radeon_div(tmp, ref_div * post_div); in radeon_compute_pll_legacy()
1224 if (freq < current_freq) in radeon_compute_pll_legacy()
1227 error = freq - current_freq; in radeon_compute_pll_legacy()
1229 error = abs(current_freq - freq); in radeon_compute_pll_legacy()
1240 best_freq = current_freq; in radeon_compute_pll_legacy()
1243 } else if (current_freq == freq) { in radeon_compute_pll_legacy()
1249 best_freq = current_freq; in radeon_compute_pll_legacy()
1262 best_freq = current_freq; in radeon_compute_pll_legacy()
1267 if (current_freq < freq) in radeon_compute_pll_legacy()
[all …]
/linux-6.12.1/drivers/cpufreq/
Dmediatek-cpufreq.c56 unsigned long current_freq; member
308 info->current_freq = freq_hz; in mtk_cpufreq_set_target()
332 if (info->current_freq == freq) { in mtk_cpufreq_opp_notifier()
344 if (info->current_freq == freq) { in mtk_cpufreq_opp_notifier()
499 info->current_freq = clk_get_rate(info->cpu_clk); in mtk_cpu_dvfs_info_init()
/linux-6.12.1/drivers/ptp/
Dptp_idt82p33.h66 s32 current_freq; member
Dptp_idt82p33.c595 err = _idt82p33_adjfine(channel, channel->current_freq); in idt82p33_stop_ddco()
606 s32 current_ppm = channel->current_freq; in idt82p33_start_ddco()
1032 if (scaled_ppm == channel->current_freq) in idt82p33_adjfine()
1039 channel->current_freq = scaled_ppm; in idt82p33_adjfine()
1144 channel->current_freq = 0; in idt82p33_channel_init()
/linux-6.12.1/drivers/spi/
Dspi-dw-core.c343 if (dws->current_freq != speed_hz) { in dw_spi_update_config()
345 dws->current_freq = speed_hz; in dw_spi_update_config()
439 transfer->effective_speed_hz = dws->current_freq; in dw_spi_transfer_one()
623 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.12.1/drivers/staging/media/av7110/
Dav7110.h112 u32 current_freq; member
Dav7110_v4l.c396 f->frequency = av7110->current_freq; in vidioc_g_frequency()
421 av7110->current_freq = f->frequency; in vidioc_s_frequency()
/linux-6.12.1/include/linux/soc/ti/
Dti_sci_protocol.h195 u64 *current_freq);