Searched refs:compassSysFs (Results 1 – 8 of 8) sorted by relevance
/hardware/invensense/65xx/libsensors_iio/ |
D | CompassSensor.IIO.primary.cpp | 35 #define COMPASS_MAX_SYSFS_ATTRB sizeof(compassSysFs) / sizeof(char*) 105 compassSysFs.compass_orient, getTimestamp()); in CompassSensor() 106 fptr = fopen(compassSysFs.compass_orient, "r"); in CompassSensor() 133 mCoilsResetFd = fopen(compassSysFs.compass_attr_1, "r+"); in CompassSensor() 150 1, compassSysFs.in_timestamp_en, getTimestamp()); in enable_iio_sysfs() 151 write_sysfs_int(compassSysFs.in_timestamp_en, 1); in enable_iio_sysfs() 154 IIO_BUFFER_LENGTH, compassSysFs.buffer_length, getTimestamp()); in enable_iio_sysfs() 155 tempFp = fopen(compassSysFs.buffer_length, "w"); in enable_iio_sysfs() 258 en, compassSysFs.compass_x_fifo_enable, getTimestamp()); in enable() 259 res = write_sysfs_int(compassSysFs.compass_x_fifo_enable, en); in enable() [all …]
|
D | CompassSensor.IIO.9150.cpp | 35 #define COMPASS_MAX_SYSFS_ATTRB sizeof(compassSysFs) / sizeof(char*) 88 compassSysFs.compass_orient, getTimestamp()); in CompassSensor() 90 fptr = fopen(compassSysFs.compass_orient, "r"); in CompassSensor() 145 res = write_sysfs_int(compassSysFs.compass_enable, en); in enable() 156 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); in setDelay() 160 tempFd = open(compassSysFs.compass_rate, O_RDWR); in setDelay() 172 0, compassSysFs.compass_fifo_enable, getTimestamp()); in turnOffCompassFifo() 173 res += write_sysfs_int(compassSysFs.compass_fifo_enable, 0); in turnOffCompassFifo() 181 1, compassSysFs.compass_fifo_enable, getTimestamp()); in turnOnCompassFifo() 182 res += write_sysfs_int(compassSysFs.compass_fifo_enable, 1); in turnOnCompassFifo() [all …]
|
D | CompassSensor.IIO.9150.h | 82 } compassSysFs; variable
|
D | CompassSensor.IIO.primary.h | 87 } compassSysFs; variable
|
/hardware/invensense/6515/libsensors_iio/ |
D | CompassSensor.IIO.primary.cpp | 35 #define COMPASS_MAX_SYSFS_ATTRB sizeof(compassSysFs) / sizeof(char*) 105 compassSysFs.compass_orient, getTimestamp()); in CompassSensor() 106 fptr = fopen(compassSysFs.compass_orient, "r"); in CompassSensor() 133 mCoilsResetFd = fopen(compassSysFs.compass_attr_1, "r+"); in CompassSensor() 150 1, compassSysFs.in_timestamp_en, getTimestamp()); in enable_iio_sysfs() 151 write_sysfs_int(compassSysFs.in_timestamp_en, 1); in enable_iio_sysfs() 154 IIO_BUFFER_LENGTH, compassSysFs.buffer_length, getTimestamp()); in enable_iio_sysfs() 155 tempFp = fopen(compassSysFs.buffer_length, "w"); in enable_iio_sysfs() 258 en, compassSysFs.compass_x_fifo_enable, getTimestamp()); in enable() 259 res = write_sysfs_int(compassSysFs.compass_x_fifo_enable, en); in enable() [all …]
|
D | CompassSensor.IIO.9150.cpp | 35 #define COMPASS_MAX_SYSFS_ATTRB sizeof(compassSysFs) / sizeof(char*) 88 compassSysFs.compass_orient, getTimestamp()); in CompassSensor() 90 fptr = fopen(compassSysFs.compass_orient, "r"); in CompassSensor() 146 en, compassSysFs.compass_enable, getTimestamp()); in enable() 147 res = write_sysfs_int(compassSysFs.compass_enable, en); in enable() 158 1000000000.f / ns, compassSysFs.compass_rate, getTimestamp()); in setDelay() 162 tempFd = open(compassSysFs.compass_rate, O_RDWR); in setDelay() 174 0, compassSysFs.compass_fifo_enable, getTimestamp()); in turnOffCompassFifo() 175 res += write_sysfs_int(compassSysFs.compass_fifo_enable, 0); in turnOffCompassFifo() 183 1, compassSysFs.compass_fifo_enable, getTimestamp()); in turnOnCompassFifo() [all …]
|
D | CompassSensor.IIO.9150.h | 82 } compassSysFs; variable
|
D | CompassSensor.IIO.primary.h | 87 } compassSysFs; variable
|