Home
last modified time | relevance | path

Searched refs:req (Results 1 – 13 of 13) sorted by relevance

/device/google/contexthub/firmware/src/
Dsensors.c412 struct SensorsClientRequest *req = slabAllocatorGetNth(mCliSensMatrix, i); in sensorCalcHwLatency() local
415 if (!req || req->handle != s->handle) in sensorCalcHwLatency()
418 if (smallestLatency > req->latency) in sensorCalcHwLatency()
419 smallestLatency = req->latency; in sensorCalcHwLatency()
444 struct SensorsClientRequest *req = slabAllocatorGetNth(mCliSensMatrix, i); in sensorCalcHwRate() local
447 if (!req || req->handle != s->handle) in sensorCalcHwRate()
451 if (req->rate == removedRate) { in sensorCalcHwRate()
459 if (req->rate == SENSOR_RATE_ONDEMAND) in sensorCalcHwRate()
461 if (req->rate == SENSOR_RATE_ONCHANGE) { in sensorCalcHwRate()
466 if (highestReq < req->rate) in sensorCalcHwRate()
[all …]
DnanohubCommand.c132 struct NanohubAppVersionsRequest *req = rx; in getAppVersion() local
136 if (osAppInfoById(le64toh(req->appId), &appIdx, &appVer, &appSize)) { in getAppVersion()
146 struct NanohubAppInfoRequest *req = rx; in queryAppInfo() local
151 if (osAppInfoByIndex(le32toh(req->appIdx), &appId, &appVer, &appSize)) { in queryAppInfo()
280 static bool doStartFirmwareUpload(struct NanohubStartFirmwareUploadRequest *req) in doStartFirmwareUpload() argument
291 mDownloadState->size = le32toh(req->size); in doStartFirmwareUpload()
292 mDownloadState->crc = le32toh(req->crc); in doStartFirmwareUpload()
301 struct NanohubStartFirmwareUploadRequest *req = rx; in startFirmwareUpload() local
304 resp->accepted = doStartFirmwareUpload(req); in startFirmwareUpload()
578 struct NanohubFirmwareChunkRequest *req = rx; in firmwareChunk() local
[all …]
/device/google/contexthub/util/nanotool/
Dcontexthub.cpp176 ConfigureSensorRequest req; in EnableSensor() local
178 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in EnableSensor()
179 req.config.sensor_type = static_cast<uint8_t>(spec.sensor_type); in EnableSensor()
180 req.config.command = static_cast<uint8_t>( in EnableSensor()
183 req.config.rate = static_cast<uint32_t>(spec.special_rate); in EnableSensor()
185 req.config.rate = ConfigureSensorRequest::FloatRateToFixedPoint( in EnableSensor()
188 req.config.latency = spec.latency_ns; in EnableSensor()
193 auto result = WriteEvent(req); in EnableSensor()
210 ConfigureSensorRequest req; in DisableSensor() local
212 req.config.event_type = static_cast<uint32_t>(EventType::ConfigureSensor); in DisableSensor()
[all …]
Dnanomessage.cpp89 Request *req = reinterpret_cast<Request *>(data); in GetBytes() local
90 *req = request; in GetBytes()
/device/asus/fugu/original-kernel-headers/drm/
Dpsb_ttm_placement_user.h221 struct ttm_pl_create_req req; member
226 struct ttm_pl_reference_req req; member
231 struct ttm_pl_setstatus_req req; member
236 struct ttm_pl_create_ub_req req; member
Dpsb_ttm_fence_user.h78 struct ttm_fence_signaled_req req; member
115 struct ttm_fence_finish_req req; member
/device/asus/fugu/kernel-headers/drm/
Dpsb_ttm_placement_user.h97 struct ttm_pl_create_req req; member
102 struct ttm_pl_reference_req req; member
107 struct ttm_pl_setstatus_req req; member
112 struct ttm_pl_create_ub_req req; member
Dpsb_ttm_fence_user.h44 struct ttm_fence_signaled_req req; member
59 struct ttm_fence_finish_req req; member
/device/moto/shamu/camera/QCamera/stack/mm-camera-test/src/
Dmm_qcamera_display.c181 e = &yuv.list.req[0]; in test_app_camframe_callback()
463 e = &yuv.list.req[0]; in v4l2_render()
523 e = &yuv.list.req[0]; in mm_app_dl_render()
/device/huawei/angler/location/loc_api/loc_api_v02/
DLocApiV02.cpp3157 qmiLocSetXtraVersionCheckReqMsgT_v02 req; in setXtraVersionCheck() local
3164 memset(&req, 0, sizeof(req)); in setXtraVersionCheck()
3168 req.xtraVersionCheckMode = eQMI_LOC_XTRA_VERSION_CHECK_DISABLE_V02; in setXtraVersionCheck()
3171 req.xtraVersionCheckMode = eQMI_LOC_XTRA_VERSION_CHECK_AUTO_V02; in setXtraVersionCheck()
3174 req.xtraVersionCheckMode = eQMI_LOC_XTRA_VERSION_CHECK_XTRA2_V02; in setXtraVersionCheck()
3177 req.xtraVersionCheckMode = eQMI_LOC_XTRA_VERSION_CHECK_XTRA3_V02; in setXtraVersionCheck()
3180 req.xtraVersionCheckMode = eQMI_LOC_XTRA_VERSION_CHECK_DISABLE_V02; in setXtraVersionCheck()
3184 req_union.pSetXtraVersionCheckReq = &req; in setXtraVersionCheck()
/device/lge/bullhead/location/loc_api/loc_api_v02/
DLocApiV02.cpp3157 qmiLocSetXtraVersionCheckReqMsgT_v02 req; in setXtraVersionCheck() local
3164 memset(&req, 0, sizeof(req)); in setXtraVersionCheck()
3168 req.xtraVersionCheckMode = eQMI_LOC_XTRA_VERSION_CHECK_DISABLE_V02; in setXtraVersionCheck()
3171 req.xtraVersionCheckMode = eQMI_LOC_XTRA_VERSION_CHECK_AUTO_V02; in setXtraVersionCheck()
3174 req.xtraVersionCheckMode = eQMI_LOC_XTRA_VERSION_CHECK_XTRA2_V02; in setXtraVersionCheck()
3177 req.xtraVersionCheckMode = eQMI_LOC_XTRA_VERSION_CHECK_XTRA3_V02; in setXtraVersionCheck()
3180 req.xtraVersionCheckMode = eQMI_LOC_XTRA_VERSION_CHECK_DISABLE_V02; in setXtraVersionCheck()
3184 req_union.pSetXtraVersionCheckReq = &req; in setXtraVersionCheck()
/device/asus/fugu/kernel-headers/linux/
Dpsb_drm.h180 struct psb_validate_req req; member
/device/asus/fugu/original-kernel-headers/linux/
Dpsb_drm.h215 struct psb_validate_req req; member