Searched refs:to_bcd (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/Devices/PC/
H A DDevRTC.cpp265 DECLINLINE(int) to_bcd(PRTCSTATE pThis, int a) function
666 pThis->cmos_data[RTC_SECONDS] = to_bcd(pThis, tm->tm_sec);
667 pThis->cmos_data[RTC_MINUTES] = to_bcd(pThis, tm->tm_min);
671 pThis->cmos_data[RTC_HOURS] = to_bcd(pThis, tm->tm_hour);
677 pThis->cmos_data[RTC_HOURS] = to_bcd(pThis, h ? h : 12);
681 pThis->cmos_data[RTC_DAY_OF_WEEK] = to_bcd(pThis, tm->tm_wday);
682 pThis->cmos_data[RTC_DAY_OF_MONTH] = to_bcd(pThis, tm->tm_mday);
683 pThis->cmos_data[RTC_MONTH] = to_bcd(pThis, tm->tm_mon + 1);
684 pThis->cmos_data[RTC_YEAR] = to_bcd(pThis, tm->tm_year % 100);
1019 int iYear = to_bcd(pThi
[all...]
/vbox/src/recompiler/
H A Dqemu-common.h332 static inline uint8_t to_bcd(uint8_t val) function

Completed in 56 milliseconds