Searched refs:fat_time (Results 1 – 1 of 1) sorted by relevance
51 u64 fat_time = (u64) secs * AB3100_RTC_CLOCK_RATE * 2; in ab3100_rtc_set_mmss() local55 buf[0] = (fat_time) & 0xFF; in ab3100_rtc_set_mmss()56 buf[1] = (fat_time >> 8) & 0xFF; in ab3100_rtc_set_mmss()57 buf[2] = (fat_time >> 16) & 0xFF; in ab3100_rtc_set_mmss()58 buf[3] = (fat_time >> 24) & 0xFF; in ab3100_rtc_set_mmss()59 buf[4] = (fat_time >> 32) & 0xFF; in ab3100_rtc_set_mmss()60 buf[5] = (fat_time >> 40) & 0xFF; in ab3100_rtc_set_mmss()91 u64 fat_time; in ab3100_rtc_read_time() local101 fat_time = ((u64) buf[5] << 40) | ((u64) buf[4] << 32) | in ab3100_rtc_read_time()104 time = (unsigned long) (fat_time / in ab3100_rtc_read_time()[all …]