Lines Matching refs:pad
353 struct media_pad *pad;
360 pad = media_entity_remote_pad(&ccp2->pads[CCP2_PAD_SINK]);
361 sensor = media_entity_to_v4l2_subdev(pad->entity);
615 * @cfg: V4L2 subdev pad configuration
616 * @pad : pad number
622 unsigned int pad, enum v4l2_subdev_format_whence which)
625 return v4l2_subdev_get_try_format(&ccp2->subdev, cfg, pad);
627 return &ccp2->formats[pad];
631 * ccp2_try_format - Handle try format by pad subdev method
633 * @cfg: V4L2 subdev pad configuration
634 * @pad : pad num
639 struct v4l2_subdev_pad_config *cfg, unsigned int pad,
645 switch (pad) {
686 * @cfg: V4L2 subdev pad configuration
697 if (code->pad == CCP2_PAD_SINK) {
727 ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which);
737 ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which);
747 * @cfg: V4L2 subdev pad configuration
757 format = __ccp2_get_format(ccp2, cfg, fmt->pad, fmt->which);
768 * @cfg: V4L2 subdev pad configuration
778 format = __ccp2_get_format(ccp2, cfg, fmt->pad, fmt->which);
782 ccp2_try_format(ccp2, cfg, fmt->pad, &fmt->format, fmt->which);
786 if (fmt->pad == CCP2_PAD_SINK) {
801 * Initialize all pad formats with default values. If fh is not NULL, try
810 format.pad = CCP2_PAD_SINK;
815 ccp2_set_format(sd, fh ? fh->pad : NULL, &format);
901 /* subdev pad operations */
912 .pad = &ccp2_sd_pad_ops,
949 * @local : Pointer to local pad array
950 * @remote : Pointer to remote pad array