Searched refs:clk_rst (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/arch/arm/mach-mmp/ |
H A D | clock.c | 21 uint32_t clk_rst; apbc_clk_enable() local 23 clk_rst = APBC_APBCLK | APBC_FNCLK | APBC_FNCLKSEL(clk->fnclksel); apbc_clk_enable() 24 __raw_writel(clk_rst, clk->clk_rst); apbc_clk_enable() 29 __raw_writel(0, clk->clk_rst); apbc_clk_disable() 39 __raw_writel(clk->enable_val, clk->clk_rst); apmu_clk_enable() 44 __raw_writel(0, clk->clk_rst); apmu_clk_disable()
|
H A D | clock-mmp2.c | 49 uint32_t clk_rst; sdhc_clk_enable() local 51 clk_rst = __raw_readl(clk->clk_rst); sdhc_clk_enable() 52 clk_rst |= clk->enable_val; sdhc_clk_enable() 53 __raw_writel(clk_rst, clk->clk_rst); sdhc_clk_enable() 58 uint32_t clk_rst; sdhc_clk_disable() local 60 clk_rst = __raw_readl(clk->clk_rst); sdhc_clk_disable() 61 clk_rst &= ~clk->enable_val; sdhc_clk_disable() 62 __raw_writel(clk_rst, clk->clk_rst); sdhc_clk_disable()
|
H A D | clock.h | 21 void __iomem *clk_rst; /* clock reset control register */ member in struct:clk 33 .clk_rst = APBC_##_reg, \ 41 .clk_rst = APBC_##_reg, \ 49 .clk_rst = APMU_##_reg, \ 57 .clk_rst = APMU_##_reg, \
|
H A D | mmp2.c | 125 unsigned long clk_rst; mmp2_timer_init() local 133 clk_rst = APBC_APBCLK | APBC_FNCLK | APBC_FNCLKSEL(1); mmp2_timer_init() 134 __raw_writel(clk_rst, APBC_TIMERS); mmp2_timer_init()
|
Completed in 258 milliseconds