/linux-6.1.9/drivers/clk/renesas/ |
D | r8a779f0-cpg-mssr.c | 197 u32 cpg_mode; in r8a779f0_cpg_mssr_init() local 200 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a779f0_cpg_mssr_init() 204 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a779f0_cpg_mssr_init() 206 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a779f0_cpg_mssr_init() 210 return rcar_gen4_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a779f0_cpg_mssr_init()
|
D | r8a779g0-cpg-mssr.c | 204 u32 cpg_mode; in r8a779g0_cpg_mssr_init() local 207 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a779g0_cpg_mssr_init() 211 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a779g0_cpg_mssr_init() 213 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a779g0_cpg_mssr_init() 217 return rcar_gen4_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a779g0_cpg_mssr_init()
|
D | clk-r8a7740.c | 59 static u32 cpg_mode __initdata; 72 switch (cpg_mode & (BIT(2) | BIT(1))) { in r8a7740_cpg_register_clock() 90 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 | 55 unsigned int cpg_mode = MD_CLK(rz_cpg_read_mode_pins()); in rz_cpg_register_clock() local 56 const char *parent_name = of_clk_get_parent_name(np, cpg_mode); in rz_cpg_register_clock() 58 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 | 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 | r8a77980-cpg-mssr.c | 215 u32 cpg_mode; in r8a77980_cpg_mssr_init() local 218 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77980_cpg_mssr_init() 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()
|
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 | r8a774b1-cpg-mssr.c | 304 u32 cpg_mode; in r8a774b1_cpg_mssr_init() local 307 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a774b1_cpg_mssr_init() 311 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774b1_cpg_mssr_init() 313 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a774b1_cpg_mssr_init() 317 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774b1_cpg_mssr_init()
|
D | r8a774a1-cpg-mssr.c | 308 u32 cpg_mode; in r8a774a1_cpg_mssr_init() local 311 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a774a1_cpg_mssr_init() 315 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774a1_cpg_mssr_init() 317 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a774a1_cpg_mssr_init() 321 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774a1_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 | r8a77995-cpg-mssr.c | 226 u32 cpg_mode; in r8a77995_cpg_mssr_init() local 229 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77995_cpg_mssr_init() 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()
|
D | r8a774e1-cpg-mssr.c | 317 u32 cpg_mode; in r8a774e1_cpg_mssr_init() local 320 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a774e1_cpg_mssr_init() 324 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774e1_cpg_mssr_init() 326 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a774e1_cpg_mssr_init() 330 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774e1_cpg_mssr_init()
|
D | r8a7796-cpg-mssr.c | 339 u32 cpg_mode; in r8a7796_cpg_mssr_init() local 342 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a7796_cpg_mssr_init() 346 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7796_cpg_mssr_init() 348 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a7796_cpg_mssr_init() 358 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a7796_cpg_mssr_init()
|
D | r8a77965-cpg-mssr.c | 333 u32 cpg_mode; in r8a77965_cpg_mssr_init() local 336 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77965_cpg_mssr_init() 340 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77965_cpg_mssr_init() 342 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a77965_cpg_mssr_init() 346 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a77965_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 | r8a779a0-cpg-mssr.c | 267 u32 cpg_mode; in r8a779a0_cpg_mssr_init() local 270 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a779a0_cpg_mssr_init() 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()
|
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 | 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 | r8a774c0-cpg-mssr.c | 276 u32 cpg_mode; in r8a774c0_cpg_mssr_init() local 279 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a774c0_cpg_mssr_init() 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()
|
D | r8a77990-cpg-mssr.c | 290 u32 cpg_mode; in r8a77990_cpg_mssr_init() local 293 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77990_cpg_mssr_init() 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()
|
D | rcar-gen2-cpg.c | 262 static u32 cpg_mode __initdata; 328 div = cpg_mode & BIT(18) ? 36 : 24; in rcar_gen2_cpg_clk_register() 356 div = (cpg_mode & (BIT(3) | BIT(2) | BIT(1))) == BIT(2) ? in rcar_gen2_cpg_clk_register() 384 cpg_mode = mode; in rcar_gen2_cpg_init()
|