Lines Matching refs:pad
43 xvip_dma_remote_subdev(struct media_pad *local, u32 *pad)
51 if (pad)
52 *pad = remote->index;
65 subdev = xvip_dma_remote_subdev(&dma->pad, &fmt.pad);
69 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt);
101 struct media_pad *pad;
107 pad = &entity->pads[0];
108 if (!(pad->flags & MEDIA_PAD_FL_SINK))
111 pad = media_pad_remote_pad_first(pad);
112 if (!pad || !is_media_entity_v4l2_subdev(pad->entity))
115 entity = pad->entity;
180 struct media_pad *pad;
183 media_pipeline_for_each_pad(&pipe->pipe, &iter, pad) {
186 if (pad->entity->function != MEDIA_ENT_F_IO_V4L)
189 dma = to_xvip_dma(media_entity_to_video_device(pad->entity));
191 if (dma->pad.flags & MEDIA_PAD_FL_SINK) {
654 dma->pad.flags = type == V4L2_BUF_TYPE_VIDEO_CAPTURE
657 ret = media_entity_pads_init(&dma->video.entity, 1, &dma->pad);