Home
last modified time | relevance | path

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

/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.h350 int iio_fd; variable
DMPLSensor.cpp724 iio_fd = open(iio_device_node, O_RDONLY); in enable_iio_sysfs()
725 if (iio_fd < 0) { in enable_iio_sysfs()
728 LOGV_IF(ENG_VERBOSE, "HAL:iio iio_fd opened : %d", iio_fd); in enable_iio_sysfs()
999 if (iio_fd > 0) in ~MPLSensor()
1000 close(iio_fd); in ~MPLSensor()
3757 rsize = read(iio_fd, rdataP, nbyte); in buildMpuEvent()
3765 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE); in buildMpuEvent()
4199 LOGV_IF(EXTRA_VERBOSE, "getFd returning %d", iio_fd); in getFd()
4200 return iio_fd; in getFd()
/hardware/invensense/6515/libsensors_iio/
DMPLSensor.h327 int iio_fd; variable
DMPLSensor.cpp666 iio_fd = open(iio_device_node, O_RDONLY); in enable_iio_sysfs()
667 if (iio_fd < 0) { in enable_iio_sysfs()
670 LOGV_IF(ENG_VERBOSE, "HAL:iio iio_fd opened : %d", iio_fd); in enable_iio_sysfs()
949 if (iio_fd > 0) in ~MPLSensor()
950 close(iio_fd); in ~MPLSensor()
4004 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE);
4038 rsize = read(iio_fd, rdataP, nbyte);
4046 rsize = read(iio_fd, rdata, MAX_SUSPEND_BATCH_PACKET_SIZE);
4670 LOGV_IF(EXTRA_VERBOSE, "getFd returning %d", iio_fd);
4671 return iio_fd;