/kernel/linux/linux-5.10/drivers/clk/renesas/ |
D | r8a779a0-cpg-mssr.c | 158 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()
|
D | rcar-gen2-cpg.c | 261 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()
|
D | rcar-gen3-cpg.c | 519 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()
|
D | r8a774a1-cpg-mssr.c | 296 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()
|
D | r8a774b1-cpg-mssr.c | 292 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()
|
D | r8a77470-cpg-mssr.c | 197 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()
|
D | r8a7792-cpg-mssr.c | 195 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()
|
D | r8a77965-cpg-mssr.c | 322 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()
|
D | r8a774e1-cpg-mssr.c | 313 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()
|
D | r8a77970-cpg-mssr.c | 207 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()
|
D | r8a77995-cpg-mssr.c | 211 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()
|
D | r8a77980-cpg-mssr.c | 213 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()
|
D | r8a7745-cpg-mssr.c | 214 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()
|
D | r8a7796-cpg-mssr.c | 329 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()
|
D | r8a7794-cpg-mssr.c | 222 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()
|
D | r8a7743-cpg-mssr.c | 238 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()
|
D | r8a7742-cpg-mssr.c | 244 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()
|
D | r8a774c0-cpg-mssr.c | 265 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()
|
D | r8a7791-cpg-mssr.c | 243 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()
|
D | r8a7790-cpg-mssr.c | 245 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()
|
D | r8a77990-cpg-mssr.c | 272 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()
|
D | r8a7795-cpg-mssr.c | 436 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()
|