Home
last modified time | relevance | path

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

/linux/drivers/clk/keystone/
H A 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 …]
/linux/drivers/clk/
H A Dclk-npcm7xx.c436 const struct npcm7xx_clk_pll_data *pll_data = &npcm7xx_plls[i]; in npcm7xx_clk_init() local
438 hw = npcm7xx_clk_register_pll(clk_base + pll_data->reg, in npcm7xx_clk_init()
439 pll_data->name, pll_data->parent_name, pll_data->flags); in npcm7xx_clk_init()
445 if (pll_data->onecell_idx >= 0) in npcm7xx_clk_init()
446 npcm7xx_clk_data->hws[pll_data->onecell_idx] = hw; in npcm7xx_clk_init()
H A Dclk-stm32f4.c1168 const struct stm32f4_pll_data *pll_data; member
1568 .pll_data = stm32f429_pll,
1578 .pll_data = stm32f469_pll,
1588 .pll_data = stm32f469_pll,
1598 .pll_data = stm32f469_pll,
1751 stm32f4_rcc_register_pll("vco_in", &data->pll_data[0], in stm32f4_rcc_init()
1755 &data->pll_data[1], &stm32f4_clk_lock); in stm32f4_rcc_init()
1758 &data->pll_data[2], &stm32f4_clk_lock); in stm32f4_rcc_init()
/linux/drivers/clk/st/
H A Dclkgen-pll.c645 struct clkgen_pll_data *pll_data, in clkgen_pll_register() argument
658 init.ops = pll_data->ops; in clkgen_pll_register()
664 pll->data = pll_data; in clkgen_pll_register()
701 struct clkgen_pll_data *pll_data, in clkgen_odf_register() argument
718 gate->reg = reg + pll_data->odf_gate[odf].offset; in clkgen_odf_register()
719 gate->bit_idx = pll_data->odf_gate[odf].shift; in clkgen_odf_register()
729 div->reg = reg + pll_data->odf[odf].offset; in clkgen_odf_register()
730 div->shift = pll_data->odf[odf].shift; in clkgen_odf_register()
731 div->width = fls(pll_data->odf[odf].mask); in clkgen_odf_register()
/linux/drivers/clk/baikal-t1/
H A Dclk-ccu-pll.c84 static struct ccu_pll_data *pll_data; variable
223 struct ccu_pll_data *data = pll_data; in ccu_pll_probe()
267 pll_data = data; in ccu_pll_init()
/linux/drivers/clk/mediatek/
H A Dclk-pllfh.c152 mtk_clk_register_pllfh(const struct mtk_pll_data *pll_data, in mtk_clk_register_pllfh() argument
169 hw = mtk_clk_register_pll_ops(&fh->clk_pll, pll_data, base, in mtk_clk_register_pllfh()
/linux/drivers/clk/bcm/
H A Dclk-bcm2835.c1341 const struct bcm2835_pll_data *pll_data = data; in bcm2835_register_pll() local
1351 init.name = pll_data->name; in bcm2835_register_pll()
1353 init.flags = pll_data->flags | CLK_IGNORE_UNUSED; in bcm2835_register_pll()
1360 pll->data = pll_data; in bcm2835_register_pll()