Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c721 uint8_t totalSip; member
2278 T(fifoCntl).totalSip = 0; in lsm6dsm_calculateFifoDecimators()
2286 T(fifoCntl).totalSip += (maxDec / T(fifoCntl).decimators[i]); in lsm6dsm_calculateFifoDecimators()
2290 DEBUG_PRINT("calculateFifoDecimators: samples in pattern=%d\n", T(fifoCntl).totalSip); in lsm6dsm_calculateFifoDecimators()
2314 if (T(fifoCntl).totalSip > 0) { in lsm6dsm_calculateWatermark()
2321 watermark = (i - 1) * T(fifoCntl).totalSip; in lsm6dsm_calculateWatermark()
2325 watermark = watermark - (watermark % T(fifoCntl).totalSip); in lsm6dsm_calculateWatermark()
4702 …ToRead) = LSM6DSM_SPI_FIFO_SIZE - (LSM6DSM_SPI_FIFO_SIZE % (T(fifoCntl).totalSip * LSM6DSM_ONE_SAM… in lsm6dsm_handleSpiDoneEvt()
4707 if (T(fifoDataToRead) >= (T(fifoCntl).totalSip * LSM6DSM_ONE_SAMPLE_BYTE)) in lsm6dsm_handleSpiDoneEvt()
4708 … T(fifoDataToRead) -= T(fifoDataToRead) % (T(fifoCntl).totalSip * LSM6DSM_ONE_SAMPLE_BYTE); in lsm6dsm_handleSpiDoneEvt()
[all …]