Searched refs:getStateName (Results 1 – 4 of 4) sorted by relevance
/device/google/contexthub/firmware/os/drivers/st_acc44/ |
D | st_acc44.c | 272 static int32_t getStateName(int32_t s) { in getStateName() function 291 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed"); in trySwitchState()
|
/device/google/contexthub/firmware/os/drivers/st_mag40/ |
D | st_mag40.c | 259 static int32_t getStateName(int32_t s) { in getStateName() function 268 DEBUG_PRINT("set state %" PRI_STATE "\n", getStateName(s));\ 278 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed"); in trySwitchState()
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 407 static const char * getStateName(int32_t s) { function 417 static int32_t getStateName(int32_t s) { 720 DEBUG_PRINT_IF(DBG_STATE, "set state %" PRI_STATE "\n", getStateName(s));\ 730 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed"); 1294 VERBOSE_PRINT("accPower: on=%d, state=%" PRI_STATE "\n", on, getStateName(GET_STATE())); 1317 VERBOSE_PRINT("gyrPower: on=%d, state=%" PRI_STATE "\n", on, getStateName(GET_STATE())); 1350 VERBOSE_PRINT("magPower: on=%d, state=%" PRI_STATE "\n", on, getStateName(GET_STATE())); 1440 on, mTask.active_oneshot_sensor_cnt, getStateName(GET_STATE())); 1463 on, mTask.active_oneshot_sensor_cnt, getStateName(GET_STATE())); 1581 rate, latency, getStateName(GET_STATE())); [all …]
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 508 static const char * getStateName(int32_t s) { function 518 static int32_t getStateName(int32_t s) { 753 DEBUG_PRINT_IF(DBG_STATE, "set state %" PRI_STATE "\n", getStateName(s));\ 763 getStateName(prevState), getStateName(newState), ret ? "ok" : "failed"); 2268 …n=%d, state=%" PRI_STATE "\n", mSensorInfo[sensor_type].sensorName, on, getStateName(GET_STATE())); 2293 mSensorInfo[sensor_type].sensorName, rate, latency, getStateName(GET_STATE()));
|