Lines Matching refs:pad
36 unsigned int pad, enum v4l2_subdev_format_whence which);
1126 struct media_pad *pad; in ccdc_configure() local
1138 pad = media_entity_remote_pad(&ccdc->pads[CCDC_PAD_SINK]); in ccdc_configure()
1139 sensor = media_entity_to_v4l2_subdev(pad->entity); in ccdc_configure()
1158 fmt_src.pad = pad->index; in ccdc_configure()
1160 if (!v4l2_subdev_call(sensor, pad, get_fmt, NULL, &fmt_src)) { in ccdc_configure()
1939 unsigned int pad, enum v4l2_subdev_format_whence which) in __ccdc_get_format() argument
1942 return v4l2_subdev_get_try_format(&ccdc->subdev, cfg, pad); in __ccdc_get_format()
1944 return &ccdc->formats[pad]; in __ccdc_get_format()
1966 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in ccdc_try_format() argument
1977 switch (pad) { in ccdc_try_format()
2126 switch (code->pad) { in ccdc_enum_mbus_code()
2135 format = __ccdc_get_format(ccdc, cfg, code->pad, in ccdc_enum_mbus_code()
2166 format = __ccdc_get_format(ccdc, cfg, code->pad, in ccdc_enum_mbus_code()
2198 ccdc_try_format(ccdc, cfg, fse->pad, &format, fse->which); in ccdc_enum_frame_size()
2208 ccdc_try_format(ccdc, cfg, fse->pad, &format, fse->which); in ccdc_enum_frame_size()
2232 if (sel->pad != CCDC_PAD_SOURCE_OF) in ccdc_get_selection()
2275 sel->pad != CCDC_PAD_SOURCE_OF) in ccdc_set_selection()
2317 format = __ccdc_get_format(ccdc, cfg, fmt->pad, fmt->which); in ccdc_get_format()
2341 format = __ccdc_get_format(ccdc, cfg, fmt->pad, fmt->which); in ccdc_set_format()
2345 ccdc_try_format(ccdc, cfg, fmt->pad, &fmt->format, fmt->which); in ccdc_set_format()
2349 if (fmt->pad == CCDC_PAD_SINK) { in ccdc_set_format()
2451 format.pad = CCDC_PAD_SINK; in ccdc_init_formats()
2456 ccdc_set_format(sd, fh ? fh->pad : NULL, &format); in ccdc_init_formats()
2488 .pad = &ccdc_v4l2_pad_ops,