Home
last modified time | relevance | path

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

/drivers/clk/mmp/
Dclk-apmu.c28 struct clk_apmu *apmu = to_clk_apmu(hw); in clk_apmu_enable() local
32 if (apmu->lock) in clk_apmu_enable()
33 spin_lock_irqsave(apmu->lock, flags); in clk_apmu_enable()
35 data = readl_relaxed(apmu->base) | apmu->enable_mask; in clk_apmu_enable()
36 writel_relaxed(data, apmu->base); in clk_apmu_enable()
38 if (apmu->lock) in clk_apmu_enable()
39 spin_unlock_irqrestore(apmu->lock, flags); in clk_apmu_enable()
46 struct clk_apmu *apmu = to_clk_apmu(hw); in clk_apmu_disable() local
50 if (apmu->lock) in clk_apmu_disable()
51 spin_lock_irqsave(apmu->lock, flags); in clk_apmu_disable()
[all …]
DMakefile6 obj-y += clk-apbc.o clk-apmu.o clk-frac.o clk-mix.o clk-gate.o clk.o