Searched refs:rtc_dow (Results 1 – 15 of 15) sorted by relevance
182 tod.tod_dow = rtc.rtc_dow; in todbq4802_get()230 rtc->rtc_dow = BCD_TO_BYTE(BQ4802_DATA_REG(RTC_DOW)); in read_rtc()260 rtc.rtc_dow = (uint8_t)tod.tod_dow; in todbq4802_set()293 BQ4802_DATA_REG(RTC_DOW) = BYTE_TO_BCD(rtc->rtc_dow); in write_rtc_time()
188 tod.tod_dow = rtc->rtc_dow; in rtc_to_tod()218 rtc->rtc_dow = RTC_GET8(RTC_DOW); in read_rtc()257 rtc.rtc_dow = (uint8_t)tod.tod_dow; in todm5819_set()304 RTC_PUT8(RTC_DOW, (rtc->rtc_dow)); in write_rtc_time()
203 tod.tod_dow = rtc->rtc_dow; in rtc_to_tod()227 rtc->rtc_dow = M5819P_DATA_REG; in read_rtc()263 rtc.rtc_dow = (uint8_t)tod.tod_dow; in todm5819p_rmc_set()324 M5819P_DATA_REG = rtc->rtc_dow; in write_rtc_time()
213 tod.tod_dow = rtc->rtc_dow; in rtc_to_tod()243 rtc->rtc_dow = RTC_GET8(RTC_DOW); in read_rtc()284 rtc.rtc_dow = (uint8_t)tod.tod_dow; in todbl_set()350 RTC_PUT8(RTC_DOW, (rtc->rtc_dow)); in write_rtc_time()
420 tod.tod_dow = rtc.rtc_dow; in todds1337_get()462 rtc.rtc_dow = (uint8_t)tod.tod_dow; in todds1337_set()809 rtc->rtc_dow = BCD_TO_BYTE(i2c_tp->i2c_rbuf[3]); in todds1337_read_rtc()850 i2c_tp->i2c_wbuf[4] = BYTE_TO_BCD(rtc->rtc_dow); in todds1337_write_rtc()964 rtc->rtc_dow = 0; in todds1337_prom_getdate()
841 tod.tod_dow = rtc.rtc_dow; in todds_get()906 rtc->rtc_dow = DS1287_DATA_REG; in read_rtc()963 rtc.rtc_dow = (uint8_t)tod.tod_dow; in todds_set()1014 DS1287_DATA_REG = rtc->rtc_dow; in write_rtc_time()
398 tod.tod_dow = rtc.rtc_dow; in todds1307_get()440 rtc.rtc_dow = int2bcd(tod.tod_dow); in todds1307_set()560 rtc->rtc_dow = bcd2int(i2c_tp->i2c_rbuf[3]); in todds1307_read_rtc()601 i2c_tp->i2c_wbuf[4] = rtc->rtc_dow; in todds1307_write_rtc()734 rtc->rtc_dow = 0; in todds1307_prom_getdate()
111 unsigned char rtc_dow; member
48 uint8_t rtc_dow; /* Day of week[1-7] */ member
107 uint8_t rtc_dow; /* day of the week */ member
120 uint8_t rtc_dow; /* day of the week */ member
145 uint8_t rtc_dow; /* day of the week */ member
165 uint8_t rtc_dow; /* day of the week */ member
154 rtc.rtc_dow = (unsigned char)tod.tod_dow; in todpc_set()212 tod.tod_dow = rtc.rtc_dow; /* dow < 10, so no conversion needed */ in todpc_get()