Home
last modified time | relevance | path

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

/hardware/invensense/60xx/libsensors_iio/
DMPLSensor.cpp408 iio_fd = open(iio_device_node, O_RDONLY); in enable_iio_sysfs()
409 if (iio_fd < 0) { in enable_iio_sysfs()
412 LOGV_IF(PROCESS_VERBOSE, "HAL:iio iio_fd (%s) opened: %d", iio_device_node, iio_fd); in enable_iio_sysfs()
669 if (iio_fd > 0) in ~MPLSensor()
670 close(iio_fd); in ~MPLSensor()
1879 ssize_t rsize = read(iio_fd, rdata, nbyte); in readEvents()
1882 rsize = read(iio_fd, rdata, sizeof(mIIOBuffer)); in readEvents()
2096 LOGV_IF(EXTRA_VERBOSE, "MPLSensor::getFd returning %d", iio_fd); in getFd()
2097 return iio_fd; in getFd()
DMPLSensor.h236 int iio_fd; variable
/hardware/invensense/6515/libsensors_iio/
DMPLSensor.h324 int iio_fd; variable
DMPLSensor.cpp638 iio_fd = open(iio_device_node, O_RDONLY); in enable_iio_sysfs()
639 if (iio_fd < 0) { in enable_iio_sysfs()
642 LOGV_IF(ENG_VERBOSE, "HAL:iio iio_fd opened : %d", iio_fd); in enable_iio_sysfs()
921 if (iio_fd > 0) in ~MPLSensor()
922 close(iio_fd); in ~MPLSensor()
3741 rsize = read(iio_fd, rdataP, nbyte);
3749 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE);
4369 LOGV_IF(EXTRA_VERBOSE, "getFd returning %d", iio_fd);
4370 return iio_fd;
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.h350 int iio_fd; variable
DMPLSensor.cpp728 iio_fd = open(iio_device_node, O_RDONLY); in enable_iio_sysfs()
729 if (iio_fd < 0) { in enable_iio_sysfs()
732 LOGV_IF(ENG_VERBOSE, "HAL:iio iio_fd opened : %d", iio_fd); in enable_iio_sysfs()
1003 if (iio_fd > 0) in ~MPLSensor()
1004 close(iio_fd); in ~MPLSensor()
3776 rsize = read(iio_fd, rdataP, nbyte); in buildMpuEvent()
3784 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE); in buildMpuEvent()
4219 LOGV_IF(EXTRA_VERBOSE, "getFd returning %d", iio_fd); in getFd()
4220 return iio_fd; in getFd()