Home
last modified time | relevance | path

Searched refs:power_reg (Results 1 – 5 of 5) sorted by relevance

/arch/mips/include/asm/mach-ar7/
Dar7.h178 void *power_reg = (void *)KSEG1ADDR(AR7_REGS_POWER); in ar7_device_on() local
179 writel(readl(power_reg) | (1 << bit), power_reg); in ar7_device_on()
185 void *power_reg = (void *)KSEG1ADDR(AR7_REGS_POWER); in ar7_device_off() local
186 writel(readl(power_reg) & ~(1 << bit), power_reg); in ar7_device_off()
/arch/mips/ar7/
Dsetup.c30 u32 *power_reg = (u32 *)ioremap(AR7_REGS_POWER, 1); in ar7_machine_power_off() local
31 u32 power_state = readl(power_reg) | (3 << 30); in ar7_machine_power_off()
33 writel(power_state, power_reg); in ar7_machine_power_off()
/arch/sparc/kernel/
Dpower.c17 static void __iomem *power_reg; variable
42 power_reg = of_ioremap(res, 0, 0x4, "power"); in power_probe()
/arch/parisc/include/asm/
Dpdc.h82 int pdc_soft_power_info(unsigned long *power_reg);
/arch/parisc/kernel/
Dfirmware.c1141 int __init pdc_soft_power_info(unsigned long *power_reg) in pdc_soft_power_info() argument
1146 *power_reg = (unsigned long) (-1); in pdc_soft_power_info()
1152 *power_reg = f_extend(pdc_result[0]); in pdc_soft_power_info()