Lines Matching refs:sel

1375 				 struct v4l2_subdev_selection *sel)  in s5k5baf_get_selection()  argument
1380 rtype = s5k5baf_get_sel_rect(sel->pad, sel->target); in s5k5baf_get_selection()
1386 sel->r = s5k5baf_cis_rect; in s5k5baf_get_selection()
1392 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) { in s5k5baf_get_selection()
1394 sel->r = *v4l2_subdev_get_try_compose(sd, cfg, sel->pad); in s5k5baf_get_selection()
1396 sel->r = *v4l2_subdev_get_try_crop(sd, cfg, sel->pad); in s5k5baf_get_selection()
1403 sel->r = state->crop_sink; in s5k5baf_get_selection()
1406 sel->r = state->compose; in s5k5baf_get_selection()
1409 sel->r = state->crop_source; in s5k5baf_get_selection()
1414 if (s5k5baf_is_bound_target(sel->target)) { in s5k5baf_get_selection()
1415 sel->r.left = 0; in s5k5baf_get_selection()
1416 sel->r.top = 0; in s5k5baf_get_selection()
1466 struct v4l2_subdev_selection *sel) in s5k5baf_set_selection() argument
1473 rtype = s5k5baf_get_sel_rect(sel->pad, sel->target); in s5k5baf_set_selection()
1474 if (rtype == R_INVALID || s5k5baf_is_bound_target(sel->target)) in s5k5baf_set_selection()
1479 sel->r.left = 0; in s5k5baf_set_selection()
1480 sel->r.top = 0; in s5k5baf_set_selection()
1483 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) { in s5k5baf_set_selection()
1490 s5k5baf_set_rect_and_adjust(rects, rtype, &sel->r); in s5k5baf_set_selection()
1504 if (sel->r.width < state->crop_source.width) in s5k5baf_set_selection()
1505 sel->r.width = state->crop_source.width; in s5k5baf_set_selection()
1506 if (sel->r.height < state->crop_source.height) in s5k5baf_set_selection()
1507 sel->r.height = state->crop_source.height; in s5k5baf_set_selection()
1509 sel->r.width = state->crop_source.width; in s5k5baf_set_selection()
1510 sel->r.height = state->crop_source.height; in s5k5baf_set_selection()
1513 s5k5baf_set_rect_and_adjust(rects, rtype, &sel->r); in s5k5baf_set_selection()