Lines Matching refs:entity
31 return vsp1_read(rpf->entity.vsp1, in vsp1_rpf_read()
32 reg + rpf->entity.index * VI6_RPF_OFFSET); in vsp1_rpf_read()
37 vsp1_write(rpf->entity.vsp1, in vsp1_rpf_write()
38 reg + rpf->entity.index * VI6_RPF_OFFSET, data); in vsp1_rpf_write()
51 if (!vsp1_entity_is_streaming(&rpf->entity)) in rpf_s_ctrl()
59 pipe = to_vsp1_pipeline(&rpf->entity.subdev.entity); in rpf_s_ctrl()
60 vsp1_pipeline_propagate_alpha(pipe, &rpf->entity, ctrl->val); in rpf_s_ctrl()
85 ret = vsp1_entity_set_streaming(&rpf->entity, enable); in rpf_s_stream()
138 if (rpf->entity.formats[RWPF_PAD_SINK].code != in rpf_s_stream()
139 rpf->entity.formats[RWPF_PAD_SOURCE].code) in rpf_s_stream()
198 if (!vsp1_entity_is_streaming(&rpf->entity)) in rpf_vdev_queue()
233 rpf->entity.type = VSP1_ENTITY_RPF; in vsp1_rpf_create()
234 rpf->entity.index = index; in vsp1_rpf_create()
236 ret = vsp1_entity_init(vsp1, &rpf->entity, 2); in vsp1_rpf_create()
241 subdev = &rpf->entity.subdev; in vsp1_rpf_create()
244 subdev->entity.ops = &vsp1_media_ops; in vsp1_rpf_create()
258 rpf->entity.subdev.ctrl_handler = &rpf->ctrls; in vsp1_rpf_create()
274 ret = vsp1_video_init(video, &rpf->entity); in vsp1_rpf_create()
278 rpf->entity.video = video; in vsp1_rpf_create()
281 ret = media_entity_create_link(&rpf->video.video.entity, 0, in vsp1_rpf_create()
282 &rpf->entity.subdev.entity, in vsp1_rpf_create()
292 vsp1_entity_destroy(&rpf->entity); in vsp1_rpf_create()