Searched refs:rtccal (Results 1 – 1 of 1) sorted by relevance
265 u8 rtccal = 0; in ab8500_rtc_set_calibration() local285 rtccal = 0x7F & calibration; in ab8500_rtc_set_calibration()287 rtccal = ~(calibration - 1) | 0x80; in ab8500_rtc_set_calibration()290 AB8500_RTC_CALIB_REG, rtccal); in ab8500_rtc_set_calibration()298 u8 rtccal = 0; in ab8500_rtc_get_calibration() local301 AB8500_RTC_CALIB_REG, &rtccal); in ab8500_rtc_get_calibration()308 if (rtccal & 0x80) in ab8500_rtc_get_calibration()309 *calibration = 0 - (rtccal & 0x7F); in ab8500_rtc_get_calibration()311 *calibration = 0x7F & rtccal; in ab8500_rtc_get_calibration()