Searched refs:xt_calib_value (Results 1 – 1 of 1) sorted by relevance
212 uint8_t xt_calib_value; in am1805_set_calibration() local224 xt_calib_value = ((uint8_t)(xt_clock_adj + 192) >> 1); in am1805_set_calibration()225 xt_calib_value &= REG_XT_CALIB_OFF_MASK; in am1805_set_calibration()226 xt_calib_value |= REG_XT_CALIB_CMDX; in am1805_set_calibration()230 xt_calib_value = (uint8_t)(xt_clock_adj + 192); in am1805_set_calibration()231 xt_calib_value &= REG_XT_CALIB_OFF_MASK; in am1805_set_calibration()235 xt_calib_value = (uint8_t)(xt_clock_adj + 128); in am1805_set_calibration()236 xt_calib_value &= REG_XT_CALIB_OFF_MASK; in am1805_set_calibration()240 xt_calib_value = (uint8_t)(xt_clock_adj + 64); in am1805_set_calibration()241 xt_calib_value &= REG_XT_CALIB_OFF_MASK; in am1805_set_calibration()[all …]