Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-ds1305.c34 #define DS1305_MIN 0x01 macro
189 time->tm_min = bcd2bin(buf[DS1305_MIN]); in ds1305_get_time()
296 "alm0 read", buf[DS1305_SEC], buf[DS1305_MIN], in ds1305_get_alarm()
300 || (DS1305_ALM_DISABLE & buf[DS1305_MIN]) in ds1305_get_alarm()
309 alm->time.tm_min = bcd2bin(buf[DS1305_MIN]); in ds1305_get_alarm()
356 buf[1 + DS1305_MIN] = bin2bcd(alm->time.tm_min); in ds1305_set_alarm()
361 "alm0 write", buf[1 + DS1305_SEC], buf[1 + DS1305_MIN], in ds1305_set_alarm()