Home
last modified time | relevance | path

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

/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Ddata_builder.c379 …if ((sensors.quat.status & (INV_QUAT_9AXIS | INV_SENSOR_ON)) == (INV_QUAT_9AXIS | INV_SENSOR_ON)) { in inv_get_9_axis_timestamp()
388 if ((sensors.compass.status & INV_SENSOR_ON) == 0) { in inv_get_9_axis_timestamp()
395 …if ((sensors.quat.status & (INV_QUAT_6AXIS | INV_SENSOR_ON)) == (INV_QUAT_6AXIS | INV_SENSOR_ON)) { in inv_get_9_axis_timestamp()
400 } else if ((sensors.accel.status & INV_SENSOR_ON) == 0) { in inv_get_9_axis_timestamp()
406 …if ((sensors.quat.status & (INV_QUAT_3AXIS | INV_SENSOR_ON)) == (INV_QUAT_3AXIS | INV_SENSOR_ON)) { in inv_get_9_axis_timestamp()
418 if ((sensors.gyro.status & INV_SENSOR_ON) == 0) { in inv_get_9_axis_timestamp()
443 if ((sensors.compass.status & INV_SENSOR_ON) == 0) { in inv_get_6_axis_compass_accel_timestamp()
446 if ((sensors.accel.status & INV_SENSOR_ON) == 0) { in inv_get_6_axis_compass_accel_timestamp()
469 …if ((sensors.quat.status & (INV_QUAT_6AXIS | INV_SENSOR_ON)) == (INV_QUAT_6AXIS | INV_SENSOR_ON)) { in inv_get_6_axis_gyro_accel_timestamp()
472 } else if ((sensors.accel.status & INV_SENSOR_ON) == 0) { in inv_get_6_axis_gyro_accel_timestamp()
[all …]
Dhal_outputs.c595 if (sensor_cal->gyro.status & INV_SENSOR_ON) { in inv_generate_hal_outputs()
599 if ((sensor_cal->accel.status & INV_SENSOR_ON) && (sr > sensor_cal->accel.sample_rate_ms)) { in inv_generate_hal_outputs()
603 if ((sensor_cal->compass.status & INV_SENSOR_ON) && (sr > sensor_cal->compass.sample_rate_ms)) { in inv_generate_hal_outputs()
607 if ((sensor_cal->quat.status & INV_SENSOR_ON) && (sr > sensor_cal->quat.sample_rate_ms)) { in inv_generate_hal_outputs()
627 if (sensor_cal->quat.status & INV_SENSOR_ON) { in inv_generate_hal_outputs()
629 if ((sensor_cal->accel.status & sensor_cal->compass.status & INV_SENSOR_ON) == 0) { in inv_generate_hal_outputs()
633 …r_cal->gyro.status & sensor_cal->accel.status & sensor_cal->compass.status & INV_SENSOR_ON) == 0) { in inv_generate_hal_outputs()
Ddata_builder.h42 #define INV_SENSOR_ON 256 macro
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Ddata_builder.c375 return (sensors.compass.status & INV_SENSOR_ON) == INV_SENSOR_ON; in inv_get_compass_on()
383 return (sensors.gyro.status & INV_SENSOR_ON) == INV_SENSOR_ON; in inv_get_gyro_on()
391 return (sensors.accel.status & INV_SENSOR_ON) == INV_SENSOR_ON; in inv_get_accel_on()
401 if (sensors.accel.status & INV_SENSOR_ON) { in inv_get_last_timestamp()
404 if (sensors.gyro.status & INV_SENSOR_ON) { in inv_get_last_timestamp()
410 if (sensors.compass.status & INV_SENSOR_ON) { in inv_get_last_timestamp()
415 if (sensors.temp.status & INV_SENSOR_ON) { in inv_get_last_timestamp()
419 if (sensors.quat.status & INV_SENSOR_ON) { in inv_get_last_timestamp()
806 sensors.accel.status |= INV_NEW_DATA | INV_SENSOR_ON; in inv_build_accel()
832 sensors.gyro.status |= INV_NEW_DATA | INV_RAW_DATA | INV_SENSOR_ON; in inv_build_gyro()
[all …]
Dhal_outputs.c551 if (sensor_cal->gyro.status & INV_SENSOR_ON) { in inv_generate_hal_outputs()
555 if ((sensor_cal->accel.status & INV_SENSOR_ON) && (sr > sensor_cal->accel.sample_rate_ms)) { in inv_generate_hal_outputs()
559 if ((sensor_cal->compass.status & INV_SENSOR_ON) && (sr > sensor_cal->compass.sample_rate_ms)) { in inv_generate_hal_outputs()
563 if ((sensor_cal->quat.status & INV_SENSOR_ON) && (sr > sensor_cal->quat.sample_rate_ms)) { in inv_generate_hal_outputs()
569 if (sensor_cal->quat.status & INV_SENSOR_ON) { in inv_generate_hal_outputs()
571 if ((sensor_cal->accel.status & sensor_cal->compass.status & INV_SENSOR_ON) == 0) { in inv_generate_hal_outputs()
575 …r_cal->gyro.status & sensor_cal->accel.status & sensor_cal->compass.status & INV_SENSOR_ON) == 0) { in inv_generate_hal_outputs()
Ddata_builder.h42 #define INV_SENSOR_ON 256 macro