Searched defs:from_bcd (Results 1 - 2 of 2) sorted by relevance

/vbox/src/recompiler/
H A Dqemu-common.h337 static inline uint8_t from_bcd(uint8_t val) function
/vbox/src/VBox/Devices/PC/
H A DDevRTC.cpp273 DECLINLINE(int) from_bcd(PRTCSTATE pThis, int a) function
285 tm->tm_sec = from_bcd(pThis, pThis->cmos_data[RTC_SECONDS]);
286 tm->tm_min = from_bcd(pThis, pThis->cmos_data[RTC_MINUTES]);
287 tm->tm_hour = from_bcd(pThis, pThis->cmos_data[RTC_HOURS] & 0x7f);
294 tm->tm_wday = from_bcd(pThis, pThis->cmos_data[RTC_DAY_OF_WEEK]);
295 tm->tm_mday = from_bcd(pThis, pThis->cmos_data[RTC_DAY_OF_MONTH]);
296 tm->tm_mon = from_bcd(pThis, pThis->cmos_data[RTC_MONTH]) - 1;
297 tm->tm_year = from_bcd(pThis, pThis->cmos_data[RTC_YEAR]) + 100;
526 uint8_t u8Sec = from_bcd(pThis, pThis->cmos_data[RTC_SECONDS]);
527 uint8_t u8Min = from_bcd(pThi
[all...]

Completed in 35 milliseconds