Lines Matching refs:pad

33 		  unsigned int pad, enum v4l2_subdev_format_whence which);
1124 struct media_pad *pad;
1136 pad = media_entity_remote_pad(&ccdc->pads[CCDC_PAD_SINK]);
1137 sensor = media_entity_to_v4l2_subdev(pad->entity);
1152 fmt_src.pad = pad->index;
1154 if (!v4l2_subdev_call(sensor, pad, get_fmt, NULL, &fmt_src)) {
1272 * explicitly as the driver reports 1X16 instead of 2X8 at the OF pad
1941 unsigned int pad, enum v4l2_subdev_format_whence which)
1944 return v4l2_subdev_get_try_format(&ccdc->subdev, cfg, pad);
1946 return &ccdc->formats[pad];
1960 * ccdc_try_format - Try video format on a pad
1962 * @cfg : V4L2 subdev pad configuration
1963 * @pad: Pad number
1968 unsigned int pad, struct v4l2_mbus_framefmt *fmt,
1979 switch (pad) {
2074 * @sink: format on the sink pad
2117 * @cfg : V4L2 subdev pad configuration
2128 switch (code->pad) {
2137 format = __ccdc_get_format(ccdc, cfg, code->pad,
2168 format = __ccdc_get_format(ccdc, cfg, code->pad,
2200 ccdc_try_format(ccdc, cfg, fse->pad, &format, fse->which);
2210 ccdc_try_format(ccdc, cfg, fse->pad, &format, fse->which);
2218 * ccdc_get_selection - Retrieve a selection rectangle on a pad
2220 * @cfg: V4L2 subdev pad configuration
2224 * source pad.
2234 if (sel->pad != CCDC_PAD_SOURCE_OF)
2260 * ccdc_set_selection - Set a selection rectangle on a pad
2262 * @cfg: V4L2 subdev pad configuration
2266 * formatter source pad.
2277 sel->pad != CCDC_PAD_SOURCE_OF)
2285 * pad. If the KEEP_CONFIG flag is set, just return the current crop
2305 * ccdc_get_format - Retrieve the video format on a pad
2307 * @cfg: V4L2 subdev pad configuration
2310 * Return 0 on success or -EINVAL if the pad is invalid or doesn't correspond
2319 format = __ccdc_get_format(ccdc, cfg, fmt->pad, fmt->which);
2328 * ccdc_set_format - Set the video format on a pad
2330 * @cfg: V4L2 subdev pad configuration
2333 * Return 0 on success or -EINVAL if the pad is invalid or doesn't correspond
2343 format = __ccdc_get_format(ccdc, cfg, fmt->pad, fmt->which);
2347 ccdc_try_format(ccdc, cfg, fmt->pad, &fmt->format, fmt->which);
2351 if (fmt->pad == CCDC_PAD_SINK) {
2431 /* Lane shifter may be used to drop bits on CCDC sink pad */
2444 * Initialize all pad formats with default values. If fh is not NULL, try
2453 format.pad = CCDC_PAD_SINK;
2458 ccdc_set_format(sd, fh ? fh->pad : NULL, &format);
2475 /* V4L2 subdev pad operations */
2490 .pad = &ccdc_v4l2_pad_ops,