Searched refs:rational_best_approximation (Results 1 – 19 of 19) sorted by relevance
/linux-6.6.21/lib/math/ |
D | rational.c | 35 void rational_best_approximation( in rational_best_approximation() function 109 EXPORT_SYMBOL(rational_best_approximation);
|
D | rational-test.c | 39 rational_best_approximation(param->num, param->den, param->max_num, param->max_den, &n, &d); in rational_test()
|
/linux-6.6.21/include/linux/ |
D | rational.h | 15 void rational_best_approximation(
|
/linux-6.6.21/drivers/clk/ |
D | clk-fractional-divider.c | 141 rational_best_approximation(rate, *parent_rate, in clk_fractional_divider_general_approximation() 176 rational_best_approximation(rate, parent_rate, in clk_fd_set_rate()
|
D | clk-cdce706.c | 197 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()
|
D | clk-si5351.c | 477 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/ |
D | x1000-cgu.c | 181 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/ |
D | 8250_lpss.c | 94 rational_best_approximation(fuart, fref, w, w, &m, &n); in byt_set_termios()
|
D | 8250_mid.c | 234 rational_best_approximation(fuart, mid->board->freq, w, w, &mul, &div); in mid8250_set_termios()
|
/linux-6.6.21/drivers/media/v4l2-core/ |
D | v4l2-dv-timings.c | 391 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/ |
D | ccu-pll.c | 215 rational_best_approximation(num, denom, nf_max, od_max, in ccu_pll_calc_factors()
|
/linux-6.6.21/sound/soc/rockchip/ |
D | rockchip_pdm.c | 222 rational_best_approximation(clk_out, clk_src, in rockchip_pdm_hw_params()
|
/linux-6.6.21/drivers/media/i2c/ |
D | ds90ub953.c | 890 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/ |
D | clk-rcg2.c | 1343 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/ |
D | dp_catalog.c | 468 rational_best_approximation(dispcc_input_rate, stream_rate_khz, in dp_catalog_ctrl_config_msa()
|
/linux-6.6.21/drivers/media/platform/amphion/ |
D | venc.c | 316 rational_best_approximation(venc->params.frame_rate.numerator, in venc_s_parm()
|
D | vpu_malone.c | 917 rational_best_approximation(info->frame_rate.numerator, in vpu_malone_unpack_seq_hdr()
|
/linux-6.6.21/drivers/tty/serial/ |
D | imx.c | 1758 rational_best_approximation(16 * div * baud, sport->port.uartclk, in imx_uart_set_termios()
|
/linux-6.6.21/drivers/gpu/drm/vc4/ |
D | vc4_hdmi.c | 2307 rational_best_approximation(hsm_clock, samplerate, in vc4_hdmi_audio_set_mai_clock()
|