Home
last modified time | relevance | path

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

/hardware/invensense/65xx/libsensors_iio/
DCompassSensor.IIO.primary.cpp369 size_t rsize = read(compass_fd, rdata, (8 * mEnable + 8) * 1); in readSample() local
372 rsize = read(compass_fd, rdata, (8 + 8) * IIO_BUFFER_LENGTH); in readSample()
DMPLSensor.cpp3703 ssize_t rsize = 0; in buildMpuEvent() local
3757 rsize = read(iio_fd, rdataP, nbyte); in buildMpuEvent()
3758 if(rsize < 0) { in buildMpuEvent()
3765 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE); in buildMpuEvent()
3770 if((rsize + mLeftOverBufferSize) == 8) { in buildMpuEvent()
3772 memcpy(mLeftOverBuffer, rdataP, rsize); in buildMpuEvent()
3773 mLeftOverBufferSize += rsize; in buildMpuEvent()
3790 readCounter = rsize + mLeftOverBufferSize; in buildMpuEvent()
3797 rsize, nbyte, in buildMpuEvent()
3806 checkBatchEnabled(), *((short *) rdata), nbyte, (int)rsize, readCounter); in buildMpuEvent()
[all …]
/hardware/invensense/6515/libsensors_iio/
DCompassSensor.IIO.primary.cpp369 size_t rsize = read(compass_fd, rdata, (8 * mEnable + 8) * 1); in readSample() local
372 rsize = read(compass_fd, rdata, (8 + 8) * IIO_BUFFER_LENGTH); in readSample()
DMPLSensor.cpp3997 ssize_t rsize = 0; local
4004 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE);
4005 if(rsize > 0) {
4006 LOGV_IF(ENG_VERBOSE, "HAL:input data flush rsize=%d", (int)rsize);
4038 rsize = read(iio_fd, rdataP, nbyte);
4039 if(rsize < 0) {
4046 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE);
4047 if(rsize > 0) {
4048 LOGV_IF(ENG_VERBOSE, "HAL:input data flush rsize=%d", (int)rsize);
4053 (int)rsize, nbyte,
[all …]