Searched refs:_hr (Results 1 – 2 of 2) sorted by relevance
320 const u8 _hr = regs[ISL1208_REG_HR]; in isl1208_i2c_read_time() local321 if (_hr & ISL1208_REG_HR_MIL) /* 24h format */ in isl1208_i2c_read_time()322 tm->tm_hour = bcd2bin(_hr & 0x3f); in isl1208_i2c_read_time()325 tm->tm_hour = bcd2bin(_hr & 0x1f); in isl1208_i2c_read_time()326 if (_hr & ISL1208_REG_HR_PM) /* PM flag set */ in isl1208_i2c_read_time()
397 const u8 _hr = regs[RV3029_W_HOURS - RV3029_W_SEC]; in rv3029_read_time() local399 if (_hr & RV3029_REG_HR_12_24) { in rv3029_read_time()401 tm->tm_hour = bcd2bin(_hr & 0x1f); in rv3029_read_time()402 if (_hr & RV3029_REG_HR_PM) /* PM flag set */ in rv3029_read_time()405 tm->tm_hour = bcd2bin(_hr & 0x3f); in rv3029_read_time()