Searched refs:PM_READ (Results 1 – 1 of 1) sorted by relevance
109 #define PM_READ(reg) readl(power->base + (reg)) macro206 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_ISFUNC); in bcm2835_power_power_off()209 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_ISPOW); in bcm2835_power_power_off()212 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_POWUP); in bcm2835_power_power_off()231 if (PM_READ(pm_reg) & PM_POWUP) in bcm2835_power_power_on()241 (PM_READ(pm_reg) & ~PM_INRUSH_MASK) | in bcm2835_power_power_on()246 while (!(powok = !!(PM_READ(pm_reg) & PM_POWOK))) { in bcm2835_power_power_on()260 PM_WRITE(pm_reg, PM_READ(pm_reg) | PM_ISPOW); in bcm2835_power_power_on()263 PM_WRITE(pm_reg, PM_READ(pm_reg) | PM_MEMREP); in bcm2835_power_power_on()265 while (!(PM_READ(pm_reg) & PM_MRDONE)) { in bcm2835_power_power_on()[all …]