Home
last modified time | relevance | path

Searched refs:rsize (Results 1 – 5 of 5) 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.cpp3722 ssize_t rsize = 0; in buildMpuEvent() local
3776 rsize = read(iio_fd, rdataP, nbyte); in buildMpuEvent()
3777 if(rsize < 0) { in buildMpuEvent()
3784 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE); in buildMpuEvent()
3789 if((rsize + mLeftOverBufferSize) == 8) { in buildMpuEvent()
3791 memcpy(mLeftOverBuffer, rdataP, rsize); in buildMpuEvent()
3792 mLeftOverBufferSize += rsize; in buildMpuEvent()
3809 readCounter = rsize + mLeftOverBufferSize; in buildMpuEvent()
3816 rsize, nbyte, in buildMpuEvent()
3825 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.cpp3712 ssize_t rsize = 0; local
3741 rsize = read(iio_fd, rdataP, nbyte);
3742 if(rsize < 0) {
3749 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE);
3750 if(rsize > 0) {
3751 LOGV_IF(ENG_VERBOSE, "HAL:input data flush rsize=%d", (int)rsize);
3756 (int)rsize, nbyte,
3771 (int)rsize, nbyte,
3783 (int)rsize, nbyte,
3793 readCounter = rsize + mLeftOverBufferSize;
[all …]
/hardware/invensense/60xx/libsensors_iio/
DMPLSensor.cpp1879 ssize_t rsize = read(iio_fd, rdata, nbyte); in readEvents() local
1882 rsize = read(iio_fd, rdata, sizeof(mIIOBuffer)); in readEvents()
1886 LOGI("get one sample of IIO data with size: %d", rsize); in readEvents()
1907 if (rsize < (nbyte - 8)) { in readEvents()
1909 rsize, nbyte, sensors, errno, strerror(errno)); in readEvents()