Lines Matching full:esc
378 char *esc = priv->esc_seq.buf + 2; in handle_lcd_special_code() local
382 switch (*esc) { in handle_lcd_special_code()
495 if (!strchr(esc, ';')) in handle_lcd_special_code()
498 esc++; in handle_lcd_special_code()
500 cgaddr = *(esc++) - '0'; in handle_lcd_special_code()
509 while (*esc && cgoffset < 8) { in handle_lcd_special_code()
511 if (*esc >= '0' && *esc <= '9') { in handle_lcd_special_code()
512 value |= (*esc - '0') << shift; in handle_lcd_special_code()
513 } else if (*esc >= 'A' && *esc <= 'F') { in handle_lcd_special_code()
514 value |= (*esc - 'A' + 10) << shift; in handle_lcd_special_code()
515 } else if (*esc >= 'a' && *esc <= 'f') { in handle_lcd_special_code()
516 value |= (*esc - 'a' + 10) << shift; in handle_lcd_special_code()
518 esc++; in handle_lcd_special_code()
527 esc++; in handle_lcd_special_code()
545 if (parse_xy(esc, &priv->addr.x, &priv->addr.y)) in handle_lcd_special_code()