Searched refs:value1 (Results 1 – 6 of 6) sorted by relevance
/device/google/contexthub/firmware/os/core/ |
D | sensors.c | 475 if (!evt->value1) { //we failed -> give up in sensorInternalFwStateChanged() 481 s->currentRate = evt->value1; in sensorInternalFwStateChanged() 499 …if (s->currentRate == SENSOR_RATE_POWERING_ON && evt->value1) { //we're now on - upload f… in sensorInternalPowerStateChanged() 504 else if (s->currentRate == SENSOR_RATE_POWERING_OFF && !evt->value1) { //we're now off in sensorInternalPowerStateChanged() 510 …else if (s->currentRate == SENSOR_RATE_POWERING_ON && !evt->value1) { //we need to power back on in sensorInternalPowerStateChanged() 513 …else if (s->currentRate == SENSOR_RATE_POWERING_OFF && evt->value1) { //we need to power back o… in sensorInternalPowerStateChanged() 527 s->currentRate = evt->value1; in sensorInternalRateChanged() 536 bool sensorSignalInternalEvt(uint32_t handle, uint32_t intEvtNum, uint32_t value1, uint64_t value2) in sensorSignalInternalEvt() argument 549 evt->value1 = value1; in sensorSignalInternalEvt()
|
D | osApi.c | 101 uint32_t value1 = va_arg(args, uint32_t); in osExpApiSensorSignal() local 106 *retValP = (uintptr_t)sensorSignalInternalEvt(handle, intEvtNum, value1, value2); in osExpApiSensorSignal()
|
/device/google/contexthub/firmware/os/inc/ |
D | sensors_priv.h | 40 uint32_t value1; member
|
D | syscallDo.h | 99 static inline bool eOsSensorSignalInternalEvt(uint32_t handle, uint32_t intEvtNum, uint32_t value1,… in eOsSensorSignalInternalEvt() argument 104 …SCALL_OS_MAIN_SENSOR, SYSCALL_OS_MAIN_SENSOR_SIGNAL), handle, intEvtNum, value1, value2_lo, value2… in eOsSensorSignalInternalEvt()
|
D | sensors.h | 263 bool sensorSignalInternalEvt(uint32_t handle, uint32_t intEvtNum, uint32_t value1, uint64_t value2);
|
/device/google/wahoo/liblight/ |
D | lights.c | 140 write_double_int(char const* path, int value1, int value2) in write_double_int() argument 148 size_t bytes = snprintf(buffer, sizeof(buffer), "%d %d\n", value1, value2); in write_double_int()
|