Lines Matching refs:which
121 unsigned int pad, enum v4l2_subdev_format_whence which) in __resizer_get_format() argument
123 if (which == V4L2_SUBDEV_FORMAT_TRY) in __resizer_get_format()
137 enum v4l2_subdev_format_whence which) in __resizer_get_crop() argument
139 if (which == V4L2_SUBDEV_FORMAT_TRY) in __resizer_get_crop()
1238 sel->which); in resizer_get_selection()
1240 sel->which); in resizer_get_selection()
1254 sel->r = *__resizer_get_crop(res, cfg, sel->which); in resizer_get_selection()
1294 sel->which); in resizer_set_selection()
1296 sel->which); in resizer_set_selection()
1299 __func__, sel->which == V4L2_SUBDEV_FORMAT_TRY ? "try" : "act", in resizer_set_selection()
1313 *__resizer_get_crop(res, cfg, sel->which) = sel->r; in resizer_set_selection()
1317 __func__, sel->which == V4L2_SUBDEV_FORMAT_TRY ? "try" : "act", in resizer_set_selection()
1322 if (sel->which == V4L2_SUBDEV_FORMAT_TRY) { in resizer_set_selection()
1323 *__resizer_get_format(res, cfg, RESZ_PAD_SOURCE, sel->which) = in resizer_set_selection()
1334 *__resizer_get_format(res, cfg, RESZ_PAD_SOURCE, sel->which) = in resizer_set_selection()
1379 enum v4l2_subdev_format_whence which) in resizer_try_format() argument
1398 format = __resizer_get_format(res, cfg, RESZ_PAD_SINK, which); in resizer_try_format()
1401 crop = *__resizer_get_crop(res, cfg, which); in resizer_try_format()
1434 code->which); in resizer_enum_mbus_code()
1454 resizer_try_format(res, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
1464 resizer_try_format(res, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
1484 format = __resizer_get_format(res, cfg, fmt->pad, fmt->which); in resizer_get_format()
1506 format = __resizer_get_format(res, cfg, fmt->pad, fmt->which); in resizer_set_format()
1510 resizer_try_format(res, cfg, fmt->pad, &fmt->format, fmt->which); in resizer_set_format()
1515 crop = __resizer_get_crop(res, cfg, fmt->which); in resizer_set_format()
1523 fmt->which); in resizer_set_format()
1526 fmt->which); in resizer_set_format()
1529 if (fmt->which == V4L2_SUBDEV_FORMAT_ACTIVE) { in resizer_set_format()
1572 format.which = fh ? V4L2_SUBDEV_FORMAT_TRY : V4L2_SUBDEV_FORMAT_ACTIVE; in resizer_init_formats()