Home
last modified time | relevance | path

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

/Linux-v4.19/arch/mips/sgi-ip22/
Dip22-reset.c55 tmp = hpc3c0->rtcregs[RTC_CMD] & 0xff; in sgi_machine_power_off()
56 hpc3c0->rtcregs[RTC_CMD] = tmp | RTC_WAM; in sgi_machine_power_off()
57 hpc3c0->rtcregs[RTC_WSEC] = 0; in sgi_machine_power_off()
58 hpc3c0->rtcregs[RTC_WHSEC] = 0; in sgi_machine_power_off()
66 tmp = hpc3c0->rtcregs[RTC_HOURS_ALARM]; in sgi_machine_power_off()
Dip22-platform.c202 res.start = HPC3_CHIP0_BASE + offsetof(struct hpc3_regs, rtcregs); in sgi_ds1286_devinit()
203 res.end = res.start + sizeof(hpc3c0->rtcregs) - 1; in sgi_ds1286_devinit()
/Linux-v4.19/drivers/rtc/
Drtc-ds1286.c25 u32 __iomem *rtcregs; member
31 return __raw_readl(&priv->rtcregs[reg]) & 0xff; in ds1286_rtc_read()
36 __raw_writel(data, &priv->rtcregs[reg]); in ds1286_rtc_write()
338 priv->rtcregs = devm_ioremap_resource(&pdev->dev, res); in ds1286_probe()
339 if (IS_ERR(priv->rtcregs)) in ds1286_probe()
340 return PTR_ERR(priv->rtcregs); in ds1286_probe()
/Linux-v4.19/arch/mips/include/asm/sgi/
Dhpc3.h302 volatile u32 rtcregs[14]; /* Dallas clock registers */ member