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} */ macro389 tmp = ds1307->regs[DS1307_REG_HOUR] & 0x3f; in ds1307_get_time()424 buf[DS1307_REG_HOUR] = bin2bcd(t->tm_hour); in ds1307_set_time()440 buf[DS1307_REG_HOUR] |= DS1340_BIT_CENTURY_EN in ds1307_set_time()1039 hour = bcd2bin(ds1307->regs[DS1307_REG_HOUR]); in ds1307_probe()1042 if (ds1307->regs[DS1307_REG_HOUR] & DS1307_BIT_PM) in ds1307_probe()1046 DS1307_REG_HOUR << 4 | 0x08, in ds1307_probe()1142 tmp = ds1307->regs[DS1307_REG_HOUR]; in ds1307_probe()1164 if (ds1307->regs[DS1307_REG_HOUR] & DS1307_BIT_PM) in ds1307_probe()1167 ds1307->offset + DS1307_REG_HOUR, in ds1307_probe()