Home
last modified time | relevance | path

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

/freebsd/sys/dev/clk/allwinner/
H A Daw_clk_nkmp.c140 uint32_t *factor_n, uint32_t *factor_k, uint32_t *factor_m, uint32_t *factor_p) in aw_clk_nkmp_find_best() argument
148 *factor_m = 0; in aw_clk_nkmp_find_best()
160 *factor_m = m; in aw_clk_nkmp_find_best()
191 uint32_t factor_n, uint32_t factor_k, uint32_t factor_m, uint32_t factor_p) in aw_clk_nkmp_set_freq_scale() argument
209 if (m < factor_m) { in aw_clk_nkmp_set_freq_scale()
211 val |= aw_clk_factor_get_value(&sc->m, factor_m) << sc->m.shift; in aw_clk_nkmp_set_freq_scale()
223 if (m > factor_m) { in aw_clk_nkmp_set_freq_scale()
225 val |= aw_clk_factor_get_value(&sc->m, factor_m) << sc->m.shift; in aw_clk_nkmp_set_freq_scale()
H A Daw_clk_m.c135 uint32_t *factor_m) in aw_clk_m_find_best() argument
140 *factor_m = 0; in aw_clk_m_find_best()
149 *factor_m = m; in aw_clk_m_find_best()
H A Daw_clk_frac.c146 uint32_t *factor_n, uint32_t *factor_m) in aw_clk_frac_find_best() argument
151 *factor_n = *factor_m = 0; in aw_clk_frac_find_best()
170 *factor_m = m; in aw_clk_frac_find_best()
176 *factor_m = m; in aw_clk_frac_find_best()
H A Daw_clk_mipi.c114 uint32_t *factor_k, uint32_t *factor_m, uint32_t *factor_n) in aw_clk_mipi_find_best() argument
122 *factor_m = 0; in aw_clk_mipi_find_best()
132 *factor_m = m; in aw_clk_mipi_find_best()
H A Daw_clk_nm.c136 uint32_t *factor_n, uint32_t *factor_m) in aw_clk_nm_find_best() argument
141 *factor_n = *factor_m = 0; in aw_clk_nm_find_best()
155 *factor_m = m; in aw_clk_nm_find_best()