Home
last modified time | relevance | path

Searched refs:mpu (Results 1 – 10 of 10) 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.cpp304 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 …]
DMPLSensor.h522 } mpu; variable
/hardware/invensense/6515/libsensors_iio/
DMPLSensor.cpp180 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 …]
DMPLSensor.h503 } mpu; variable
/hardware/invensense/60xx/libsensors_iio/
DMPLSensor.cpp228 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 …]
DMPLSensor.h319 } mpu; variable
/hardware/invensense/60xx/libsensors_iio/software/core/mpl/build/
Dfilelist.mk4 HEADERS := $(MPL_DIR)/mpu.h
/hardware/invensense/60xx/mlsdk/platform/include/
Dmpu3050.h20 #error Do not include this file directly. Include mpu.h instead.