Lines Matching defs:sel
676 struct v4l2_subdev_selection *sel)
680 switch (sel->target) {
683 sel->r = *__ov2680_get_pad_crop(sensor, state, sel->pad,
684 sel->which);
689 sel->r.top = 0;
690 sel->r.left = 0;
691 sel->r.width = OV2680_NATIVE_WIDTH;
692 sel->r.height = OV2680_NATIVE_HEIGHT;
695 sel->r = ov2680_default_crop;
706 struct v4l2_subdev_selection *sel)
713 if (sel->target != V4L2_SEL_TGT_CROP)
721 rect.left = clamp_val(ALIGN(sel->r.left, 2),
723 rect.top = clamp_val(ALIGN(sel->r.top, 2),
725 rect.width = clamp_val(ALIGN(sel->r.width, 2),
727 rect.height = clamp_val(ALIGN(sel->r.height, 2),
736 crop = __ov2680_get_pad_crop(sensor, state, sel->pad, sel->which);
744 format = __ov2680_get_pad_format(sensor, state, sel->pad,
745 sel->which);
753 sel->r = rect;