Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/rtc/
H A Drtc-isl1208.c61 #define ISL1219_REG_SCT 0x14 macro
564 sr = isl1208_i2c_read_regs(client, ISL1219_REG_SCT, regs, in timestamp0_show()
573 tm.tm_sec = bcd2bin(regs[ISL1219_REG_SCT - ISL1219_REG_SCT] & 0x7f); in timestamp0_show()
574 tm.tm_min = bcd2bin(regs[ISL1219_REG_MNT - ISL1219_REG_SCT] & 0x7f); in timestamp0_show()
575 tm.tm_hour = bcd2bin(regs[ISL1219_REG_HRT - ISL1219_REG_SCT] & 0x3f); in timestamp0_show()
576 tm.tm_mday = bcd2bin(regs[ISL1219_REG_DTT - ISL1219_REG_SCT] & 0x3f); in timestamp0_show()
578 bcd2bin(regs[ISL1219_REG_MOT - ISL1219_REG_SCT] & 0x1f) - 1; in timestamp0_show()
579 tm.tm_year = bcd2bin(regs[ISL1219_REG_YRT - ISL1219_REG_SCT]) + 100; in timestamp0_show()
/kernel/linux/linux-6.6/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()

Completed in 4 milliseconds