Lines Matching refs:pll_cfg
115 const struct i2s_pll_cfg *pll_cfg = i2s_pll_get_cfg(*prate); in i2s_pll_round_rate() local
118 if (!pll_cfg) { in i2s_pll_round_rate()
123 for (i = 0; pll_cfg[i].rate != 0; i++) in i2s_pll_round_rate()
124 if (pll_cfg[i].rate == rate) in i2s_pll_round_rate()
134 const struct i2s_pll_cfg *pll_cfg = i2s_pll_get_cfg(parent_rate); in i2s_pll_set_rate() local
137 if (!pll_cfg) { in i2s_pll_set_rate()
142 for (i = 0; pll_cfg[i].rate != 0; i++) { in i2s_pll_set_rate()
143 if (pll_cfg[i].rate == rate) { in i2s_pll_set_rate()
144 i2s_pll_write(clk, PLL_IDIV_REG, pll_cfg[i].idiv); in i2s_pll_set_rate()
145 i2s_pll_write(clk, PLL_FBDIV_REG, pll_cfg[i].fbdiv); in i2s_pll_set_rate()
146 i2s_pll_write(clk, PLL_ODIV0_REG, pll_cfg[i].odiv0); in i2s_pll_set_rate()
147 i2s_pll_write(clk, PLL_ODIV1_REG, pll_cfg[i].odiv1); in i2s_pll_set_rate()