Searched refs:delay_ns (Results 1 – 2 of 2) sorted by relevance
127 int AdxlSensor::setDelay(int32_t handle, int64_t delay_ns) in setDelay() argument141 if (mDelay != delay_ns) { in setDelay()147 us = (int32_t)(delay_ns / 1000); in setDelay()160 mDelay = delay_ns; in setDelay()162 delay_ns/1000000.0f, 1e6 / (3200000 >> (15 - rate_val))); in setDelay()
124 int KionixSensor::setDelay(int32_t handle, int64_t delay_ns) in setDelay() argument135 if (mDelay != delay_ns) { in setDelay()136 ms = delay_ns / 1000000; in setDelay()140 mDelay = delay_ns; in setDelay()