Searched refs:watermark (Results 1 – 2 of 2) sorted by relevance
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 569 uint8_t watermark; member 1264 mTask.watermark = calcWatermark2_(_task); 1265 DEBUG_PRINT("wm=%d", mTask.watermark); 1266 SPI_WRITE(BMI160_REG_FIFO_CONFIG_0, mTask.watermark); 3830 T(watermark) = 0; 4178 int firstReadSize = T(watermark) * 4 + 32; // 1+6+6+8+1+3 + extra = 25 + extra = 32 4263 size_t watermark = calcFifoSize(period, latency, factor, NUM_CONT_SENSOR) / 4; local 4264 DEBUG_PRINT_IF(DBG_WM_CALC, "cwm2: wm = %d", watermark); 4265 watermark = watermark < WATERMARK_MIN ? WATERMARK_MIN : watermark; 4266 watermark = watermark > WATERMARK_MAX ? WATERMARK_MAX : watermark; [all …]
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 716 uint16_t watermark; member 2311 uint16_t watermark; in lsm6dsm_calculateWatermark() local 2321 watermark = (i - 1) * T(fifoCntl).totalSip; in lsm6dsm_calculateWatermark() 2323 while (watermark > LSM6DSM_MAX_WATERMARK_VALUE) { in lsm6dsm_calculateWatermark() 2324 watermark /= 2; in lsm6dsm_calculateWatermark() 2325 watermark = watermark - (watermark % T(fifoCntl).totalSip); in lsm6dsm_calculateWatermark() 2328 DEBUG_PRINT("calculateWatermark: level=#%d, min latency=%lldns\n", watermark, *minLatency); in lsm6dsm_calculateWatermark() 2330 if (T(fifoCntl).watermark != watermark) { in lsm6dsm_calculateWatermark() 2331 T(fifoCntl).watermark = watermark; in lsm6dsm_calculateWatermark() 2438 watermarkReg = T(fifoCntl).watermark * 3; in lsm6dsm_updateOdrs()
|