Home
last modified time | relevance | path

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

12

/drivers/clk/renesas/
Dr8a779f0-cpg-mssr.c197 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()
Dr8a779g0-cpg-mssr.c204 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()
Dclk-r8a7740.c59 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()
Dclk-rz.c55 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()
Dr8a7792-cpg-mssr.c196 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()
Dr8a77470-cpg-mssr.c198 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()
Dr8a774a1-cpg-mssr.c308 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()
Dr8a774b1-cpg-mssr.c304 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()
Dr8a77980-cpg-mssr.c215 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()
Dr8a7745-cpg-mssr.c215 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()
Dr8a77970-cpg-mssr.c208 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()
Dr8a77965-cpg-mssr.c333 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()
Dr8a7796-cpg-mssr.c339 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()
Dr8a774e1-cpg-mssr.c317 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()
Dr8a77995-cpg-mssr.c226 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()
Dr8a7794-cpg-mssr.c223 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()
Dr8a7743-cpg-mssr.c241 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()
Dr8a7742-cpg-mssr.c245 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()
Dr8a7795-cpg-mssr.c351 u32 cpg_mode; in r8a7795_cpg_mssr_init() local
363 error = rcar_rst_read_mode_pins(&cpg_mode); in r8a7795_cpg_mssr_init()
367 cpg_pll_config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)]; in r8a7795_cpg_mssr_init()
369 dev_err(dev, "Prohibited setting (cpg_mode=0x%x)\n", cpg_mode); in r8a7795_cpg_mssr_init()
373 return rcar_gen3_cpg_init(cpg_pll_config, CLK_EXTALR, cpg_mode); in r8a7795_cpg_mssr_init()
Dr8a779a0-cpg-mssr.c267 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()
Dr8a7790-cpg-mssr.c246 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()
Dr8a7791-cpg-mssr.c246 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()
Dr7s9210-cpg-mssr.c20 static u8 cpg_mode; variable
122 cpg_mode = 1; in r7s9210_update_clk_table()
178 if (cpg_mode) in rza2_cpg_clk_register()
Dr8a774c0-cpg-mssr.c276 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()
Dr8a77990-cpg-mssr.c290 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()

12