Home
last modified time | relevance | path

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

/freebsd/sys/dev/qcom_clk/
H A Dqcom_clk_rcg2.c121 uint32_t hid_div) in qcom_clk_rcg2_calc_rate() argument
123 if (hid_div != 0) { in qcom_clk_rcg2_calc_rate()
125 rate = rate / (hid_div + 1); in qcom_clk_rcg2_calc_rate()
143 uint32_t hid_div) in qcom_clk_rcg2_calc_input_freq() argument
145 if (hid_div != 0) { in qcom_clk_rcg2_calc_input_freq()
147 freq = freq * (hid_div + 1); in qcom_clk_rcg2_calc_input_freq()
161 uint32_t cfg, m = 0, n = 0, hid_div = 0; in qcom_clk_rcg2_recalc() local
188 hid_div = (cfg >> QCOM_CLK_RCG2_CFG_SRC_DIV_SHIFT) & mask; in qcom_clk_rcg2_recalc()
191 *freq = qcom_clk_rcg2_calc_rate(*freq, mode, m, n, hid_div); in qcom_clk_rcg2_recalc()