Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-isl1208.c62 #define ISL1219_REG_SCT 0x14 macro
596 sr = isl1208_i2c_read_regs(client, ISL1219_REG_SCT, regs, in timestamp0_show()
605 tm.tm_sec = bcd2bin(regs[ISL1219_REG_SCT - ISL1219_REG_SCT] & 0x7f); in timestamp0_show()
606 tm.tm_min = bcd2bin(regs[ISL1219_REG_MNT - ISL1219_REG_SCT] & 0x7f); in timestamp0_show()
607 tm.tm_hour = bcd2bin(regs[ISL1219_REG_HRT - ISL1219_REG_SCT] & 0x3f); in timestamp0_show()
608 tm.tm_mday = bcd2bin(regs[ISL1219_REG_DTT - ISL1219_REG_SCT] & 0x3f); in timestamp0_show()
610 bcd2bin(regs[ISL1219_REG_MOT - ISL1219_REG_SCT] & 0x1f) - 1; in timestamp0_show()
611 tm.tm_year = bcd2bin(regs[ISL1219_REG_YRT - ISL1219_REG_SCT]) + 100; in timestamp0_show()