Home
last modified time | relevance | path

Searched refs:rational_best_approximation (Results 1 – 19 of 19) sorted by relevance

/linux-6.6.21/lib/math/
Drational.c35 void rational_best_approximation( in rational_best_approximation() function
109 EXPORT_SYMBOL(rational_best_approximation);
Drational-test.c39 rational_best_approximation(param->num, param->den, param->max_num, param->max_den, &n, &d); in rational_test()
/linux-6.6.21/include/linux/
Drational.h15 void rational_best_approximation(
/linux-6.6.21/drivers/clk/
Dclk-fractional-divider.c141 rational_best_approximation(rate, *parent_rate, in clk_fractional_divider_general_approximation()
176 rational_best_approximation(rate, parent_rate, in clk_fd_set_rate()
Dclk-cdce706.c197 rational_best_approximation(rate, *parent_rate, in cdce706_pll_round_rate()
303 rational_best_approximation(rate, req->best_parent_rate, in cdce706_divider_determine_rate()
325 rational_best_approximation(rate * div, gp_rate, in cdce706_divider_determine_rate()
Dclk-si5351.c477 rational_best_approximation(rfrac, denom, in si5351_pll_determine_rate()
722 rational_best_approximation(rfrac, denom, in si5351_msynth_determine_rate()
/linux-6.6.21/drivers/clk/ingenic/
Dx1000-cgu.c181 rational_best_approximation(rate, parent_rate, m_max, n_max, &m, &n); in x1000_i2spll_calc_m_n_od()
/linux-6.6.21/drivers/tty/serial/8250/
D8250_lpss.c94 rational_best_approximation(fuart, fref, w, w, &m, &n); in byt_set_termios()
D8250_mid.c234 rational_best_approximation(fuart, mid->board->freq, w, w, &mul, &div); in mid8250_set_termios()
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-dv-timings.c391 rational_best_approximation(ratio.numerator, ratio.denominator, in v4l2_dv_timings_aspect_ratio()
430 rational_best_approximation(fps, 100, fps, 100, &n, &d); in v4l2_calc_timeperframe()
/linux-6.6.21/drivers/clk/baikal-t1/
Dccu-pll.c215 rational_best_approximation(num, denom, nf_max, od_max, in ccu_pll_calc_factors()
/linux-6.6.21/sound/soc/rockchip/
Drockchip_pdm.c222 rational_best_approximation(clk_out, clk_src, in rockchip_pdm_hw_params()
/linux-6.6.21/drivers/media/i2c/
Dds90ub953.c890 rational_best_approximation(target, fc_divided, (1 << 5) - 1, in ub953_calc_clkout_ub953()
914 rational_best_approximation(target, fc_divided, (1 << 5) - 1, in ub953_calc_clkout_ub971()
/linux-6.6.21/drivers/clk/qcom/
Dclk-rcg2.c1343 rational_best_approximation(parent_rate, rate, in clk_rcg2_dp_set_rate()
1391 rational_best_approximation(req->best_parent_rate, req->rate, in clk_rcg2_dp_determine_rate()
/linux-6.6.21/drivers/gpu/drm/msm/dp/
Ddp_catalog.c468 rational_best_approximation(dispcc_input_rate, stream_rate_khz, in dp_catalog_ctrl_config_msa()
/linux-6.6.21/drivers/media/platform/amphion/
Dvenc.c316 rational_best_approximation(venc->params.frame_rate.numerator, in venc_s_parm()
Dvpu_malone.c917 rational_best_approximation(info->frame_rate.numerator, in vpu_malone_unpack_seq_hdr()
/linux-6.6.21/drivers/tty/serial/
Dimx.c1758 rational_best_approximation(16 * div * baud, sport->port.uartclk, in imx_uart_set_termios()
/linux-6.6.21/drivers/gpu/drm/vc4/
Dvc4_hdmi.c2307 rational_best_approximation(hsm_clock, samplerate, in vc4_hdmi_audio_set_mai_clock()