Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-ds1305.c36 # define DS1305_HR_12 0x40 /* set == 12 hr mode */ macro
107 if (bcd & DS1305_HR_12) { in bcd2hour()
110 bcd &= ~DS1305_HR_12; in bcd2hour()
126 return DS1305_HR_12 | bin2bcd(hour); in hour2bcd()
128 return DS1305_HR_12 | DS1305_HR_PM | bin2bcd(hour); in hour2bcd()
682 ds1305->hr12 = (DS1305_HR_12 & value) != 0; in ds1305_probe()