Lines Matching refs:mnp_bits

120 struct mnp_bits {  struct
139 struct mnp_bits mnp_bits; argument
280 .mnp_bits = {8, 8, 5, 0, 8, 20},
292 .mnp_bits = {8, 8, 5, 0, 8, 20},
304 .mnp_bits = {8, 8, 5, 0, 8, 20},
315 .mnp_bits = {8, 8, 5, 0, 10, 20},
326 .mnp_bits = {8, 8, 5, 0, 10, 20},
337 .mnp_bits = {8, 8, 5, 0, 10, 20},
350 .mnp_bits = {8, 8, 5, 0, 8, 19},
366 .mnp_bits = {8, 8, 5, 0, 10, 20},
378 .mnp_bits = {8, 8, 5, 0, 8, 20},
389 .mnp_bits = {8, 8, 5, 0, 8, 20},
402 .mnp_bits = {8, 8, 5, 0, 8, 16},
414 .mnp_bits = {8, 8, 3, 0, 11, 20},
427 .mnp_bits = {8, 8, 5, 0, 8, 19},
440 .mnp_bits = {8, 8, 5, 0, 8, 16},
450 .mnp_bits = {8, 8, 5, 0, 8, 24},
463 .mnp_bits = {8, 8, 5, 0, 8, 19},
582 struct mnp_bits mnp_bits; member
685 struct mnp_bits *mnp_bits; in get_divisors() local
687 mnp_bits = &sc->mnp_bits; in get_divisors()
689 *m = get_masked(val, mnp_bits->m_shift, mnp_bits->m_width); in get_divisors()
690 *n = get_masked(val, mnp_bits->n_shift, mnp_bits->n_width); in get_divisors()
691 *p = get_masked(val, mnp_bits->p_shift, mnp_bits->p_width); in get_divisors()
698 struct mnp_bits *mnp_bits; in set_divisors() local
700 mnp_bits = &sc->mnp_bits; in set_divisors()
701 val = set_masked(val, m, mnp_bits->m_shift, mnp_bits->m_width); in set_divisors()
702 val = set_masked(val, n, mnp_bits->n_shift, mnp_bits->n_width); in set_divisors()
703 val = set_masked(val, p, mnp_bits->p_shift, mnp_bits->p_width); in set_divisors()
903 struct mnp_bits *mnp_bits; in pll_set_std() local
906 mnp_bits = &sc->mnp_bits; in pll_set_std()
907 if (m >= (1 << mnp_bits->m_width)) in pll_set_std()
909 if (n >= (1 << mnp_bits->n_width)) in pll_set_std()
911 if (pdiv_to_reg(sc, p) >= (1 << mnp_bits->p_width)) in pll_set_std()
931 reg = set_masked(reg, m, mnp_bits->m_shift, mnp_bits->m_width); in pll_set_std()
932 reg = set_masked(reg, n, mnp_bits->n_shift, mnp_bits->n_width); in pll_set_std()
933 reg = set_masked(reg, pdiv_to_reg(sc, p), mnp_bits->p_shift, in pll_set_std()
934 mnp_bits->p_width); in pll_set_std()
1032 struct mnp_bits *mnp_bits; in plld2_set_freq() local
1036 mnp_bits = &sc->mnp_bits; in plld2_set_freq()
1050 for (m = 1; m < (1 << mnp_bits->m_width); m++) { in plld2_set_freq()
1056 if (n >= (1 << mnp_bits->n_width)) in plld2_set_freq()
1114 struct mnp_bits *mnp_bits; in pllx_set_freq() local
1120 mnp_bits = &sc->mnp_bits; in pllx_set_freq()
1136 if (m >= (1 << mnp_bits->m_width)) in pllx_set_freq()
1138 if (n >= (1 << mnp_bits->n_width)) in pllx_set_freq()
1140 if (pdiv_to_reg(sc, p) >= (1 << mnp_bits->p_width)) in pllx_set_freq()
1154 reg = set_masked(reg, pdiv_to_reg(sc, p), mnp_bits->p_shift, in pllx_set_freq()
1155 mnp_bits->p_width); in pllx_set_freq()
1191 reg = set_masked(reg, n, mnp_bits->n_shift, in pllx_set_freq()
1192 mnp_bits->n_width); in pllx_set_freq()
1209 reg = set_masked(reg, pdiv_to_reg(sc, p), mnp_bits->p_shift, in pllx_set_freq()
1210 mnp_bits->p_width); in pllx_set_freq()
1392 sc->mnp_bits = clkdef->mnp_bits; in pll_register()