Home
last modified time | relevance | path

Searched refs:apbc (Results 1 – 2 of 2) sorted by relevance

/drivers/clk/mmp/
Dclk-apbc.c37 struct clk_apbc *apbc = to_clk_apbc(hw); in clk_apbc_prepare() local
45 if (apbc->lock) in clk_apbc_prepare()
46 spin_lock_irqsave(apbc->lock, flags); in clk_apbc_prepare()
48 data = readl_relaxed(apbc->base); in clk_apbc_prepare()
49 if (apbc->flags & APBC_POWER_CTRL) in clk_apbc_prepare()
52 writel_relaxed(data, apbc->base); in clk_apbc_prepare()
54 if (apbc->lock) in clk_apbc_prepare()
55 spin_unlock_irqrestore(apbc->lock, flags); in clk_apbc_prepare()
57 udelay(apbc->delay); in clk_apbc_prepare()
59 if (apbc->lock) in clk_apbc_prepare()
[all …]
DMakefile5 obj-y += clk-apbc.o clk-apmu.o clk-frac.o clk-mix.o clk-gate.o clk.o