Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-ds1307.c62 #define DS1307_REG_HOUR 0x02 /* 00-23, or 1-12{am,pm} */ macro
295 tmp = regs[DS1307_REG_HOUR] & 0x3f; in ds1307_get_time()
347 regs[DS1307_REG_HOUR] = bin2bcd(t->tm_hour); in ds1307_set_time()
994 .century_reg = DS1307_REG_HOUR,
1873 hour = bcd2bin(regs[DS1307_REG_HOUR]); in ds1307_probe()
1876 if (regs[DS1307_REG_HOUR] & DS1307_BIT_PM) in ds1307_probe()
1880 DS1307_REG_HOUR << 4 | 0x08, hour); in ds1307_probe()
1915 tmp = regs[DS1307_REG_HOUR]; in ds1307_probe()
1939 if (regs[DS1307_REG_HOUR] & DS1307_BIT_PM) in ds1307_probe()
1941 regmap_write(ds1307->regmap, chip->offset + DS1307_REG_HOUR, in ds1307_probe()