Searched refs:rtccal (Results 1 – 1 of 1) sorted by relevance
209 u8 rtccal = 0; in ab8500_rtc_set_calibration() local229 rtccal = 0x7F & calibration; in ab8500_rtc_set_calibration()231 rtccal = ~(calibration - 1) | 0x80; in ab8500_rtc_set_calibration()234 AB8500_RTC_CALIB_REG, rtccal); in ab8500_rtc_set_calibration()242 u8 rtccal = 0; in ab8500_rtc_get_calibration() local245 AB8500_RTC_CALIB_REG, &rtccal); in ab8500_rtc_get_calibration()252 if (rtccal & 0x80) in ab8500_rtc_get_calibration()253 *calibration = 0 - (rtccal & 0x7F); in ab8500_rtc_get_calibration()255 *calibration = 0x7F & rtccal; in ab8500_rtc_get_calibration()