Searched refs:decimators (Results 1 – 1 of 1) sorted by relevance
717 uint8_t decimators[FIFO_NUM]; member2222 uint8_t i, n, tempDec, decimators[FIFO_NUM] = { 0 }, minDec = UINT8_MAX, maxDec = 0; in lsm6dsm_calculateFifoDecimators() local2245 …decimators[i] = (T(fifoCntl).triggerRate / RequestedRate[i]) <= 32 ? (T(fifoCntl).triggerRate / Re… in lsm6dsm_calculateFifoDecimators()2247 tempDec = decimators[i]; in lsm6dsm_calculateFifoDecimators()2248 while (decimators[i] > 1) { in lsm6dsm_calculateFifoDecimators()2249 … if (((uint64_t)lsm6dsm_sensorHzToNs(T(fifoCntl).triggerRate) * decimators[i]) > *minLatency) in lsm6dsm_calculateFifoDecimators()2250 decimators[i] /= 2; in lsm6dsm_calculateFifoDecimators()2254 T(sensors[sidx]).samplesFifoDecimator = tempDec / decimators[i]; in lsm6dsm_calculateFifoDecimators()2257 if (decimators[i] < minDec) in lsm6dsm_calculateFifoDecimators()2258 minDec = decimators[i]; in lsm6dsm_calculateFifoDecimators()[all …]