Searched refs:new_ctrl (Results 1 – 2 of 2) sorted by relevance
319 u8 reg, new_ctrl; in omap_rtc_probe() local398 new_ctrl = reg & ~(OMAP_RTC_CTRL_SPLIT|OMAP_RTC_CTRL_AUTO_COMP); in omap_rtc_probe()399 new_ctrl |= OMAP_RTC_CTRL_STOP; in omap_rtc_probe()414 if (new_ctrl & (u8) OMAP_RTC_CTRL_SPLIT) in omap_rtc_probe()417 if (reg != new_ctrl) in omap_rtc_probe()418 rtc_write(new_ctrl, OMAP_RTC_CTRL_REG); in omap_rtc_probe()
186 unsigned char new_ctrl = ctrl & ~(CTRL_STOP | CTRL_HOLD); in pcf8583_rtc_read_time() local189 ctrl, new_ctrl); in pcf8583_rtc_read_time()191 if ((err = pcf8583_set_ctrl(client, &new_ctrl)) < 0) in pcf8583_rtc_read_time()