Lines Matching defs:format
135 const char *format;
154 (format = fdtbus_get_string(phandle, "format")) == NULL) {
159 if (strcmp(format, "a8b8g8r8") == 0 ||
160 strcmp(format, "x8r8g8b8") == 0) {
162 } else if (strcmp(format, "r8g8b8a8") == 0 ||
163 strcmp(format, "b8g8r8x8") == 0) {
166 } else if (strcmp(format, "x2r10g10b10") == 0) {
169 } else if (strcmp(format, "r5g6b5") == 0) {
172 aprint_error(": unsupported format '%s'\n", format);