/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
D | inv_self_test.c | 79 } 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/ |
D | inv_gesture_test.c | 80 } 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/ |
D | MPLSensor.cpp | 304 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature); in MPLSensor() 305 gyro_temperature_fd = open(mpu.temperature, O_RDONLY); in MPLSensor() 310 "HAL:temperature_fd opened: %s", mpu.temperature); in MPLSensor() 317 "HAL:sysfs:cat %s (%lld)", mpu.gyro_fsr, getTimestamp()); in MPLSensor() 319 fd = open(mpu.gyro_fsr, O_RDONLY); in MPLSensor() 338 "HAL:sysfs:cat %s (%lld)", mpu.in_gyro_self_test_scale, getTimestamp()); in MPLSensor() 339 fd = open(mpu.in_gyro_self_test_scale, O_RDONLY); in MPLSensor() 358 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro x offset path: %s", mpu.in_gyro_x_offset); in MPLSensor() 359 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro y offset path: %s", mpu.in_gyro_y_offset); in MPLSensor() 360 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro z offset path: %s", mpu.in_gyro_z_offset); in MPLSensor() [all …]
|
D | MPLSensor.h | 522 } mpu; variable
|
/hardware/invensense/6515/libsensors_iio/ |
D | MPLSensor.cpp | 180 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature); in MPLSensor() 181 gyro_temperature_fd = open(mpu.temperature, O_RDONLY); in MPLSensor() 186 "HAL:temperature_fd opened: %s", mpu.temperature); in MPLSensor() 193 "HAL:sysfs:cat %s (%lld)", mpu.gyro_fsr, getTimestamp()); in MPLSensor() 195 fd = open(mpu.gyro_fsr, O_RDONLY); in MPLSensor() 214 "HAL:sysfs:cat %s (%lld)", mpu.in_gyro_self_test_scale, getTimestamp()); in MPLSensor() 215 fd = open(mpu.in_gyro_self_test_scale, O_RDONLY); in MPLSensor() 234 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro x offset path: %s", mpu.in_gyro_x_offset); in MPLSensor() 235 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro y offset path: %s", mpu.in_gyro_y_offset); in MPLSensor() 236 LOGV_IF(EXTRA_VERBOSE, "HAL:factory gyro z offset path: %s", mpu.in_gyro_z_offset); in MPLSensor() [all …]
|
D | MPLSensor.h | 503 } mpu; variable
|
/hardware/invensense/60xx/libsensors_iio/ |
D | MPLSensor.cpp | 228 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature); in MPLSensor() 229 gyro_temperature_fd = open(mpu.temperature, O_RDONLY); in MPLSensor() 234 "HAL:temperature_fd opened: %s", mpu.temperature); in MPLSensor() 242 "HAL:sysfs:cat %s (%lld)", mpu.accel_fsr, getTimestamp()); in MPLSensor() 244 fd = open(mpu.accel_fsr, O_RDONLY); in MPLSensor() 377 write_sysfs_int(mpu.in_timestamp_en, 1); in enable_iio_sysfs() 381 mpu.trigger_name, getTimestamp()); in enable_iio_sysfs() 382 tempFp = fopen(mpu.trigger_name, "r"); in enable_iio_sysfs() 393 iio_trigger_name, mpu.current_trigger, getTimestamp()); in enable_iio_sysfs() 394 tempFp = fopen(mpu.current_trigger, "w"); in enable_iio_sysfs() [all …]
|
D | MPLSensor.h | 319 } mpu; variable
|
/hardware/invensense/60xx/libsensors_iio/software/core/mpl/build/ |
D | filelist.mk | 4 HEADERS := $(MPL_DIR)/mpu.h
|
/hardware/invensense/60xx/mlsdk/platform/include/ |
D | mpu3050.h | 20 #error Do not include this file directly. Include mpu.h instead.
|