Lines Matching refs:subdev
74 static int wpf_s_stream(struct v4l2_subdev *subdev, int enable) in wpf_s_stream() argument
76 struct vsp1_pipeline *pipe = to_vsp1_pipeline(&subdev->entity); in wpf_s_stream()
77 struct vsp1_rwpf *wpf = to_rwpf(subdev); in wpf_s_stream()
220 struct v4l2_subdev *subdev; in vsp1_wpf_create() local
241 subdev = &wpf->entity.subdev; in vsp1_wpf_create()
242 v4l2_subdev_init(subdev, &wpf_ops); in vsp1_wpf_create()
244 subdev->entity.ops = &vsp1_media_ops; in vsp1_wpf_create()
245 subdev->internal_ops = &vsp1_subdev_internal_ops; in vsp1_wpf_create()
246 snprintf(subdev->name, sizeof(subdev->name), "%s wpf.%u", in vsp1_wpf_create()
248 v4l2_set_subdevdata(subdev, wpf); in vsp1_wpf_create()
249 subdev->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; in vsp1_wpf_create()
251 vsp1_entity_init_formats(subdev, NULL); in vsp1_wpf_create()
258 wpf->entity.subdev.ctrl_handler = &wpf->ctrls; in vsp1_wpf_create()
287 ret = media_entity_create_link(&wpf->entity.subdev.entity, in vsp1_wpf_create()