Home
last modified time | relevance | path

Searched refs:pll_data (Results 1 – 5 of 5) sorted by relevance

/drivers/clk/keystone/
Dpll.c70 struct clk_pll_data *pll_data; member
79 struct clk_pll_data *pll_data = pll->pll_data; in clk_pllclk_recalc() local
87 if (pll_data->has_pllctrl) { in clk_pllclk_recalc()
88 val = readl(pll_data->pllm); in clk_pllclk_recalc()
89 mult = (val & pll_data->pllm_lower_mask); in clk_pllclk_recalc()
93 val = readl(pll_data->pll_ctl0); in clk_pllclk_recalc()
94 mult |= ((val & pll_data->pllm_upper_mask) in clk_pllclk_recalc()
95 >> pll_data->pllm_upper_shift); in clk_pllclk_recalc()
96 prediv = (val & pll_data->plld_mask); in clk_pllclk_recalc()
98 if (!pll_data->has_pllctrl) in clk_pllclk_recalc()
[all …]
/drivers/clk/st/
Dclkgen-pll.c583 struct clkgen_pll_data *pll_data, in clkgen_pll_register() argument
596 init.ops = pll_data->ops; in clkgen_pll_register()
602 pll->data = pll_data; in clkgen_pll_register()
639 struct clkgen_pll_data *pll_data, in clkgen_odf_register() argument
656 gate->reg = reg + pll_data->odf_gate[odf].offset; in clkgen_odf_register()
657 gate->bit_idx = pll_data->odf_gate[odf].shift; in clkgen_odf_register()
667 div->reg = reg + pll_data->odf[odf].offset; in clkgen_odf_register()
668 div->shift = pll_data->odf[odf].shift; in clkgen_odf_register()
669 div->width = fls(pll_data->odf[odf].mask); in clkgen_odf_register()
/drivers/clk/
Dclk-npcm7xx.c573 const struct npcm7xx_clk_pll_data *pll_data = &npcm7xx_plls[i]; in npcm7xx_clk_init() local
575 hw = npcm7xx_clk_register_pll(clk_base + pll_data->reg, in npcm7xx_clk_init()
576 pll_data->name, pll_data->parent_name, pll_data->flags); in npcm7xx_clk_init()
582 if (pll_data->onecell_idx >= 0) in npcm7xx_clk_init()
583 npcm7xx_clk_data->hws[pll_data->onecell_idx] = hw; in npcm7xx_clk_init()
Dclk-stm32f4.c1167 const struct stm32f4_pll_data *pll_data; member
1567 .pll_data = stm32f429_pll,
1577 .pll_data = stm32f469_pll,
1587 .pll_data = stm32f469_pll,
1597 .pll_data = stm32f469_pll,
1750 stm32f4_rcc_register_pll("vco_in", &data->pll_data[0], in stm32f4_rcc_init()
1754 &data->pll_data[1], &stm32f4_clk_lock); in stm32f4_rcc_init()
1757 &data->pll_data[2], &stm32f4_clk_lock); in stm32f4_rcc_init()
/drivers/clk/bcm/
Dclk-bcm2835.c1313 const struct bcm2835_pll_data *pll_data = data; in bcm2835_register_pll() local
1323 init.name = pll_data->name; in bcm2835_register_pll()
1325 init.flags = pll_data->flags | CLK_IGNORE_UNUSED; in bcm2835_register_pll()
1332 pll->data = pll_data; in bcm2835_register_pll()