Searched refs:pll_div (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/clk/x86/ |
| H A D | clk-lgm.c | 124 static const struct clk_div_table pll_div[] = { variable 196 0, PLL_DIV_WIDTH, 24, 1, 0, 0, pll_div), 198 4, PLL_DIV_WIDTH, 25, 1, 0, 0, pll_div), 200 8, PLL_DIV_WIDTH, 26, 1, 0, 0, pll_div), 202 12, PLL_DIV_WIDTH, 27, 1, 0, 0, pll_div), 205 pll_div), 207 0, PLL_DIV_WIDTH, 24, 1, 0, 0, pll_div), 211 1, 0, 0, pll_div), 214 8, PLL_DIV_WIDTH, 26, 1, 0, 0, pll_div), 218 0, PLL_DIV_WIDTH, 24, 1, 0, 0, pll_div), [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | wm8940.c | 529 static struct pll_ pll_div; 544 pll_div.pre_scale = 0; in pll_factors() 549 pll_div.pre_scale = 3; in pll_factors() 554 pll_div.pre_scale = 2; in pll_factors() 557 pll_div.pre_scale = 1; in pll_factors() 564 pll_div.n = Ndiv; in pll_factors() 579 pll_div.k = K; in pll_factors() 604 if (pll_div.k) in wm8940_set_dai_pll() 606 (pll_div.pre_scale << 4) | pll_div in wm8940_set_dai_pll() 528 static struct pll_ pll_div; global() variable [all...] |
| H A D | wm8974.c | 272 static void pll_factors(struct pll_ *pll_div, in pll_factors() argument 284 pll_div->pre_div = 1; in pll_factors() 287 pll_div->pre_div = 0; in pll_factors() 294 pll_div->n = Ndiv; in pll_factors() 309 pll_div->k = K; in pll_factors() 316 struct pll_ pll_div; in wm8974_set_dai_pll() local 330 pll_factors(&pll_div, freq_out, freq_in); in wm8974_set_dai_pll() 332 snd_soc_component_write(component, WM8974_PLLN, (pll_div.pre_div << 4) | pll_div.n); in wm8974_set_dai_pll() 333 snd_soc_component_write(component, WM8974_PLLK1, pll_div in wm8974_set_dai_pll() [all...] |
| /linux/drivers/clk/ |
| H A D | clk-stm32f4.c | 785 struct stm32f4_pll_div *pll_div = to_pll_div_clk(div); in stm32f4_pll_div_set_rate() local 787 pll_state = stm32f4_pll_is_enabled(pll_div->hw_pll); in stm32f4_pll_div_set_rate() 790 stm32f4_pll_disable(pll_div->hw_pll); in stm32f4_pll_div_set_rate() 795 stm32f4_pll_enable(pll_div->hw_pll); in stm32f4_pll_div_set_rate() 812 struct stm32f4_pll_div *pll_div; in clk_register_pll_div() local 818 pll_div = kzalloc_obj(*pll_div); in clk_register_pll_div() 819 if (!pll_div) in clk_register_pll_div() 829 pll_div->div.reg = reg; in clk_register_pll_div() 830 pll_div->div.shift = shift; in clk_register_pll_div() 831 pll_div->div.width = width; in clk_register_pll_div() [all …]
|
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | ar9002_phy.c | 308 int pll_div = 0x2c; in ar9002_hw_compute_pll_control() local 314 pll_div = 0x50; in ar9002_hw_compute_pll_control() 316 pll_div = 0x28; in ar9002_hw_compute_pll_control() 321 pll |= SM(pll_div, AR_RTC_9160_PLL_DIV); in ar9002_hw_compute_pll_control()
|