Searched refs:RTC_CONTROL (Results 1 – 7 of 7) sorted by relevance
/linux-4.19.296/drivers/rtc/ |
D | rtc-ds1742.c | 29 #define RTC_CONTROL 0 macro 67 writeb(RTC_WRITE, ioaddr + RTC_CONTROL); in ds1742_rtc_set_time() 79 writeb(century & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1742_rtc_set_time() 94 writeb(RTC_READ, ioaddr + RTC_CONTROL); in ds1742_rtc_read_time() 103 writeb(0, ioaddr + RTC_CONTROL); in ds1742_rtc_read_time() 181 writeb(RTC_WRITE, ioaddr + RTC_CONTROL); in ds1742_rtc_probe() 183 writeb(cen & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1742_rtc_probe()
|
D | rtc-mrst.c | 157 rtc_control = vrtc_cmos_read(RTC_CONTROL); in mrst_read_alarm() 188 rtc_control = vrtc_cmos_read(RTC_CONTROL); in mrst_irq_enable() 192 vrtc_cmos_write(rtc_control, RTC_CONTROL); in mrst_irq_enable() 201 rtc_control = vrtc_cmos_read(RTC_CONTROL); in mrst_irq_disable() 203 vrtc_cmos_write(rtc_control, RTC_CONTROL); in mrst_irq_disable() 267 rtc_control = vrtc_cmos_read(RTC_CONTROL); in mrst_procfs() 352 rtc_control = vrtc_cmos_read(RTC_CONTROL); in vrtc_mrst_do_probe() 407 mrst->suspend_ctrl = tmp = vrtc_cmos_read(RTC_CONTROL); in mrst_suspend() 416 vrtc_cmos_write(tmp, RTC_CONTROL); in mrst_suspend() 458 vrtc_cmos_write(tmp, RTC_CONTROL); in mrst_resume()
|
D | rtc-mc146818-lib.c | 67 ctrl = CMOS_READ(RTC_CONTROL); in mc146818_get_time() 160 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) in mc146818_set_time() 171 save_control = CMOS_READ(RTC_CONTROL); in mc146818_set_time() 172 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in mc146818_set_time() 191 CMOS_WRITE(save_control, RTC_CONTROL); in mc146818_set_time()
|
D | rtc-cmos.c | 287 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_read_alarm() 349 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_irq_enable() 353 CMOS_WRITE(rtc_control, RTC_CONTROL); in cmos_irq_enable() 369 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_irq_disable() 371 CMOS_WRITE(rtc_control, RTC_CONTROL); in cmos_irq_disable() 471 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_set_alarm() 543 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_procfs() 672 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_interrupt() 691 CMOS_WRITE(rtc_control, RTC_CONTROL); in cmos_interrupt() 831 rtc_control = CMOS_READ(RTC_CONTROL); in cmos_do_probe() [all …]
|
D | rtc-ds1553.c | 33 #define RTC_CONTROL (RTC_OFFSET + 8) macro 82 writeb(RTC_WRITE, pdata->ioaddr + RTC_CONTROL); in ds1553_rtc_set_time() 94 writeb(century & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1553_rtc_set_time() 109 writeb(RTC_READ, ioaddr + RTC_CONTROL); in ds1553_rtc_read_time() 118 writeb(0, ioaddr + RTC_CONTROL); in ds1553_rtc_read_time() 286 writeb(RTC_WRITE, ioaddr + RTC_CONTROL); in ds1553_rtc_probe() 288 writeb(cen & RTC_CENTURY_MASK, ioaddr + RTC_CONTROL); in ds1553_rtc_probe()
|
/linux-4.19.296/drivers/char/ |
D | rtc.c | 503 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) || in rtc_do_ioctl() 600 if (!(CMOS_READ(RTC_CONTROL) & RTC_DM_BINARY) in rtc_do_ioctl() 610 save_control = CMOS_READ(RTC_CONTROL); in rtc_do_ioctl() 611 CMOS_WRITE((save_control|RTC_SET), RTC_CONTROL); in rtc_do_ioctl() 625 CMOS_WRITE(save_control, RTC_CONTROL); in rtc_do_ioctl() 755 tmp = CMOS_READ(RTC_CONTROL); in rtc_release() 759 CMOS_WRITE(tmp, RTC_CONTROL); in rtc_release() 978 ctrl = CMOS_READ(RTC_CONTROL); in rtc_init() 1116 ctrl = CMOS_READ(RTC_CONTROL); in rtc_proc_show() 1224 ctrl = CMOS_READ(RTC_CONTROL); in rtc_get_rtc_time() [all …]
|
/linux-4.19.296/include/linux/ |
D | mc146818rtc.h | 93 #define RTC_CONTROL RTC_REG_B macro
|