adv7842_formats   591 drivers/media/i2c/adv7842.c static const struct adv7842_format_info adv7842_formats[] = {
adv7842_formats   637 drivers/media/i2c/adv7842.c 	for (i = 0; i < ARRAY_SIZE(adv7842_formats); ++i) {
adv7842_formats   638 drivers/media/i2c/adv7842.c 		if (adv7842_formats[i].code == code)
adv7842_formats   639 drivers/media/i2c/adv7842.c 			return &adv7842_formats[i];
adv7842_formats  2001 drivers/media/i2c/adv7842.c 	if (code->index >= ARRAY_SIZE(adv7842_formats))
adv7842_formats  2003 drivers/media/i2c/adv7842.c 	code->code = adv7842_formats[code->index].code;