Home
last modified time | relevance | path

Searched refs:bcd_to_int (Results 1 – 2 of 2) sorted by relevance

/haiku/src/system/kernel/arch/x86/
H A Darch_real_time_clock.cpp32 bcd_to_int(uint8 bcd) in bcd_to_int() function
144 t.tm_year = bcd_to_int(cmos->century) * 100 + bcd_to_int(cmos->year) in cmos_to_secs()
146 t.tm_mon = bcd_to_int(cmos->month) - 1; in cmos_to_secs()
147 t.tm_mday = bcd_to_int(cmos->day); in cmos_to_secs()
148 t.tm_hour = bcd_to_int(cmos->hour); in cmos_to_secs()
149 t.tm_min = bcd_to_int(cmos->minute); in cmos_to_secs()
150 t.tm_sec = bcd_to_int(cmos->second); in cmos_to_secs()
/haiku/src/system/kernel/arch/m68k/
H A Darch_real_time_clock.cpp30 bcd_to_int(uint8 bcd) in bcd_to_int() function
130 t.tm_year = bcd_to_int(cmos->century) * 100 + bcd_to_int(cmos->year) in cmos_to_secs()
132 t.tm_mon = bcd_to_int(cmos->month) - 1; in cmos_to_secs()
133 t.tm_mday = bcd_to_int(cmos->day); in cmos_to_secs()
134 t.tm_hour = bcd_to_int(cmos->hour); in cmos_to_secs()
135 t.tm_min = bcd_to_int(cmos->minute); in cmos_to_secs()
136 t.tm_sec = bcd_to_int(cmos->second); in cmos_to_secs()