Searched refs:mostek_read (Results 1 – 5 of 5) sorted by relevance
519 tmp = mostek_read(regs + MOSTEK_CREG); in kick_start_clock()522 tmp = mostek_read(regs + MOSTEK_SEC); in kick_start_clock()525 tmp = mostek_read(regs + MOSTEK_HOUR); in kick_start_clock()528 tmp = mostek_read(regs + MOSTEK_CREG); in kick_start_clock()548 tmp = mostek_read(regs + MOSTEK_CREG); in kick_start_clock()551 tmp = mostek_read(regs + MOSTEK_HOUR); in kick_start_clock()561 tmp = mostek_read(regs + MOSTEK_CREG); in kick_start_clock()568 while (mostek_read(regs + MOSTEK_HOUR) & MSTK_KICK_START) { in kick_start_clock()573 tmp = mostek_read(regs + MOSTEK_CREG); in kick_start_clock()577 tmp = mostek_read(regs + MOSTEK_HOUR); in kick_start_clock()[all …]
41 static __inline__ u8 mostek_read(unsigned long addr) in mostek_read() function100 (MSTK_REGVAL_TO_DECIMAL(mostek_read(regs + MOSTEK_ ## name) & MSTK_ ## name ## _MASK))102 do { u8 __val = mostek_read(regs + MOSTEK_ ## name); \113 #define MSTK_REG_CREG(regs) (mostek_read((regs) + MOSTEK_CREG))
38 tmp = mostek_read(regs + MOSTEK_CREG); in get_rtc_time()50 tmp = mostek_read(regs + MOSTEK_CREG); in get_rtc_time()65 tmp = mostek_read(regs + MOSTEK_CREG); in set_rtc_time()77 tmp = mostek_read(regs + MOSTEK_CREG); in set_rtc_time()
41 #define mostek_read(_addr) (*((volatile u8 *)(_addr))) macro
246 if (mostek_read(mstk48t02_regs + MOSTEK_SEC) & MSTK_STOP) in sun4_clock_probe()360 if (mostek_read(mstk48t02_regs + MOSTEK_SEC) & MSTK_STOP) in clock_probe()