Lines Matching defs:save_control
241 u8 save_control;
243 ret = twl_rtc_read_u8(&save_control, REG_RTC_CTRL_REG);
247 save_control |= BIT_RTC_CTRL_REG_GET_TIME_M;
249 ret = twl_rtc_write_u8(save_control, REG_RTC_CTRL_REG);
273 unsigned char save_control;
285 ret = twl_rtc_read_u8(&save_control, REG_RTC_CTRL_REG);
289 save_control &= ~BIT_RTC_CTRL_REG_STOP_RTC_M;
290 twl_rtc_write_u8(save_control, REG_RTC_CTRL_REG);
303 save_control |= BIT_RTC_CTRL_REG_STOP_RTC_M;
304 ret = twl_rtc_write_u8(save_control, REG_RTC_CTRL_REG);