Searched refs:newRate (Results 1 – 6 of 6) sorted by relevance
/device/google/contexthub/firmware/app/chre/common/ |
D | chre10_app.c | 206 if (!msg->newRate) { in chreappProcessConfigEvt() 212 if (msg->newRate == SENSOR_RATE_ONDEMAND in chreappProcessConfigEvt() 213 || msg->newRate == SENSOR_RATE_ONCHANGE in chreappProcessConfigEvt() 214 || msg->newRate == SENSOR_RATE_ONESHOT) in chreappProcessConfigEvt() 217 change.status.interval = (UINT32_C(1024000000) / msg->newRate) * UINT64_C(1000); in chreappProcessConfigEvt()
|
D | chre_app.c | 206 if (!msg->newRate) { in chreappProcessConfigEvt() 212 if (msg->newRate == SENSOR_RATE_ONDEMAND in chreappProcessConfigEvt() 213 || msg->newRate == SENSOR_RATE_ONCHANGE in chreappProcessConfigEvt() 214 || msg->newRate == SENSOR_RATE_ONESHOT) in chreappProcessConfigEvt() 217 change.status.interval = (UINT32_C(1024000000) / msg->newRate) * UINT64_C(1000); in chreappProcessConfigEvt()
|
/device/google/contexthub/firmware/os/inc/ |
D | sensors.h | 133 uint32_t newRate; member 274 bool sensorRequestRateChange(uint32_t clientTid, uint32_t sensorHandle, uint32_t newRate, uint64_t …
|
D | syscallDo.h | 135 …nsorRequestRateChange(uint32_t clientId, uint32_t sensorHandle, uint32_t newRate, uint64_t newLate… in eOsSensorRequestRateChange() argument 140 …S_MAIN_SENSOR, SYSCALL_OS_MAIN_SENSOR_RATE_CHG), clientId, sensorHandle, newRate, newLatency_lo, n… in eOsSensorRequestRateChange()
|
/device/google/contexthub/firmware/os/core/ |
D | sensors.c | 603 static bool sensorAmendRequestor(uint32_t sensorHandle, uint32_t clientTid, uint32_t newRate, uint6… in sensorAmendRequestor() argument 608 req->rate = newRate; in sensorAmendRequestor() 670 bool sensorRequestRateChange(uint32_t unusedTid, uint32_t sensorHandle, uint32_t newRate, uint64_t … in sensorRequestRateChange() argument 688 newSensorRate = sensorCalcHwRate(s, newRate, oldRate); in sensorRequestRateChange() 693 samplingPeriod = ((uint64_t)(1000000000 / newRate)) << 10; in sensorRequestRateChange() 697 if (!sensorAmendRequestor(sensorHandle, clientTid, newRate, newLatency)) in sensorRequestRateChange()
|
D | osApi.c | 158 uint32_t newRate = va_arg(args, uint32_t); in osExpApiSensorRateChg() local 163 *retValP = sensorRequestRateChange(0, sensorHandle, newRate, newLatency); in osExpApiSensorRateChg()
|