Home
last modified time | relevance | path

Searched defs:sensor (Results 1 – 9 of 9) sorted by relevance

/device/google/contexthub/firmware/os/core/
DhostIntf.c534 static void resetBuffer(struct ActiveSensor *sensor) in resetBuffer()
548 struct ActiveSensor *sensor = NULL; in getActiveSensorByType() local
561 struct ActiveSensor *sensor; in hostIntfPacketDequeue() local
635 struct ActiveSensor *sensor = getActiveSensorByType(buffer->sensType); in queueDiscard() local
826 static bool enqueueSensorBuffer(struct ActiveSensor *sensor) in enqueueSensorBuffer()
843 static void copySingleSamples(struct ActiveSensor *sensor, const struct SingleAxisDataEvent *single) in copySingleSamples()
906 static void copyTripleSamples(struct ActiveSensor *sensor, const struct TripleAxisDataEvent *triple) in copyTripleSamples()
992 static void copyTripleSamplesBias(struct ActiveSensor *sensor, const struct TripleAxisDataEvent *tr… in copyTripleSamplesBias()
1011 static void copyTripleSamplesRaw(struct ActiveSensor *sensor, const struct TripleAxisDataEvent *tri… in copyTripleSamplesRaw()
1114 static void queueFlush(struct ActiveSensor *sensor) in queueFlush()
[all …]
/device/google/contexthub/util/nanotool/
Dcontexthub.cpp360 bool ContextHub::CalibrateSingleSensor(const SensorSpec& sensor) { in CalibrateSingleSensor()
394 bool ContextHub::TestSingleSensor(const SensorSpec& sensor) { in TestSingleSensor()
439 bool ContextHub::HandleCalibrationResult(const SensorSpec& sensor, in HandleCalibrationResult()
497 bool ContextHub::HandleTestResult(const SensorSpec& sensor, in HandleTestResult()
/device/google/contexthub/sensorhal/
Dhubconnection.cpp501 …t_t *HubConnection::initEv(sensors_event_t *ev, uint64_t timestamp, uint32_t type, uint32_t sensor) in initEv()
522 bool HubConnection::isWakeEvent(int32_t sensor) in isWakeEvent()
536 void HubConnection::protectIfWakeEvent(int32_t sensor) in protectIfWakeEvent()
555 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct OneAxi… in processSample()
648 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct RawThr… in processSample()
714 void HubConnection::processSample(uint64_t timestamp, uint32_t type, uint32_t sensor, struct ThreeA… in processSample()
990 uint32_t type, sensor, bias, currSensor; in processBuf() local
Dsensors.cpp283 sensor_t sensor = kSensorList[i]; in setDelay() local
309 sensor_t sensor = kSensorList[i]; in batch() local
/device/google/contexthub/firmware/os/inc/
DhalIntf.h30 #define APP_TO_SENSOR_HAL_TYPE(sensor, subtype) (((sensor) && 0xFF) | (((subtype) & 0x7F) << 8)) argument
/device/google/contexthub/util/nanoapp_cmd/
Dnanoapp_cmd.c82 static int setType(struct ConfigCmd *cmd, char *sensor) in setType()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c1092 static bool flushData(struct BMI160Sensor *sensor, uint32_t eventId)
3625 static void initSensorStruct(struct BMI160Sensor *sensor, enum SensorIndex idx)
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c2956 static void lsm6dsm_initSensorStruct(struct LSM6DSMSensor *sensor, enum SensorIndex idx) in lsm6dsm_initSensorStruct()
/device/google/dragon/recovery/updater/
Dec_commands.h1898 struct ec_response_motion_sensor_data sensor[0]; member