Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-ds1307.c59 #define DS1307_REG_HOUR 0x02 /* 00-23, or 1-12{am,pm} */ macro
266 tmp = regs[DS1307_REG_HOUR] & 0x3f; in ds1307_get_time()
314 regs[DS1307_REG_HOUR] = bin2bcd(t->tm_hour); in ds1307_set_time()
901 .century_reg = DS1307_REG_HOUR,
1743 hour = bcd2bin(regs[DS1307_REG_HOUR]); in ds1307_probe()
1746 if (regs[DS1307_REG_HOUR] & DS1307_BIT_PM) in ds1307_probe()
1750 DS1307_REG_HOUR << 4 | 0x08, hour); in ds1307_probe()
1772 tmp = regs[DS1307_REG_HOUR]; in ds1307_probe()
1796 if (regs[DS1307_REG_HOUR] & DS1307_BIT_PM) in ds1307_probe()
1798 regmap_write(ds1307->regmap, chip->offset + DS1307_REG_HOUR, in ds1307_probe()