Lines Matching refs:mostek_read
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()
581 tmp = mostek_read(regs + MOSTEK_CREG); in kick_start_clock()
599 data1 = mostek_read(regs + MOSTEK_EEPROM); /* Read some data. */ in has_low_battery()
601 data2 = mostek_read(regs + MOSTEK_EEPROM); /* Read back the complement. */ in has_low_battery()
638 tmp = mostek_read(mregs + MOSTEK_CREG); in set_system_time()
690 tmp = mostek_read(mregs + MOSTEK_CREG); in set_system_time()
907 if (mostek_read(mstk48t02_regs + MOSTEK_SEC) & MSTK_STOP) in clock_probe()
1074 tmp = mostek_read(mregs + MOSTEK_CREG); in set_rtc_mmss()
1080 tmp = mostek_read(mregs + MOSTEK_CREG); in set_rtc_mmss()
1097 tmp = mostek_read(mregs + MOSTEK_CREG); in set_rtc_mmss()
1104 tmp = mostek_read(mregs + MOSTEK_CREG); in set_rtc_mmss()