Searched refs:pm_reg (Results 1 – 4 of 4) sorted by relevance
197 static int bcm2835_power_power_off(struct bcm2835_power_domain *pd, u32 pm_reg) in bcm2835_power_power_off() argument206 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() argument231 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()[all …]
73 u32 pm_reg; member178 chip->pch_gpio_reg.pm_reg = ioread32(&chip->reg->pm); in pch_gpio_save_reg_conf()196 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()
16508 u32 pm_reg; in tg3_get_invariants() local16518 &pm_reg); in tg3_get_invariants()16519 pm_reg &= ~PCI_PM_CTRL_STATE_MASK; in tg3_get_invariants()16520 pm_reg |= PCI_PM_CTRL_PME_ENABLE | 0 /* D0 */; in tg3_get_invariants()16523 pm_reg); in tg3_get_invariants()