Lines Matching defs:sel
545 struct v4l2_subdev_selection *sel)
549 if (sel->target != V4L2_SEL_TGT_CROP)
552 sel->r = *__mt9v032_get_pad_crop(mt9v032, sd_state, sel->pad,
553 sel->which);
559 struct v4l2_subdev_selection *sel)
566 if (sel->target != V4L2_SEL_TGT_CROP)
572 rect.left = clamp(ALIGN(sel->r.left + 1, 2) - 1,
575 rect.top = clamp(ALIGN(sel->r.top + 1, 2) - 1,
578 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2),
581 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2),
590 __crop = __mt9v032_get_pad_crop(mt9v032, sd_state, sel->pad,
591 sel->which);
598 sel->pad,
599 sel->which);
602 if (sel->which == V4L2_SUBDEV_FORMAT_ACTIVE) {
610 sel->r = rect;