Searched refs:RTC_CMD_READ (Results 1 – 2 of 2) sorted by relevance
146 #define RTC_CMD_READ(r) (RTC_FLG_READ | (r << 2)) macro160 #define RTC_CMD_XPRAM_READ (RTC_CMD_READ(RTC_REG_XPRAM) << 8)249 via_rtc_command(RTC_CMD_READ(RTC_REG_SECONDS_0), &last_result.cdata[3]); in via_read_time()250 via_rtc_command(RTC_CMD_READ(RTC_REG_SECONDS_1), &last_result.cdata[2]); in via_read_time()251 via_rtc_command(RTC_CMD_READ(RTC_REG_SECONDS_2), &last_result.cdata[1]); in via_read_time()252 via_rtc_command(RTC_CMD_READ(RTC_REG_SECONDS_3), &last_result.cdata[0]); in via_read_time()260 via_rtc_command(RTC_CMD_READ(RTC_REG_SECONDS_0), in via_read_time()262 via_rtc_command(RTC_CMD_READ(RTC_REG_SECONDS_1), in via_read_time()264 via_rtc_command(RTC_CMD_READ(RTC_REG_SECONDS_2), in via_read_time()266 via_rtc_command(RTC_CMD_READ(RTC_REG_SECONDS_3), in via_read_time()
18 #define RTC_CMD_READ 0x81 /* Read command */ macro75 u8 addr = RTC_CLCK_BURST << 1 | RTC_CMD_READ; in ds1302_rtc_get_time()127 addr = RTC_ADDR_CTRL << 1 | RTC_CMD_READ; in ds1302_probe()160 addr = RTC_ADDR_CTRL << 1 | RTC_CMD_READ; in ds1302_probe()