Lines Matching refs:ch
34 int vidconsole_putc_xy(struct udevice *dev, uint x, uint y, char ch) in vidconsole_putc_xy() argument
40 return ops->putc_xy(dev, x, y, ch); in vidconsole_putc_xy()
224 static void vidconsole_escape_char(struct udevice *dev, char ch) in vidconsole_escape_char() argument
235 switch (ch) { in vidconsole_escape_char()
259 priv->escape_buf[priv->escape_len++] = ch; in vidconsole_escape_char()
265 if (!isalpha(ch)) in vidconsole_escape_char()
275 switch (ch) { in vidconsole_escape_char()
295 if (ch == 'A' || ch == 'F') in vidconsole_escape_char()
297 if (ch == 'C') in vidconsole_escape_char()
299 if (ch == 'D') in vidconsole_escape_char()
301 if (ch == 'B' || ch == 'E') in vidconsole_escape_char()
303 if (ch == 'E' || ch == 'F') in vidconsole_escape_char()
482 static int vidconsole_output_glyph(struct udevice *dev, char ch) in vidconsole_output_glyph() argument
492 ret = vidconsole_putc_xy(dev, priv->xcur_frac, priv->ycur, ch); in vidconsole_output_glyph()
495 ret = vidconsole_putc_xy(dev, priv->xcur_frac, priv->ycur, ch); in vidconsole_output_glyph()
500 priv->last_ch = ch; in vidconsole_output_glyph()
507 int vidconsole_put_char(struct udevice *dev, char ch) in vidconsole_put_char() argument
513 vidconsole_escape_char(dev, ch); in vidconsole_put_char()
517 switch (ch) { in vidconsole_put_char()
544 ret = vidconsole_output_glyph(dev, ch); in vidconsole_put_char()
567 static void vidconsole_putc(struct stdio_dev *sdev, const char ch) in vidconsole_putc() argument
572 ret = vidconsole_put_char(dev, ch); in vidconsole_putc()