Home
last modified time | relevance | path

Searched refs:mpu (Results 1 – 6 of 6) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c79 } mpu; variable
139 fp = fopen(mpu.name, "r"); in android_hub()
175 dptr = (char**)&mpu; in inv_init_sysfs_attributes()
188 sprintf(mpu.name, "%s%s", sysfs_path, "/name"); in inv_init_sysfs_attributes()
189 sprintf(mpu.enable, "%s%s", sysfs_path, "/buffer/enable"); in inv_init_sysfs_attributes()
190 sprintf(mpu.power_state, "%s%s", sysfs_path, "/power_state"); in inv_init_sysfs_attributes()
191 sprintf(mpu.dmp_on,"%s%s", sysfs_path, "/dmp_on"); in inv_init_sysfs_attributes()
192 sprintf(mpu.self_test, "%s%s", sysfs_path, "/self_test"); in inv_init_sysfs_attributes()
193 sprintf(mpu.temperature, "%s%s", sysfs_path, "/temperature"); in inv_init_sysfs_attributes()
195 sprintf(mpu.gyro_enable, "%s%s", sysfs_path, "/gyro_enable"); in inv_init_sysfs_attributes()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
Dinv_gesture_test.c80 } mpu; variable
184 dptr = (char**)&mpu; in inv_init_sysfs_attributes()
197 sprintf(mpu.name, "%s%s", sysfs_path, "/name"); in inv_init_sysfs_attributes()
198 sprintf(mpu.enable, "%s%s", sysfs_path, "/buffer/enable"); in inv_init_sysfs_attributes()
199 sprintf(mpu.power_state, "%s%s", sysfs_path, "/power_state"); in inv_init_sysfs_attributes()
200 sprintf(mpu.dmp_on,"%s%s", sysfs_path, "/dmp_on"); in inv_init_sysfs_attributes()
201 sprintf(mpu.dmp_int_on, "%s%s", sysfs_path, "/dmp_int_on"); in inv_init_sysfs_attributes()
202 sprintf(mpu.dmp_firmware, "%s%s", sysfs_path, "/dmp_firmware"); in inv_init_sysfs_attributes()
203 sprintf(mpu.firmware_loaded, "%s%s", sysfs_path, "/firmware_loaded"); in inv_init_sysfs_attributes()
206 sprintf(mpu.event_display_orientation, "%s%s", in inv_init_sysfs_attributes()
[all …]
/hardware/invensense/65xx/libsensors_iio/
DMPLSensor.cpp300 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature); in MPLSensor()
301 gyro_temperature_fd = open(mpu.temperature, O_RDONLY); in MPLSensor()
306 "HAL:temperature_fd opened: %s", mpu.temperature); in MPLSensor()
313 "HAL:sysfs:cat %s (%lld)", mpu.gyro_fsr, getTimestamp()); in MPLSensor()
315 fd = open(mpu.gyro_fsr, O_RDONLY); in MPLSensor()
334 "HAL:sysfs:cat %s (%lld)", mpu.in_gyro_self_test_scale, getTimestamp()); in MPLSensor()
335 fd = open(mpu.in_gyro_self_test_scale, O_RDONLY); in MPLSensor()
354 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro x offset path: %s", mpu.in_gyro_x_offset); in MPLSensor()
355 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro y offset path: %s", mpu.in_gyro_y_offset); in MPLSensor()
356 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro z offset path: %s", mpu.in_gyro_z_offset); in MPLSensor()
[all …]
DMPLSensor.h522 } mpu; variable
/hardware/invensense/6515/libsensors_iio/
DMPLSensor.cpp208 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature); in MPLSensor()
209 gyro_temperature_fd = open(mpu.temperature, O_RDONLY); in MPLSensor()
214 "HAL:temperature_fd opened: %s", mpu.temperature); in MPLSensor()
221 "HAL:sysfs:cat %s (%lld)", mpu.gyro_fsr, getTimestamp()); in MPLSensor()
223 fd = open(mpu.gyro_fsr, O_RDONLY); in MPLSensor()
242 "HAL:sysfs:cat %s (%lld)", mpu.in_gyro_self_test_scale, getTimestamp()); in MPLSensor()
243 fd = open(mpu.in_gyro_self_test_scale, O_RDONLY); in MPLSensor()
262 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro x offset path: %s", mpu.in_gyro_x_offset); in MPLSensor()
263 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro y offset path: %s", mpu.in_gyro_y_offset); in MPLSensor()
264 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro z offset path: %s", mpu.in_gyro_z_offset); in MPLSensor()
[all …]
DMPLSensor.h526 } mpu; variable