Lines Matching refs:pad
831 struct media_pad *pad; in camif_pipeline_validate() local
835 pad = media_entity_remote_pad(&camif->pads[0]); in camif_pipeline_validate()
836 if (!pad || media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in camif_pipeline_validate()
839 src_fmt.pad = pad->index; in camif_pipeline_validate()
841 ret = v4l2_subdev_call(camif->sensor.sd, pad, get_fmt, NULL, &src_fmt); in camif_pipeline_validate()
1157 vp->pad.flags = MEDIA_PAD_FL_SINK; in s3c_camif_register_video_node()
1158 ret = media_entity_init(&vfd->entity, 1, &vp->pad, 0); in s3c_camif_register_video_node()
1239 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in s3c_camif_subdev_get_fmt()
1246 switch (fmt->pad) { in s3c_camif_subdev_get_fmt()
1267 struct v4l2_mbus_framefmt *mf, int pad) in __camif_subdev_try_format() argument
1282 if (pad == CAMIF_SD_PAD_SINK) { in __camif_subdev_try_format()
1308 fmt->pad, mf->code, mf->width, mf->height); in s3c_camif_subdev_set_fmt()
1324 __camif_subdev_try_format(camif, mf, fmt->pad); in s3c_camif_subdev_set_fmt()
1327 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in s3c_camif_subdev_set_fmt()
1333 switch (fmt->pad) { in s3c_camif_subdev_set_fmt()
1375 sel->pad != CAMIF_SD_PAD_SINK) in s3c_camif_subdev_get_selection()
1379 sel->r = *v4l2_subdev_get_try_crop(sd, cfg, sel->pad); in s3c_camif_subdev_get_selection()
1460 if (sel->target != V4L2_SEL_TGT_CROP || sel->pad != CAMIF_SD_PAD_SINK) in s3c_camif_subdev_set_selection()
1467 *v4l2_subdev_get_try_crop(sd, cfg, sel->pad) = sel->r; in s3c_camif_subdev_set_selection()
1504 .pad = &s3c_camif_subdev_pad_ops,