Lines Matching defs:edid
1017 static int cobalt_g_edid(struct file *file, void *fh, struct v4l2_edid *edid)
1020 u32 pad = edid->pad;
1023 if (edid->pad >= (s->is_output ? 1 : 2))
1025 edid->pad = 0;
1026 ret = v4l2_subdev_call(s->sd, pad, get_edid, edid);
1027 edid->pad = pad;
1031 static int cobalt_s_edid(struct file *file, void *fh, struct v4l2_edid *edid)
1034 u32 pad = edid->pad;
1037 if (edid->pad >= 2)
1039 edid->pad = 0;
1040 ret = v4l2_subdev_call(s->sd, pad, set_edid, edid);
1041 edid->pad = pad;