Home
last modified time | relevance | path

Searched refs:cpg_pll_config (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/linux-5.10/drivers/clk/renesas/
Dr8a779a0-cpg-mssr.c158 static const struct rcar_r8a779a0_cpg_pll_config *cpg_pll_config __initdata;
178 div = cpg_pll_config->extal_div; in rcar_r8a779a0_cpg_clk_register()
182 mult = cpg_pll_config->pll1_mult; in rcar_r8a779a0_cpg_clk_register()
183 div = cpg_pll_config->pll1_div; in rcar_r8a779a0_cpg_clk_register()
192 mult = cpg_pll_config->pll5_mult; in rcar_r8a779a0_cpg_clk_register()
193 div = cpg_pll_config->pll5_div; in rcar_r8a779a0_cpg_clk_register()
216 div = cpg_pll_config->osc_prediv * core->div; in rcar_r8a779a0_cpg_clk_register()
258 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a779a0_cpg_mssr_init()
Drcar-gen2-cpg.c261 static const struct rcar_gen2_cpg_pll_config *cpg_pll_config __initdata;
297 div = cpg_pll_config->extal_div; in rcar_gen2_cpg_clk_register()
307 mult = cpg_pll_config->pll0_mult; in rcar_gen2_cpg_clk_register()
318 mult = cpg_pll_config->pll1_mult / 2; in rcar_gen2_cpg_clk_register()
322 mult = cpg_pll_config->pll3_mult; in rcar_gen2_cpg_clk_register()
383 cpg_pll_config = config; in rcar_gen2_cpg_init()
Drcar-gen3-cpg.c519 static const struct rcar_gen3_cpg_pll_config *cpg_pll_config __initdata;
563 div = cpg_pll_config->extal_div; in rcar_gen3_cpg_clk_register()
580 mult = cpg_pll_config->pll1_mult; in rcar_gen3_cpg_clk_register()
581 div = cpg_pll_config->pll1_div; in rcar_gen3_cpg_clk_register()
598 mult = cpg_pll_config->pll3_mult; in rcar_gen3_cpg_clk_register()
599 div = cpg_pll_config->pll3_div; in rcar_gen3_cpg_clk_register()
674 div = cpg_pll_config->osc_prediv * core->div; in rcar_gen3_cpg_clk_register()
720 cpg_pll_config = config; in rcar_gen3_cpg_init()
Dr8a774a1-cpg-mssr.c296 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a774a1_cpg_mssr_init() local
304 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774a1_cpg_mssr_init()
305 if (!cpg_pll_config->extal_div) { in r8a774a1_cpg_mssr_init()
310 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774a1_cpg_mssr_init()
Dr8a774b1-cpg-mssr.c292 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a774b1_cpg_mssr_init() local
300 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774b1_cpg_mssr_init()
301 if (!cpg_pll_config->extal_div) { in r8a774b1_cpg_mssr_init()
306 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774b1_cpg_mssr_init()
Dr8a77470-cpg-mssr.c197 const struct rcar_gen2_cpg_pll_config *cpg_pll_config; in r8a77470_cpg_mssr_init() local
205 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77470_cpg_mssr_init()
207 return rcar_gen2_cpg_init(cpg_pll_config, 2, cpg_mode); in r8a77470_cpg_mssr_init()
Dr8a7792-cpg-mssr.c195 const struct rcar_gen2_cpg_pll_config *cpg_pll_config; in r8a7792_cpg_mssr_init() local
203 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7792_cpg_mssr_init()
205 return rcar_gen2_cpg_init(cpg_pll_config, 3, cpg_mode); in r8a7792_cpg_mssr_init()
Dr8a77965-cpg-mssr.c322 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a77965_cpg_mssr_init() local
330 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77965_cpg_mssr_init()
331 if (!cpg_pll_config->extal_div) { in r8a77965_cpg_mssr_init()
336 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a77965_cpg_mssr_init()
Dr8a774e1-cpg-mssr.c313 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a774e1_cpg_mssr_init() local
321 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774e1_cpg_mssr_init()
322 if (!cpg_pll_config->extal_div) { in r8a774e1_cpg_mssr_init()
327 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774e1_cpg_mssr_init()
Dr8a77970-cpg-mssr.c207 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a77970_cpg_mssr_init() local
217 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77970_cpg_mssr_init()
219 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a77970_cpg_mssr_init()
Dr8a77995-cpg-mssr.c211 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a77995_cpg_mssr_init() local
219 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77995_cpg_mssr_init()
221 return rcar_gen3_cpg_init(cpg_pll_config, 0, cpg_mode); in r8a77995_cpg_mssr_init()
Dr8a77980-cpg-mssr.c213 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a77980_cpg_mssr_init() local
221 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77980_cpg_mssr_init()
223 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a77980_cpg_mssr_init()
Dr8a7745-cpg-mssr.c214 const struct rcar_gen2_cpg_pll_config *cpg_pll_config; in r8a7745_cpg_mssr_init() local
222 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7745_cpg_mssr_init()
224 return rcar_gen2_cpg_init(cpg_pll_config, 3, cpg_mode); in r8a7745_cpg_mssr_init()
Dr8a7796-cpg-mssr.c329 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a7796_cpg_mssr_init() local
337 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7796_cpg_mssr_init()
338 if (!cpg_pll_config->extal_div) { in r8a7796_cpg_mssr_init()
349 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a7796_cpg_mssr_init()
Dr8a7794-cpg-mssr.c222 const struct rcar_gen2_cpg_pll_config *cpg_pll_config; in r8a7794_cpg_mssr_init() local
230 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7794_cpg_mssr_init()
232 return rcar_gen2_cpg_init(cpg_pll_config, 3, cpg_mode); in r8a7794_cpg_mssr_init()
Dr8a7743-cpg-mssr.c238 const struct rcar_gen2_cpg_pll_config *cpg_pll_config; in r8a7743_cpg_mssr_init() local
248 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7743_cpg_mssr_init()
258 return rcar_gen2_cpg_init(cpg_pll_config, 2, cpg_mode); in r8a7743_cpg_mssr_init()
Dr8a7742-cpg-mssr.c244 const struct rcar_gen2_cpg_pll_config *cpg_pll_config; in r8a7742_cpg_mssr_init() local
252 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7742_cpg_mssr_init()
254 return rcar_gen2_cpg_init(cpg_pll_config, 2, cpg_mode); in r8a7742_cpg_mssr_init()
Dr8a774c0-cpg-mssr.c265 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a774c0_cpg_mssr_init() local
273 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774c0_cpg_mssr_init()
275 return rcar_gen3_cpg_init(cpg_pll_config, 0, cpg_mode); in r8a774c0_cpg_mssr_init()
Dr8a7791-cpg-mssr.c243 const struct rcar_gen2_cpg_pll_config *cpg_pll_config; in r8a7791_cpg_mssr_init() local
253 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7791_cpg_mssr_init()
263 return rcar_gen2_cpg_init(cpg_pll_config, 2, cpg_mode); in r8a7791_cpg_mssr_init()
Dr8a7790-cpg-mssr.c245 const struct rcar_gen2_cpg_pll_config *cpg_pll_config; in r8a7790_cpg_mssr_init() local
253 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7790_cpg_mssr_init()
255 return rcar_gen2_cpg_init(cpg_pll_config, 2, cpg_mode); in r8a7790_cpg_mssr_init()
Dr8a77990-cpg-mssr.c272 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a77990_cpg_mssr_init() local
280 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77990_cpg_mssr_init()
282 return rcar_gen3_cpg_init(cpg_pll_config, 0, cpg_mode); in r8a77990_cpg_mssr_init()
Dr8a7795-cpg-mssr.c436 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a7795_cpg_mssr_init() local
444 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7795_cpg_mssr_init()
445 if (!cpg_pll_config->extal_div) { in r8a7795_cpg_mssr_init()
469 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a7795_cpg_mssr_init()