Home | History | Annotate | Download | only in core

Lines Matching defs:evtData

1166 static void onEvtAppStart(const void *evtData)
1193 static void onEvtAppToHost(const void *evtData)
1195 const struct HostHubRawPacket *hostMsg = evtData;
1204 memcpy(data->buffer, evtData, data->length);
1209 static void onEvtAppToHostChre(const void *evtData)
1211 const struct HostHubChrePacket *hostMsg = evtData;
1220 memcpy(data->buffer, evtData, data->length);
1233 static void onEvtAppFromHost(const void *evtData)
1235 const uint8_t *halMsg = evtData;
1240 static void onEvtAppFromHostChre(const void *evtData)
1242 const struct NanohubMsgChreHdr *halMsg = (const struct NanohubMsgChreHdr *)evtData;
1265 static void onEvtDebugLog(const void *evtData)
1267 struct HostIntfDataBuffer *data = (struct HostIntfDataBuffer *)evtData;
1274 static void onEvtLatencyTimer(const void *evtData)
1380 static void onEvtNoSensorConfigEvent(const void *evtData)
1382 struct ConfigCmd *cmd = (struct ConfigCmd *)evtData;
1426 static void onEvtAppToSensorHalData(const void *evtData)
1428 struct HostIntfDataBuffer *data = (struct HostIntfDataBuffer *)evtData;
1436 static void copyEmbeddedSamples(struct ActiveSensor *sensor, const void* evtData)
1452 sensor->buffer.single[0].idata = (uint32_t)evtData;
1458 sensor->buffer.single[sensor->buffer.firstSample.numSamples].idata = (uint32_t)evtData;
1482 static void onEvtSensorDataActive(struct ActiveSensor *sensor, uint32_t evtType, const void* evtData)
1484 if (evtData == SENSOR_DATA_EVENT_FLUSH) {
1498 copyEmbeddedSamples(sensor, evtData);
1501 copySingleSamples(sensor, evtData);
1505 copyTripleSamplesRaw(sensor, evtData);
1507 copyTripleSamples(sensor, evtData);
1524 static void onEvtSensorDataInactive(struct ActiveSensor *sensor, uint32_t evtType, const void* evtData)
1526 if (evtData != SENSOR_DATA_EVENT_FLUSH) {
1531 if (((const struct TripleAxisDataEvent *)evtData)->samples[0].firstSample.biasPresent) {
1532 copyTripleSamplesBias(sensor, evtData);
1540 static void onEvtSensorData(uint32_t evtType, const void* evtData)
1546 onEvtSensorDataActive(sensor, evtType, evtData);
1548 onEvtSensorDataInactive(sensor, evtType, evtData);
1553 static void hostIntfHandleEvent(uint32_t evtType, const void* evtData)
1557 onEvtAppStart(evtData);
1560 onEvtAppToHost(evtData);
1563 onEvtAppToHostChre(evtData);
1567 onEvtAppFromHost(evtData);
1571 onEvtAppFromHostChre(evtData);
1575 onEvtDebugLog(evtData);
1579 onEvtLatencyTimer(evtData);
1582 onEvtNoSensorConfigEvent(evtData);
1585 onEvtAppToSensorHalData(evtData);
1588 onEvtSensorData(EVENT_GET_EVENT(evtType), evtData);