Searched refs:rtcregs (Results 1 – 4 of 4) sorted by relevance
56 tmp = hpc3c0->rtcregs[RTC_CMD] & 0xff; in sgi_machine_power_off()57 hpc3c0->rtcregs[RTC_CMD] = tmp | RTC_WAM; in sgi_machine_power_off()58 hpc3c0->rtcregs[RTC_WSEC] = 0; in sgi_machine_power_off()59 hpc3c0->rtcregs[RTC_WHSEC] = 0; in sgi_machine_power_off()67 tmp = hpc3c0->rtcregs[RTC_HOURS_ALARM]; in sgi_machine_power_off()
201 res.start = HPC3_CHIP0_BASE + offsetof(struct hpc3_regs, rtcregs); in sgi_ds1286_devinit()202 res.end = res.start + sizeof(hpc3c0->rtcregs) - 1; in sgi_ds1286_devinit()
27 u32 __iomem *rtcregs; member35 return __raw_readl(&priv->rtcregs[reg]) & 0xff; in ds1286_rtc_read()40 __raw_writel(data, &priv->rtcregs[reg]); in ds1286_rtc_write()352 priv->rtcregs = ioremap(priv->baseaddr, priv->size); in ds1286_probe()353 if (!priv->rtcregs) { in ds1286_probe()371 if (priv->rtcregs) in ds1286_probe()372 iounmap(priv->rtcregs); in ds1286_probe()384 iounmap(priv->rtcregs); in ds1286_remove()
302 volatile u32 rtcregs[14]; /* Dallas clock registers */ member