• Home
  • Raw
  • Download

Lines Matching refs:pll

49 	struct clk_aic32x4 *pll = to_clk_aic32x4(hw);  in clk_aic32x4_pll_prepare()  local
51 return regmap_update_bits(pll->regmap, AIC32X4_PLLPR, in clk_aic32x4_pll_prepare()
57 struct clk_aic32x4 *pll = to_clk_aic32x4(hw); in clk_aic32x4_pll_unprepare() local
59 regmap_update_bits(pll->regmap, AIC32X4_PLLPR, in clk_aic32x4_pll_unprepare()
65 struct clk_aic32x4 *pll = to_clk_aic32x4(hw); in clk_aic32x4_pll_is_prepared() local
70 ret = regmap_read(pll->regmap, AIC32X4_PLLPR, &val); in clk_aic32x4_pll_is_prepared()
77 static int clk_aic32x4_pll_get_muldiv(struct clk_aic32x4 *pll, in clk_aic32x4_pll_get_muldiv() argument
84 ret = regmap_read(pll->regmap, AIC32X4_PLLPR, &val); in clk_aic32x4_pll_get_muldiv()
90 ret = regmap_read(pll->regmap, AIC32X4_PLLJ, &val); in clk_aic32x4_pll_get_muldiv()
95 ret = regmap_read(pll->regmap, AIC32X4_PLLDMSB, &val); in clk_aic32x4_pll_get_muldiv()
100 ret = regmap_read(pll->regmap, AIC32X4_PLLDLSB, &val); in clk_aic32x4_pll_get_muldiv()
108 static int clk_aic32x4_pll_set_muldiv(struct clk_aic32x4 *pll, in clk_aic32x4_pll_set_muldiv() argument
114 ret = regmap_update_bits(pll->regmap, AIC32X4_PLLPR, in clk_aic32x4_pll_set_muldiv()
119 ret = regmap_update_bits(pll->regmap, AIC32X4_PLLPR, in clk_aic32x4_pll_set_muldiv()
125 ret = regmap_write(pll->regmap, AIC32X4_PLLJ, settings->j); in clk_aic32x4_pll_set_muldiv()
129 ret = regmap_write(pll->regmap, AIC32X4_PLLDMSB, (settings->d >> 8)); in clk_aic32x4_pll_set_muldiv()
132 ret = regmap_write(pll->regmap, AIC32X4_PLLDLSB, (settings->d & 0xff)); in clk_aic32x4_pll_set_muldiv()
196 struct clk_aic32x4 *pll = to_clk_aic32x4(hw); in clk_aic32x4_pll_recalc_rate() local
200 ret = clk_aic32x4_pll_get_muldiv(pll, &settings); in clk_aic32x4_pll_recalc_rate()
225 struct clk_aic32x4 *pll = to_clk_aic32x4(hw); in clk_aic32x4_pll_set_rate() local
233 ret = clk_aic32x4_pll_set_muldiv(pll, &settings); in clk_aic32x4_pll_set_rate()
245 struct clk_aic32x4 *pll = to_clk_aic32x4(hw); in clk_aic32x4_pll_set_parent() local
247 return regmap_update_bits(pll->regmap, in clk_aic32x4_pll_set_parent()
255 struct clk_aic32x4 *pll = to_clk_aic32x4(hw); in clk_aic32x4_pll_get_parent() local
258 regmap_read(pll->regmap, AIC32X4_PLLPR, &val); in clk_aic32x4_pll_get_parent()