/hardware/invensense/60xx/libsensors_iio/ |
H A D | CompassSensor.IIO.9150.cpp | 36 #define COMPASS_MAX_SYSFS_ATTRB sizeof(compassSysFs) / sizeof(char*) 82 compassSysFs.compass_orient, getTimestamp()); 84 fptr = fopen(compassSysFs.compass_orient, "r"); 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); 165 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); 169 tempFd = open(compassSysFs.compass_rate, O_RDWR); 225 compassSysFs [all...] |
H A D | CompassSensor.IIO.9150.h | 75 } compassSysFs; member in class:CompassSensor
|
/hardware/invensense/6515/libsensors_iio/ |
H A D | CompassSensor.IIO.primary.cpp | 35 #define COMPASS_MAX_SYSFS_ATTRB sizeof(compassSysFs) / sizeof(char*) 105 compassSysFs.compass_orient, getTimestamp()); 106 fptr = fopen(compassSysFs.compass_orient, "r"); 133 mCoilsResetFd = fopen(compassSysFs.compass_attr_1, "r+"); 150 1, compassSysFs.in_timestamp_en, getTimestamp()); 151 write_sysfs_int(compassSysFs.in_timestamp_en, 1); 154 IIO_BUFFER_LENGTH, compassSysFs.buffer_length, getTimestamp()); 155 tempFp = fopen(compassSysFs.buffer_length, "w"); 179 compassSysFs.compass_x_fifo_enable, getTimestamp()); 180 tempFd = open(compassSysFs [all...] |
H A D | CompassSensor.IIO.9150.cpp | 35 #define COMPASS_MAX_SYSFS_ATTRB sizeof(compassSysFs) / sizeof(char*) 88 compassSysFs.compass_orient, getTimestamp()); 90 fptr = fopen(compassSysFs.compass_orient, "r"); 146 en, compassSysFs.compass_enable, getTimestamp()); 147 res = write_sysfs_int(compassSysFs.compass_enable, en); 158 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); 162 tempFd = open(compassSysFs.compass_rate, O_RDWR); 174 0, compassSysFs.compass_fifo_enable, getTimestamp()); 175 res += write_sysfs_int(compassSysFs.compass_fifo_enable, 0); 183 1, compassSysFs [all...] |
H A D | CompassSensor.IIO.9150.h | 82 } compassSysFs; member in class:CompassSensor
|
H A D | CompassSensor.IIO.primary.h | 87 } compassSysFs; member in class:CompassSensor
|
/hardware/invensense/65xx/libsensors_iio/ |
H A D | CompassSensor.IIO.primary.cpp | 35 #define COMPASS_MAX_SYSFS_ATTRB sizeof(compassSysFs) / sizeof(char*) 105 compassSysFs.compass_orient, getTimestamp()); 106 fptr = fopen(compassSysFs.compass_orient, "r"); 133 mCoilsResetFd = fopen(compassSysFs.compass_attr_1, "r+"); 150 1, compassSysFs.in_timestamp_en, getTimestamp()); 151 write_sysfs_int(compassSysFs.in_timestamp_en, 1); 154 IIO_BUFFER_LENGTH, compassSysFs.buffer_length, getTimestamp()); 155 tempFp = fopen(compassSysFs.buffer_length, "w"); 179 compassSysFs.compass_x_fifo_enable, getTimestamp()); 180 tempFd = open(compassSysFs [all...] |
H A D | CompassSensor.IIO.9150.cpp | 35 #define COMPASS_MAX_SYSFS_ATTRB sizeof(compassSysFs) / sizeof(char*) 88 compassSysFs.compass_orient, getTimestamp()); 90 fptr = fopen(compassSysFs.compass_orient, "r"); 145 res = write_sysfs_int(compassSysFs.compass_enable, en); 156 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); 160 tempFd = open(compassSysFs.compass_rate, O_RDWR); 172 0, compassSysFs.compass_fifo_enable, getTimestamp()); 173 res += write_sysfs_int(compassSysFs.compass_fifo_enable, 0); 181 1, compassSysFs.compass_fifo_enable, getTimestamp()); 182 res += write_sysfs_int(compassSysFs [all...] |
H A D | CompassSensor.IIO.9150.h | 82 } compassSysFs; member in class:CompassSensor
|
H A D | CompassSensor.IIO.primary.h | 87 } compassSysFs; member in class:CompassSensor
|