Home
last modified time | relevance | path

Searched refs:rtcregs (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/arch/mips/sgi-ip22/
Dip22-reset.c56 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()
Dip22-platform.c201 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()
/linux-2.6.39/drivers/rtc/
Drtc-ds1286.c27 u32 __iomem *rtcregs; member
35 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()
/linux-2.6.39/arch/mips/include/asm/sgi/
Dhpc3.h302 volatile u32 rtcregs[14]; /* Dallas clock registers */ member