Searched refs:curtime (Results 1 – 1 of 1) sorted by relevance
413 struct tm curtime; in megasas_fw_time() local415 qemu_get_timedate(&curtime, 0); in megasas_fw_time()416 return ((uint64_t)curtime.tm_sec & 0xff) << 48 | in megasas_fw_time()417 ((uint64_t)curtime.tm_min & 0xff) << 40 | in megasas_fw_time()418 ((uint64_t)curtime.tm_hour & 0xff) << 32 | in megasas_fw_time()419 ((uint64_t)curtime.tm_mday & 0xff) << 24 | in megasas_fw_time()420 ((uint64_t)curtime.tm_mon & 0xff) << 16 | in megasas_fw_time()421 ((uint64_t)(curtime.tm_year + 1900) & 0xffff); in megasas_fw_time()