Searched refs:MOSTEK_EEPROM (Results 1 – 3 of 3) sorted by relevance
599 data1 = mostek_read(regs + MOSTEK_EEPROM); /* Read some data. */ in has_low_battery()600 mostek_write(regs + MOSTEK_EEPROM, ~data1); /* Write back the complement. */ in has_low_battery()601 data2 = mostek_read(regs + MOSTEK_EEPROM); /* Read back the complement. */ in has_low_battery()602 mostek_write(regs + MOSTEK_EEPROM, data1); /* Restore original value. */ in has_low_battery()
58 #define MOSTEK_EEPROM 0x0000UL macro
43 #define MOSTEK_EEPROM 0x0000UL macro