Lines Matching refs:pad

832 	struct media_pad *pad;  in camif_pipeline_validate()  local
836 pad = media_entity_remote_pad(&camif->pads[0]); in camif_pipeline_validate()
837 if (!pad || media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in camif_pipeline_validate()
840 src_fmt.pad = pad->index; in camif_pipeline_validate()
842 ret = v4l2_subdev_call(camif->sensor.sd, pad, get_fmt, NULL, &src_fmt); in camif_pipeline_validate()
1158 vp->pad.flags = MEDIA_PAD_FL_SINK; in s3c_camif_register_video_node()
1159 ret = media_entity_init(&vfd->entity, 1, &vp->pad, 0); in s3c_camif_register_video_node()
1240 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in s3c_camif_subdev_get_fmt()
1247 switch (fmt->pad) { in s3c_camif_subdev_get_fmt()
1268 struct v4l2_mbus_framefmt *mf, int pad) in __camif_subdev_try_format() argument
1283 if (pad == CAMIF_SD_PAD_SINK) { in __camif_subdev_try_format()
1309 fmt->pad, mf->code, mf->width, mf->height); in s3c_camif_subdev_set_fmt()
1325 __camif_subdev_try_format(camif, mf, fmt->pad); in s3c_camif_subdev_set_fmt()
1328 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in s3c_camif_subdev_set_fmt()
1334 switch (fmt->pad) { in s3c_camif_subdev_set_fmt()
1376 sel->pad != CAMIF_SD_PAD_SINK) in s3c_camif_subdev_get_selection()
1380 sel->r = *v4l2_subdev_get_try_crop(sd, cfg, sel->pad); in s3c_camif_subdev_get_selection()
1461 if (sel->target != V4L2_SEL_TGT_CROP || sel->pad != CAMIF_SD_PAD_SINK) in s3c_camif_subdev_set_selection()
1468 *v4l2_subdev_get_try_crop(sd, cfg, sel->pad) = sel->r; in s3c_camif_subdev_set_selection()
1505 .pad = &s3c_camif_subdev_pad_ops,