Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/clk/renesas/
Drcar-gen4-cpg.c26 static const struct rcar_gen4_cpg_pll_config *cpg_pll_config __initdata;
200 div = cpg_pll_config->extal_div; in rcar_gen4_cpg_clk_register()
204 mult = cpg_pll_config->pll1_mult; in rcar_gen4_cpg_clk_register()
205 div = cpg_pll_config->pll1_div; in rcar_gen4_cpg_clk_register()
209 mult = cpg_pll_config->pll2_mult; in rcar_gen4_cpg_clk_register()
210 div = cpg_pll_config->pll2_div; in rcar_gen4_cpg_clk_register()
214 mult = cpg_pll_config->pll3_mult; in rcar_gen4_cpg_clk_register()
215 div = cpg_pll_config->pll3_div; in rcar_gen4_cpg_clk_register()
219 mult = cpg_pll_config->pll4_mult; in rcar_gen4_cpg_clk_register()
220 div = cpg_pll_config->pll4_div; in rcar_gen4_cpg_clk_register()
[all …]
Drcar-gen3-cpg.c308 static const struct rcar_gen3_cpg_pll_config *cpg_pll_config __initdata;
349 div = cpg_pll_config->extal_div; in rcar_gen3_cpg_clk_register()
363 mult = cpg_pll_config->pll1_mult; in rcar_gen3_cpg_clk_register()
364 div = cpg_pll_config->pll1_div; in rcar_gen3_cpg_clk_register()
378 mult = cpg_pll_config->pll3_mult; in rcar_gen3_cpg_clk_register()
379 div = cpg_pll_config->pll3_div; in rcar_gen3_cpg_clk_register()
458 div = cpg_pll_config->osc_prediv * core->div; in rcar_gen3_cpg_clk_register()
532 cpg_pll_config = config; in rcar_gen3_cpg_init()
Drcar-gen2-cpg.c260 static const struct rcar_gen2_cpg_pll_config *cpg_pll_config __initdata;
296 div = cpg_pll_config->extal_div; in rcar_gen2_cpg_clk_register()
306 mult = cpg_pll_config->pll0_mult; in rcar_gen2_cpg_clk_register()
317 mult = cpg_pll_config->pll1_mult / 2; in rcar_gen2_cpg_clk_register()
321 mult = cpg_pll_config->pll3_mult; in rcar_gen2_cpg_clk_register()
382 cpg_pll_config = config; in rcar_gen2_cpg_init()
Dr8a779f0-cpg-mssr.c196 const struct rcar_gen4_cpg_pll_config *cpg_pll_config; in r8a779f0_cpg_mssr_init() local
204 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a779f0_cpg_mssr_init()
205 if (!cpg_pll_config->extal_div) { in r8a779f0_cpg_mssr_init()
210 return rcar_gen4_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a779f0_cpg_mssr_init()
Dr8a779g0-cpg-mssr.c203 const struct rcar_gen4_cpg_pll_config *cpg_pll_config; in r8a779g0_cpg_mssr_init() local
211 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a779g0_cpg_mssr_init()
212 if (!cpg_pll_config->extal_div) { in r8a779g0_cpg_mssr_init()
217 return rcar_gen4_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a779g0_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()
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()
Dr8a774b1-cpg-mssr.c303 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a774b1_cpg_mssr_init() local
311 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774b1_cpg_mssr_init()
312 if (!cpg_pll_config->extal_div) { in r8a774b1_cpg_mssr_init()
317 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774b1_cpg_mssr_init()
Dr8a774a1-cpg-mssr.c307 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a774a1_cpg_mssr_init() local
315 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774a1_cpg_mssr_init()
316 if (!cpg_pll_config->extal_div) { in r8a774a1_cpg_mssr_init()
321 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774a1_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()
Dr8a77980-cpg-mssr.c214 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a77980_cpg_mssr_init() local
222 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77980_cpg_mssr_init()
224 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()
Dr8a774e1-cpg-mssr.c316 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a774e1_cpg_mssr_init() local
324 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774e1_cpg_mssr_init()
325 if (!cpg_pll_config->extal_div) { in r8a774e1_cpg_mssr_init()
330 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774e1_cpg_mssr_init()
Dr8a7796-cpg-mssr.c338 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a7796_cpg_mssr_init() local
346 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7796_cpg_mssr_init()
347 if (!cpg_pll_config->extal_div) { in r8a7796_cpg_mssr_init()
358 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a7796_cpg_mssr_init()
Dr8a77965-cpg-mssr.c332 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a77965_cpg_mssr_init() local
340 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77965_cpg_mssr_init()
341 if (!cpg_pll_config->extal_div) { in r8a77965_cpg_mssr_init()
346 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a77965_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()
Dr8a77995-cpg-mssr.c225 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a77995_cpg_mssr_init() local
233 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77995_cpg_mssr_init()
235 return rcar_gen3_cpg_init(cpg_pll_config, 0, cpg_mode); in r8a77995_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()
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()
Dr8a779a0-cpg-mssr.c266 const struct rcar_gen4_cpg_pll_config *cpg_pll_config; in r8a779a0_cpg_mssr_init() local
274 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a779a0_cpg_mssr_init()
276 return rcar_gen4_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a779a0_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()
Dr8a774c0-cpg-mssr.c275 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a774c0_cpg_mssr_init() local
283 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774c0_cpg_mssr_init()
285 return rcar_gen3_cpg_init(cpg_pll_config, 0, cpg_mode); in r8a774c0_cpg_mssr_init()
Dr8a7795-cpg-mssr.c446 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a7795_cpg_mssr_init() local
454 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7795_cpg_mssr_init()
455 if (!cpg_pll_config->extal_div) { in r8a7795_cpg_mssr_init()
479 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a7795_cpg_mssr_init()
Dr8a77990-cpg-mssr.c289 const struct rcar_gen3_cpg_pll_config *cpg_pll_config; in r8a77990_cpg_mssr_init() local
297 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77990_cpg_mssr_init()
299 return rcar_gen3_cpg_init(cpg_pll_config, 0, cpg_mode); in r8a77990_cpg_mssr_init()