Searched refs:new_ctrl (Results 1 – 2 of 2) sorted by relevance
292 u8 reg, new_ctrl; in omap_rtc_probe() local371 new_ctrl = reg & (OMAP_RTC_CTRL_SPLIT|OMAP_RTC_CTRL_AUTO_COMP); in omap_rtc_probe()372 new_ctrl |= OMAP_RTC_CTRL_STOP; in omap_rtc_probe()388 if (new_ctrl & (u8) OMAP_RTC_CTRL_SPLIT) in omap_rtc_probe()391 if (reg != new_ctrl) in omap_rtc_probe()392 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()