Home | History | Annotate | Download | only in libsensors_iio

Lines Matching refs:open

227     /* open temperature fd for temp comp */
229 gyro_temperature_fd = open(mpu.temperature, O_RDONLY);
231 LOGE("HAL:could not open temperature node");
244 fd = open(mpu.accel_fsr, O_RDONLY);
325 LOGE("HAL:Could not open or load MPL calibration file (%d)", rv);
384 LOGE("HAL:could not open trigger name");
396 LOGE("HAL:could not open current trigger");
408 iio_fd = open(iio_device_node, O_RDONLY);
410 LOGE("HAL:could not open iio device node");
572 fd = open(mpu.firmware_loaded, O_RDONLY);
574 LOGE("HAL:could not open dmp state");
585 LOGE("HAL:could open %s for write. %s", mpu.dmp_firmware, strerror(errno));
668 /* Close open fds */
712 int fd = open(mpu.gyro_fifo_rate, O_RDWR);
715 LOGE("HAL:open of %s failed with '%s' (%d)",
1646 tempFd = open(mpu.gyro_fifo_rate, O_RDWR);
1657 tempFd = open(mpu.accel_fifo_rate, O_RDWR);
1682 tempFd = open(mpu.gyro_fifo_rate, O_RDWR);
1705 tempFd = open(mpu.accel_fifo_rate, O_RDWR);
2158 // open DMP Orient Fd
2208 dmp_orient_fd = open(mpu.event_display_orientation, O_RDONLY| O_NONBLOCK);
2210 LOGE("HAL:ERR couldn't open dmpOrient node");
2243 LOGE("HAL:cannot open event_display_orientation");