Searched refs:write_sysfs_int (Results 1 - 11 of 11) sorted by relevance

/hardware/invensense/60xx/libsensors_iio/
H A DMPLSupport.h31 int write_sysfs_int(char*, int);
H A DCompassSensor.IIO.9150.cpp146 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);
H A DMPLSensor.cpp377 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(mp
[all...]
H A DMPLSupport.cpp157 int write_sysfs_int(char *filename, int var) function
/hardware/invensense/65xx/libsensors_iio/
H A DMPLSupport.h28 int write_sysfs_int(char*, int);
H A DCompassSensor.AKM.cpp48 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0);
58 write_sysfs_int((char*)"/sys/class/compass/akm8963/enable_mag", 0);
H A DPressureSensor.IIO.secondary.cpp108 res = write_sysfs_int(pressureSysFs.pressure_enable, en);
122 res = write_sysfs_int(pressureSysFs.pressure_rate, mDelay);
H A DMPLSensor.cpp984 write_sysfs_int(mpu.chip_enable, 0);
1082 if (write_sysfs_int(mpu.dmp_on, en) < 0) {
1094 if (write_sysfs_int(mpu.dmp_int_on, en) < 0) {
1102 if (write_sysfs_int(mpu.dmp_event_int_on, en) < 0) {
1131 if (write_sysfs_int(mpu.pedometer_int_on, 0) < 0) {
1142 if (write_sysfs_int(mpu.step_indicator_on, en) < 0) {
1170 if (write_sysfs_int(mpu.pedometer_int_on, 1) < 0) {
1178 if (write_sysfs_int(mpu.dmp_event_int_on, 1) < 0) {
1193 if (write_sysfs_int(mpu.pedometer_int_on, 0) < 0) {
1200 if (write_sysfs_int(mp
[all...]
H A DCompassSensor.IIO.primary.cpp149 write_sysfs_int(compassSysFs.in_timestamp_en, 1);
281 res = write_sysfs_int(compassSysFs.compass_x_fifo_enable, en);
282 res += write_sysfs_int(compassSysFs.compass_y_fifo_enable, en);
283 res += write_sysfs_int(compassSysFs.compass_z_fifo_enable, en);
296 return write_sysfs_int(compassSysFs.chip_enable, en);
H A DCompassSensor.IIO.9150.cpp156 res = write_sysfs_int(compassSysFs.compass_enable, en);
H A DMPLSupport.cpp162 int write_sysfs_int(char *filename, int var) function

Completed in 887 milliseconds