Lines Matching refs:ns
130 int setDelay(int handle, int64_t ns);
131 int setDelay_sub(int handle, int64_t ns);
153 int proxy_setDelay(int handle, int64_t ns);
235 int sensors_poll_context_t::setDelay(int handle, int64_t ns) { in setDelay() argument
244 setDelay_sub(ID_A, ns); in setDelay()
245 setDelay_sub(ID_M, ns); in setDelay()
251 return setDelay_sub(handle, ns); in setDelay()
254 int sensors_poll_context_t::setDelay_sub(int handle, int64_t ns) { in setDelay_sub() argument
262 if (cur != ns) { in setDelay_sub()
263 err = mSensors[drv]->setDelay(handle, ns); in setDelay_sub()
267 if (cur > ns) { in setDelay_sub()
268 err = mSensors[drv]->setDelay(handle, ns); in setDelay_sub()
339 int handle, int64_t ns) { in poll__setDelay() argument
341 return ctx->setDelay(handle, ns); in poll__setDelay()