Searched refs:DS1307_REG_HOUR (Results 1 – 1 of 1) sorted by relevance
51 #define DS1307_REG_HOUR 0x02 /* 00-23, or 1-12{am,pm} */ macro368 tmp = ds1307->regs[DS1307_REG_HOUR] & 0x3f; in ds1307_get_time()403 buf[DS1307_REG_HOUR] = bin2bcd(t->tm_hour); in ds1307_set_time()419 buf[DS1307_REG_HOUR] |= DS1340_BIT_CENTURY_EN in ds1307_set_time()1005 hour = bcd2bin(ds1307->regs[DS1307_REG_HOUR]); in ds1307_probe()1008 if (ds1307->regs[DS1307_REG_HOUR] & DS1307_BIT_PM) in ds1307_probe()1012 DS1307_REG_HOUR << 4 | 0x08, in ds1307_probe()1108 tmp = ds1307->regs[DS1307_REG_HOUR]; in ds1307_probe()1130 if (ds1307->regs[DS1307_REG_HOUR] & DS1307_BIT_PM) in ds1307_probe()1133 ds1307->offset + DS1307_REG_HOUR, in ds1307_probe()