Lines Matching refs:sel
155 struct v4l2_subdev_selection *sel) in check_selection() argument
157 if (sel->which != V4L2_SUBDEV_FORMAT_TRY && in check_selection()
158 sel->which != V4L2_SUBDEV_FORMAT_ACTIVE) in check_selection()
161 if (sel->pad >= sd->entity.num_pads) in check_selection()
279 struct v4l2_subdev_selection sel; in subdev_do_ioctl() local
285 memset(&sel, 0, sizeof(sel)); in subdev_do_ioctl()
286 sel.which = crop->which; in subdev_do_ioctl()
287 sel.pad = crop->pad; in subdev_do_ioctl()
288 sel.target = V4L2_SEL_TGT_CROP; in subdev_do_ioctl()
291 sd, pad, get_selection, subdev_fh->pad, &sel); in subdev_do_ioctl()
293 crop->rect = sel.r; in subdev_do_ioctl()
300 struct v4l2_subdev_selection sel; in subdev_do_ioctl() local
306 memset(&sel, 0, sizeof(sel)); in subdev_do_ioctl()
307 sel.which = crop->which; in subdev_do_ioctl()
308 sel.pad = crop->pad; in subdev_do_ioctl()
309 sel.target = V4L2_SEL_TGT_CROP; in subdev_do_ioctl()
310 sel.r = crop->rect; in subdev_do_ioctl()
313 sd, pad, set_selection, subdev_fh->pad, &sel); in subdev_do_ioctl()
315 crop->rect = sel.r; in subdev_do_ioctl()
381 struct v4l2_subdev_selection *sel = arg; in subdev_do_ioctl() local
383 rval = check_selection(sd, sel); in subdev_do_ioctl()
388 sd, pad, get_selection, subdev_fh->pad, sel); in subdev_do_ioctl()
392 struct v4l2_subdev_selection *sel = arg; in subdev_do_ioctl() local
394 rval = check_selection(sd, sel); in subdev_do_ioctl()
399 sd, pad, set_selection, subdev_fh->pad, sel); in subdev_do_ioctl()