Home
last modified time | relevance | path

Searched refs:read_sysfs_int (Results 1 – 7 of 7) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c101 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/
DMPLSupport.h29 int read_sysfs_int(char*, int*);
DMPLSensor.cpp1134 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/
DMPLSupport.h28 int read_sysfs_int(char*, int*);
DMPLSupport.cpp146 int read_sysfs_int(char *filename, int *var) in read_sysfs_int() function
DMPLSensor.cpp1058 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/
Dinv_gesture_test.c114 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()