Searched refs:power_reg (Results 1 – 5 of 5) sorted by relevance
178 void *power_reg = (void *)KSEG1ADDR(AR7_REGS_POWER); in ar7_device_on() local179 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() local186 writel(readl(power_reg) & ~(1 << bit), power_reg); in ar7_device_off()
30 u32 *power_reg = (u32 *)ioremap(AR7_REGS_POWER, 1); in ar7_machine_power_off() local31 u32 power_state = readl(power_reg) | (3 << 30); in ar7_machine_power_off()33 writel(power_state, power_reg); in ar7_machine_power_off()
17 static void __iomem *power_reg; variable42 power_reg = of_ioremap(res, 0, 0x4, "power"); in power_probe()
82 int pdc_soft_power_info(unsigned long *power_reg);
1141 int __init pdc_soft_power_info(unsigned long *power_reg) in pdc_soft_power_info() argument1146 *power_reg = (unsigned long) (-1); in pdc_soft_power_info()1152 *power_reg = f_extend(pdc_result[0]); in pdc_soft_power_info()