• Home
  • Raw
  • Download

Lines Matching refs:entity

31 	return vsp1_read(wpf->entity.vsp1,  in vsp1_wpf_read()
32 reg + wpf->entity.index * VI6_WPF_OFFSET); in vsp1_wpf_read()
37 vsp1_write(wpf->entity.vsp1, in vsp1_wpf_write()
38 reg + wpf->entity.index * VI6_WPF_OFFSET, data); in vsp1_wpf_write()
51 if (!vsp1_entity_is_streaming(&wpf->entity)) in wpf_s_ctrl()
76 struct vsp1_pipeline *pipe = to_vsp1_pipeline(&subdev->entity); in wpf_s_stream()
78 struct vsp1_device *vsp1 = wpf->entity.vsp1; in wpf_s_stream()
85 ret = vsp1_entity_set_streaming(&wpf->entity, enable); in wpf_s_stream()
90 vsp1_write(vsp1, VI6_WPF_IRQ_ENB(wpf->entity.index), 0); in wpf_s_stream()
104 ? VI6_WPF_SRCRPF_RPF_ACT_MST(input->entity.index) in wpf_s_stream()
105 : VI6_WPF_SRCRPF_RPF_ACT_SUB(input->entity.index); in wpf_s_stream()
147 if (wpf->entity.formats[RWPF_PAD_SINK].code != in wpf_s_stream()
148 wpf->entity.formats[RWPF_PAD_SOURCE].code) in wpf_s_stream()
159 vsp1_write(vsp1, VI6_DPR_WPF_FPORCH(wpf->entity.index), in wpf_s_stream()
165 vsp1_write(vsp1, VI6_WPF_IRQ_STA(wpf->entity.index), 0); in wpf_s_stream()
166 vsp1_write(vsp1, VI6_WPF_IRQ_ENB(wpf->entity.index), in wpf_s_stream()
233 wpf->entity.type = VSP1_ENTITY_WPF; in vsp1_wpf_create()
234 wpf->entity.index = index; in vsp1_wpf_create()
236 ret = vsp1_entity_init(vsp1, &wpf->entity, 2); in vsp1_wpf_create()
241 subdev = &wpf->entity.subdev; in vsp1_wpf_create()
244 subdev->entity.ops = &vsp1_media_ops; in vsp1_wpf_create()
258 wpf->entity.subdev.ctrl_handler = &wpf->ctrls; in vsp1_wpf_create()
274 ret = vsp1_video_init(video, &wpf->entity); in vsp1_wpf_create()
278 wpf->entity.video = video; in vsp1_wpf_create()
287 ret = media_entity_create_link(&wpf->entity.subdev.entity, in vsp1_wpf_create()
289 &wpf->video.video.entity, 0, flags); in vsp1_wpf_create()
293 wpf->entity.sink = &wpf->video.video.entity; in vsp1_wpf_create()
298 vsp1_entity_destroy(&wpf->entity); in vsp1_wpf_create()