Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/rtc/
Drtc-ds1307.c60 #define DS1307_REG_HOUR 0x02 /* 00-23, or 1-12{am,pm} */ macro
296 tmp = regs[DS1307_REG_HOUR] & 0x3f; in ds1307_get_time()
344 regs[DS1307_REG_HOUR] = bin2bcd(t->tm_hour); in ds1307_set_time()
1015 .century_reg = DS1307_REG_HOUR,
1927 hour = bcd2bin(regs[DS1307_REG_HOUR]); in ds1307_probe()
1930 if (regs[DS1307_REG_HOUR] & DS1307_BIT_PM) in ds1307_probe()
1934 DS1307_REG_HOUR << 4 | 0x08, hour); in ds1307_probe()
1969 tmp = regs[DS1307_REG_HOUR]; in ds1307_probe()
1993 if (regs[DS1307_REG_HOUR] & DS1307_BIT_PM) in ds1307_probe()
1995 regmap_write(ds1307->regmap, chip->offset + DS1307_REG_HOUR, in ds1307_probe()