/device/google/contexthub/firmware/os/core/ |
D | nanohub_chre.c | 300 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()
|
D | sensors.c | 121 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/ |
D | hall.c | 120 static const uint32_t supportedRates[] = variable 129 .supportedRates = supportedRates,
|
/device/google/contexthub/firmware/os/inc/ |
D | sensors.h | 215 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/ |
D | ams_tmd2772.c | 195 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/ |
D | isl29034.c | 152 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/ |
D | hall_twopole.c | 137 static const uint32_t supportedRates[] = variable 146 .supportedRates = supportedRates,
|
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/ |
D | rohm_rpr0521.c | 246 static const uint32_t supportedRates[] = variable 549 .supportedRates = supportedRates, 570 .supportedRates = supportedRates,
|
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/ |
D | ams_tmd4903.c | 270 static const uint32_t supportedRates[] = variable 665 .supportedRates = supportedRates, 687 .supportedRates = supportedRates,
|
/device/google/contexthub/firmware/os/drivers/leds/ |
D | leds_gpio.c | 137 .supportedRates = ledsRates,
|
D | leds_lp3943.c | 259 .supportedRates = ledsRates,
|
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/ |
D | bosch_bmp280.c | 470 .supportedRates = baroSupportedRates, 490 .supportedRates = tempSupportedRates,
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 402 .supportedRates = rates, \ 413 .supportedRates = rates, \
|
/device/google/contexthub/firmware/os/drivers/st_hts221/ |
D | hts221.c | 278 .supportedRates = rates
|
/device/google/contexthub/firmware/os/drivers/si_si7034/ |
D | si7034a10.c | 231 .supportedRates = rates
|
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 304 .supportedRates = rates, \
|
/device/google/contexthub/firmware/os/drivers/st_lps22hb/ |
D | lps22hb.c | 320 .supportedRates = rates
|
/device/google/contexthub/firmware/os/drivers/orientation/ |
D | orientation.c | 157 .supportedRates = rates, \
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 718 .supportedRates = rates 722 .supportedRates = rates, \ 729 .supportedRates = rates, \
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 685 .supportedRates = rates 689 .supportedRates = rates, \ 696 .supportedRates = rates, \
|
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/ |
D | st_lsm6dsm.c | 970 .supportedRates = rates 974 .supportedRates = rates, \ 980 .supportedRates = rates, \
|