Lines Matching refs:colour
38 int colour; /* Text colour to use for output, -1 for none */ member
50 static void output_ansi_colour(int colour) in output_ansi_colour() argument
54 ansi_code[5] = '0' + colour; in output_ansi_colour()
79 if (plat->colour != -1) in sandbox_serial_remove()
90 if (priv->start_of_line && plat->colour != -1) { in sandbox_serial_putc()
92 output_ansi_colour(plat->colour); in sandbox_serial_putc()
150 const char *colour; in sandbox_serial_ofdata_to_platdata() local
153 plat->colour = -1; in sandbox_serial_ofdata_to_platdata()
154 colour = fdt_getprop(gd->fdt_blob, dev_of_offset(dev), in sandbox_serial_ofdata_to_platdata()
156 if (colour) { in sandbox_serial_ofdata_to_platdata()
158 if (!strcmp(colour, ansi_colour[i])) { in sandbox_serial_ofdata_to_platdata()
159 plat->colour = i; in sandbox_serial_ofdata_to_platdata()
193 .colour = -1,