Home
last modified time | relevance | path

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

/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.c191 pipe->brx, brx_input); in vsp1_du_pipeline_setup_rpf()
198 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_fmt, NULL, in vsp1_du_pipeline_setup_rpf()
205 format.format.code, BRX_NAME(pipe->brx), format.pad); in vsp1_du_pipeline_setup_rpf()
211 ret = v4l2_subdev_call(&pipe->brx->subdev, pad, set_selection, NULL, in vsp1_du_pipeline_setup_rpf()
218 BRX_NAME(pipe->brx), sel.pad); in vsp1_du_pipeline_setup_rpf()
235 struct vsp1_entity *brx; in vsp1_du_pipeline_setup_brx() local
245 brx = &vsp1->bru->entity; in vsp1_du_pipeline_setup_brx()
246 else if (pipe->brx && !drm_pipe->force_brx_release) in vsp1_du_pipeline_setup_brx()
247 brx = pipe->brx; in vsp1_du_pipeline_setup_brx()
249 brx = &vsp1->bru->entity; in vsp1_du_pipeline_setup_brx()
[all …]
Dvsp1_pipe.c249 if (pipe->brx) { in vsp1_pipeline_reset()
250 struct vsp1_brx *brx = to_brx(&pipe->brx->subdev); in vsp1_pipeline_reset() local
252 for (i = 0; i < ARRAY_SIZE(brx->inputs); ++i) in vsp1_pipeline_reset()
253 brx->inputs[i].rpf = NULL; in vsp1_pipeline_reset()
268 pipe->brx = NULL; in vsp1_pipeline_reset()
Dvsp1_rpf.c113 if (pipe->brx) { in rpf_configure_stream()
116 compose = vsp1_entity_get_pad_selection(pipe->brx, in rpf_configure_stream()
117 pipe->brx->config, in rpf_configure_stream()
Dvsp1_video.c475 struct vsp1_brx *brx = NULL; in vsp1_video_pipeline_build_branch() local
511 if (brx) { in vsp1_video_pipeline_build_branch()
516 brx = to_brx(&entity->subdev); in vsp1_video_pipeline_build_branch()
517 brx->inputs[pad->index].rpf = input; in vsp1_video_pipeline_build_branch()
540 pipe->uds_input = brx ? &brx->entity : &input->entity; in vsp1_video_pipeline_build_branch()
606 pipe->brx = e; in vsp1_video_pipeline_build()
Dvsp1_wpf.c330 srcrpf |= (!pipe->brx && pipe->num_inputs == 1) in wpf_configure_stream()
335 if (pipe->brx) in wpf_configure_stream()
336 srcrpf |= pipe->brx->type == VSP1_ENTITY_BRU in wpf_configure_stream()
Dvsp1_pipe.h130 struct vsp1_entity *brx; member
/drivers/i2c/busses/
Di2c-qup.c268 struct qup_i2c_bam brx; member
615 if (qup->brx.dma) in qup_i2c_rel_dma()
616 dma_release_channel(qup->brx.dma); in qup_i2c_rel_dma()
618 qup->brx.dma = NULL; in qup_i2c_rel_dma()
635 if (!qup->brx.dma) { in qup_i2c_req_dma()
636 qup->brx.dma = dma_request_chan(qup->dev, "rx"); in qup_i2c_req_dma()
637 if (IS_ERR(qup->brx.dma)) { in qup_i2c_req_dma()
639 err = PTR_ERR(qup->brx.dma); in qup_i2c_req_dma()
640 qup->brx.dma = NULL; in qup_i2c_req_dma()
669 ret = qup_sg_set_buf(&qup->brx.sg[qup->brx.sg_cnt++], in qup_i2c_bam_make_desc()
[all …]