Lines Matching defs:sel
414 struct v4l2_subdev_selection *sel)
418 if (sel->target != V4L2_SEL_TGT_CROP)
422 sel->r = *__mt9m032_get_pad_crop(sensor, cfg, sel->which);
430 struct v4l2_subdev_selection *sel)
438 if (sel->target != V4L2_SEL_TGT_CROP)
443 if (sensor->streaming && sel->which == V4L2_SUBDEV_FORMAT_ACTIVE) {
451 rect.left = clamp(ALIGN(sel->r.left, 2), MT9M032_COLUMN_START_MIN,
453 rect.top = clamp(ALIGN(sel->r.top, 2), MT9M032_ROW_START_MIN,
455 rect.width = clamp_t(unsigned int, ALIGN(sel->r.width, 2),
457 rect.height = clamp_t(unsigned int, ALIGN(sel->r.height, 2),
465 __crop = __mt9m032_get_pad_crop(sensor, cfg, sel->which);
471 format = __mt9m032_get_pad_format(sensor, cfg, sel->which);
477 sel->r = rect;
479 if (sel->which == V4L2_SUBDEV_FORMAT_ACTIVE)