Lines Matching refs:pad
1686 unsigned int pad, enum v4l2_subdev_format_whence which) in __preview_get_format() argument
1689 return v4l2_subdev_get_try_format(&prev->subdev, cfg, pad); in __preview_get_format()
1691 return &prev->formats[pad]; in __preview_get_format()
1735 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in preview_try_format() argument
1743 switch (pad) { in preview_try_format()
1871 switch (code->pad) { in preview_enum_mbus_code()
1904 preview_try_format(prev, cfg, fse->pad, &format, fse->which); in preview_enum_frame_size()
1914 preview_try_format(prev, cfg, fse->pad, &format, fse->which); in preview_enum_frame_size()
1938 if (sel->pad != PREV_PAD_SINK) in preview_get_selection()
1982 sel->pad != PREV_PAD_SINK) in preview_set_selection()
2022 format = __preview_get_format(prev, cfg, fmt->pad, fmt->which); in preview_get_format()
2044 format = __preview_get_format(prev, cfg, fmt->pad, fmt->which); in preview_set_format()
2048 preview_try_format(prev, cfg, fmt->pad, &fmt->format, fmt->which); in preview_set_format()
2052 if (fmt->pad == PREV_PAD_SINK) { in preview_set_format()
2087 format.pad = PREV_PAD_SINK; in preview_init_formats()
2092 preview_set_format(sd, fh ? fh->pad : NULL, &format); in preview_init_formats()
2121 .pad = &preview_v4l2_pad_ops,