Home
last modified time | relevance | path

Searched refs:en (Results 1 – 25 of 34) sorted by relevance

12

/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
Dinv_gesture_test.c277 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/
DCompassSensor.IIO.primary.cpp242 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 …]
DMPLSensor.cpp1119 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 …]
DMPLSensor.h206 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 …]
DPressureSensor.IIO.secondary.cpp89 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()
DCompassSensor.AKM.cpp76 int CompassSensor::enable(int32_t handle, int en) in enable() argument
81 return mCompassSensor->setEnable(handle, en); in enable()
DMPLSupport.h24 int enable_sysfs_sensor(int fd, int en);
DCompassSensor.IIO.primary.h104 int masterEnable(int en);
DMPLSupport.cpp80 int enable_sysfs_sensor(int fd, int en) in enable_sysfs_sensor() argument
87 char c = en ? '1' : '0'; in enable_sysfs_sensor()
DCompassSensor.IIO.9150.cpp141 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/
DCompassSensor.IIO.primary.cpp242 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 …]
DMPLSensor.h189 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 …]
DMPLSensor.cpp1043 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 …]
DPressureSensor.IIO.secondary.cpp88 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()
DCompassSensor.AKM.cpp76 int CompassSensor::enable(int32_t handle, int en) in enable() argument
81 return mCompassSensor->setEnable(handle, en); in enable()
DMPLSupport.h24 int enable_sysfs_sensor(int fd, int en);
DCompassSensor.IIO.9150.cpp141 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()
DCompassSensor.IIO.primary.h104 int masterEnable(int en);
DMPLSupport.cpp80 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/
Diio_utils.h596 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/
Diio_utils.h596 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/
Dfusion_9axis.h30 inv_error_t inv_9x_fusion_enable_jitter_reduction(int en);
Dshake.h86 void inv_enable_shake_data_interpolation(unsigned char en);
/hardware/invensense/6515/libsensors_iio/software/core/mpl/
Dfusion_9axis.h30 inv_error_t inv_9x_fusion_enable_jitter_reduction(int en);
Dshake.h86 void inv_enable_shake_data_interpolation(unsigned char en);

12