Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
Dnanohub_chre.c300 if (si->supportedRates) { in osChreSensorGetInfo()
301 for (i=0; si->supportedRates[i] != 0; i++) { in osChreSensorGetInfo()
302 if (si->supportedRates[i] > max in osChreSensorGetInfo()
303 && si->supportedRates[i] != SENSOR_RATE_ONDEMAND in osChreSensorGetInfo()
304 && si->supportedRates[i] != SENSOR_RATE_ONCHANGE in osChreSensorGetInfo()
305 && si->supportedRates[i] != SENSOR_RATE_ONESHOT) { in osChreSensorGetInfo()
306 max = si->supportedRates[i]; in osChreSensorGetInfo()
390 if (!si->supportedRates || si->supportedRates[0] == 0) in osChreSensorConfigure()
393 for (i = 0; si->supportedRates[i] != 0; i++) { in osChreSensorConfigure()
394 rate = si->supportedRates[i]; in osChreSensorConfigure()
Dsensors.c121 if (si->supportedRates) { in sensorRegisterEx()
122 for (i = 0; si->supportedRates[i]; i++) { in sensorRegisterEx()
123 if (si->supportedRates[i] == SENSOR_RATE_ONCHANGE) in sensorRegisterEx()
125 if (si->supportedRates[i] == SENSOR_RATE_ONDEMAND) in sensorRegisterEx()
408 if (s->si->supportedRates && in sensorCalcHwRate()
456 for (i = 0; s->si->supportedRates && s->si->supportedRates[i]; i++) in sensorCalcHwRate()
457 if (s->si->supportedRates[i] >= highestReq) in sensorCalcHwRate()
458 return s->si->supportedRates[i]; in sensorCalcHwRate()
/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c120 static const uint32_t supportedRates[] = variable
129 .supportedRates = supportedRates,
/device/google/contexthub/firmware/os/inc/
Dsensors.h215 const uint32_t *supportedRates; member
295 static inline uint64_t sensorTimerLookupCommon(const uint32_t *supportedRates, const uint64_t *time… in sensorTimerLookupCommon() argument
299 while ((rate = *supportedRates++) != 0) { in sensorTimerLookupCommon()
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c195 static const uint32_t supportedRates[] = variable
353 …mData.alsTimerHandle = timTimerSet(sensorTimerLookupCommon(supportedRates, rateTimerVals, rate), 0… in sensorRateAls()
408 …mData.proxTimerHandle = timTimerSet(sensorTimerLookupCommon(supportedRates, rateTimerVals, rate), … in sensorRateProx()
436 .supportedRates = supportedRates,
457 .supportedRates = supportedRates,
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c152 static const uint32_t supportedRates[] = variable
264 …mData.alsTimerHandle = timTimerSet(sensorTimerLookupCommon(supportedRates, rateTimerVals, rate), 0… in sensorRateAls()
291 .supportedRates = supportedRates,
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c137 static const uint32_t supportedRates[] = variable
146 .supportedRates = supportedRates,
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c246 static const uint32_t supportedRates[] = variable
549 .supportedRates = supportedRates,
570 .supportedRates = supportedRates,
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c270 static const uint32_t supportedRates[] = variable
665 .supportedRates = supportedRates,
687 .supportedRates = supportedRates,
/device/google/contexthub/firmware/os/drivers/leds/
Dleds_gpio.c137 .supportedRates = ledsRates,
Dleds_lp3943.c259 .supportedRates = ledsRates,
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c470 .supportedRates = baroSupportedRates,
490 .supportedRates = tempSupportedRates,
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c402 .supportedRates = rates, \
413 .supportedRates = rates, \
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c278 .supportedRates = rates
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c231 .supportedRates = rates
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c304 .supportedRates = rates, \
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c320 .supportedRates = rates
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c157 .supportedRates = rates, \
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c718 .supportedRates = rates
722 .supportedRates = rates, \
729 .supportedRates = rates, \
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c685 .supportedRates = rates
689 .supportedRates = rates, \
696 .supportedRates = rates, \
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c970 .supportedRates = rates
974 .supportedRates = rates, \
980 .supportedRates = rates, \