Home
last modified time | relevance | path

Searched refs:eventData (Results 1 – 6 of 6) sorted by relevance

/device/google/contexthub/firmware/app/chre/common/
Dchre_app.c170 static void chreappProcessSensorData(uint16_t evt, const void *eventData) in chreappProcessSensorData() argument
175 if (eventData == SENSOR_DATA_EVENT_FLUSH) in chreappProcessSensorData()
182 processEmbeddedData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData()
185 processSingleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData()
188 processTripleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData()
200 static void chreappProcessConfigEvt(uint16_t evt, const void *eventData) in chreappProcessConfigEvt() argument
202 const struct SensorRateChangeEvent *msg = eventData; in chreappProcessConfigEvt()
228 static void chreappHandle(uint32_t eventTypeAndTid, const void *eventData) in chreappHandle() argument
232 const void *data = eventData; in chreappHandle()
242 data = ((struct TimerEvent *)eventData)->data; in chreappHandle()
[all …]
Dchre10_app.c170 static void chreappProcessSensorData(uint16_t evt, const void *eventData) in chreappProcessSensorData() argument
175 if (eventData == SENSOR_DATA_EVENT_FLUSH) in chreappProcessSensorData()
182 processEmbeddedData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData()
185 processSingleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData()
188 processTripleAxisData(eventData, sensorHandle, SENSOR_TYPE(evt)); in chreappProcessSensorData()
200 static void chreappProcessConfigEvt(uint16_t evt, const void *eventData) in chreappProcessConfigEvt() argument
202 const struct SensorRateChangeEvent *msg = eventData; in chreappProcessConfigEvt()
228 static void chreappHandle(uint32_t eventTypeAndTid, const void *eventData) in chreappHandle() argument
232 const void *data = eventData; in chreappHandle()
241 data = ((struct TimerEvent *)eventData)->data; in chreappHandle()
[all …]
Dchre10_app_syscalls.c139 bool chreSendEvent(uint16_t eventType, void *eventData, in chreSendEvent() argument
144 …return syscallDo4P(SYSCALL_CHRE_API(SEND_EVENT), eventType, eventData, freeCallback, targetInstanc… in chreSendEvent()
146 …YSCALL_CHRE_MAIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_EVENT), eventType, eventData, freeCallback, t… in chreSendEvent()
Dchre11_app_syscalls.c142 bool chreSendEvent(uint16_t eventType, void *eventData, in chreSendEvent() argument
147 …return syscallDo4P(SYSCALL_CHRE_API(SEND_EVENT), eventType, eventData, freeCallback, targetInstanc… in chreSendEvent()
149 …YSCALL_CHRE_MAIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_EVENT), eventType, eventData, freeCallback, t… in chreSendEvent()
Dchre_app_syscalls.c142 bool chreSendEvent(uint16_t eventType, void *eventData, in chreSendEvent() argument
147 …return syscallDo4P(SYSCALL_CHRE_API(SEND_EVENT), eventType, eventData, freeCallback, targetInstanc… in chreSendEvent()
149 …YSCALL_CHRE_MAIN_EVENT, SYSCALL_CHRE_MAIN_EVENT_SEND_EVENT), eventType, eventData, freeCallback, t… in chreSendEvent()
/device/google/contexthub/firmware/os/inc/
Dseos.h170 void (*evtFreeCallback)(uint16_t eventType, void *eventData),