Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/core/
Dsensors.c475 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()
DosApi.c101 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/
Dsensors_priv.h40 uint32_t value1; member
DsyscallDo.h99 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()
Dsensors.h263 bool sensorSignalInternalEvt(uint32_t handle, uint32_t intEvtNum, uint32_t value1, uint64_t value2);
/device/google/wahoo/liblight/
Dlights.c140 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()