Home
last modified time | relevance | path

Searched refs:minLatency (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c2219 static bool lsm6dsm_calculateFifoDecimators(uint32_t RequestedRate[FIFO_NUM], uint64_t *minLatency) in lsm6dsm_calculateFifoDecimators() argument
2235 if (T(sensors[i]).latency < *minLatency) in lsm6dsm_calculateFifoDecimators()
2236 *minLatency = T(sensors[i]).latency; in lsm6dsm_calculateFifoDecimators()
2249 … if (((uint64_t)lsm6dsm_sensorHzToNs(T(fifoCntl).triggerRate) * decimators[i]) > *minLatency) in lsm6dsm_calculateFifoDecimators()
2307 static bool lsm6dsm_calculateWatermark(uint64_t *minLatency) in lsm6dsm_calculateWatermark() argument
2319 } while ((tempLatency < *minLatency) && (i <= LSM6DSM_MAX_WATERMARK_VALUE)); in lsm6dsm_calculateWatermark()
2328 DEBUG_PRINT("calculateWatermark: level=#%d, min latency=%lldns\n", watermark, *minLatency); in lsm6dsm_calculateWatermark()
2362 static inline void lsm6dsm_updateSyncTaskMode(uint64_t *minLatency) in lsm6dsm_updateSyncTaskMode() argument
2368 if (*minLatency < LSM6DSM_SYNC_DELTA_INTERVAL) { in lsm6dsm_updateSyncTaskMode()
2388 uint64_t minLatency = UINT64_MAX; in lsm6dsm_updateOdrs() local
[all …]
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c4212 int minLatency = INT_MAX; local
4215 minLatency = iLatency[i] < minLatency ? iLatency[i] : minLatency;
4218 DEBUG_PRINT_IF(DBG_WM_CALC, "cfifo: min latency %d unit", minLatency);
4226 size_t t = minLatency / iPeriod[i];