Lines Matching defs:sel
890 struct v4l2_subdev_selection *sel)
894 switch (sel->target) {
897 sel->r = *__ov5693_get_pad_crop(ov5693, state, sel->pad,
898 sel->which);
902 sel->r.top = 0;
903 sel->r.left = 0;
904 sel->r.width = OV5693_NATIVE_WIDTH;
905 sel->r.height = OV5693_NATIVE_HEIGHT;
909 sel->r.top = OV5693_ACTIVE_START_TOP;
910 sel->r.left = OV5693_ACTIVE_START_LEFT;
911 sel->r.width = OV5693_ACTIVE_WIDTH;
912 sel->r.height = OV5693_ACTIVE_HEIGHT;
923 struct v4l2_subdev_selection *sel)
930 if (sel->target != V4L2_SEL_TGT_CROP)
938 rect.left = clamp(ALIGN(sel->r.left, 2), OV5693_NATIVE_START_LEFT,
940 rect.top = clamp(ALIGN(sel->r.top, 2), OV5693_NATIVE_START_TOP,
942 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2),
944 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2),
953 __crop = __ov5693_get_pad_crop(ov5693, state, sel->pad, sel->which);
960 format = __ov5693_get_pad_format(ov5693, state, sel->pad,
961 sel->which);
967 sel->r = rect;