Home
last modified time | relevance | path

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

1234

/hardware/qcom/sdm845/display/libcopybit/
Dcopybit.cpp53 struct mdp_blit_req req[10]; member
231 struct mdp_blit_req *req, int flags) in set_infos() argument
233 req->alpha = dev->mAlpha; in set_infos()
234 req->fps = dev->dynamic_fps; in set_infos()
235 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
236 req->flags = dev->mFlags | flags; in set_infos()
239 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
242 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
269 l->req[i].src.width, in msm_copybit()
270 l->req[i].src.height, in msm_copybit()
[all …]
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dcopybit.cpp53 struct mdp_blit_req req[10]; member
231 struct mdp_blit_req *req, int flags) in set_infos() argument
233 req->alpha = dev->mAlpha; in set_infos()
234 req->fps = dev->dynamic_fps; in set_infos()
235 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
236 req->flags = dev->mFlags | flags; in set_infos()
239 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
242 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
269 l->req[i].src.width, in msm_copybit()
270 l->req[i].src.height, in msm_copybit()
[all …]
/hardware/qcom/sm8150/display/libcopybit/
Dcopybit.cpp53 struct mdp_blit_req req[10]; member
231 struct mdp_blit_req *req, int flags) in set_infos() argument
233 req->alpha = dev->mAlpha; in set_infos()
234 req->fps = dev->dynamic_fps; in set_infos()
235 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
236 req->flags = dev->mFlags | flags; in set_infos()
239 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
242 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
269 l->req[i].src.width, in msm_copybit()
270 l->req[i].src.height, in msm_copybit()
[all …]
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit.cpp51 struct mdp_blit_req req[10]; member
229 struct mdp_blit_req *req, int flags) in set_infos() argument
231 req->alpha = dev->mAlpha; in set_infos()
232 req->fps = dev->dynamic_fps; in set_infos()
233 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
234 req->flags = dev->mFlags | flags; in set_infos()
237 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
240 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
267 l->req[i].src.width, in msm_copybit()
268 l->req[i].src.height, in msm_copybit()
[all …]
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit.cpp53 struct mdp_blit_req req[10]; member
231 struct mdp_blit_req *req, int flags) in set_infos() argument
233 req->alpha = dev->mAlpha; in set_infos()
234 req->fps = dev->dynamic_fps; in set_infos()
235 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
236 req->flags = dev->mFlags | flags; in set_infos()
239 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
242 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
269 l->req[i].src.width, in msm_copybit()
270 l->req[i].src.height, in msm_copybit()
[all …]
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit.cpp53 struct mdp_blit_req req[10]; member
229 struct mdp_blit_req *req, int flags) in set_infos() argument
231 req->alpha = dev->mAlpha; in set_infos()
232 req->fps = dev->dynamic_fps; in set_infos()
233 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
234 req->flags = dev->mFlags | flags; in set_infos()
237 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
240 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
267 l->req[i].src.width, in msm_copybit()
268 l->req[i].src.height, in msm_copybit()
[all …]
/hardware/qcom/display/msm8994/libcopybit/
Dcopybit.cpp53 struct mdp_blit_req req[10]; member
219 struct mdp_blit_req *req, int flags) in set_infos() argument
221 req->alpha = dev->mAlpha; in set_infos()
222 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
223 req->flags = dev->mFlags | flags; in set_infos()
226 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
229 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
256 l->req[i].src.width, in msm_copybit()
257 l->req[i].src.height, in msm_copybit()
258 l->req[i].src.format, in msm_copybit()
[all …]
/hardware/qcom/display/msm8084/libcopybit/
Dcopybit.cpp52 struct mdp_blit_req req[10]; member
216 struct mdp_blit_req *req, int flags) in set_infos() argument
218 req->alpha = dev->mAlpha; in set_infos()
219 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
220 req->flags = dev->mFlags | flags; in set_infos()
223 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
226 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
253 l->req[i].src.width, in msm_copybit()
254 l->req[i].src.height, in msm_copybit()
255 l->req[i].src.format, in msm_copybit()
[all …]
/hardware/qcom/display/msm8226/libcopybit/
Dcopybit.cpp52 struct mdp_blit_req req[10]; member
216 struct mdp_blit_req *req, int flags) in set_infos() argument
218 req->alpha = dev->mAlpha; in set_infos()
219 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
220 req->flags = dev->mFlags | flags; in set_infos()
223 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
226 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
253 l->req[i].src.width, in msm_copybit()
254 l->req[i].src.height, in msm_copybit()
255 l->req[i].src.format, in msm_copybit()
[all …]
/hardware/interfaces/radio/1.0/
DISapCallback.hal23 * @param token Id to match req-resp. Value must match the one in req.
33 * @param token Id to match req-resp. Value must match the one in req.
40 * @param token Id to match req-resp. Value must match the one in req.
48 * @param token Id to match req-resp. Value must match the one in req.
66 * @param token Id to match req-resp. Value must match the one in req.
82 * @param token Id to match req-resp. Value must match the one in req.
87 * SapResultCode:CARD_NOT_ACCESSSIBLE, (possible only for power on req)
88 * SapResultCode:CARD_ALREADY_POWERED_OFF, (possible only for power off req)
90 * SapResultCode:CARD_ALREADY_POWERED_ON (possible only for power on req)
97 * @param token Id to match req-resp. Value must match the one in req.
[all …]
DISap.hal32 * @param token Id to match req-resp. Resp must include same token.
40 * @param token Id to match req-resp. Resp must include same token.
47 * @param token Id to match req-resp. Resp must include same token.
56 * @param token Id to match req-resp. Resp must include same token.
63 * @param token Id to match req-resp. Resp must include same token.
71 * @param token Id to match req-resp. Resp must include same token.
78 * @param token Id to match req-resp. Resp must include same token.
85 * @param token Id to match req-resp. Resp must include same token.
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit.cpp212 struct mdp_blit_req *req, int flags) in set_infos() argument
214 req->alpha = dev->mAlpha; in set_infos()
215 req->transp_mask = MDP_TRANSP_NOP; in set_infos()
216 req->flags = dev->mFlags | flags; in set_infos()
219 req->flags |= MDP_MEMORY_ID_TYPE_FB; in set_infos()
222 req->flags |= MDP_BLEND_FG_PREMULT; in set_infos()
244 l->req[i].src.width, in msm_copybit()
245 l->req[i].src.height, in msm_copybit()
246 l->req[i].src.format, in msm_copybit()
247 l->req[i].src_rect.x, in msm_copybit()
[all …]
/hardware/ril/libril/
Dsap_service.cpp197 RIL_SIM_SAP_CONNECT_REQ req; in connectReq() local
198 memset(&req, 0, sizeof(RIL_SIM_SAP_CONNECT_REQ)); in connectReq()
199 req.max_message_size = maxMsgSize; in connectReq()
202 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_CONNECT_REQ_fields, &req)) { in connectReq()
217 if (!pb_encode(&stream, RIL_SIM_SAP_CONNECT_REQ_fields, &req)) { in connectReq()
238 RIL_SIM_SAP_DISCONNECT_REQ req; in disconnectReq() local
239 memset(&req, 0, sizeof(RIL_SIM_SAP_DISCONNECT_REQ)); in disconnectReq()
242 if (!pb_get_encoded_size(&encodedSize, RIL_SIM_SAP_DISCONNECT_REQ_fields, &req)) { in disconnectReq()
258 if (!pb_encode(&stream, RIL_SIM_SAP_DISCONNECT_REQ_fields, &req)) { in disconnectReq()
279 RIL_SIM_SAP_APDU_REQ req; in apduReq() local
[all …]
DRilSapSocket.cpp200 void RilSapSocket::dispatchRequest(MsgHeader *req) { in dispatchRequest() argument
206 free(req); in dispatchRequest()
209 currRequest->token = req->token; in dispatchRequest()
210 currRequest->curr = req; in dispatchRequest()
219 req->token, in dispatchRequest()
220 req->type, in dispatchRequest()
221 req->id, in dispatchRequest()
222 req->error, in dispatchRequest()
226 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest, id); in dispatchRequest()
228 uimFuncs->onRequest(req->id, req->payload->bytes, req->payload->size, currRequest); in dispatchRequest()
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_events_drm.cpp429 struct drm_msm_event_req req = {}; in RegisterPanelDead() local
432 req.object_id = token_.conn_id; in RegisterPanelDead()
433 req.object_type = DRM_MODE_OBJECT_CONNECTOR; in RegisterPanelDead()
434 req.event = DRM_EVENT_PANEL_DEAD; in RegisterPanelDead()
436 ret = drmIoctl(poll_fds_[panel_dead_index_].fd, DRM_IOCTL_MSM_REGISTER_EVENT, &req); in RegisterPanelDead()
438 ret = drmIoctl(poll_fds_[panel_dead_index_].fd, DRM_IOCTL_MSM_DEREGISTER_EVENT, &req); in RegisterPanelDead()
454 struct drm_msm_event_req req = {}; in RegisterHistogram() local
457 req.object_id = token_.crtc_id; in RegisterHistogram()
458 req.object_type = DRM_MODE_OBJECT_CRTC; in RegisterHistogram()
459 req.event = DRM_EVENT_HISTOGRAM; in RegisterHistogram()
[all …]
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/common/src/
Dvidc_color_converter.cpp175 C2DBuffReq req; in get_output_filled_length() local
179 int cret = c2dcc->getBuffReq(C2D_OUTPUT, &req); in get_output_filled_length()
181 if (!cret && (req.bpp.denominator > 0)) { in get_output_filled_length()
182 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator); in get_output_filled_length()
183 filled_length /= req.bpp.denominator; in get_output_filled_length()
/hardware/qcom/media/msm8996/mm-video-v4l2/vidc/common/src/
Dvidc_color_converter.cpp175 C2DBuffReq req; in get_output_filled_length() local
179 int cret = c2dcc->getBuffReq(C2D_OUTPUT, &req); in get_output_filled_length()
181 if (!cret && (req.bpp.denominator > 0)) { in get_output_filled_length()
182 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator); in get_output_filled_length()
183 filled_length /= req.bpp.denominator; in get_output_filled_length()
/hardware/qcom/media/msm8998/mm-video-v4l2/vidc/common/src/
Dvidc_color_converter.cpp175 C2DBuffReq req; in get_output_filled_length() local
179 int cret = c2dcc->getBuffReq(C2D_OUTPUT, &req); in get_output_filled_length()
181 if (!cret && (req.bpp.denominator > 0)) { in get_output_filled_length()
182 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator); in get_output_filled_length()
183 filled_length /= req.bpp.denominator; in get_output_filled_length()
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_events_drm.cpp375 struct drm_msm_event_req req = {}; in RegisterPanelDead() local
378 req.object_id = token_.conn_id; in RegisterPanelDead()
379 req.object_type = DRM_MODE_OBJECT_CONNECTOR; in RegisterPanelDead()
380 req.event = DRM_EVENT_PANEL_DEAD; in RegisterPanelDead()
382 ret = drmIoctl(poll_fds_[panel_dead_index_].fd, DRM_IOCTL_MSM_REGISTER_EVENT, &req); in RegisterPanelDead()
384 ret = drmIoctl(poll_fds_[panel_dead_index_].fd, DRM_IOCTL_MSM_DEREGISTER_EVENT, &req); in RegisterPanelDead()
408 struct drm_msm_event_req req = {}; in RegisterIdleNotify() local
411 req.object_id = token_.crtc_id; in RegisterIdleNotify()
412 req.object_type = DRM_MODE_OBJECT_CRTC; in RegisterIdleNotify()
413 req.event = DRM_EVENT_IDLE_NOTIFY; in RegisterIdleNotify()
[all …]
/hardware/qcom/sdm845/media/libc2dcolorconvert/
DC2DColorConverter.cpp684 C2DBuffReq req; in getBuffFilledLen() local
686 ret = getBuffReq(port, &req); in getBuffFilledLen()
687 if (ret && req.bpp.denominator > 0) { in getBuffFilledLen()
688 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator); in getBuffFilledLen()
689 filled_length /= req.bpp.denominator; in getBuffFilledLen()
696 bool C2DColorConverter::getBuffReq(int32_t port, C2DBuffReq *req) { in getBuffReq() argument
697 if (!req in getBuffReq()
701 memset(req, 0, sizeof(C2DBuffReq)); in getBuffReq()
703 req->width = mSrcWidth; in getBuffReq()
704 req->height = mSrcHeight; in getBuffReq()
[all …]
/hardware/qcom/sm8150/media/libc2dcolorconvert/
DC2DColorConverter.cpp708 C2DBuffReq req; in getBuffFilledLen() local
710 ret = getBuffReq(port, &req); in getBuffFilledLen()
711 if (ret && req.bpp.denominator > 0) { in getBuffFilledLen()
712 filled_length = (req.stride * req.sliceHeight * req.bpp.numerator); in getBuffFilledLen()
713 filled_length /= req.bpp.denominator; in getBuffFilledLen()
720 bool C2DColorConverter::getBuffReq(int32_t port, C2DBuffReq *req) { in getBuffReq() argument
721 if (!req in getBuffReq()
725 memset(req, 0, sizeof(C2DBuffReq)); in getBuffReq()
727 req->width = mSrcWidth; in getBuffReq()
728 req->height = mSrcHeight; in getBuffReq()
[all …]
/hardware/qcom/media/msm8974/libc2dcolorconvert/
DC2DColorConverter.cpp58 int32_t getBuffReq(int32_t port, C2DBuffReq *req);
531 int32_t C2DColorConverter::getBuffReq(int32_t port, C2DBuffReq *req) { in getBuffReq() argument
532 if (!req) return -1; in getBuffReq()
536 memset(req, 0, sizeof(C2DBuffReq)); in getBuffReq()
538 req->width = mSrcWidth; in getBuffReq()
539 req->height = mSrcHeight; in getBuffReq()
540 req->stride = calcStride(mSrcFormat, mSrcWidth); in getBuffReq()
541 req->sliceHeight = mSrcHeight; in getBuffReq()
542 req->lumaAlign = calcLumaAlign(mSrcFormat); in getBuffReq()
543 req->sizeAlign = calcSizeAlign(mSrcFormat); in getBuffReq()
[all …]
/hardware/qcom/media/msm8996/libc2dcolorconvert/
DC2DColorConverter.cpp60 int32_t getBuffReq(int32_t port, C2DBuffReq *req);
588 int32_t C2DColorConverter::getBuffReq(int32_t port, C2DBuffReq *req) { in getBuffReq() argument
589 if (!req) return -1; in getBuffReq()
593 memset(req, 0, sizeof(C2DBuffReq)); in getBuffReq()
595 req->width = mSrcWidth; in getBuffReq()
596 req->height = mSrcHeight; in getBuffReq()
597 req->stride = calcStride(mSrcFormat, mSrcWidth); in getBuffReq()
598 req->sliceHeight = mSrcHeight; in getBuffReq()
599 req->lumaAlign = calcLumaAlign(mSrcFormat); in getBuffReq()
600 req->sizeAlign = calcSizeAlign(mSrcFormat); in getBuffReq()
[all …]
/hardware/qcom/media/msm8998/libc2dcolorconvert/
DC2DColorConverter.cpp59 int32_t getBuffReq(int32_t port, C2DBuffReq *req);
591 int32_t C2DColorConverter::getBuffReq(int32_t port, C2DBuffReq *req) { in getBuffReq() argument
592 if (!req) return -1; in getBuffReq()
596 memset(req, 0, sizeof(C2DBuffReq)); in getBuffReq()
598 req->width = mSrcWidth; in getBuffReq()
599 req->height = mSrcHeight; in getBuffReq()
600 req->stride = calcStride(mSrcFormat, mSrcWidth); in getBuffReq()
601 req->sliceHeight = mSrcHeight; in getBuffReq()
602 req->lumaAlign = calcLumaAlign(mSrcFormat); in getBuffReq()
603 req->sizeAlign = calcSizeAlign(mSrcFormat); in getBuffReq()
[all …]
/hardware/ti/am57x/libhwcomposer/
Ddisplay.cpp133 static void set_plane_properties(kms::AtomicReq& req, drm_plane_props_t* plane_props) in set_plane_properties() argument
137 req.add(plane, "FB_ID", plane_props->fb_info->fb_id); in set_plane_properties()
139 req.add(plane, "IN_FENCE_FD", plane_props->layer->acquireFenceFd); in set_plane_properties()
141 req.add(plane, { in set_plane_properties()
174 kms::AtomicReq req(*kdisp->card); in update_display() local
175 set_plane_properties(req, planeProp); in update_display()
176 int ret = req.commit(this, true); in update_display()

1234