Lines Matching refs:ctx
390 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__close() local
391 if (ctx) { in poll__close()
392 delete ctx; in poll__close()
400 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__activate() local
401 return ctx->activate(handle, enabled); in poll__activate()
407 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__setDelay() local
408 int s= ctx->setDelay(handle, ns); in poll__setDelay()
415 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__poll() local
416 return ctx->pollEvents(data, count); in poll__poll()
422 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__batch() local
423 return ctx->batch(handle, flags, period_ns, timeout); in poll__batch()
429 sensors_poll_context_t *ctx = (sensors_poll_context_t *)dev; in poll__flush() local
430 return ctx->flush(handle); in poll__flush()