Lines Matching refs:subdev
38 static int hsit_s_stream(struct v4l2_subdev *subdev, int enable) in hsit_s_stream() argument
40 struct vsp1_hsit *hsit = to_hsit(subdev); in hsit_s_stream()
57 static int hsit_enum_mbus_code(struct v4l2_subdev *subdev, in hsit_enum_mbus_code() argument
61 struct vsp1_hsit *hsit = to_hsit(subdev); in hsit_enum_mbus_code()
75 static int hsit_enum_frame_size(struct v4l2_subdev *subdev, in hsit_enum_frame_size() argument
79 struct vsp1_hsit *hsit = to_hsit(subdev); in hsit_enum_frame_size()
106 static int hsit_get_format(struct v4l2_subdev *subdev, in hsit_get_format() argument
110 struct vsp1_hsit *hsit = to_hsit(subdev); in hsit_get_format()
118 static int hsit_set_format(struct v4l2_subdev *subdev, in hsit_set_format() argument
122 struct vsp1_hsit *hsit = to_hsit(subdev); in hsit_set_format()
183 struct v4l2_subdev *subdev; in vsp1_hsit_create() local
203 subdev = &hsit->entity.subdev; in vsp1_hsit_create()
204 v4l2_subdev_init(subdev, &hsit_ops); in vsp1_hsit_create()
206 subdev->entity.ops = &vsp1_media_ops; in vsp1_hsit_create()
207 subdev->internal_ops = &vsp1_subdev_internal_ops; in vsp1_hsit_create()
208 snprintf(subdev->name, sizeof(subdev->name), "%s %s", in vsp1_hsit_create()
210 v4l2_set_subdevdata(subdev, hsit); in vsp1_hsit_create()
211 subdev->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; in vsp1_hsit_create()
213 vsp1_entity_init_formats(subdev, NULL); in vsp1_hsit_create()