Lines Matching refs:dpll_regs
75 struct dpll_regs *const dpll_regs = (struct dpll_regs *)base; in setup_post_dividers() local
79 writel(params->m2, &dpll_regs->cm_div_m2_dpll); in setup_post_dividers()
81 writel(params->m3, &dpll_regs->cm_div_m3_dpll); in setup_post_dividers()
83 writel(params->m4_h11, &dpll_regs->cm_div_m4_h11_dpll); in setup_post_dividers()
85 writel(params->m5_h12, &dpll_regs->cm_div_m5_h12_dpll); in setup_post_dividers()
87 writel(params->m6_h13, &dpll_regs->cm_div_m6_h13_dpll); in setup_post_dividers()
89 writel(params->m7_h14, &dpll_regs->cm_div_m7_h14_dpll); in setup_post_dividers()
91 writel(params->h21, &dpll_regs->cm_div_h21_dpll); in setup_post_dividers()
93 writel(params->h22, &dpll_regs->cm_div_h22_dpll); in setup_post_dividers()
95 writel(params->h23, &dpll_regs->cm_div_h23_dpll); in setup_post_dividers()
97 writel(params->h24, &dpll_regs->cm_div_h24_dpll); in setup_post_dividers()
102 struct dpll_regs *dpll_regs = (struct dpll_regs *)base; in do_bypass_dpll() local
104 clrsetbits_le32(&dpll_regs->cm_clkmode_dpll, in do_bypass_dpll()
112 struct dpll_regs *const dpll_regs = (struct dpll_regs *)base; in wait_for_bypass() local
114 if (!wait_on_value(ST_DPLL_CLK_MASK, 0, &dpll_regs->cm_idlest_dpll, in wait_for_bypass()
122 struct dpll_regs *const dpll_regs = (struct dpll_regs *)base; in do_lock_dpll() local
124 clrsetbits_le32(&dpll_regs->cm_clkmode_dpll, in do_lock_dpll()
131 struct dpll_regs *const dpll_regs = (struct dpll_regs *)base; in wait_for_lock() local
134 &dpll_regs->cm_idlest_dpll, LDELAY)) { in wait_for_lock()
142 struct dpll_regs *const dpll_regs = (struct dpll_regs *)base; in check_for_lock() local
143 u32 lock = readl(&dpll_regs->cm_idlest_dpll) & ST_DPLL_CLK_MASK; in check_for_lock()
214 struct dpll_regs *const dpll_regs = (struct dpll_regs *)base; in do_setup_dpll() local
219 temp = readl(&dpll_regs->cm_clksel_dpll); in do_setup_dpll()
253 writel(temp, &dpll_regs->cm_clksel_dpll); in do_setup_dpll()
315 struct dpll_regs *mpu_dpll_regs; in configure_mpu_dpll()
327 (struct dpll_regs *)((*prcm)->cm_clkmode_dpll_mpu); in configure_mpu_dpll()