• Home
  • Raw
  • Download

Lines Matching refs:pm_reg

197 static int bcm2835_power_power_off(struct bcm2835_power_domain *pd, u32 pm_reg)  in bcm2835_power_power_off()  argument
206 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()
217 static int bcm2835_power_power_on(struct bcm2835_power_domain *pd, u32 pm_reg) in bcm2835_power_power_on() argument
231 if (PM_READ(pm_reg) & PM_POWUP) in bcm2835_power_power_on()
240 PM_WRITE(pm_reg, 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()
276 PM_WRITE(pm_reg, PM_READ(pm_reg) | PM_ISFUNC); in bcm2835_power_power_on()
281 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_ISPOW); in bcm2835_power_power_on()
283 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~(PM_POWUP | PM_INRUSH_MASK)); in bcm2835_power_power_on()
288 u32 pm_reg, in bcm2835_asb_power_on() argument
309 PM_WRITE(pm_reg, PM_READ(pm_reg) | reset_flags); in bcm2835_asb_power_on()
338 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~reset_flags); in bcm2835_asb_power_on()
343 u32 pm_reg, in bcm2835_asb_power_off() argument
368 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~reset_flags); in bcm2835_asb_power_off()