Home
last modified time | relevance | path

Searched refs:osEnqueueEvt (Results 1 – 23 of 23) sorted by relevance

/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c77 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL); in debounceTimerCallback()
170 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL); in hallSetRate()
178 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HALL), SENSOR_DATA_EVENT_FLUSH, NULL); in hallFlush()
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c300 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HUMIDITY), SENSOR_DATA_EVENT_FLUSH, NULL); in humiFlush()
341 … return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_AMBIENT_TEMP), SENSOR_DATA_EVENT_FLUSH, NULL); in tempFlush()
400 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HUMIDITY), sample.vptr, NULL); in handleI2cEvent()
409 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_AMBIENT_TEMP), sample.vptr, NULL); in handleI2cEvent()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c277 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL); in proxIsr()
462 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_ALS), SENSOR_DATA_EVENT_FLUSH, NULL); in sensorFlushAls()
512 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_PROX), SENSOR_DATA_EVENT_FLUSH, NULL); in sensorFlushProx()
703 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_ALS), sample.vptr, NULL); in handle_i2c_event()
726 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL); in handle_i2c_event()
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c80 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HALL), sample.vptr, NULL); in hallReportState()
194 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HALL), SENSOR_DATA_EVENT_FLUSH, NULL); in hallFlush()
/device/google/contexthub/firmware/os/drivers/tilt_detection/
Dtilt_detection.c221 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_TILT), in tiltDetectionFlush()
263 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_TILT), sample.vptr, NULL); in tiltDetectionHandleEvent()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c342 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL); in proxIsr()
517 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_ALS), SENSOR_DATA_EVENT_FLUSH, NULL); in sensorFlushAls()
604 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_PROX), SENSOR_DATA_EVENT_FLUSH, NULL); in sensorFlushProx()
771 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_ALS), sample.vptr, NULL); in handleAlsSample()
798 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL); in handleProxSample()
811 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL); in handleProxSample()
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c362 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_ALS), SENSOR_DATA_EVENT_FLUSH, NULL); in sensorFlushAls()
417 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_PROX), SENSOR_DATA_EVENT_FLUSH, NULL); in sensorFlushProx()
624 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_ALS), sample.vptr, NULL); in handle_i2c_event()
656 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_PROX), sample.vptr, NULL); in handle_i2c_event()
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c273 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_ALS), SENSOR_DATA_EVENT_FLUSH, NULL); in sensorFlushAls()
367 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_ALS), sample.vptr, NULL); in handle_i2c_event()
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c405 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_BARO), SENSOR_DATA_EVENT_FLUSH, NULL); in baroFlush()
501 … return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_AMBIENT_TEMP), SENSOR_DATA_EVENT_FLUSH, NULL); in tempFlush()
624 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_AMBIENT_TEMP), sample.vptr, NULL); in handleCommDoneEvt()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c372 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_BARO), SENSOR_DATA_EVENT_FLUSH, NULL); in sensorFlushBaro()
464 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_TEMP), SENSOR_DATA_EVENT_FLUSH, NULL); in sensorFlushTemp()
684 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_TEMP), embeddedSample.vptr, NULL); in handleI2cEvent()
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c358 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HUMIDITY), SENSOR_DATA_EVENT_FLUSH, NULL); in humidityFlush()
443 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_HUMIDITY), sample.vptr, NULL); in handleCommDoneEvt()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c957 osEnqueueEvt(EVT_SENSOR_STEP_COUNTER, step_cnt.vptr, NULL);
1832 osEnqueueEvt(EVT_SENSOR_ACC_DATA_RDY, SENSOR_DATA_EVENT_FLUSH, NULL);
1836 osEnqueueEvt(EVT_SENSOR_GYR_DATA_RDY, SENSOR_DATA_EVENT_FLUSH, NULL);
1841 osEnqueueEvt(EVT_SENSOR_MAG_DATA_RDY, SENSOR_DATA_EVENT_FLUSH, NULL);
1875 return osEnqueueEvt(EVT_SENSOR_STEP, SENSOR_DATA_EVENT_FLUSH, NULL);
1880 return osEnqueueEvt(EVT_SENSOR_FLAT, SENSOR_DATA_EVENT_FLUSH, NULL);
1885 return osEnqueueEvt(EVT_SENSOR_DOUBLE_TAP, SENSOR_DATA_EVENT_FLUSH, NULL);
1890 return osEnqueueEvt(EVT_SENSOR_ANY_MOTION, SENSOR_DATA_EVENT_FLUSH, NULL);
1895 return osEnqueueEvt(EVT_SENSOR_NO_MOTION, SENSOR_DATA_EVENT_FLUSH, NULL);
1935 osEnqueueEvt(EVT_SENSOR_STEP_COUNTER, step_cnt.vptr, NULL);
[all …]
/device/google/contexthub/firmware/os/drivers/vsync/
Dvsync.c185 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_VSYNC), SENSOR_DATA_EVENT_FLUSH, NULL); in vsyncFlush()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c3432 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_ACCEL), SENSOR_DATA_EVENT_FLUSH, NULL); in lsm6dsm_accelFlush()
3459 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_GYRO), SENSOR_DATA_EVENT_FLUSH, NULL); in lsm6dsm_gyroFlush()
3487 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_MAG), SENSOR_DATA_EVENT_FLUSH, NULL); in lsm6dsm_magnFlush()
3517 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_BARO), SENSOR_DATA_EVENT_FLUSH, NULL); in lsm6dsm_pressFlush()
3531 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_BARO), SENSOR_DATA_EVENT_FLUSH, NULL); in lsm6dsm_pressFlush()
3550 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_TEMP), SENSOR_DATA_EVENT_FLUSH, NULL); in lsm6dsm_tempFlush()
3564 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_TEMP), SENSOR_DATA_EVENT_FLUSH, NULL); in lsm6dsm_tempFlush()
3581 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_STEP_DETECT), SENSOR_DATA_EVENT_FLUSH, NULL); in lsm6dsm_stepDetectorFlush()
3596 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_STEP_COUNT), SENSOR_DATA_EVENT_FLUSH, NULL); in lsm6dsm_stepCounterFlush()
3611 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_SIG_MOTION), SENSOR_DATA_EVENT_FLUSH, NULL); in lsm6dsm_signMotionFlush()
[all …]
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c410 … return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_DOUBLE_TOUCH), SENSOR_DATA_EVENT_FLUSH, NULL); in callbackFlush()
483 osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_DOUBLE_TOUCH), sample.vptr, NULL); in processI2cResponse()
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c607 …return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_WIN_ORIENTATION), SENSOR_DATA_EVENT_FLUSH, NULL… in windowOrientationFlush()
630 if (!osEnqueueEvt(EVT_SENSOR_WIN_ORIENTATION_DATA_RDY, sample.vptr, NULL)) { in windowOrientationHandleEvent()
/device/google/contexthub/firmware/os/core/
Dseos.c765 (void)osEnqueueEvt(EVT_APP_BEGIN, task, NULL); in osStartApp()
790 osEnqueueEvt(EVT_APP_END, task, NULL); in osStopTask()
1171 (void)osEnqueueEvt(EVT_APP_START, NULL, NULL); in osMainInit()
1324 bool osEnqueueEvt(uint32_t evtType, void *evtData, EventFreeF evtFreeF) in osEnqueueEvt() function
1331 bool success = osEnqueueEvt(evtType, evtData, evtFreeF); in osEnqueueEvtOrFree()
/device/google/contexthub/firmware/os/inc/
Dseos.h173 bool osEnqueueEvt(uint32_t evtType, void *evtData, EventFreeF evtFreeF);
/device/google/contexthub/firmware/os/platform/stm32/
Dplatform.c179 osEnqueueEvt(EVENT_TYPE_BIT_DISCARDABLE | EVT_DEBUG_LOG, userData, platEarlyLogFree); in platEarlyLogFlush()
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c441 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_ACCEL), SENSOR_DATA_EVENT_FLUSH, NULL); in st_acc44_Flush()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c930 osEnqueueEvt(EVT_SENSOR_NO_MOTION, NULL, NULL);
2320 osEnqueueEvt(evtType, SENSOR_DATA_EVENT_FLUSH, NULL);
2343 osEnqueueEvt(evtType, SENSOR_DATA_EVENT_FLUSH, NULL);
2742 osEnqueueEvt(EVT_SENSOR_ANY_MOTION, trigger_axies.vptr, NULL);
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c504 return osEnqueueEvt(sensorGetMyEventType(SENS_TYPE_MAG), SENSOR_DATA_EVENT_FLUSH, NULL); in magFlush()
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c773 osEnqueueEvt(evtType, SENSOR_DATA_EVENT_FLUSH, NULL); in fusionFlush()