D | clk-sh73a0.c | 75 sh73a0_cpg_register_clock(struct device_node *np, struct sh73a0_cpg *cpg, in sh73a0_cpg_register_clock() argument 86 u32 parent_idx = (readl(cpg->reg + CPG_CKSCR) >> 28) & 3; in sh73a0_cpg_register_clock() 91 void __iomem *enable_reg = cpg->reg; in sh73a0_cpg_register_clock() 111 if (readl(cpg->reg + CPG_PLLECR) & BIT(enable_bit)) { in sh73a0_cpg_register_clock() 120 void __iomem *dsi_reg = cpg->reg + in sh73a0_cpg_register_clock() 157 cpg->reg + reg, shift, width, 0, in sh73a0_cpg_register_clock() 158 table, &cpg->lock); in sh73a0_cpg_register_clock() 164 struct sh73a0_cpg *cpg; in sh73a0_cpg_clocks_init() local 175 cpg = kzalloc(sizeof(*cpg), GFP_KERNEL); in sh73a0_cpg_clocks_init() 177 if (cpg == NULL || clks == NULL) { in sh73a0_cpg_clocks_init() [all …]
|