Lines Matching defs:index
483 static int vs6624_read(struct v4l2_subdev *sd, u16 index)
488 buf[0] = index >> 8;
489 buf[1] = index;
497 static int vs6624_write(struct v4l2_subdev *sd, u16 index,
503 buf[0] = index >> 8;
504 buf[1] = index;
552 if (code->pad || code->index >= ARRAY_SIZE(vs6624_formats))
555 code->code = vs6624_formats[code->index].mbus_code;
565 int index;
570 for (index = 0; index < ARRAY_SIZE(vs6624_formats); index++)
571 if (vs6624_formats[index].mbus_code == fmt->code)
573 if (index >= ARRAY_SIZE(vs6624_formats)) {
575 index = 0;
587 fmt->colorspace = vs6624_formats[index].colorspace;