Home
last modified time | relevance | path

Searched refs:EVT_APP_START (Results 1 – 24 of 24) sorted by relevance

/device/google/contexthub/firmware/os/drivers/leds/
Dleds_gpio.c42 EVT_SENSOR_LEDS_TIMER = EVT_APP_START + 1,
150 case EVT_APP_START: in handleEvent()
151 osEventUnsubscribe(mTask.id, EVT_APP_START); in handleEvent()
193 osEventSubscribe(taskId, EVT_APP_START); in startTask()
Dleds_lp3943.c74 EVT_SENSOR_I2C = EVT_APP_START + 1,
311 case EVT_APP_START: in handleEvent()
312 osEventUnsubscribe(mTask.id, EVT_APP_START); in handleEvent()
349 osEventSubscribe(taskId, EVT_APP_START); in startTask()
/device/google/contexthub/firmware/app/test0.app/
Dtest_app0.c39 return eOsEventSubscribe(myTid, EVT_APP_START); in start_task()
54 if (evtType == EVT_APP_START) { in handle_event()
/device/google/contexthub/firmware/os/drivers/intersil_isl29034/
Disl29034.c106 EVT_SENSOR_I2C = EVT_APP_START + 1,
398 osEventSubscribe(myTid, EVT_APP_START); in init_app()
417 case EVT_APP_START: in handle_event()
418 osEventUnsubscribe(mData.tid, EVT_APP_START); in handle_event()
/device/google/contexthub/firmware/os/drivers/tilt_detection/
Dtilt_detection.c231 case EVT_APP_START: in tiltDetectionHandleEvent()
232 osEventUnsubscribe(mTask.taskId, EVT_APP_START); in tiltDetectionHandleEvent()
283 osEventSubscribe(taskId, EVT_APP_START); in tiltDetectionStart()
/device/google/contexthub/firmware/os/drivers/st_hts221/
Dhts221.c98 EVT_COMM_DONE = EVT_APP_START + 1,
459 case EVT_APP_START: in handleEvent()
461 osEventUnsubscribe(mTask.tid, EVT_APP_START); in handleEvent()
509 osEventSubscribe(mTask.tid, EVT_APP_START); in startTask()
/device/google/contexthub/firmware/os/drivers/si_si7034/
Dsi7034a10.c72 EVT_SENSOR_I2C = EVT_APP_START + 1,
425 case EVT_APP_START: in handleEvent()
426 osEventUnsubscribe(mTask.tid, EVT_APP_START); in handleEvent()
487 osEventSubscribe(mTask.tid, EVT_APP_START); in startTask()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c99 EVT_SENSOR_I2C = EVT_APP_START + 1,
511 case EVT_APP_START: in handleEvent()
512 osEventUnsubscribe(mTask.id, EVT_APP_START); in handleEvent()
584 osEventSubscribe(taskId, EVT_APP_START); in startTask()
/device/google/contexthub/firmware/os/inc/
Deventnums.h28 #define EVT_APP_START 0x00000400 //sent when an app can actually start macro
/device/google/contexthub/firmware/os/drivers/st_acc44/
Dst_acc44.c173 EVT_COMM_DONE = EVT_APP_START + 1,
771 case EVT_APP_START: in st_acc44_handleEvent()
773 osEventUnsubscribe(mTask.tid, EVT_APP_START); in st_acc44_handleEvent()
831 osEventSubscribe(mTask.tid, EVT_APP_START); in st_acc44_startTask()
/device/google/contexthub/firmware/os/drivers/st_lps22hb/
Dlps22hb.c89 EVT_COMM_DONE = EVT_APP_START + 1,
640 case EVT_APP_START: in handleEvent()
642 osEventUnsubscribe(mTask.tid, EVT_APP_START); in handleEvent()
730 osEventSubscribe(mTask.tid, EVT_APP_START); in startTask()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c72 EVT_SENSOR_I2C = EVT_APP_START + 1,
706 case EVT_APP_START: in handleEvent()
708 osEventUnsubscribe(mTask.id, EVT_APP_START); in handleEvent()
779 osEventSubscribe(taskId, EVT_APP_START); in startTask()
/device/google/contexthub/firmware/os/drivers/ams_tmd2772/
Dams_tmd2772.c112 EVT_SENSOR_I2C = EVT_APP_START + 1,
690 osEventSubscribe(myTid, EVT_APP_START); in init_app()
708 case EVT_APP_START: in handle_event()
709 osEventUnsubscribe(mData.tid, EVT_APP_START); in handle_event()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c74 EVT_COMM_DONE = EVT_APP_START + 1,
968 case EVT_APP_START: in handleEvent()
970 osEventUnsubscribe(mTask.tid, EVT_APP_START); in handleEvent()
1058 osEventSubscribe(mTask.tid, EVT_APP_START); in startTask()
/device/google/contexthub/firmware/os/drivers/rohm_rpr0521/
Drohm_rpr0521.c165 EVT_SENSOR_I2C = EVT_APP_START + 1,
765 osEventSubscribe(myTid, EVT_APP_START); in init_app()
786 case EVT_APP_START: in handle_event()
/device/google/contexthub/firmware/os/drivers/ams_tmd4903/
Dams_tmd4903.c158 EVT_SENSOR_I2C = EVT_APP_START + 1,
994 osEventSubscribe(myTid, EVT_APP_START); in init_app()
1017 case EVT_APP_START: in handle_event()
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c786 case EVT_APP_START: in fusionHandleEvent()
788 osEventUnsubscribe(mTask.tid, EVT_APP_START); in fusionHandleEvent()
871 osEventSubscribe(mTask.tid, EVT_APP_START); in fusionStart()
/device/google/contexthub/firmware/app/chre/common/
Dchre10_app.c280 } else if (evt > EVT_NO_SENSOR_CONFIG_EVENT && evt < EVT_APP_START) { in chreappHandle()
Dchre_app.c309 } else if (evt > EVT_NO_SENSOR_CONFIG_EVENT && evt < EVT_APP_START) { in chreappHandle()
/device/google/contexthub/firmware/os/core/
DhostIntf.c361 osEventSubscribe(mHostIntfTid, EVT_APP_START); in hostIntfRequest()
630 osEnqueuePrivateEvt(EVT_APP_START, NULL, NULL, mHostIntfTid); in initCompleteCallback()
1183 osEventUnsubscribe(mHostIntfTid, EVT_APP_START); in onEvtAppStart()
1567 case EVT_APP_START: in hostIntfHandleEvent()
Dseos.c1171 (void)osEnqueueEvt(EVT_APP_START, NULL, NULL); in osMainInit()
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c457 EVT_SPI_DONE = EVT_APP_START + 1,
3097 case EVT_APP_START:
3099 osEventUnsubscribe(T(tid), EVT_APP_START);
3199 osEventSubscribe(T(tid), EVT_APP_START);
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c348 EVT_SPI_DONE = EVT_APP_START + 1,
3747 case EVT_APP_START:
3750 osEventUnsubscribe(mTask.tid, EVT_APP_START);
3851 osEventSubscribe(mTask.tid, EVT_APP_START);
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c516 EVT_SPI_DONE = EVT_APP_START + 1,
4897 case EVT_APP_START: ; in lsm6dsm_handleEvent()
4902 osEventUnsubscribe(T(tid), EVT_APP_START); in lsm6dsm_handleEvent()
5190 osEventSubscribe(T(tid), EVT_APP_START); in lsm6dsm_startTask()