Lines Matching refs:pll_cfg
118 const struct i2s_pll_cfg *pll_cfg = i2s_pll_get_cfg(*prate); in i2s_pll_round_rate() local
121 if (!pll_cfg) { in i2s_pll_round_rate()
126 for (i = 0; pll_cfg[i].rate != 0; i++) in i2s_pll_round_rate()
127 if (pll_cfg[i].rate == rate) in i2s_pll_round_rate()
137 const struct i2s_pll_cfg *pll_cfg = i2s_pll_get_cfg(parent_rate); in i2s_pll_set_rate() local
140 if (!pll_cfg) { in i2s_pll_set_rate()
145 for (i = 0; pll_cfg[i].rate != 0; i++) { in i2s_pll_set_rate()
146 if (pll_cfg[i].rate == rate) { in i2s_pll_set_rate()
147 i2s_pll_write(clk, PLL_IDIV_REG, pll_cfg[i].idiv); in i2s_pll_set_rate()
148 i2s_pll_write(clk, PLL_FBDIV_REG, pll_cfg[i].fbdiv); in i2s_pll_set_rate()
149 i2s_pll_write(clk, PLL_ODIV0_REG, pll_cfg[i].odiv0); in i2s_pll_set_rate()
150 i2s_pll_write(clk, PLL_ODIV1_REG, pll_cfg[i].odiv1); in i2s_pll_set_rate()