Searched refs:cmos_read (Results 1 – 4 of 4) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | rtc-test.c | 30 static uint8_t cmos_read(uint8_t reg) in cmos_read() function 78 sec = cmos_read(RTC_SECONDS); in cmos_get_date_time() 79 min = cmos_read(RTC_MINUTES); in cmos_get_date_time() 80 hour = cmos_read(RTC_HOURS); in cmos_get_date_time() 81 mday = cmos_read(RTC_DAY_OF_MONTH); in cmos_get_date_time() 82 mon = cmos_read(RTC_MONTH); in cmos_get_date_time() 83 year = cmos_read(RTC_YEAR); in cmos_get_date_time() 85 if ((cmos_read(RTC_REG_B) & REG_B_DM) == 0) { in cmos_get_date_time() 97 if ((cmos_read(0x0B) & REG_B_24H) == 0) { in cmos_get_date_time() 194 g_assert_cmpint(cmos_read(RTC_HOURS), ==, 0x02); in set_year_20xx() [all …]
|
H A D | m48t59-test.c | 58 static uint8_t cmos_read(QTestState *s, uint8_t reg) in cmos_read() function 116 sec = cmos_read(s, RTC_SECONDS); in cmos_get_date_time() 117 min = cmos_read(s, RTC_MINUTES); in cmos_get_date_time() 118 hour = cmos_read(s, RTC_HOURS); in cmos_get_date_time() 119 mday = cmos_read(s, RTC_DAY_OF_MONTH); in cmos_get_date_time() 120 mon = cmos_read(s, RTC_MONTH); in cmos_get_date_time() 121 year = cmos_read(s, RTC_YEAR); in cmos_get_date_time() 234 cmos_read(s, reg); in fuzz_registers()
|
H A D | fdc-test.c | 259 static uint8_t cmos_read(uint8_t reg) in cmos_read() function 269 cmos = cmos_read(CMOS_FLOPPY); in test_cmos()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | thinkpad_acpi.c | 5603 static int cmos_read(struct seq_file *m) in cmos_read() function 5639 .read = cmos_read,
|