Searched refs:cpg_mode (Results 1 - 4 of 4) sorted by relevance

/drivers/clk/shmobile/
H A Dclk-rz.c39 /* FIXME: cpg_mode should be read from GPIO. But no GPIO support yet */
40 unsigned cpg_mode = 0; /* hardcoded to EXTAL for now */ local
41 const char *parent_name = of_clk_get_parent_name(np, cpg_mode);
43 mult = cpg_mode ? (32 / 4) : 30;
H A Dclk-r8a7779.c91 static u32 cpg_mode __initdata;
151 config = &cpg_clk_configs[CPG_CLK_CONFIG_INDEX(cpg_mode)];
152 plla_mult = cpg_plla_mult[CPG_PLLA_MULT_INDEX(cpg_mode)];
177 cpg_mode = mode;
H A Dclk-r8a7740.c62 static u32 cpg_mode __initdata;
75 switch (cpg_mode & (BIT(2) | BIT(1))) {
93 if (cpg_mode & BIT(1))
154 if (of_property_read_u32(np, "renesas,mode", &cpg_mode))
H A Dclk-rcar-gen2.c214 static u32 cpg_mode __initdata;
247 div = cpg_mode & BIT(18) ? 36 : 24;
250 div = (cpg_mode & (BIT(3) | BIT(2) | BIT(1))) == BIT(2)
312 config = &cpg_pll_configs[CPG_PLL_CONFIG_INDEX(cpg_mode)];
336 cpg_mode = mode;

Completed in 78 milliseconds