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.c63 #define NS2US(x) ((x) >> 10) // convert nsec to approx usec macro
65 #define PROPOSAL_MIN_SETTLE_TIME NS2US(40000000ull) // 40 ms
66 #define PROPOSAL_MAX_SETTLE_TIME NS2US(400000000ull) // 400 ms
68 #define PROPOSAL_SETTLE_TIME_SLOPE NS2US(12000000ull) // 12 ms/deg
70 #define PROPOSAL_MIN_TIME_SINCE_FLAT_ENDED NS2US(500000000ull) // 500 ms
71 #define PROPOSAL_MIN_TIME_SINCE_SWING_ENDED NS2US(300000000ull) // 300 ms
72 #define PROPOSAL_MIN_TIME_SINCE_ACCELERATION_ENDED NS2US(500000000ull) // 500 ms
75 #define FLAT_TIME NS2US(1000000000ull) // 1 sec
78 #define SWING_TIME NS2US(300000000ull) // 300 ms
80 #define MAX_FILTER_DELTA_TIME NS2US(1000000000ull) // 1 sec
[all …]