Home
last modified time | relevance | path

Searched refs:ns (Results 1 – 25 of 41) sorted by relevance

12

/hardware/invensense/65xx/libsensors_iio/
DPressureSensor.IIO.secondary.cpp102 int PressureSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument
108 mDelay = int(1000000000.f / ns); in setDelay()
114 int t_poll_time = (int)(ns / 1000000LL); in setDelay()
121 "HAL:setDelay : %llu ns, (%.2f Hz)", ns, 1000000000.f/ns); in setDelay()
DCompassSensor.IIO.9150.cpp149 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument
156 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); in setDelay()
157 mDelay = ns; in setDelay()
158 if (ns == 0) in setDelay()
161 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
DCompassSensor.AKM.cpp84 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument
89 return mCompassSensor->setDelay(handle, ns); in setDelay()
DCompassSensor.IIO.primary.cpp284 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument
290 mDelay = ns; in setDelay()
291 if (ns == 0) in setDelay()
295 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); in setDelay()
296 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
Dsensors_mpl.cpp92 int setDelay(int handle, int64_t ns);
198 int sensors_poll_context_t::setDelay(int handle, int64_t ns) in setDelay() argument
201 return mSensor->setDelay(handle, ns); in setDelay()
352 int handle, int64_t ns) in poll__setDelay() argument
355 int s= ctx->setDelay(handle, ns); in poll__setDelay()
DPressureSensor.IIO.secondary.h45 virtual int setDelay(int32_t handle, int64_t ns);
DCompassSensor.AKM.h47 virtual int setDelay(int32_t handle, int64_t ns);
DMPLSensor.cpp2338 int64_t ns; in setBatch() local
2345 ns = mBatchTimeouts[i]; in setBatch()
2346 timeout = (ns < timeout) ? ns : timeout; in setBatch()
3063 int MPLSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument
3089 if (ns < 0) in setDelay()
3093 "setDelay : %llu ns, (%.2f Hz)", ns, 1000000000.f / ns); in setDelay()
3096 if (ns < 5000000LL) { in setDelay()
3097 ns = 5000000LL; in setDelay()
3102 mDelays[what] = ns; in setDelay()
3103 … LOGV_IF(ENG_VERBOSE, "storing mDelays[%d] = %lld, previousDelay = %lld", what, ns, previousDelay); in setDelay()
[all …]
DCompassSensor.IIO.9150.h46 virtual int setDelay(int32_t handle, int64_t ns);
DCompassSensor.IIO.primary.h49 virtual int setDelay(int32_t handle, int64_t ns);
DSensorBase.h94 virtual int setDelay(int32_t handle, int64_t ns);
/hardware/invensense/6515/libsensors_iio/
DPressureSensor.IIO.secondary.cpp101 int PressureSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument
107 mDelay = int(1000000000.f / ns); in setDelay()
113 int t_poll_time = (int)(ns / 1000000LL); in setDelay()
120 "HAL:setDelay : %llu ns, (%.2f Hz)", ns, 1000000000.f/ns); in setDelay()
DCompassSensor.IIO.9150.cpp151 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument
158 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); in setDelay()
159 mDelay = ns; in setDelay()
160 if (ns == 0) in setDelay()
163 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
DCompassSensor.AKM.cpp84 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument
89 return mCompassSensor->setDelay(handle, ns); in setDelay()
Dsensors_mpl.cpp115 int setDelay(int handle, int64_t ns);
207 int sensors_poll_context_t::setDelay(int handle, int64_t ns) in setDelay() argument
210 return mSensor->setDelay(handle, ns); in setDelay()
407 int handle, int64_t ns) in poll__setDelay() argument
410 int s= ctx->setDelay(handle, ns); in poll__setDelay()
DCompassSensor.IIO.primary.cpp284 int CompassSensor::setDelay(int32_t handle, int64_t ns) in setDelay() argument
290 mDelay = ns; in setDelay()
291 if (ns == 0) in setDelay()
295 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); in setDelay()
296 res = write_attribute_sensor(tempFd, 1000000000.f / ns); in setDelay()
DPressureSensor.IIO.secondary.h45 virtual int setDelay(int32_t handle, int64_t ns);
DCompassSensor.AKM.h47 virtual int setDelay(int32_t handle, int64_t ns);
DCompassSensor.IIO.9150.h46 virtual int setDelay(int32_t handle, int64_t ns);
DCompassSensor.IIO.primary.h49 virtual int setDelay(int32_t handle, int64_t ns);
DSensorBase.h95 virtual int setDelay(int32_t handle, int64_t ns);
/hardware/st/secure_element2/secure_element/1.0/esehal/src/
Dtransport.c70 ts_add_ns(const struct timespec ta, uint64_t ns) in ts_add_ns() argument
73 div_uint64_rem(ta.tv_nsec + ns, NSEC_PER_SEC, &ns); in ts_add_ns()
74 struct timespec ts = { sec, ns }; in ts_add_ns()
/hardware/qcom/sdm845/display/sdm/include/utils/
Dlocker.h151 uint64_t ns = (uint64_t)ts.tv_nsec + (ms * 1000000L); in WaitFinite() local
152 ts.tv_sec = ts.tv_sec + (time_t)(ns / 1000000000L); in WaitFinite()
153 ts.tv_nsec = ns % 1000000000L; in WaitFinite()
/hardware/qcom/sm8150/display/sdm/include/utils/
Dlocker.h159 uint64_t ns = (uint64_t)ts.tv_nsec + (ms * 1000000L); in WaitFinite() local
160 ts.tv_sec = ts.tv_sec + (time_t)(ns / 1000000000L); in WaitFinite()
161 ts.tv_nsec = ns % 1000000000L; in WaitFinite()
/hardware/interfaces/tests/foo/1.0/
DIFooCallback.hal29 // Block the caller for up to ns nanosesonds and return the number
45 reportResults(int64_t ns) generates (int64_t leftNs, InvokeInfo[3] invokeInfo);

12