Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/src/
DhostIntf.c102 static struct ActiveSensor *mActiveSensorTable; variable
517 sensor = mActiveSensorTable + mSensorList[buffer->sensType - 1]; in hostIntfPacketDequeue()
537 if (mActiveSensorTable[mLastSensor].buffer.length > 0) { in hostIntfPacketDequeue()
538 … memcpy(data, &mActiveSensorTable[mLastSensor].buffer, sizeof(struct HostIntfDataBuffer)); in hostIntfPacketDequeue()
539 resetBuffer(mActiveSensorTable + mLastSensor); in hostIntfPacketDequeue()
549 sensor = mActiveSensorTable + mSensorList[buffer->sensType - 1]; in hostIntfPacketDequeue()
581 sensor = mActiveSensorTable + mSensorList[buffer->sensType - 1]; in queueDiscard()
683 mActiveSensorTable = heapAlloc(mNumSensors * sizeof(struct ActiveSensor)); in initSensors()
684 memset(mActiveSensorTable, 0x00, mNumSensors * sizeof(struct ActiveSensor)); in initSensors()
693 resetBuffer(mActiveSensorTable + j); in initSensors()
[all …]