Home
last modified time | relevance | path

Searched refs:brx (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/media/platform/vsp1/
Dvsp1_brx.c29 static inline void vsp1_brx_write(struct vsp1_brx *brx, in vsp1_brx_write() argument
32 vsp1_dl_body_write(dlb, brx->base + reg, data); in vsp1_brx_write()
41 struct vsp1_brx *brx = in brx_s_ctrl() local
46 brx->bgcolor = ctrl->val; in brx_s_ctrl()
99 static struct v4l2_rect *brx_get_compose(struct vsp1_brx *brx, in brx_get_compose() argument
103 return v4l2_subdev_get_try_compose(&brx->entity.subdev, cfg, pad); in brx_get_compose()
106 static void brx_try_format(struct vsp1_brx *brx, in brx_try_format() argument
122 format = vsp1_entity_get_pad_format(&brx->entity, config, in brx_try_format()
138 struct vsp1_brx *brx = to_brx(subdev); in brx_set_format() local
143 mutex_lock(&brx->entity.lock); in brx_set_format()
[all …]
Dvsp1_drm.c189 pipe->brx, brx_input); in vsp1_du_pipeline_setup_rpf()
196 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_fmt, NULL, in vsp1_du_pipeline_setup_rpf()
203 format.format.code, BRX_NAME(pipe->brx), format.pad); in vsp1_du_pipeline_setup_rpf()
209 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_selection, NULL, in vsp1_du_pipeline_setup_rpf()
216 BRX_NAME(pipe->brx), sel.pad); in vsp1_du_pipeline_setup_rpf()
233 struct vsp1_entity *brx; in vsp1_du_pipeline_setup_brx() local
243 brx = &vsp1->bru->entity; in vsp1_du_pipeline_setup_brx()
244 else if (pipe->brx && !drm_pipe->force_brx_release) in vsp1_du_pipeline_setup_brx()
245 brx = pipe->brx; in vsp1_du_pipeline_setup_brx()
247 brx = &vsp1->bru->entity; in vsp1_du_pipeline_setup_brx()
[all …]
Dvsp1_pipe.c187 if (pipe->brx) { in vsp1_pipeline_reset()
188 struct vsp1_brx *brx = to_brx(&pipe->brx->subdev); in vsp1_pipeline_reset() local
190 for (i = 0; i < ARRAY_SIZE(brx->inputs); ++i) in vsp1_pipeline_reset()
191 brx->inputs[i].rpf = NULL; in vsp1_pipeline_reset()
206 pipe->brx = NULL; in vsp1_pipeline_reset()
Dvsp1_rpf.c112 if (pipe->brx) { in rpf_configure_stream()
115 compose = vsp1_entity_get_pad_selection(pipe->brx, in rpf_configure_stream()
116 pipe->brx->config, in rpf_configure_stream()
Dvsp1_video.c489 struct vsp1_brx *brx = NULL; in vsp1_video_pipeline_build_branch() local
525 if (brx) { in vsp1_video_pipeline_build_branch()
530 brx = to_brx(&entity->subdev); in vsp1_video_pipeline_build_branch()
531 brx->inputs[pad->index].rpf = input; in vsp1_video_pipeline_build_branch()
554 pipe->uds_input = brx ? &brx->entity : &input->entity; in vsp1_video_pipeline_build_branch()
620 pipe->brx = e; in vsp1_video_pipeline_build()
Dvsp1_pipe.h130 struct vsp1_entity *brx; member
Dvsp1_wpf.c308 srcrpf |= (!pipe->brx && pipe->num_inputs == 1) in wpf_configure_stream()
313 if (pipe->brx) in wpf_configure_stream()
314 srcrpf |= pipe->brx->type == VSP1_ENTITY_BRU in wpf_configure_stream()
/Linux-v4.19/drivers/i2c/busses/
Di2c-qup.c273 struct qup_i2c_bam brx; member
620 if (qup->brx.dma) in qup_i2c_rel_dma()
621 dma_release_channel(qup->brx.dma); in qup_i2c_rel_dma()
623 qup->brx.dma = NULL; in qup_i2c_rel_dma()
640 if (!qup->brx.dma) { in qup_i2c_req_dma()
641 qup->brx.dma = dma_request_slave_channel_reason(qup->dev, "rx"); in qup_i2c_req_dma()
642 if (IS_ERR(qup->brx.dma)) { in qup_i2c_req_dma()
644 err = PTR_ERR(qup->brx.dma); in qup_i2c_req_dma()
645 qup->brx.dma = NULL; in qup_i2c_req_dma()
674 ret = qup_sg_set_buf(&qup->brx.sg[qup->brx.sg_cnt++], in qup_i2c_bam_make_desc()
[all …]