Home | History | Annotate | Download | only in core

Lines Matching defs:evtType

108 static inline bool isSensorEvent(uint32_t evtType)
110 return evtType > EVT_NO_FIRST_SENSOR_EVENT && evtType <= EVT_NO_FIRST_SENSOR_EVENT + SENS_TYPE_LAST_USER;
521 uint32_t evtType;
580 if (resp->evtType == EVT_APP_TO_HOST) {
745 length = packet->length + sizeof(packet->evtType);
749 packet->evtType = htole32(EVT_APP_TO_HOST);
752 packet->evtType = htole32(EVT_RESET_REASON);
755 packet->evtType = htole32(EVT_APP_TO_SENSOR_HAL_DATA);
759 packet->evtType = htole32(HOST_EVT_DEBUG_LOG);
763 packet->evtType = htole32(0x00000000);
767 packet->evtType = htole32(EVT_NO_FIRST_SENSOR_EVENT + packet->sensType);
775 if ((!totLength || (isSensorEvent(firstPacket->evtType) && isSensorEvent(packet->evtType))) &&
779 if (isSensorEvent(packet->evtType) && packet->firstSample.interrupt == NANOHUB_INT_WAKEUP)
971 uint32_t event = le32toh(req->evtType);
1043 req->evtData, rx_len - sizeof(req->evtType),
1250 cookie->evtType = EVT_APP_TO_HOST;
1795 cookie->evtType = EVT_APP_TO_HOST_CHRE;