/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/ |
D | inv_gesture_test.c | 277 int master_enable(int en) in master_enable() argument 279 if (write_sysfs_int(mpu.enable, en) < 0) { in master_enable() 287 int enable_tap(int en) in enable_tap() argument 289 if (write_sysfs_int(mpu.tap_on, en) < 0) { in enable_tap() 313 int enable_display_orientation(int en) in enable_display_orientation() argument 315 if (write_sysfs_int(mpu.display_orientation_on, en) < 0) { in enable_display_orientation() 325 int enable_orientation(int en) in enable_orientation() argument 327 if (write_sysfs_int(mpu.orientation_on, en) < 0) { in enable_orientation() 337 int enable_smd(int en) in enable_smd() argument 339 if (write_sysfs_int(mpu.smd_enable, en) < 0) { in enable_smd() [all …]
|
/hardware/invensense/65xx/libsensors_iio/ |
D | CompassSensor.IIO.primary.cpp | 242 int CompassSensor::enable(int32_t handle, int en) in enable() argument 246 mEnable = en; in enable() 256 if (en) { in enable() 258 en, compassSysFs.compass_x_fifo_enable, getTimestamp()); in enable() 259 res = write_sysfs_int(compassSysFs.compass_x_fifo_enable, en); in enable() 261 en, compassSysFs.compass_y_fifo_enable, getTimestamp()); in enable() 262 res += write_sysfs_int(compassSysFs.compass_y_fifo_enable, en); in enable() 264 en, compassSysFs.compass_z_fifo_enable, getTimestamp()); in enable() 265 res += write_sysfs_int(compassSysFs.compass_z_fifo_enable, en); in enable() 267 res = masterEnable(en); in enable() [all …]
|
D | MPLSensor.cpp | 1119 int MPLSensor::onDmp(int en) in onDmp() argument 1125 mDmpOn = en; in onDmp() 1142 } else if (status != en) { in onDmp() 1144 en, mpu.dmp_on, getTimestamp()); in onDmp() 1145 if (write_sysfs_int(mpu.dmp_on, en) < 0) { in onDmp() 1148 mDmpOn = en; in onDmp() 1150 if(!en) { in onDmp() 1156 en, mpu.dmp_int_on, getTimestamp()); in onDmp() 1157 if (write_sysfs_int(mpu.dmp_int_on, en) < 0) { in onDmp() 1162 if (!en) { in onDmp() [all …]
|
D | MPLSensor.h | 206 int setBatch(int en, int toggleEnable); 284 int masterEnable(int en); 285 int enablePedStandalone(int en); 286 int enablePedStandaloneData(int en); 296 int enableGyro(int en); 297 int enableLowPowerAccel(int en); 298 int enableAccel(int en); 299 int enableCompass(int en, int rawSensorOn); 300 int enablePressure(int en); 305 int enableSensors(unsigned long sensors, int en, uint32_t changed); [all …]
|
D | PressureSensor.IIO.secondary.cpp | 89 int PressureSensor::enable(int32_t handle, int en) in enable() argument 96 en, pressureSysFs.pressure_enable, getTimestamp()); in enable() 97 res = write_sysfs_int(pressureSysFs.pressure_enable, en); in enable()
|
D | CompassSensor.AKM.cpp | 76 int CompassSensor::enable(int32_t handle, int en) in enable() argument 81 return mCompassSensor->setEnable(handle, en); in enable()
|
D | MPLSupport.h | 24 int enable_sysfs_sensor(int fd, int en);
|
D | CompassSensor.IIO.primary.h | 104 int masterEnable(int en);
|
D | MPLSupport.cpp | 80 int enable_sysfs_sensor(int fd, int en) in enable_sysfs_sensor() argument 87 char c = en ? '1' : '0'; in enable_sysfs_sensor()
|
D | CompassSensor.IIO.9150.cpp | 141 int CompassSensor::enable(int32_t handle, int en) in enable() argument 145 res = write_sysfs_int(compassSysFs.compass_enable, en); in enable()
|
/hardware/invensense/6515/libsensors_iio/ |
D | CompassSensor.IIO.primary.cpp | 242 int CompassSensor::enable(int32_t handle, int en) in enable() argument 246 mEnable = en; in enable() 256 if (en) { in enable() 258 en, compassSysFs.compass_x_fifo_enable, getTimestamp()); in enable() 259 res = write_sysfs_int(compassSysFs.compass_x_fifo_enable, en); in enable() 261 en, compassSysFs.compass_y_fifo_enable, getTimestamp()); in enable() 262 res += write_sysfs_int(compassSysFs.compass_y_fifo_enable, en); in enable() 264 en, compassSysFs.compass_z_fifo_enable, getTimestamp()); in enable() 265 res += write_sysfs_int(compassSysFs.compass_z_fifo_enable, en); in enable() 267 res = masterEnable(en); in enable() [all …]
|
D | MPLSensor.h | 189 int setBatch(int en, int toggleEnable); 190 int writeBatchTimeout(int en); 191 int writeBatchTimeout(int en, int64_t timeoutInMs); 263 int masterEnable(int en); 264 int enablePedStandalone(int en); 265 int enablePedStandaloneData(int en); 278 int enableGyro(int en); 279 int enableLowPowerAccel(int en); 280 int enableAccel(int en); 281 int enableCompass(int en, int rawSensorOn); [all …]
|
D | MPLSensor.cpp | 1043 int MPLSensor::onDmp(int en) in onDmp() argument 1049 mDmpOn = en; in onDmp() 1066 } else if (status != en) { in onDmp() 1068 en, mpu.dmp_on, getTimestamp()); in onDmp() 1069 if (write_sysfs_int(mpu.dmp_on, en) < 0) { in onDmp() 1072 mDmpOn = en; in onDmp() 1074 if(!en) { in onDmp() 1080 en, mpu.dmp_int_on, getTimestamp()); in onDmp() 1081 if (write_sysfs_int(mpu.dmp_int_on, en) < 0) { in onDmp() 1086 if (!en) { in onDmp() [all …]
|
D | PressureSensor.IIO.secondary.cpp | 88 int PressureSensor::enable(int32_t handle, int en) in enable() argument 95 en, pressureSysFs.pressure_enable, getTimestamp()); in enable() 96 res = write_sysfs_int(pressureSysFs.pressure_enable, en); in enable()
|
D | CompassSensor.AKM.cpp | 76 int CompassSensor::enable(int32_t handle, int en) in enable() argument 81 return mCompassSensor->setEnable(handle, en); in enable()
|
D | MPLSupport.h | 24 int enable_sysfs_sensor(int fd, int en);
|
D | CompassSensor.IIO.9150.cpp | 141 int CompassSensor::enable(int32_t handle, int en) in enable() argument 146 en, compassSysFs.compass_enable, getTimestamp()); in enable() 147 res = write_sysfs_int(compassSysFs.compass_enable, en); in enable()
|
D | CompassSensor.IIO.primary.h | 104 int masterEnable(int en);
|
D | MPLSupport.cpp | 80 int enable_sysfs_sensor(int fd, int en) in enable_sysfs_sensor() argument 87 char c = en ? '1' : '0'; in enable_sysfs_sensor()
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/ |
D | iio_utils.h | 596 int *counter, char *sensor, int en) in enable_se() 620 write_sysfs_int_and_verify((char *)ent->d_name, scan_el_dir, en); in enable_se() 632 int en) in enable_accel_se() 634 return enable_se(device_dir, ci_array, counter, "accel", en); in enable_accel_se() 639 int en) in enable_anglvel_se() 641 return enable_se(device_dir, ci_array, counter, "anglvel", en); in enable_anglvel_se() 646 int en) in enable_quaternion_se() 648 return enable_se(device_dir, ci_array, counter, "quaternion", en); in enable_quaternion_se()
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
D | iio_utils.h | 596 int *counter, char *sensor, int en) in enable_se() 620 write_sysfs_int_and_verify((char *)ent->d_name, scan_el_dir, en); in enable_se() 632 int en) in enable_accel_se() 634 return enable_se(device_dir, ci_array, counter, "accel", en); in enable_accel_se() 639 int en) in enable_anglvel_se() 641 return enable_se(device_dir, ci_array, counter, "anglvel", en); in enable_anglvel_se() 646 int en) in enable_quaternion_se() 648 return enable_se(device_dir, ci_array, counter, "quaternion", en); in enable_quaternion_se()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/ |
D | fusion_9axis.h | 30 inv_error_t inv_9x_fusion_enable_jitter_reduction(int en);
|
D | shake.h | 86 void inv_enable_shake_data_interpolation(unsigned char en);
|
/hardware/invensense/6515/libsensors_iio/software/core/mpl/ |
D | fusion_9axis.h | 30 inv_error_t inv_9x_fusion_enable_jitter_reduction(int en);
|
D | shake.h | 86 void inv_enable_shake_data_interpolation(unsigned char en);
|