Searched refs:read_sysfs_int (Results 1 – 7 of 7) sorted by relevance
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
D | inv_self_test.c | 101 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() function 152 res = read_sysfs_int(filename, old_value); in save_n_write_sysfs_int() 405 if (read_sysfs_int(mpu.gyro_x_calibbias, &gyro_bias[0].i) < 0 || in main() 406 read_sysfs_int(mpu.gyro_y_calibbias, &gyro_bias[1].i) < 0 || in main() 407 read_sysfs_int(mpu.gyro_z_calibbias, &gyro_bias[2].i) < 0 || in main() 408 read_sysfs_int(mpu.gyro_scale, &gyro_scale.i) < 0) { in main() 425 if (read_sysfs_int(mpu.accel_x_calibbias, &accel_bias[0].i) < 0 || in main() 426 read_sysfs_int(mpu.accel_y_calibbias, &accel_bias[1].i) < 0 || in main() 427 read_sysfs_int(mpu.accel_z_calibbias, &accel_bias[2].i) < 0 || in main() 428 read_sysfs_int(mpu.accel_scale, &accel_scale.i) < 0) { in main()
|
/hardware/invensense/65xx/libsensors_iio/ |
D | MPLSupport.h | 29 int read_sysfs_int(char*, int*);
|
D | MPLSensor.cpp | 1134 if(read_sysfs_int(mpu.firmware_loaded, &status) < 0){ in onDmp() 1140 if (read_sysfs_int(mpu.dmp_on, &status) < 0) { in onDmp() 5817 read_sysfs_int(mpu.flush_batch, &res); in flush()
|
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSupport.h | 28 int read_sysfs_int(char*, int*);
|
D | MPLSupport.cpp | 146 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() function
|
D | MPLSensor.cpp | 1058 if(read_sysfs_int(mpu.firmware_loaded, &status) < 0){ in onDmp() 1064 if (read_sysfs_int(mpu.dmp_on, &status) < 0) { in onDmp() 6273 status = read_sysfs_int(mpu.flush_batch, &res);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/ |
D | inv_gesture_test.c | 114 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() function 250 if (read_sysfs_int(mpu.firmware_loaded, &fw_loaded) < 0) in dmp_fw_loaded()
|