Searched refs:sensorFind (Results 1 – 7 of 7) sorted by relevance
/device/google/contexthub/firmware/src/drivers/tilt_detection/ |
D | tilt_detection.c | 232 sensorFind(SENS_TYPE_ANY_MOTION, 0, &mTask.anyMotionHandle); in tiltDetectionHandleEvent() 233 sensorFind(SENS_TYPE_NO_MOTION, 0, &mTask.noMotionHandle); in tiltDetectionHandleEvent() 234 sensorFind(SENS_TYPE_ACCEL, 0, &mTask.accelHandle); in tiltDetectionHandleEvent()
|
/device/google/contexthub/firmware/src/drivers/orientation/ |
D | orientation.c | 525 for (i = 0; sensorFind(SENS_TYPE_ACCEL, i, &mTask.accelHandle) != NULL; i++) { in fusionSetRateAcc() 544 for (i = 0; sensorFind(SENS_TYPE_GYRO, i, &mTask.gyroHandle) != NULL; i++) { in fusionSetRateGyr() 563 for (i = 0; sensorFind(SENS_TYPE_MAG, i, &mTask.magHandle) != NULL; i++) { in fusionSetRateMag() 715 if (!sensorFind(SENS_TYPE_GYRO, 0, &mTask.gyroHandle)) { in fusionHandleEvent() 720 if (!sensorFind(SENS_TYPE_MAG, 0, &mTask.magHandle)) { in fusionHandleEvent()
|
/device/google/contexthub/firmware/inc/ |
D | sensors.h | 258 const struct SensorInfo* sensorFind(uint32_t sensorType, uint32_t idx, uint32_t *handleP); //enumer…
|
/device/google/contexthub/firmware/src/ |
D | hostIntf.c | 620 for (j = 0, present = 0, error = 0; (si = sensorFind(i, j, &handle)) != NULL; j++) { in initSensors() 691 … if ((si = sensorFind(i, 0, &handle)) != NULL && !(si->flags1 & SENSOR_INFO_FLAGS1_LOCAL_ONLY)) { in initSensors() 1159 for (i = 0; sensorFind(cmd->sensType, i, &sensor->sensorHandle) != NULL; i++) { in hostIntfHandleEvent() 1181 for (i = 0; sensorFind(cmd->sensType, i, &tempSensorHandle) != NULL; i++) in hostIntfHandleEvent() 1184 for (i = 0; sensorFind(cmd->sensType, i, &tempSensorHandle) != NULL; i++) in hostIntfHandleEvent()
|
D | osApi.c | 136 *retValP = (uintptr_t)sensorFind(sensorType, idx, handleP); in osExpApiSensorFind()
|
D | sensors.c | 572 const struct SensorInfo* sensorFind(uint32_t sensorType, uint32_t idx, uint32_t *handleP) in sensorFind() function
|
/device/google/contexthub/firmware/src/drivers/window_orientation/ |
D | window_orientation.c | 512 for (i = 0; sensorFind(SENS_TYPE_ACCEL, i, &mTask.accelHandle) != NULL; i++) { in windowOrientationSetRate()
|