Searched refs:readCounter (Results 1 – 2 of 2) sorted by relevance
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSensor.cpp | 3998 ssize_t readCounter = 0; local 4090 readCounter = rsize + mLeftOverBufferSize; 4091 LOGV_IF(0, "HAL:input readCounter set=%d", (int)readCounter); 4093 if(readCounter < MAX_READ_SIZE) { 4095 if (readCounter >= BYTES_PER_SENSOR) { 4099 readCounter -= BYTES_PER_SENSOR; 4108 readCounter -= BYTES_PER_SENSOR; 4119 mLeftOverBufferSize = readCounter; 4139 checkBatchEnabled(), *((short *) rdata), nbyte, (int)rsize, (int)readCounter); 4147 while (readCounter > 0) { [all …]
|
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSensor.cpp | 3704 size_t readCounter = 0; in buildMpuEvent() local 3787 readCounter = 24; in buildMpuEvent() 3790 readCounter = rsize + mLeftOverBufferSize; in buildMpuEvent() 3806 checkBatchEnabled(), *((short *) rdata), nbyte, (int)rsize, readCounter); in buildMpuEvent() 3813 while (readCounter > 0) { in buildMpuEvent() 3833 readCounter -= BYTES_PER_SENSOR_PACKET; in buildMpuEvent() 3857 readCounter -= BYTES_QUAT_DATA; in buildMpuEvent() 3866 readCounter -= BYTES_QUAT_DATA; in buildMpuEvent() 3875 readCounter -= BYTES_PER_SENSOR_PACKET; in buildMpuEvent() 3882 readCounter -= BYTES_PER_SENSOR_PACKET; in buildMpuEvent() [all …]
|