Home
last modified time | relevance | path

Searched refs:RTC_CMD_WRITE (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/m68k/mac/
Dmisc.c147 #define RTC_CMD_WRITE(r) (r << 2) macro
161 #define RTC_CMD_XPRAM_WRITE (RTC_CMD_WRITE(RTC_REG_XPRAM) << 8)
224 via_rtc_command(RTC_CMD_WRITE(RTC_REG_WRITE_PROTECT), &temp); in via_pram_write_byte()
230 via_rtc_command(RTC_CMD_WRITE(RTC_REG_WRITE_PROTECT), &temp); in via_pram_write_byte()
306 via_rtc_command(RTC_CMD_WRITE(RTC_REG_WRITE_PROTECT), &temp); in via_set_rtc_time()
309 via_rtc_command(RTC_CMD_WRITE(RTC_REG_SECONDS_0), &data.cdata[3]); in via_set_rtc_time()
310 via_rtc_command(RTC_CMD_WRITE(RTC_REG_SECONDS_1), &data.cdata[2]); in via_set_rtc_time()
311 via_rtc_command(RTC_CMD_WRITE(RTC_REG_SECONDS_2), &data.cdata[1]); in via_set_rtc_time()
312 via_rtc_command(RTC_CMD_WRITE(RTC_REG_SECONDS_3), &data.cdata[0]); in via_set_rtc_time()
317 via_rtc_command(RTC_CMD_WRITE(RTC_REG_WRITE_PROTECT), &temp); in via_set_rtc_time()
/linux-6.1.9/drivers/rtc/
Drtc-ds1302.c19 #define RTC_CMD_WRITE 0x80 /* Write command */ macro
46 *bp++ = RTC_ADDR_CTRL << 1 | RTC_CMD_WRITE; in ds1302_rtc_set_time()
56 *bp++ = RTC_CLCK_BURST << 1 | RTC_CMD_WRITE; in ds1302_rtc_set_time()
150 *bp++ = RTC_ADDR_CTRL << 1 | RTC_CMD_WRITE; in ds1302_probe()