Lines Matching +full:0 +full:x1b
109 lcd->addr.x = 0; in charlcd_home()
110 lcd->addr.y = 0; in charlcd_home()
133 lcd->addr.x = 0; in charlcd_clear_display()
134 lcd->addr.y = 0; in charlcd_clear_display()
139 * any number of subcommands of the form "(x|y)[0-9]+".
203 int processed = 0; in handle_lcd_special_code()
299 if (lcd->addr.x > 0) { in handle_lcd_special_code()
339 priv->flags = ((lcd->height > 1) ? LCD_FLAG_N : 0) | LCD_FLAG_D | in handle_lcd_special_code()
372 if ((c != '\n') && priv->esc_seq.len >= 0) { in charlcd_write_char()
375 priv->esc_seq.buf[priv->esc_seq.len] = '\0'; in charlcd_write_char()
383 priv->esc_seq.len = 0; in charlcd_write_char()
384 priv->esc_seq.buf[priv->esc_seq.len] = '\0'; in charlcd_write_char()
388 if (lcd->addr.x > 0) { in charlcd_write_char()
413 lcd->addr.x = 0; in charlcd_write_char()
419 lcd->addr.x = 0; in charlcd_write_char()
438 int processed = 0; in charlcd_write_char()
451 (priv->esc_seq.buf[0] == '[') && in charlcd_write_char()
474 for (; count-- > 0; (*ppos)++, tmp++) { in charlcd_write()
475 if (((count + 1) & 0x1f) == 0) { in charlcd_write()
509 priv->lcd.addr.x = 0; in charlcd_open()
510 priv->lcd.addr.y = 0; in charlcd_open()
522 return 0; in charlcd_release()
542 for (; count-- > 0; tmp++) { in charlcd_puts()
543 if (((count + 1) & 0x1f) == 0) in charlcd_puts()
557 #define LCD_INIT_BL "\x1b[L+"
559 #define LCD_INIT_BL "\x1b[L*"
561 #define LCD_INIT_BL "\x1b[L-"
570 priv->flags = ((lcd->height > 1) ? LCD_FLAG_N : 0) | LCD_FLAG_D | in charlcd_init()
590 charlcd_puts(lcd, "\x1b[Lc\x1b[Lb" LCD_INIT_BL LCD_INIT_TEXT); in charlcd_init()
595 return 0; in charlcd_init()
629 "\x0cReloading\nSystem...\x1b[Lc\x1b[Lb\x1b[L+"); in panel_notify_sys()
632 charlcd_puts(lcd, "\x0cSystem Halted.\x1b[Lc\x1b[Lb\x1b[L+"); in panel_notify_sys()
635 charlcd_puts(lcd, "\x0cPower off.\x1b[Lc\x1b[Lb\x1b[L+"); in panel_notify_sys()
661 return 0; in charlcd_register()
670 charlcd_puts(lcd, "\x0cLCD driver unloaded.\x1b[Lc\x1b[Lb\x1b[L-"); in charlcd_unregister()
678 return 0; in charlcd_unregister()