/hardware/invensense/libsensors_iio/ |
MPLSupport.h | 31 int write_sysfs_int(char*, int);
|
CompassSensor.IIO.9150.cpp | 146 res = write_sysfs_int(compassSysFs.compass_enable, en); 150 res = write_sysfs_int(compassSysFs.compass_x_fifo_enable, en); 151 res = write_sysfs_int(compassSysFs.compass_y_fifo_enable, en); 152 res = write_sysfs_int(compassSysFs.compass_z_fifo_enable, en);
|
MPLSensor.cpp | 377 write_sysfs_int(mpu.in_timestamp_en, 1); 403 write_sysfs_int(mpu.buffer_length, IIO_BUFFER_LENGTH); 685 if(write_sysfs_int(mpu.chip_enable, 0) < 0) { 771 if((res = write_sysfs_int(mpu.power_state, en)) < 0) { 811 res = write_sysfs_int(mpu.dmp_on, en); 813 if (write_sysfs_int(mpu.dmp_int_on, en) < 0) { 858 res = write_sysfs_int(mpu.quaternion_on, en); 866 write_sysfs_int(mpu.in_quat_r_en, en); 867 write_sysfs_int(mpu.in_quat_x_en, en); 868 write_sysfs_int(mpu.in_quat_y_en, en) [all...] |
MPLSupport.cpp | 157 int write_sysfs_int(char *filename, int var) function
|
/hardware/invensense/libsensors_iio/software/simple_apps/gesture_test/ |
inv_gesture_test.c | 100 int write_sysfs_int(char *filename, int data) function 208 if (write_sysfs_int(mpu.flick_int_on, en) < 0) { 219 if (write_sysfs_int(mpu.flick_upper, flickUpper) < 0) { 224 if (write_sysfs_int(mpu.flick_lower, flickLower) < 0) { 229 if (write_sysfs_int(mpu.flick_counter, flickCounter) < 0) { 234 if (write_sysfs_int(mpu.flick_message_on, 0) < 0) { 239 if (write_sysfs_int(mpu.flick_axis, 0) < 0) { 249 if (write_sysfs_int(mpu.tap_on, en) < 0) { 259 if (write_sysfs_int(mpu.display_orientation_on, en) < 0) { 269 if (write_sysfs_int(mpu.orientation_on, en) < 0) [all...] |
/hardware/invensense/libsensors_iio/software/simple_apps/self_test/ |
inv_self_test.c | 125 int write_sysfs_int(char *filename, int data) function 228 if (write_sysfs_int(mpu.power_state, 1) < 0) { 235 if (write_sysfs_int(mpu.enable, 0) < 0) { 240 if (write_sysfs_int(mpu.dmp_on, 0) < 0) { 245 if (write_sysfs_int(mpu.accel_enable, 1) < 0) { 250 if (write_sysfs_int(mpu.gyro_enable, 1) < 0) { 255 if (write_sysfs_int(mpu.compass_enable, 1) < 0) {
|
/hardware/invensense/libsensors_iio/software/simple_apps/mpu_iio/ |
mpu_iio.c | 246 ret = write_sysfs_int("in_accel_scale", dev_path, 0); 249 ret = write_sysfs_int("in_anglvel_scale", dev_path, 2); 252 ret = write_sysfs_int("sampling_frequency", sysfs_path, 200); 530 ret = write_sysfs_int("buffer/enable", dev_dir_name, 0); 592 ret = write_sysfs_int("length", buf_dir_name, buf_len*2); 611 ret = write_sysfs_int("enable", buf_dir_name, 1); 676 ret = write_sysfs_int("enable", buf_dir_name, 0);
|
iio_utils.h | 472 int write_sysfs_int(char *filename, char *basedir, int val) function
|