Searched refs:power_reg (Results 1 – 5 of 5) sorted by relevance
191 void *power_reg = (void *)KSEG1ADDR(AR7_REGS_POWER); in ar7_device_on() local192 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() local199 writel(readl(power_reg) & ~(1 << bit), power_reg); in ar7_device_off()
43 u32 *power_reg = (u32 *)ioremap(AR7_REGS_POWER, 1); in ar7_machine_power_off() local44 u32 power_state = readl(power_reg) | (3 << 30); in ar7_machine_power_off()46 writel(power_state, power_reg); in ar7_machine_power_off()
16 static void __iomem *power_reg; variable41 power_reg = of_ioremap(res, 0, 0x4, "power"); in power_probe()
313 int pdc_soft_power_info(unsigned long *power_reg);
1036 int __init pdc_soft_power_info(unsigned long *power_reg) in pdc_soft_power_info() argument1041 *power_reg = (unsigned long) (-1); in pdc_soft_power_info()1047 *power_reg = f_extend(pdc_result[0]); in pdc_soft_power_info()