Home
last modified time | relevance | path

Searched refs:taskId (Results 1 – 12 of 12) sorted by relevance

/device/google/contexthub/firmware/os/drivers/tilt_detection/
Dtilt_detection.c57 uint32_t taskId; member
147 sensorRequest(mTask.taskId, mTask.anyMotionHandle, SENSOR_RATE_ONCHANGE, 0); in configAnyMotion()
148 osEventSubscribe(mTask.taskId, EVT_SENSOR_ANY_MOTION); in configAnyMotion()
150 sensorRelease(mTask.taskId, mTask.anyMotionHandle); in configAnyMotion()
151 osEventUnsubscribe(mTask.taskId, EVT_SENSOR_ANY_MOTION); in configAnyMotion()
157 sensorRequest(mTask.taskId, mTask.noMotionHandle, SENSOR_RATE_ONCHANGE, 0); in configNoMotion()
158 osEventSubscribe(mTask.taskId, EVT_SENSOR_NO_MOTION); in configNoMotion()
160 sensorRelease(mTask.taskId, mTask.noMotionHandle); in configNoMotion()
161 osEventUnsubscribe(mTask.taskId, EVT_SENSOR_NO_MOTION); in configNoMotion()
167 sensorRequest(mTask.taskId, mTask.accelHandle, ACCEL_MIN_RATE, in configAccel()
[all …]
/device/google/contexthub/firmware/os/drivers/leds/
Dleds_gpio.c171 static bool startTask(uint32_t taskId) in startTask() argument
177 mTask.id = taskId; in startTask()
193 osEventSubscribe(taskId, EVT_APP_START); in startTask()
Dleds_lp3943.c339 static bool startTask(uint32_t taskId) in startTask() argument
341 mTask.id = taskId; in startTask()
349 osEventSubscribe(taskId, EVT_APP_START); in startTask()
/device/google/contexthub/firmware/os/drivers/vsync/
Dvsync.c200 static bool startTask(uint32_t taskId) in startTask() argument
202 mTask.id = taskId; in startTask()
/device/google/marlin/camera/QCamera2/HAL/
DQCameraAllocator.h58 virtual int32_t waitForBackgroundTask(uint32_t &taskId) = 0;
DQCamera2HWI.h493 virtual int32_t waitForBackgroundTask(uint32_t &taskId);
DQCamera2HWI.cpp10154 int32_t QCamera2HardwareInterface::waitForBackgroundTask(uint32_t& taskId) in waitForBackgroundTask() argument
10156 return waitDeferredWork(taskId); in waitForBackgroundTask()
/device/google/contexthub/firmware/os/drivers/hall/
Dhall.c207 static bool startTask(uint32_t taskId) in startTask() argument
209 mTask.id = taskId; in startTask()
/device/google/contexthub/firmware/os/drivers/hall_twopole/
Dhall_twopole.c223 static bool startTask(uint32_t taskId) in startTask() argument
225 mTask.id = taskId; in startTask()
/device/google/contexthub/firmware/os/drivers/synaptics_s3708/
Dsynaptics_s3708.c571 static bool startTask(uint32_t taskId) in startTask() argument
573 mTask.id = taskId; in startTask()
584 osEventSubscribe(taskId, EVT_APP_START); in startTask()
/device/google/contexthub/firmware/os/drivers/bosch_bmp280/
Dbosch_bmp280.c764 static bool startTask(uint32_t taskId) in startTask() argument
766 mTask.id = taskId; in startTask()
779 osEventSubscribe(taskId, EVT_APP_START); in startTask()
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c4997 static bool lsm6dsm_startTask(uint32_t taskId) in lsm6dsm_startTask() argument
5004 DEBUG_PRINT("IMU: %lu\n", taskId); in lsm6dsm_startTask()
5006 T(tid) = taskId; in lsm6dsm_startTask()