HomeSort by relevance Sort by last modified time
    Searched refs:write_sysfs_int (Results 1 - 25 of 25) sorted by null

  /hardware/invensense/60xx/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/65xx/libsensors_iio/
MPLSupport.h 30 int write_sysfs_int(char*, int);
CompassSensor.AKM.cpp 48 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0);
58 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0);
PressureSensor.IIO.secondary.cpp 96 res = write_sysfs_int(pressureSysFs.pressure_enable, en);
110 res = write_sysfs_int(pressureSysFs.pressure_rate, mDelay);
MPLSensor.cpp     [all...]
CompassSensor.IIO.primary.cpp 151 write_sysfs_int(compassSysFs.in_timestamp_en, 1);
259 res = write_sysfs_int(compassSysFs.compass_x_fifo_enable, en);
262 res += write_sysfs_int(compassSysFs.compass_y_fifo_enable, en);
265 res += write_sysfs_int(compassSysFs.compass_z_fifo_enable, en);
281 return write_sysfs_int(compassSysFs.chip_enable, en);
CompassSensor.IIO.9150.cpp 145 res = write_sysfs_int(compassSysFs.compass_enable, en);
173 res += write_sysfs_int(compassSysFs.compass_fifo_enable, 0);
182 res += write_sysfs_int(compassSysFs.compass_fifo_enable, 1);
MPLSupport.cpp 189 int write_sysfs_int(char *filename, int var) function
  /hardware/invensense/6515/libsensors_iio/
MPLSupport.h 29 int write_sysfs_int(char*, int);
CompassSensor.AKM.cpp 48 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0);
58 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0);
PressureSensor.IIO.secondary.cpp 96 res = write_sysfs_int(pressureSysFs.pressure_enable, en);
110 res = write_sysfs_int(pressureSysFs.pressure_rate, mDelay);
MPLSensor.cpp 357 res = write_sysfs_int(mpu.smd_threshold, motionThreshold);
363 res = write_sysfs_int(mpu.pedometer_step_thresh, StepCounterThreshold);
    [all...]
CompassSensor.IIO.primary.cpp 151 write_sysfs_int(compassSysFs.in_timestamp_en, 1);
259 res = write_sysfs_int(compassSysFs.compass_x_fifo_enable, en);
262 res += write_sysfs_int(compassSysFs.compass_y_fifo_enable, en);
265 res += write_sysfs_int(compassSysFs.compass_z_fifo_enable, en);
281 return write_sysfs_int(compassSysFs.chip_enable, en);
CompassSensor.IIO.9150.cpp 147 res = write_sysfs_int(compassSysFs.compass_enable, en);
175 res += write_sysfs_int(compassSysFs.compass_fifo_enable, 0);
184 res += write_sysfs_int(compassSysFs.compass_fifo_enable, 1);
MPLSupport.cpp 189 int write_sysfs_int(char *filename, int var) function
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
inv_self_test.c 118 int write_sysfs_int(char *filename, int data) function
157 res = write_sysfs_int(filename, data);
547 if (write_sysfs_int(mpu.accel_x_offset, offsets[0]) < 0) {
551 if (write_sysfs_int(mpu.accel_y_offset, offsets[1]) < 0) {
555 if (write_sysfs_int(mpu.accel_z_offset, offsets[2]) < 0) {
571 if (write_sysfs_int(mpu.gyro_x_offset, offsets[0]) < 0) {
575 if (write_sysfs_int(mpu.gyro_y_offset, offsets[1]) < 0) {
579 if (write_sysfs_int(mpu.gyro_z_offset, offsets[2]) < 0) {
621 if (write_sysfs_int(mpu.dmp_on, mpu.dmp_on_value) < 0) {
624 if (write_sysfs_int(mpu.accel_enable, mpu.accel_enable_value) < 0)
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
inv_gesture_test.c 130 int write_sysfs_int(char *filename, int data) function
279 if (write_sysfs_int(mpu.enable, en) < 0) {
289 if (write_sysfs_int(mpu.tap_on, en) < 0) {
302 if (write_sysfs_int(mpu.pedometer_on, en) < 0) {
315 if (write_sysfs_int(mpu.display_orientation_on, en) < 0) {
327 if (write_sysfs_int(mpu.orientation_on, en) < 0) {
339 if (write_sysfs_int(mpu.smd_enable, en) < 0) {
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
mpu_iio.c 250 ret = write_sysfs_int("in_accel_scale", dev_path, 0);
253 ret = write_sysfs_int("in_anglvel_scale", dev_path, 3);
256 ret = write_sysfs_int("sampling_frequency", dev_path, 200);
759 ret = write_sysfs_int("motion_lpa_freq", dev_dir_name, 2);
804 ret = write_sysfs_int("length", buf_dir_name, buf_len * 2);
iio_utils.h 480 int write_sysfs_int(char *filename, char *basedir, int val) function
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
stress_iio.c 230 ret = write_sysfs_int("in_accel_scale", dev_path, 0);
233 ret = write_sysfs_int("in_anglvel_scale", dev_path, 3);
236 ret = write_sysfs_int("sampling_frequency", sysfs_path, 200);
1038 ret = write_sysfs_int("length", buf_dir_name, buf_len*2);
iio_utils.h 479 int write_sysfs_int(char *filename, char *basedir, int val) function
  /hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
iio_utils.h 480 int write_sysfs_int(char *filename, char *basedir, int val) function

Completed in 284 milliseconds