Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 25 of 45) sorted by relevance

12

/device/google/contexthub/firmware/os/algos/
Dtime_sync.c21 void time_sync_reset(time_sync_t *sync) { in time_sync_reset() argument
22 sync->n = 0; in time_sync_reset()
23 sync->i = 0; in time_sync_reset()
24 sync->estimate_valid = false; in time_sync_reset()
26 sync->hold_count = 0; in time_sync_reset()
29 bool time_sync_init(time_sync_t *sync) { in time_sync_init() argument
30 time_sync_reset(sync); in time_sync_init()
35 void time_sync_truncate(time_sync_t *sync, size_t window_size) { in time_sync_truncate() argument
37 sync->n = (window_size < sync->n) ? window_size : sync->n; in time_sync_truncate()
38 sync->estimate_valid = false; in time_sync_truncate()
[all …]
Dap_hub_sync.c38 void apHubSyncReset(struct ApHubSync* sync) { in apHubSyncReset() argument
39 sync->state = 0; in apHubSyncReset()
45 void apHubSyncAddDelta(struct ApHubSync* sync, uint64_t apTime, uint64_t hubTime) { in apHubSyncAddDelta() argument
50 if (apTime > sync->lastTs + SYNC_EXPIRATION || sync->lastTs == 0) { in apHubSyncAddDelta()
51 apHubSyncReset(sync); in apHubSyncAddDelta()
54 sync->lastTs = apTime; in apHubSyncAddDelta()
56 if (sync->state == NOT_INITED) { in apHubSyncAddDelta()
58 sync->windowMax = delta; in apHubSyncAddDelta()
59 sync->windowTimeout = apTime + SYNC_WINDOW_TIMEOUT; in apHubSyncAddDelta()
61 sync->state = USE_MAX; in apHubSyncAddDelta()
[all …]
/device/google/contexthub/firmware/os/inc/algos/
Dtime_sync.h47 void time_sync_reset(time_sync_t *sync);
48 bool time_sync_init(time_sync_t *sync);
49 void time_sync_truncate(time_sync_t *sync, size_t window_size);
50 bool time_sync_add(time_sync_t *sync, uint64_t time1, uint64_t time2);
51 bool time_sync_estimate_time1(time_sync_t *sync, uint64_t time2, uint64_t *time1);
52 void time_sync_hold(time_sync_t *sync, uint8_t count);
Dap_hub_sync.h51 void apHubSyncReset(struct ApHubSync* sync);
54 void apHubSyncAddDelta(struct ApHubSync* sync, uint64_t apTime, uint64_t hubTime);
57 int64_t apHubSyncGetDelta(struct ApHubSync* sync, uint64_t hubTime);
/device/common/
Dgenerate-blob-lists.sh45 repo sync -j32 -n
46 repo sync -j32 -n
47 repo sync -j2 -l
/device/linaro/dragonboard/
Dinit.common.rc36 chmod 755 /sys/kernel/debug/sync
37 chown graphics graphics /sys/kernel/debug/sync/sw_sync
38 chmod 777 /sys/kernel/debug/sync/sw_sync
39 chown graphics graphics /sys/kernel/debug/sync/info
/device/google/cuttlefish/guest/hals/light/lights/
Dlights_vsock_server.rs25 use std::sync::atomic::{AtomicBool, Ordering};
26 use std::sync::mpsc;
27 use std::sync::Arc;
/device/google/contexthub/firmware/variant/
Dvariant.mk49 .PHONY: all clean sync
78 sync:
/device/google/cuttlefish/tools/
Dflash-blk-dev.sh87 dd if=${image} of=/dev/${blk_dev} bs=1M conv=sync,noerror status=progress
110 sudo sync /dev/${blk_dev}
Dcreate_base_image_combined.sh46 …ersistent-https://android.git.corp.google.com/kernel/manifest -b common-android13-5.15 && repo sync
63 …t -u persistent-https://android.git.corp.google.com/kernel/manifest -b u-boot-mainline && repo sync
/device/google/cuttlefish/tools/gigabyte-ampere-cuttlefish-installer/
Dkernel_download.sh20 repo sync
/device/google/trout/agl_services_build/
Dnewrepo.sh32 repo sync -c -q -j2
/device/google/cuttlefish_vmm/x86_64-linux-gnu/
DCargo.lock26 "sync",
138 "sync",
305 "sync",
333 "sync",
732 "sync",
760 "sync",
768 "sync",
884 "sync",
1087 "sync",
1123 "sync",
[all …]
/device/google/cuttlefish_vmm/aarch64-linux-gnu/
DCargo.lock26 "sync",
138 "sync",
305 "sync",
333 "sync",
732 "sync",
760 "sync",
768 "sync",
884 "sync",
1087 "sync",
1123 "sync",
[all …]
/device/generic/trusty/
Dfstab.trusty8 /dev/block/vdd /metadata ext4 noatime,nosuid,nodev,sync wait,check,formattable,f…
/device/google/cuttlefish_vmm/qemu/scripts/
Drebuild_in_container.sh49 repo sync
/device/generic/goldfish/tools/
Dmk_qemu_image.sh33 dd if=$srcimg of=$target conv=notrunc,sync ibs=1024k obs=1024k seek=1 > /dev/null 2>&1
/device/amlogic/yukawa/
Dfstab.yukawa.ab4 …c/by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard,sync
Dfstab.yukawa.avb.ab4 …by-name/metadata /metadata ext4 noatime,nosuid,nodev,discard,sync wait,check,…
/device/google/cuttlefish/guest/hals/bluetooth/src/
Dhci.rs27 use std::sync::mpsc;
28 use std::sync::{Arc, Mutex};
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Dlib.rs69 use std::sync::atomic::ATOMIC_USIZE_INIT;
70 use std::sync::atomic::{AtomicUsize, Ordering};
/device/google/cuttlefish/host/commands/vhost_user_input/
Dmain.rs10 use std::sync::{Arc, Mutex};
/device/google/cuttlefish/guest/hals/light/
Dlights.rs20 use std::sync::Mutex;
/device/google/contexthub/firmware/os/core/
Dbl.c491 uint32_t sync, cmd, addr = 0, len, checksum = 0, i; in blLoader() local
498 while ((sync = blLoaderRxByte()) != BL_SYNC_IN); in blLoader()
502 if (sync == BL_SYNC_IN && cmd != BL_ERROR) in blLoader()
/device/google/cuttlefish/guest/hals/nfc/src/
Dnfc.rs31 use std::sync::Arc;
34 use tokio::sync::Mutex;

12