Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/rtc/
Drtc-isl1208.c66 #define ISL1219_REG_SCT 0x14 macro
557 sr = isl1208_i2c_read_regs(client, ISL1219_REG_SCT, regs, in timestamp0_show()
566 tm.tm_sec = bcd2bin(regs[ISL1219_REG_SCT - ISL1219_REG_SCT] & 0x7f); in timestamp0_show()
567 tm.tm_min = bcd2bin(regs[ISL1219_REG_MNT - ISL1219_REG_SCT] & 0x7f); in timestamp0_show()
568 tm.tm_hour = bcd2bin(regs[ISL1219_REG_HRT - ISL1219_REG_SCT] & 0x3f); in timestamp0_show()
569 tm.tm_mday = bcd2bin(regs[ISL1219_REG_DTT - ISL1219_REG_SCT] & 0x3f); in timestamp0_show()
571 bcd2bin(regs[ISL1219_REG_MOT - ISL1219_REG_SCT] & 0x1f) - 1; in timestamp0_show()
572 tm.tm_year = bcd2bin(regs[ISL1219_REG_YRT - ISL1219_REG_SCT]) + 100; in timestamp0_show()