Searched refs:cmos_write (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | rtc-test.c | 36 static void cmos_write(uint8_t reg, uint8_t val) in cmos_write() function 183 cmos_write(RTC_REG_B, REG_B_24H); in set_year_20xx() 184 cmos_write(RTC_REG_A, 0x76); in set_year_20xx() 185 cmos_write(RTC_YEAR, 0x11); in set_year_20xx() 186 cmos_write(RTC_CENTURY, 0x20); in set_year_20xx() 187 cmos_write(RTC_MONTH, 0x02); in set_year_20xx() 188 cmos_write(RTC_DAY_OF_MONTH, 0x02); in set_year_20xx() 189 cmos_write(RTC_HOURS, 0x02); in set_year_20xx() 190 cmos_write(RTC_MINUTES, 0x04); in set_year_20xx() 191 cmos_write(RTC_SECONDS, 0x58); in set_year_20xx() [all …]
|
H A D | m48t59-test.c | 67 static void cmos_write(QTestState *s, uint8_t reg, uint8_t val) in cmos_write() function 233 cmos_write(s, reg, val); in fuzz_registers()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 5617 static int cmos_write(char *buf) in cmos_write() function 5640 .write = cmos_write,
|