Home
last modified time | relevance | path

Searched refs:temperature (Results 1 – 14 of 14) sorted by relevance

/hardware/invensense/60xx/mlsdk/mlutils/
Dmputest.c332 int temperature; in inv_test_gyro_3050() local
338 temperature = 0; in inv_test_gyro_3050()
461 temperature += (short)CHARS_TO_SHORT(dataout); in inv_test_gyro_3050()
535 temperature /= 3; in inv_test_gyro_3050()
538 SHORT_TO_TEMP_C(temperature), "", ""); in inv_test_gyro_3050()
541 *temp_avg = (short)temperature; in inv_test_gyro_3050()
582 int temperature = 0; in inv_test_gyro_6050() local
737 temperature += (short)CHARS_TO_SHORT(dataout); in inv_test_gyro_6050()
762 temperature /= 3; in inv_test_gyro_6050()
765 SHORT_TO_TEMP_C(temperature), "", ""); in inv_test_gyro_6050()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c58 char *temperature; member
193 sprintf(mpu.temperature, "%s%s", sysfs_path, "/temperature"); in inv_init_sysfs_attributes()
266 long long temperature = 0; in main() local
451 fptr = fopen(mpu.temperature, "r"); in main()
453 fscanf(fptr,"%lld %ld", &temperature, &timestamp); in main()
478 save_data.gyro_temp = temperature * (1L << 16); in main()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dinv_sysfs_utils.h29 const char *temperature; member
Dinv_sysfs_utils.c128 count = inv_sysfs_read((char*)names->temperature, sizeof(str), str); in inv_read_temperature_raw()
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dinv_sysfs_utils.h35 const char *temperature; member
Dinv_sysfs_utils.c134 count = inv_sysfs_read((char*)names->temperature, sizeof(str), str); in inv_read_temperature_raw()
/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()
1951 long long temperature[2]; in readEvents() local
1952 if(inv_read_temperature(temperature) == 0) { in readEvents()
1955 temperature[0], temperature[1]); in readEvents()
1956 inv_build_temp(temperature[0], temperature[1]); in readEvents()
1967 (float)temperature[0] / 65536.f, in readEvents()
2725 sprintf(mpu.temperature, "%s%s", sysfs_path, "/temperature"); in inv_init_sysfs_attributes()
DMPLSensor.h288 char *temperature; member
/hardware/libhardware/include/hardware/
Dsensors.h729 float temperature; member
/hardware/libhardware/tests/hardware/
Dstruct-offset.cpp80 CHECK_MEMBER_AT(sensors_event_t, temperature, 24, 24); in CheckOffsets()
/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()
4112 long long temperature[2]; local
4113 if(inv_read_temperature(temperature) == 0) {
4116 temperature[0], temperature[1]);
4117 inv_build_temp(temperature[0], temperature[1]);
4127 (float)temperature[0] / 65536.f,
5117 sprintf(mpu.temperature, "%s%s", sysfs_path, "/temperature");
DMPLSensor.h428 char *temperature; member
/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()
3987 long long temperature[2]; in buildMpuEvent() local
3988 if(inv_read_temperature(temperature) == 0) { in buildMpuEvent()
3991 temperature[0], temperature[1]); in buildMpuEvent()
3992 inv_build_temp(temperature[0], temperature[1]); in buildMpuEvent()
4002 (float)temperature[0] / 65536.f, in buildMpuEvent()
5076 sprintf(mpu.temperature, "%s%s", sysfs_path, "/temperature"); in inv_init_sysfs_attributes()
DMPLSensor.h449 char *temperature; member