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.h191 void *power_reg = (void *)KSEG1ADDR(AR7_REGS_POWER); in ar7_device_on() local
192 writel(readl(power_reg) | (1 << bit), power_reg); in ar7_device_on()
198 void *power_reg = (void *)KSEG1ADDR(AR7_REGS_POWER); in ar7_device_off() local
199 writel(readl(power_reg) & ~(1 << bit), power_reg); in ar7_device_off()
/arch/mips/ar7/
Dsetup.c43 u32 *power_reg = (u32 *)ioremap(AR7_REGS_POWER, 1); in ar7_machine_power_off() local
44 u32 power_state = readl(power_reg) | (3 << 30); in ar7_machine_power_off()
46 writel(power_state, power_reg); in ar7_machine_power_off()
/arch/sparc/kernel/
Dpower.c16 static void __iomem *power_reg; variable
41 power_reg = of_ioremap(res, 0, 0x4, "power"); in power_probe()
/arch/parisc/include/asm/
Dpdc.h313 int pdc_soft_power_info(unsigned long *power_reg);
/arch/parisc/kernel/
Dfirmware.c1036 int __init pdc_soft_power_info(unsigned long *power_reg) in pdc_soft_power_info() argument
1041 *power_reg = (unsigned long) (-1); in pdc_soft_power_info()
1047 *power_reg = f_extend(pdc_result[0]); in pdc_soft_power_info()