Searched refs:pmu_r32 (Results 1 – 1 of 1) sorted by relevance
147 #define pmu_r32(x) ltq_r32(pmu_membase + (x)) macro164 pmu_w32(pmu_r32(PMU_PWDCR) & ~module, PMU_PWDCR); in ltq_pmu_enable()165 do {} while (--retry && (pmu_r32(PMU_PWDSR) & module)); in ltq_pmu_enable()179 pmu_w32(pmu_r32(PMU_PWDCR) | module, PMU_PWDCR); in ltq_pmu_disable()180 do {} while (--retry && (!(pmu_r32(PMU_PWDSR) & module))); in ltq_pmu_disable()210 (!(pmu_r32(PWDSR_XRX(clk->module)) & clk->bits))); in pmu_enable()214 pmu_w32(pmu_r32(PWDCR(clk->module)) & ~clk->bits, in pmu_enable()217 (pmu_r32(PWDSR(clk->module)) & clk->bits)); in pmu_enable()236 (pmu_r32(PWDSR_XRX(clk->module)) & clk->bits)); in pmu_disable()239 pmu_w32(pmu_r32(PWDCR(clk->module)) | clk->bits, in pmu_disable()[all …]