Home
last modified time | relevance | path

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

/linux-6.1.9/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.c215 res.start = HPC3_CHIP0_BASE + offsetof(struct hpc3_regs, rtcregs); in sgi_ds1286_devinit()
216 res.end = res.start + sizeof(hpc3c0->rtcregs) - 1; in sgi_ds1286_devinit()
/linux-6.1.9/drivers/rtc/
Drtc-ds1286.c21 u32 __iomem *rtcregs; member
27 return __raw_readl(&priv->rtcregs[reg]) & 0xff; in ds1286_rtc_read()
32 __raw_writel(data, &priv->rtcregs[reg]); in ds1286_rtc_write()
332 priv->rtcregs = devm_platform_ioremap_resource(pdev, 0); in ds1286_probe()
333 if (IS_ERR(priv->rtcregs)) in ds1286_probe()
334 return PTR_ERR(priv->rtcregs); in ds1286_probe()
/linux-6.1.9/arch/mips/include/asm/sgi/
Dhpc3.h302 volatile u32 rtcregs[14]; /* Dallas clock registers */ member