Searched refs:bcd_to_int (Results 1 – 2 of 2) sorted by relevance
32 bcd_to_int(uint8 bcd) in bcd_to_int() function144 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()
30 bcd_to_int(uint8 bcd) in bcd_to_int() function130 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()