Searched refs:rtccal (Results 1 – 1 of 1) sorted by relevance
274 u8 rtccal = 0; in ab8500_rtc_set_calibration() local294 rtccal = 0x7F & calibration; in ab8500_rtc_set_calibration()296 rtccal = ~(calibration - 1) | 0x80; in ab8500_rtc_set_calibration()299 AB8500_RTC_CALIB_REG, rtccal); in ab8500_rtc_set_calibration()307 u8 rtccal = 0; in ab8500_rtc_get_calibration() local310 AB8500_RTC_CALIB_REG, &rtccal); in ab8500_rtc_get_calibration()317 if (rtccal & 0x80) in ab8500_rtc_get_calibration()318 *calibration = 0 - (rtccal & 0x7F); in ab8500_rtc_get_calibration()320 *calibration = 0x7F & rtccal; in ab8500_rtc_get_calibration()