Home
last modified time | relevance | path

Searched refs:mostek_read (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/arch/sparc64/kernel/
Dtime.c519 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 …]
/linux-2.4.37.9/include/asm-sparc64/
Dmostek.h41 static __inline__ u8 mostek_read(unsigned long addr) in mostek_read() function
100 (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))
/linux-2.4.37.9/drivers/sbus/char/
Drtc.c38 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()
/linux-2.4.37.9/include/asm-sparc/
Dmostek.h41 #define mostek_read(_addr) (*((volatile u8 *)(_addr))) macro
/linux-2.4.37.9/arch/sparc/kernel/
Dtime.c246 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()