/drivers/clk/renesas/ |
D | r8a779f0-cpg-mssr.c | 201 u32 cpg_mode; in r8a779f0_cpg_mssr_init() local 204 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a779f0_cpg_mssr_init() 208 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a779f0_cpg_mssr_init() 210 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a779f0_cpg_mssr_init() 214 return rcar_gen4_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a779f0_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 | 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 | 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 | r8a774a1-cpg-mssr.c | 311 u32 cpg_mode; in r8a774a1_cpg_mssr_init() local 314 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a774a1_cpg_mssr_init() 318 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774a1_cpg_mssr_init() 320 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a774a1_cpg_mssr_init() 324 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774a1_cpg_mssr_init()
|
D | r8a774b1-cpg-mssr.c | 307 u32 cpg_mode; in r8a774b1_cpg_mssr_init() local 310 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a774b1_cpg_mssr_init() 314 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774b1_cpg_mssr_init() 316 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a774b1_cpg_mssr_init() 320 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774b1_cpg_mssr_init()
|
D | r8a779g0-cpg-mssr.c | 269 u32 cpg_mode; in r8a779g0_cpg_mssr_init() local 272 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a779g0_cpg_mssr_init() 276 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a779g0_cpg_mssr_init() 278 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a779g0_cpg_mssr_init() 282 return rcar_gen4_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a779g0_cpg_mssr_init()
|
D | r8a77970-cpg-mssr.c | 209 u32 cpg_mode; in r8a77970_cpg_mssr_init() local 212 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77970_cpg_mssr_init() 218 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77970_cpg_mssr_init() 220 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 | r8a77965-cpg-mssr.c | 336 u32 cpg_mode; in r8a77965_cpg_mssr_init() local 339 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77965_cpg_mssr_init() 343 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77965_cpg_mssr_init() 345 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a77965_cpg_mssr_init() 349 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a77965_cpg_mssr_init()
|
D | r8a774e1-cpg-mssr.c | 319 u32 cpg_mode; in r8a774e1_cpg_mssr_init() local 322 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a774e1_cpg_mssr_init() 326 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774e1_cpg_mssr_init() 328 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a774e1_cpg_mssr_init() 332 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a774e1_cpg_mssr_init()
|
D | r8a7796-cpg-mssr.c | 342 u32 cpg_mode; in r8a7796_cpg_mssr_init() local 345 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a7796_cpg_mssr_init() 349 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7796_cpg_mssr_init() 351 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a7796_cpg_mssr_init() 361 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a7796_cpg_mssr_init()
|
D | r8a77980-cpg-mssr.c | 233 u32 cpg_mode; in r8a77980_cpg_mssr_init() local 236 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77980_cpg_mssr_init() 240 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77980_cpg_mssr_init() 242 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a77980_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 | 227 u32 cpg_mode; in r8a77995_cpg_mssr_init() local 230 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77995_cpg_mssr_init() 234 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77995_cpg_mssr_init() 236 return rcar_gen3_cpg_init(cpg_pll_config, 0, cpg_mode); in r8a77995_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 | r8a7795-cpg-mssr.c | 354 u32 cpg_mode; in r8a7795_cpg_mssr_init() local 366 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a7795_cpg_mssr_init() 370 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7795_cpg_mssr_init() 372 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a7795_cpg_mssr_init() 376 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a7795_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 | r8a779a0-cpg-mssr.c | 268 u32 cpg_mode; in r8a779a0_cpg_mssr_init() local 271 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a779a0_cpg_mssr_init() 275 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a779a0_cpg_mssr_init() 277 return rcar_gen4_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a779a0_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 | 277 u32 cpg_mode; in r8a774c0_cpg_mssr_init() local 280 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a774c0_cpg_mssr_init() 284 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a774c0_cpg_mssr_init() 286 return rcar_gen3_cpg_init(cpg_pll_config, 0, cpg_mode); in r8a774c0_cpg_mssr_init()
|
D | r8a77990-cpg-mssr.c | 291 u32 cpg_mode; in r8a77990_cpg_mssr_init() local 294 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a77990_cpg_mssr_init() 298 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a77990_cpg_mssr_init() 300 return rcar_gen3_cpg_init(cpg_pll_config, 0, cpg_mode); in r8a77990_cpg_mssr_init()
|