Searched refs:RTC_WRITE (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/arch/m68k/atari/ |
D | time.c | 131 #define RTC_WRITE(reg,val) \ macro 262 RTC_WRITE( RTC_CONTROL, ctrl | RTC_SET ); in atari_tt_hwclk() 273 RTC_WRITE( RTC_SECONDS, sec ); in atari_tt_hwclk() 274 RTC_WRITE( RTC_MINUTES, min ); in atari_tt_hwclk() 275 RTC_WRITE( RTC_HOURS, hour + pm); in atari_tt_hwclk() 276 RTC_WRITE( RTC_DAY_OF_MONTH, day ); in atari_tt_hwclk() 277 RTC_WRITE( RTC_MONTH, mon ); in atari_tt_hwclk() 278 RTC_WRITE( RTC_YEAR, year ); in atari_tt_hwclk() 279 if (wday >= 0) RTC_WRITE( RTC_DAY_OF_WEEK, wday ); in atari_tt_hwclk() 281 RTC_WRITE( RTC_CONTROL, ctrl & ~RTC_SET ); in atari_tt_hwclk()
|
/linux-6.1.9/drivers/rtc/ |
D | rtc-stk17ta8.c | 53 #define RTC_WRITE 0x02 macro 79 writeb(flags | RTC_WRITE, pdata->ioaddr + RTC_FLAGS); in stk17ta8_rtc_set_time() 90 writeb(flags & ~RTC_WRITE, pdata->ioaddr + RTC_FLAGS); in stk17ta8_rtc_set_time() 139 writeb(flags | RTC_WRITE, ioaddr + RTC_FLAGS); in stk17ta8_rtc_update_alarm() 155 writeb(flags & ~RTC_WRITE, ioaddr + RTC_FLAGS); in stk17ta8_rtc_update_alarm() 288 writeb(flags | RTC_WRITE, ioaddr + RTC_FLAGS); in stk17ta8_rtc_probe() 290 writeb(flags & ~RTC_WRITE, ioaddr + RTC_FLAGS); in stk17ta8_rtc_probe()
|
D | rtc-ds1742.c | 41 #define RTC_WRITE 0x80 macro 64 writeb(RTC_WRITE, ioaddr + RTC_CONTROL); in ds1742_rtc_set_time() 75 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1742_rtc_set_time() 178 writeb(RTC_WRITE, ioaddr + RTC_CONTROL); in ds1742_rtc_probe()
|
D | rtc-ds1553.c | 45 #define RTC_WRITE 0x80 macro 79 writeb(RTC_WRITE, pdata->ioaddr + RTC_CONTROL); in ds1553_rtc_set_time() 90 writeb(RTC_WRITE | (century & RTC_CENTURY_MASK), ioaddr + RTC_CENTURY); in ds1553_rtc_set_time() 281 writeb(RTC_WRITE, ioaddr + RTC_CONTROL); in ds1553_rtc_probe()
|
/linux-6.1.9/arch/m68k/include/asm/ |
D | mvme16xhw.h | 39 #define RTC_WRITE 0x80 macro
|
D | mvme147hw.h | 19 #define RTC_WRITE 0x80 macro
|
/linux-6.1.9/arch/m68k/mvme16x/ |
D | rtc.c | 102 rtc->ctrl = RTC_WRITE; in rtc_ioctl()
|