Home
last modified time | relevance | path

Searched refs:NS2US (Results 1 – 1 of 1) sorted by relevance

/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c59 #define NS2US(x) (x >> 10) // convert nsec to approx usec macro
61 #define PROPOSAL_MIN_SETTLE_TIME NS2US(40000000ull) // 40 ms
62 #define PROPOSAL_MAX_SETTLE_TIME NS2US(400000000ull) // 400 ms
64 #define PROPOSAL_SETTLE_TIME_SLOPE NS2US(12000000ull) // 12 ms/deg
66 #define PROPOSAL_MIN_TIME_SINCE_FLAT_ENDED NS2US(500000000ull) // 500 ms
67 #define PROPOSAL_MIN_TIME_SINCE_SWING_ENDED NS2US(300000000ull) // 300 ms
68 #define PROPOSAL_MIN_TIME_SINCE_ACCELERATION_ENDED NS2US(500000000ull) // 500 ms
71 #define FLAT_TIME NS2US(1000000000ull) // 1 sec
74 #define SWING_TIME NS2US(300000000ull) // 300 ms
76 #define MAX_FILTER_DELTA_TIME NS2US(1000000000ull) // 1 sec
[all …]