Lines Matching refs:entity
31 return vsp1_read(wpf->entity.vsp1,
32 reg + wpf->entity.index * VI6_WPF_OFFSET);
37 vsp1_write(wpf->entity.vsp1,
38 reg + wpf->entity.index * VI6_WPF_OFFSET, data);
51 if (!vsp1_entity_is_streaming(&wpf->entity))
76 struct vsp1_pipeline *pipe = to_vsp1_pipeline(&subdev->entity);
78 struct vsp1_device *vsp1 = wpf->entity.vsp1;
85 ret = vsp1_entity_set_streaming(&wpf->entity, enable);
90 vsp1_write(vsp1, VI6_WPF_IRQ_ENB(wpf->entity.index), 0);
103 ? VI6_WPF_SRCRPF_RPF_ACT_MST(input->entity.index)
104 : VI6_WPF_SRCRPF_RPF_ACT_SUB(input->entity.index);
146 if (wpf->entity.formats[RWPF_PAD_SINK].code !=
147 wpf->entity.formats[RWPF_PAD_SOURCE].code)
158 vsp1_write(vsp1, VI6_DPR_WPF_FPORCH(wpf->entity.index),
164 vsp1_write(vsp1, VI6_WPF_IRQ_STA(wpf->entity.index), 0);
165 vsp1_write(vsp1, VI6_WPF_IRQ_ENB(wpf->entity.index),
232 wpf->entity.type = VSP1_ENTITY_WPF;
233 wpf->entity.index = index;
235 ret = vsp1_entity_init(vsp1, &wpf->entity, 2);
240 subdev = &wpf->entity.subdev;
243 subdev->entity.ops = &vsp1_media_ops;
257 wpf->entity.subdev.ctrl_handler = &wpf->ctrls;
273 ret = vsp1_video_init(video, &wpf->entity);
277 wpf->entity.video = video;
286 ret = media_entity_create_link(&wpf->entity.subdev.entity,
288 &wpf->video.video.entity, 0, flags);
292 wpf->entity.sink = &wpf->video.video.entity;
297 vsp1_entity_destroy(&wpf->entity);