Lines Matching refs:mcde
12 struct mcde *mcde; member
20 struct mcde *mcde = cdiv->mcde; in mcde_clk_div_enable() local
23 spin_lock(&mcde->fifo_crx1_lock); in mcde_clk_div_enable()
24 val = readl(mcde->regs + cdiv->cr); in mcde_clk_div_enable()
38 writel(val, mcde->regs + cdiv->cr); in mcde_clk_div_enable()
39 spin_unlock(&mcde->fifo_crx1_lock); in mcde_clk_div_enable()
86 struct mcde *mcde = cdiv->mcde; in mcde_clk_div_recalc_rate() local
95 if (!regulator_is_enabled(mcde->epod)) in mcde_clk_div_recalc_rate()
98 cr = readl(mcde->regs + cdiv->cr); in mcde_clk_div_recalc_rate()
139 int mcde_init_clock_divider(struct mcde *mcde) in mcde_init_clock_divider() argument
141 struct device *dev = mcde->dev; in mcde_init_clock_divider()
161 spin_lock_init(&mcde->fifo_crx1_lock); in mcde_init_clock_divider()
162 parent_name = __clk_get_name(mcde->lcd_clk); in mcde_init_clock_divider()
172 fifoa->mcde = mcde; in mcde_init_clock_divider()
180 mcde->fifoa_clk = fifoa->hw.clk; in mcde_init_clock_divider()
182 fifob->mcde = mcde; in mcde_init_clock_divider()
190 mcde->fifob_clk = fifob->hw.clk; in mcde_init_clock_divider()