/kernel/linux/linux-5.10/drivers/clk/renesas/ |
D | clk-r8a7740.c | 60 static u32 cpg_mode __initdata; 73 switch (cpg_mode & (BIT(2) | BIT(1))) { in r8a7740_cpg_register_clock() 91 if (cpg_mode & BIT(1)) in r8a7740_cpg_register_clock() 152 if (of_property_read_u32(np, "renesas,mode", &cpg_mode)) in r8a7740_cpg_clocks_init()
|
D | clk-rz.c | 59 unsigned int cpg_mode = MD_CLK(rz_cpg_read_mode_pins()); in rz_cpg_register_clock() local 60 const char *parent_name = of_clk_get_parent_name(np, cpg_mode); in rz_cpg_register_clock() 62 mult = cpg_mode ? (32 / 4) : 30; in rz_cpg_register_clock()
|
D | r8a7792-cpg-mssr.c | 196 u32 cpg_mode; in r8a7792_cpg_mssr_init() local 199 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a7792_cpg_mssr_init() 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 | r8a77470-cpg-mssr.c | 198 u32 cpg_mode; in r8a77470_cpg_mssr_init() local 201 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77470_cpg_mssr_init() 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 | r8a774b1-cpg-mssr.c | 293 u32 cpg_mode; in r8a774b1_cpg_mssr_init() local 296 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a774b1_cpg_mssr_init() 300 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774b1_cpg_mssr_init() 302 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a774b1_cpg_mssr_init() 306 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774b1_cpg_mssr_init()
|
D | r8a774a1-cpg-mssr.c | 297 u32 cpg_mode; in r8a774a1_cpg_mssr_init() local 300 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a774a1_cpg_mssr_init() 304 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774a1_cpg_mssr_init() 306 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a774a1_cpg_mssr_init() 310 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774a1_cpg_mssr_init()
|
D | r8a77980-cpg-mssr.c | 214 u32 cpg_mode; in r8a77980_cpg_mssr_init() local 217 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77980_cpg_mssr_init() 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 | r8a77970-cpg-mssr.c | 208 u32 cpg_mode; in r8a77970_cpg_mssr_init() local 211 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77970_cpg_mssr_init() 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 | r8a7745-cpg-mssr.c | 215 u32 cpg_mode; in r8a7745_cpg_mssr_init() local 218 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a7745_cpg_mssr_init() 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 | r8a77995-cpg-mssr.c | 212 u32 cpg_mode; in r8a77995_cpg_mssr_init() local 215 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77995_cpg_mssr_init() 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 | r8a774e1-cpg-mssr.c | 314 u32 cpg_mode; in r8a774e1_cpg_mssr_init() local 317 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a774e1_cpg_mssr_init() 321 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774e1_cpg_mssr_init() 323 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a774e1_cpg_mssr_init() 327 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774e1_cpg_mssr_init()
|
D | r8a77965-cpg-mssr.c | 323 u32 cpg_mode; in r8a77965_cpg_mssr_init() local 326 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77965_cpg_mssr_init() 330 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77965_cpg_mssr_init() 332 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a77965_cpg_mssr_init() 336 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a77965_cpg_mssr_init()
|
D | r8a7794-cpg-mssr.c | 223 u32 cpg_mode; in r8a7794_cpg_mssr_init() local 226 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a7794_cpg_mssr_init() 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 | r8a779a0-cpg-mssr.c | 160 static u32 cpg_mode __initdata; 201 if (cpg_mode & BIT(core->offset)) { in rcar_r8a779a0_cpg_clk_register() 254 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a779a0_cpg_mssr_init() 258 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a779a0_cpg_mssr_init()
|
D | r8a7796-cpg-mssr.c | 330 u32 cpg_mode; in r8a7796_cpg_mssr_init() local 333 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a7796_cpg_mssr_init() 337 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7796_cpg_mssr_init() 339 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a7796_cpg_mssr_init() 349 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a7796_cpg_mssr_init()
|
D | r8a7742-cpg-mssr.c | 245 u32 cpg_mode; in r8a7742_cpg_mssr_init() local 248 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a7742_cpg_mssr_init() 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 | r8a7743-cpg-mssr.c | 241 u32 cpg_mode; in r8a7743_cpg_mssr_init() local 244 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a7743_cpg_mssr_init() 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 | r7s9210-cpg-mssr.c | 20 static u8 cpg_mode; variable 122 cpg_mode = 1; in r7s9210_update_clk_table() 178 if (cpg_mode) in rza2_cpg_clk_register()
|
D | r8a774c0-cpg-mssr.c | 266 u32 cpg_mode; in r8a774c0_cpg_mssr_init() local 269 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a774c0_cpg_mssr_init() 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 | r8a7790-cpg-mssr.c | 246 u32 cpg_mode; in r8a7790_cpg_mssr_init() local 249 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a7790_cpg_mssr_init() 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 | r8a7791-cpg-mssr.c | 246 u32 cpg_mode; in r8a7791_cpg_mssr_init() local 249 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a7791_cpg_mssr_init() 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 | r8a77990-cpg-mssr.c | 273 u32 cpg_mode; in r8a77990_cpg_mssr_init() local 276 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77990_cpg_mssr_init() 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 | rcar-gen2-cpg.c | 263 static u32 cpg_mode __initdata; 329 div = cpg_mode & BIT(18) ? 36 : 24; in rcar_gen2_cpg_clk_register() 357 div = (cpg_mode & (BIT(3) | BIT(2) | BIT(1))) == BIT(2) ? in rcar_gen2_cpg_clk_register() 385 cpg_mode = mode; in rcar_gen2_cpg_init()
|
D | r8a7795-cpg-mssr.c | 437 u32 cpg_mode; in r8a7795_cpg_mssr_init() local 440 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a7795_cpg_mssr_init() 444 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7795_cpg_mssr_init() 446 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a7795_cpg_mssr_init() 469 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a7795_cpg_mssr_init()
|
D | rcar-gen3-cpg.c | 521 static u32 cpg_mode __initdata; 646 if (cpg_mode & BIT(28)) in rcar_gen3_cpg_clk_register() 655 if (cpg_mode & BIT(core->offset)) { in rcar_gen3_cpg_clk_register() 722 cpg_mode = mode; in rcar_gen3_cpg_init()
|