Searched refs:save_control (Results 1 – 4 of 4) sorted by relevance
/drivers/rtc/ |
D | rtc-twl.c | 239 u8 save_control; in twl_rtc_read_time() local 242 ret = twl_rtc_read_u8(&save_control, REG_RTC_CTRL_REG); in twl_rtc_read_time() 249 if (save_control & BIT_RTC_CTRL_REG_GET_TIME_M) { in twl_rtc_read_time() 250 save_control &= ~BIT_RTC_CTRL_REG_GET_TIME_M; in twl_rtc_read_time() 251 ret = twl_rtc_write_u8(save_control, REG_RTC_CTRL_REG); in twl_rtc_read_time() 261 rtc_control = save_control | BIT_RTC_CTRL_REG_GET_TIME_M; in twl_rtc_read_time() 283 ret = twl_rtc_write_u8(save_control, REG_RTC_CTRL_REG); in twl_rtc_read_time() 303 unsigned char save_control; in twl_rtc_set_time() local 315 ret = twl_rtc_read_u8(&save_control, REG_RTC_CTRL_REG); in twl_rtc_set_time() 319 save_control &= ~BIT_RTC_CTRL_REG_STOP_RTC_M; in twl_rtc_set_time() [all …]
|
D | rtc-ds1286.c | 159 unsigned char save_control; in ds1286_read_time() local 184 save_control = ds1286_rtc_read(priv, RTC_CMD); in ds1286_read_time() 185 ds1286_rtc_write(priv, (save_control|RTC_TE), RTC_CMD); in ds1286_read_time() 194 ds1286_rtc_write(priv, save_control, RTC_CMD); in ds1286_read_time() 223 unsigned char save_control; in ds1286_set_time() local 252 save_control = ds1286_rtc_read(priv, RTC_CMD); in ds1286_set_time() 253 ds1286_rtc_write(priv, (save_control|RTC_TE), RTC_CMD); in ds1286_set_time() 263 ds1286_rtc_write(priv, save_control, RTC_CMD); in ds1286_set_time()
|
/drivers/char/ |
D | rtc.c | 550 unsigned char save_control, save_freq_select; in rtc_do_ioctl() local 623 save_control = CMOS_READ(RTC_CONTROL); in rtc_do_ioctl() 624 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in rtc_do_ioctl() 638 CMOS_WRITE(save_control, RTC_CONTROL); in rtc_do_ioctl()
|
/drivers/mtd/nand/ |
D | diskonchip.c | 1438 unsigned char save_control; in doc_probe() local 1457 save_control = ReadDOC(virtadr, DOCControl); in doc_probe() 1629 WriteDOC(save_control, virtadr, DOCControl); in doc_probe()
|