/hardware/invensense/60xx/mlsdk/mlutils/ |
D | mputest.c | 332 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/ |
D | inv_self_test.c | 58 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, ×tamp); in main() 478 save_data.gyro_temp = temperature * (1L << 16); in main()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
D | inv_sysfs_utils.h | 29 const char *temperature; member
|
D | inv_sysfs_utils.c | 128 count = inv_sysfs_read((char*)names->temperature, sizeof(str), str); in inv_read_temperature_raw()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/ |
D | inv_sysfs_utils.h | 35 const char *temperature; member
|
D | inv_sysfs_utils.c | 134 count = inv_sysfs_read((char*)names->temperature, sizeof(str), str); in inv_read_temperature_raw()
|
/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() 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()
|
D | MPLSensor.h | 288 char *temperature; member
|
/hardware/libhardware/include/hardware/ |
D | sensors.h | 729 float temperature; member
|
/hardware/libhardware/tests/hardware/ |
D | struct-offset.cpp | 80 CHECK_MEMBER_AT(sensors_event_t, temperature, 24, 24); in CheckOffsets()
|
/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() 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");
|
D | MPLSensor.h | 428 char *temperature; member
|
/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() 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()
|
D | MPLSensor.h | 449 char *temperature; member
|