Lines Matching defs:pad
824 switch (fmt->pad) {
858 if (fmt->pad == S5C73M3_ISP_PAD) {
882 if (fi->pad != OIF_SOURCE_PAD)
940 if (fi->pad != OIF_SOURCE_PAD)
967 if (fie->pad != OIF_SOURCE_PAD)
983 static int s5c73m3_oif_get_pad_code(int pad, int index)
985 if (pad == OIF_SOURCE_PAD) {
994 return (pad == OIF_ISP_PAD) ? S5C73M3_ISP_FMT : S5C73M3_JPEG_FMT;
1007 fmt->pad);
1013 switch (fmt->pad) {
1042 fmt->pad);
1048 switch (fmt->pad) {
1085 mf = v4l2_subdev_state_get_format(sd_state, fmt->pad);
1088 switch (fmt->pad) {
1124 mf = v4l2_subdev_state_get_format(sd_state, fmt->pad);
1126 if (fmt->pad == OIF_ISP_PAD) {
1133 switch (fmt->pad) {
1158 static int s5c73m3_oif_get_frame_desc(struct v4l2_subdev *sd, unsigned int pad,
1164 if (pad != OIF_SOURCE_PAD || fd == NULL)
1176 static int s5c73m3_oif_set_frame_desc(struct v4l2_subdev *sd, unsigned int pad,
1183 if (pad != OIF_SOURCE_PAD || fd == NULL)
1207 if (code->index > 0 || code->pad >= S5C73M3_NUM_PADS)
1210 code->code = codes[code->pad];
1221 ret = s5c73m3_oif_get_pad_code(code->pad, code->index);
1236 if (fse->pad == S5C73M3_ISP_PAD) {
1264 if (fse->pad == OIF_SOURCE_PAD) {
1297 if (fse->code != s5c73m3_oif_get_pad_code(fse->pad, 0))
1300 if (fse->pad == OIF_JPEG_PAD)
1501 .pad = &s5c73m3_pad_ops,
1533 .pad = &s5c73m3_oif_pad_ops,