Lines Matching refs:known_formats
149 } known_formats[] = { in invalid_tests() local
172 for (int i = 0; i < ARRAY_SIZE(known_formats); i++) { in invalid_tests()
173 arg.bpp = known_formats[i].bpp; in invalid_tests()
174 arg.depth = known_formats[i].depth; in invalid_tests()
175 known_formats[i].expect = legacy_addfb(fd, &arg); in invalid_tests()
177 arg.bpp, arg.depth, known_formats[i].expect); in invalid_tests()
190 for (int start = 0, end = ARRAY_SIZE(known_formats); in invalid_tests()
193 typeof(*known_formats) *tbl = &known_formats[mid]; in invalid_tests()
224 for (int i = 0; i < ARRAY_SIZE(known_formats); i++) { in invalid_tests()
227 arg.bpp = known_formats[i].bpp; in invalid_tests()
228 arg.depth = known_formats[i].depth; in invalid_tests()
231 igt_assert_f(err == known_formats[i].expect, in invalid_tests()
233 known_formats[i].expect, in invalid_tests()