Lines Matching refs:pad
47 xvip_dma_remote_subdev(struct media_pad *local, u32 *pad) in xvip_dma_remote_subdev() argument
56 if (pad) in xvip_dma_remote_subdev()
57 *pad = remote->index; in xvip_dma_remote_subdev()
68 subdev = xvip_dma_remote_subdev(&dma->pad, &fmt.pad); in xvip_dma_verify_format()
73 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in xvip_dma_verify_format()
105 struct media_pad *pad; in xvip_pipeline_start_stop() local
111 pad = &entity->pads[0]; in xvip_pipeline_start_stop()
112 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in xvip_pipeline_start_stop()
115 pad = media_entity_remote_pad(pad); in xvip_pipeline_start_stop()
116 if (pad == NULL || in xvip_pipeline_start_stop()
117 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in xvip_pipeline_start_stop()
120 entity = pad->entity; in xvip_pipeline_start_stop()
201 if (dma->pad.flags & MEDIA_PAD_FL_SINK) { in xvip_pipeline_validate()
676 dma->pad.flags = type == V4L2_BUF_TYPE_VIDEO_CAPTURE in xvip_dma_init()
679 ret = media_entity_init(&dma->video.entity, 1, &dma->pad, 0); in xvip_dma_init()