Searched refs:device_time (Results 1 – 2 of 2) sorted by relevance
69 uint32_t device_time; in ZTEST() local82 device_time = sys_get_le32(req.data + 1); in ZTEST()84 zassert_within((int)device_time, k_uptime_seconds(), 1); in ZTEST()105 uint32_t device_time; in ZTEST() local119 device_time = sys_get_le32(ans.data + 2); in ZTEST()121 zassert_within(device_time, gps_time, 1); in ZTEST()
74 uint32_t device_time = k_uptime_seconds() + ctx.time_offset; in clock_sync_serialize_device_time() local80 buf[0] = (device_time >> 0) & 0xFF; in clock_sync_serialize_device_time()81 buf[1] = (device_time >> 8) & 0xFF; in clock_sync_serialize_device_time()82 buf[2] = (device_time >> 16) & 0xFF; in clock_sync_serialize_device_time()83 buf[3] = (device_time >> 24) & 0xFF; in clock_sync_serialize_device_time()