Home
last modified time | relevance | path

Searched refs:new_ctrl (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/rtc/
Drtc-omap.c292 u8 reg, new_ctrl; in omap_rtc_probe() local
371 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()
Drtc-pcf8583.c186 unsigned char new_ctrl = ctrl & ~(CTRL_STOP | CTRL_HOLD); in pcf8583_rtc_read_time() local
189 ctrl, new_ctrl); in pcf8583_rtc_read_time()
191 if ((err = pcf8583_set_ctrl(client, &new_ctrl)) < 0) in pcf8583_rtc_read_time()