Searched refs:_hr (Results 1 – 2 of 2) sorted by relevance
327 const u8 _hr = regs[ISL1208_REG_HR]; in isl1208_i2c_read_time() local328 if (_hr & ISL1208_REG_HR_MIL) /* 24h format */ in isl1208_i2c_read_time()329 tm->tm_hour = bcd2bin(_hr & 0x3f); in isl1208_i2c_read_time()332 tm->tm_hour = bcd2bin(_hr & 0x1f); in isl1208_i2c_read_time()333 if (_hr & ISL1208_REG_HR_PM) /* PM flag set */ in isl1208_i2c_read_time()
329 const u8 _hr = regs[RV3029_W_HOURS - RV3029_W_SEC]; in rv3029_read_time() local331 if (_hr & RV3029_REG_HR_12_24) { in rv3029_read_time()333 tm->tm_hour = bcd2bin(_hr & 0x1f); in rv3029_read_time()334 if (_hr & RV3029_REG_HR_PM) /* PM flag set */ in rv3029_read_time()337 tm->tm_hour = bcd2bin(_hr & 0x3f); in rv3029_read_time()