Home
last modified time | relevance | path

Searched refs:powered (Results 1 – 2 of 2) sorted by relevance

/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c469 bool powered; // activate status member
954 if (mTask.sensors[STEPCNT].powered && mTask.step_cnt_changed) {
1305 mTask.sensors[ACC].powered = on;
1330 if (anyFifoEnabled() && on != mTask.sensors[GYR].powered) {
1337 mTask.sensors[GYR].powered = on;
1361 mTask.sensors[MAG].powered = on;
1382 if (!mTask.sensors[STEPCNT].powered)
1386 mTask.sensors[STEP].powered = on;
1406 mTask.sensors[FLAT].powered = on;
1426 mTask.sensors[DTAP].powered = on;
[all …]
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c562 bool powered; // activate status member
644 bool powered; member
1400 if (!T(powered) && trySwitchState(SENSOR_CALIBRATING)) {
1417 if (!T(powered) && trySwitchState(SENSOR_CALIBRATING)) {
1827 if (!T(powered) && trySwitchState(SENSOR_TESTING)) {
1845 if (!T(powered) && trySwitchState(SENSOR_TESTING)) {
1886 bool powered = false; local
1893 if (T(sensors[i]).powered) {
1894 powered = true;
1898 if (!powered) {
[all …]