Lines Matching +full:lcd +full:- +full:backlight
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Character LCD driver for Linux
5 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu>
6 * Copyright (C) 2016-2017 Glider bvba
16 #define LCD_FLAG_N 0x0040 /* 2-rows mode */
17 #define LCD_FLAG_L 0x0080 /* Backlight enabled */
48 /* Contains the LCD X and Y offset */
58 * struct charlcd_ops - Functions used by charlcd. Drivers have to implement
60 * @backlight: Turn backlight on or off. Optional.
81 void (*backlight)(struct charlcd *lcd, enum charlcd_onoff on); member
82 int (*print)(struct charlcd *lcd, int c);
83 int (*gotoxy)(struct charlcd *lcd, unsigned int x, unsigned int y);
84 int (*home)(struct charlcd *lcd);
85 int (*clear_display)(struct charlcd *lcd);
86 int (*init_display)(struct charlcd *lcd);
87 int (*shift_cursor)(struct charlcd *lcd, enum charlcd_shift_dir dir);
88 int (*shift_display)(struct charlcd *lcd, enum charlcd_shift_dir dir);
89 int (*display)(struct charlcd *lcd, enum charlcd_onoff on);
90 int (*cursor)(struct charlcd *lcd, enum charlcd_onoff on);
91 int (*blink)(struct charlcd *lcd, enum charlcd_onoff on);
92 int (*fontsize)(struct charlcd *lcd, enum charlcd_fontsize size);
93 int (*lines)(struct charlcd *lcd, enum charlcd_lines lines);
94 int (*redefine_char)(struct charlcd *lcd, char *esc);
97 void charlcd_backlight(struct charlcd *lcd, enum charlcd_onoff on);
99 void charlcd_free(struct charlcd *lcd);
101 int charlcd_register(struct charlcd *lcd);
102 int charlcd_unregister(struct charlcd *lcd);
104 void charlcd_poke(struct charlcd *lcd);