Searched refs:pm_reg (Results 1 – 4 of 4) sorted by relevance
191 static int bcm2835_power_power_off(struct bcm2835_power_domain *pd, u32 pm_reg) in bcm2835_power_power_off() argument196 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_ISFUNC); in bcm2835_power_power_off()199 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_ISPOW); in bcm2835_power_power_off()202 PM_WRITE(pm_reg, PM_READ(pm_reg) & ~PM_POWUP); in bcm2835_power_power_off()207 static int bcm2835_power_power_on(struct bcm2835_power_domain *pd, u32 pm_reg) in bcm2835_power_power_on() argument217 if (PM_READ(pm_reg) & PM_POWUP) in bcm2835_power_power_on()226 PM_WRITE(pm_reg, in bcm2835_power_power_on()227 (PM_READ(pm_reg) & ~PM_INRUSH_MASK) | in bcm2835_power_power_on()232 while (!(powok = !!(PM_READ(pm_reg) & PM_POWOK))) { in bcm2835_power_power_on()246 PM_WRITE(pm_reg, PM_READ(pm_reg) | PM_ISPOW); in bcm2835_power_power_on()[all …]
68 u32 pm_reg; member173 chip->pch_gpio_reg.pm_reg = ioread32(&chip->reg->pm); in pch_gpio_save_reg_conf()191 iowrite32(chip->pch_gpio_reg.pm_reg, &chip->reg->pm); in pch_gpio_restore_reg_conf()
59 u32 pm_reg; member168 chip->ioh_gpio_reg.pm_reg = in ioh_gpio_save_reg_conf()194 iowrite32(chip->ioh_gpio_reg.pm_reg, in ioh_gpio_restore_reg_conf()
16511 u32 pm_reg; in tg3_get_invariants() local16521 &pm_reg); in tg3_get_invariants()16522 pm_reg &= ~PCI_PM_CTRL_STATE_MASK; in tg3_get_invariants()16523 pm_reg |= PCI_PM_CTRL_PME_ENABLE | 0 /* D0 */; in tg3_get_invariants()16526 pm_reg); in tg3_get_invariants()