/openbmc/linux/lib/math/ |
H A D | rational.c | 35 void rational_best_approximation( in rational_best_approximation() function 109 EXPORT_SYMBOL(rational_best_approximation);
|
H A D | rational-test.c | 39 rational_best_approximation(param->num, param->den, param->max_num, param->max_den, &n, &d); in rational_test()
|
/openbmc/linux/include/linux/ |
H A D | rational.h | 15 void rational_best_approximation(
|
/openbmc/linux/drivers/clk/ |
H A 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()
|
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/clk/ingenic/ |
H A D | x1000-cgu.c | 181 rational_best_approximation(rate, parent_rate, m_max, n_max, &m, &n); in x1000_i2spll_calc_m_n_od()
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_mid.c | 234 rational_best_approximation(fuart, mid->board->freq, w, w, &mul, &div); in mid8250_set_termios()
|
H A D | 8250_lpss.c | 94 rational_best_approximation(fuart, fref, w, w, &m, &n); in byt_set_termios()
|
/openbmc/linux/drivers/media/v4l2-core/ |
H A 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()
|
/openbmc/linux/drivers/clk/baikal-t1/ |
H A D | ccu-pll.c | 215 rational_best_approximation(num, denom, nf_max, od_max, in ccu_pll_calc_factors()
|
/openbmc/linux/sound/soc/rockchip/ |
H A D | rockchip_pdm.c | 222 rational_best_approximation(clk_out, clk_src, in rockchip_pdm_hw_params()
|
/openbmc/linux/drivers/media/i2c/ |
H A 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()
|
/openbmc/linux/drivers/clk/qcom/ |
H A D | clk-rcg2.c | 1375 rational_best_approximation(parent_rate, rate, in clk_rcg2_dp_set_rate() 1423 rational_best_approximation(req->best_parent_rate, req->rate, in clk_rcg2_dp_determine_rate()
|
/openbmc/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_catalog.c | 468 rational_best_approximation(dispcc_input_rate, stream_rate_khz, in dp_catalog_ctrl_config_msa()
|
/openbmc/linux/drivers/media/platform/amphion/ |
H A D | venc.c | 316 rational_best_approximation(venc->params.frame_rate.numerator, in venc_s_parm()
|
H A D | vpu_malone.c | 917 rational_best_approximation(info->frame_rate.numerator, in vpu_malone_unpack_seq_hdr()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | imx.c | 1774 rational_best_approximation(16 * div * baud, sport->port.uartclk, in imx_uart_set_termios()
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi.c | 2307 rational_best_approximation(hsm_clock, samplerate, in vc4_hdmi_audio_set_mai_clock()
|