Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c329 sensorSignalInternalEvt(mTask.baroHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in sensorPowerBaro()
350 sensorSignalInternalEvt(mTask.baroHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in sensorPowerBaro()
359 return sensorSignalInternalEvt(mTask.baroHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareBaro()
367 return sensorSignalInternalEvt(mTask.baroHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateBaro()
418 sensorSignalInternalEvt(mTask.tempHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in sensorPowerTemp()
439 sensorSignalInternalEvt(mTask.tempHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in sensorPowerTemp()
449 sensorSignalInternalEvt(mTask.tempHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareTemp()
458 sensorSignalInternalEvt(mTask.tempHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateTemp()
626 sensorSignalInternalEvt(mTask.baroHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handleI2cEvent()
627 sensorSignalInternalEvt(mTask.tempHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handleI2cEvent()
[all …]
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c371 sensorSignalInternalEvt(mTask.sensors[BARO].handle, in baroPower()
386 …return sensorSignalInternalEvt(mTask.sensors[BARO].handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in baroFwUpload()
399 return sensorSignalInternalEvt(mTask.sensors[BARO].handle, in baroSetRate()
468 sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in tempPower()
483 …return sensorSignalInternalEvt(mTask.sensors[TEMP].handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in tempFwUpload()
495 return sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in tempSetRate()
554 sensorSignalInternalEvt(mTask.sensors[BARO].handle, in handleCommDoneEvt()
559 sensorSignalInternalEvt(mTask.sensors[BARO].handle, in handleCommDoneEvt()
564 sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in handleCommDoneEvt()
569 sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in handleCommDoneEvt()
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c272 return sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in humiPower()
280 return sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in humiFwUpload()
294 return sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in humiSetRate()
313 return sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in tempPower()
321 return sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in tempFwUpload()
335 return sensorSignalInternalEvt(mTask.sensors[TEMP].handle, in tempSetRate()
/device/google/contexthub/firmware/os/drivers/vsync/
Dvsync.c167 sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in vsyncPower()
173 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in vsyncFirmwareUpload()
179 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in vsyncSetRate()
/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c154 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in hallPower()
159 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in hallFirmwareUpload()
173 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in hallSetRate()
/device/google/contexthub/firmware/os/drivers/leds/
Dleds_gpio.c92 return sensorSignalInternalEvt(mTask.sHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in sensorLedsPower()
97 return sensorSignalInternalEvt(mTask.sHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorLedsFwUpload()
108 return sensorSignalInternalEvt(mTask.sHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorLedsSetRate()
Dleds_lp3943.c197 return sensorSignalInternalEvt(mTask.sHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in sensorLP3943Power()
202 return sensorSignalInternalEvt(mTask.sHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorLP3943FwUpload()
213 return sensorSignalInternalEvt(mTask.sHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorLP3943SetRate()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c447 return sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareAls()
457 return sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateAls()
497 return sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareProx()
507 return sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateProx()
668 sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
672 sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
676 sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
691 sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c340 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareAls()
355 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateAls()
395 sensorSignalInternalEvt(mData.proxHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareProx()
410 sensorSignalInternalEvt(mData.proxHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateProx()
596 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
600 sensorSignalInternalEvt(mData.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
604 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
608 sensorSignalInternalEvt(mData.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c324 sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in humidityPower()
339 …return sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1… in humidityFwUpload()
352 return sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in humiditySetRate()
424 sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in handleCommDoneEvt()
429 sensorSignalInternalEvt(mTask.sensors[HUMIDITY].handle, in handleCommDoneEvt()
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c251 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareAls()
266 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateAls()
353 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
357 sensorSignalInternalEvt(mData.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c175 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in hallPower()
180 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in hallFirmwareUpload()
189 return sensorSignalInternalEvt(mTask.sensorHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in hallSetRate()
/device/google/contexthub/firmware/os/drivers/tilt_detection/
Dtilt_detection.c200 sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, in tiltDetectionPower()
207 sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, in tiltDetectionSetRate()
214 sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, in tiltDetectionFirmwareUpload()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c502 return sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareAls()
512 return sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateAls()
589 return sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in sensorFirmwareProx()
599 return sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in sensorRateProx()
907 sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
911 sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, true, 0); in handle_i2c_event()
921 sensorSignalInternalEvt(mTask.alsHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
935 sensorSignalInternalEvt(mTask.proxHandle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, false, 0); in handle_i2c_event()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c392 sensorSignalInternalEvt(mTask.accHandle, in st_acc44_Power()
405 return sensorSignalInternalEvt(mTask.accHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in st_acc44_FwUpload()
726 sensorSignalInternalEvt(mTask.accHandle, in st_acc44_handleCommDoneEvt()
734 sensorSignalInternalEvt(mTask.accHandle, in st_acc44_handleCommDoneEvt()
743 sensorSignalInternalEvt(mTask.accHandle, in st_acc44_handleCommDoneEvt()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c395 return sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, mTask.on, 0); in callbackPower()
400 return sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in callbackFirmwareUpload()
405 return sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in callbackSetRate()
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c570 sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in windowOrientationPower()
593 sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in windowOrientationSetRate()
600 sensorSignalInternalEvt(mTask.handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, in windowOrientationFirmwareUpload()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c963 sensorSignalInternalEvt(mTask.sensors[ACC].handle,
970 sensorSignalInternalEvt(mTask.sensors[GYR].handle,
978 sensorSignalInternalEvt(mTask.sensors[MAG].handle,
986 sensorSignalInternalEvt(mTask.sensors[STEP].handle,
993 sensorSignalInternalEvt(mTask.sensors[DTAP].handle,
1000 sensorSignalInternalEvt(mTask.sensors[NOMO].handle,
1007 sensorSignalInternalEvt(mTask.sensors[ANYMO].handle,
1014 sensorSignalInternalEvt(mTask.sensors[FLAT].handle,
1021 sensorSignalInternalEvt(mTask.sensors[STEPCNT].handle,
1754 sensorSignalInternalEvt(mTask.sensors[STEP].handle,
[all …]
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c476 return sensorSignalInternalEvt(mTask.magHandle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in magFwUpload()
822 sensorSignalInternalEvt(mTask.magHandle, in sensorMagConfig()
835 sensorSignalInternalEvt(mTask.magHandle, in sensorMagConfig()
848 sensorSignalInternalEvt(mTask.magHandle, in sensorMagConfig()
/device/google/contexthub/firmware/os/inc/
Dsensors.h263 bool sensorSignalInternalEvt(uint32_t handle, uint32_t intEvtNum, uint32_t value1, uint64_t value2);
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c2988 sensorSignalInternalEvt(T(sensors[ACCEL]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_accelFirmwareUpload()
3001 sensorSignalInternalEvt(T(sensors[GYRO]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_gyroFirmwareUpload()
3015 sensorSignalInternalEvt(T(sensors[MAGN]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_magnFirmwareUpload()
3030 sensorSignalInternalEvt(T(sensors[PRESS]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_pressFirmwareUpload()
3043 sensorSignalInternalEvt(T(sensors[TEMP]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_tempFirmwareUpload()
3057sensorSignalInternalEvt(T(sensors[STEP_DETECTOR]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_stepDetectorFirmwareUpload()
3070sensorSignalInternalEvt(T(sensors[STEP_COUNTER]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_stepCounterFirmwareUpload()
3083 sensorSignalInternalEvt(T(sensors[SIGN_MOTION]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in lsm6dsm_signMotionFirmwareUpload()
3351sensorSignalInternalEvt(T(sensors[STEP_DETECTOR]).handle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, late… in lsm6dsm_setStepDetectorRate()
3415sensorSignalInternalEvt(T(sensors[SIGN_MOTION]).handle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latenc… in lsm6dsm_setSignMotionRate()
[all …]
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c705 sensorSignalInternalEvt(mSensor->handle, SENSOR_INTERNAL_EVT_RATE_CHG, rate, latency); in fusionSetRate()
755 sensorSignalInternalEvt(mSensor->handle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, on, 0); in fusionPower()
764 sensorSignalInternalEvt(mSensor->handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0); in fusionFirmwareUpload()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c1862 sensorSignalInternalEvt(T(sensors[i]).handle, SENSOR_INTERNAL_EVT_FW_STATE_CHG, 1, 0);
2967 sensorSignalInternalEvt(mSensor->handle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, 1, 0);
3005 sensorSignalInternalEvt(mSensor->handle, SENSOR_INTERNAL_EVT_POWER_STATE_CHG, 0, 0);
3022sensorSignalInternalEvt(mSensor->handle, SENSOR_INTERNAL_EVT_RATE_CHG, mSensor->rate, mSensor->lat…
/device/google/contexthub/firmware/os/core/
Dsensors.c536 bool sensorSignalInternalEvt(uint32_t handle, uint32_t intEvtNum, uint32_t value1, uint64_t value2) in sensorSignalInternalEvt() function
DosApi.c106 *retValP = (uintptr_t)sensorSignalInternalEvt(handle, intEvtNum, value1, value2); in osExpApiSensorSignal()