Home | History | Annotate | Download | only in libsensors_iio

Lines Matching refs:open

295     /* open temperature fd for temp comp */
297 gyro_temperature_fd = open(mpu.temperature, O_RDONLY);
299 LOGE("HAL:could not open temperature node");
311 fd = open(mpu.gyro_fsr, O_RDONLY);
331 fd = open(mpu.in_gyro_self_test_scale, O_RDONLY);
347 /* open Factory Gyro Bias fd */
353 gyro_x_offset_fd = open(mpu.in_gyro_x_offset, O_RDWR);
354 gyro_y_offset_fd = open(mpu.in_gyro_y_offset, O_RDWR);
355 gyro_z_offset_fd = open(mpu.in_gyro_z_offset, O_RDWR);
358 LOGE("HAL:could not open factory gyro calibrated bias");
364 /* open Gyro Bias fd */
372 gyro_x_dmp_bias_fd = open(mpu.in_gyro_x_dmp_bias, O_RDWR);
373 gyro_y_dmp_bias_fd = open(mpu.in_gyro_y_dmp_bias, O_RDWR);
374 gyro_z_dmp_bias_fd = open(mpu.in_gyro_z_dmp_bias, O_RDWR);
377 LOGE("HAL:could not open gyro DMP calibrated bias");
390 fd = open(mpu.accel_fsr, O_RDONLY);
406 /* open Accel Bias fd */
412 accel_x_dmp_bias_fd = open(mpu.in_accel_x_dmp_bias, O_RDWR);
413 accel_y_dmp_bias_fd = open(mpu.in_accel_y_dmp_bias, O_RDWR);
414 accel_z_dmp_bias_fd = open(mpu.in_accel_z_dmp_bias, O_RDWR);
417 LOGE("HAL:could not open accel DMP calibrated bias");
424 dmp_sign_motion_fd = open(mpu.event_smd, O_RDONLY | O_NONBLOCK);
426 LOGE("HAL:ERR couldn't open dmp_sign_motion node");
431 dmp_pedometer_fd = open(mpu.event_pedometer, O_RDONLY | O_NONBLOCK);
433 LOGE("HAL:ERR couldn't open
587 LOGE("HAL:Could not open or load MPL calibration file (%d)", rv);
625 // open DMP Orient Fd
640 // Either fopen()/open() are okay for sysfs access
645 LOGE("HAL:could not open timestamp enable");
656 LOGE("HAL:could not open buffer length");
664 iio_fd = open(iio_device_node, O_RDONLY);
666 LOGE("HAL:could not open iio device node");
845 fd = open(mpu.firmware_loaded, O_RDONLY);
847 LOGE("HAL:could not open dmp state");
937 /* Close open fds */
1014 int fd = open(mpu.gyro_rate, O_RDWR);
1017 LOGE("HAL:open of %s failed with '%s' (%d)",
3155 tempFd = open(mpu.gyro_rate, O_RDWR);
3167 tempFd = open(mpu.accel_rate, O_RDWR);
3176 tempFd = open(mpu.accel_rate, O_RDWR);
3211 tempFd = open(compass_sensor_sysfs_path, O_RDWR);
3213 "setDelay - open path: %s", compass_sensor_sysfs_path);
3238 tempFd = open(mpu.gyro_rate, O_RDWR);
3271 tempFd = open(mpu.accel_rate, O_RDWR);
3349 tempFd = open(mpu.gyro_fifo_rate, O_RDWR);
4082 dmp_orient_fd = open(mpu.event_display_orientation, O_RDONLY| O_NONBLOCK);
4084 LOGE("HAL:ERR couldn't open dmpOrient node");
4118 LOGE("HAL:cannot open event_display_orientation");
5532 LOGE("HAL:cannot open pedometer_steps");
5593 LOGE("HAL:cannot open event_smd");
5825 tempFd = open(mpu.gyro_rate, O_RDWR);
5834 tempFd = open(mpu.accel_rate, O_RDWR);
5911 tempFd = open(mpu.gyro_fifo_rate, O_RDWR);
5918 tempFd = open(mpu.gyro_rate, O_RDWR);
5927 tempFd = open(mpu.accel_rate, O_RDWR);