Searched refs:RTC_CMD_WRITE (Results 1 – 2 of 2) sorted by relevance
148 #define RTC_CMD_WRITE(r) (r << 2) macro162 #define RTC_CMD_XPRAM_WRITE (RTC_CMD_WRITE(RTC_REG_XPRAM) << 8)225 via_rtc_command(RTC_CMD_WRITE(RTC_REG_WRITE_PROTECT), &temp); in via_pram_write_byte()231 via_rtc_command(RTC_CMD_WRITE(RTC_REG_WRITE_PROTECT), &temp); in via_pram_write_byte()307 via_rtc_command(RTC_CMD_WRITE(RTC_REG_WRITE_PROTECT), &temp); in via_set_rtc_time()310 via_rtc_command(RTC_CMD_WRITE(RTC_REG_SECONDS_0), &data.cdata[3]); in via_set_rtc_time()311 via_rtc_command(RTC_CMD_WRITE(RTC_REG_SECONDS_1), &data.cdata[2]); in via_set_rtc_time()312 via_rtc_command(RTC_CMD_WRITE(RTC_REG_SECONDS_2), &data.cdata[1]); in via_set_rtc_time()313 via_rtc_command(RTC_CMD_WRITE(RTC_REG_SECONDS_3), &data.cdata[0]); in via_set_rtc_time()318 via_rtc_command(RTC_CMD_WRITE(RTC_REG_WRITE_PROTECT), &temp); in via_set_rtc_time()
19 #define RTC_CMD_WRITE 0x80 /* Write command */ macro46 *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()