Lines Matching refs:pad
75 * @has_input: whether an input is connected to the sink pad
76 * @formats: active V4L2 media bus format for each pad
137 * If the TPG has no sink pad or no input connected to its sink pad
255 unsigned int pad, u32 which)
259 return v4l2_subdev_get_try_format(&xtpg->xvip.subdev, cfg, pad);
261 return &xtpg->formats[pad];
273 fmt->format = *__xtpg_get_pad_format(xtpg, cfg, fmt->pad, fmt->which);
286 __format = __xtpg_get_pad_format(xtpg, cfg, fmt->pad, fmt->which);
288 /* In two pads mode the source pad format is always identical to the
289 * sink pad format.
291 if (xtpg->npads == 2 && fmt->pad == 1) {
307 /* Propagate the format to the source pad. */
326 format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad);
331 /* Min / max values for pad 0 is always fixed in both one and two pads
332 * modes. In two pads mode, the source pad(= 1) size is identical to
333 * the sink pad size */
334 if (fse->pad == 0) {
354 format = v4l2_subdev_get_try_format(subdev, fh->pad, 0);
358 format = v4l2_subdev_get_try_format(subdev, fh->pad, 1);
477 .pad = &xtpg_pad_ops,