hd44780_common.h (d2f2187e8f27cd884150acdce7ec96135260413b) hd44780_common.h (339acb082987a6b0aa7c67a5a77b29f6c81962f6)
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3#define DEFAULT_LCD_BWIDTH 40
4#define DEFAULT_LCD_HWIDTH 64
5
6struct hd44780_common {
7 int ifwidth; /* 4-bit or 8-bit (default) */
8 int bwidth; /* Default set by hd44780_alloc() */

--- 15 unchanged lines hidden (view full) ---

24 enum charlcd_shift_dir dir);
25int hd44780_common_shift_display(struct charlcd *lcd,
26 enum charlcd_shift_dir dir);
27int hd44780_common_display(struct charlcd *lcd, enum charlcd_onoff on);
28int hd44780_common_cursor(struct charlcd *lcd, enum charlcd_onoff on);
29int hd44780_common_blink(struct charlcd *lcd, enum charlcd_onoff on);
30int hd44780_common_fontsize(struct charlcd *lcd, enum charlcd_fontsize size);
31int hd44780_common_lines(struct charlcd *lcd, enum charlcd_lines lines);
1/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3#define DEFAULT_LCD_BWIDTH 40
4#define DEFAULT_LCD_HWIDTH 64
5
6struct hd44780_common {
7 int ifwidth; /* 4-bit or 8-bit (default) */
8 int bwidth; /* Default set by hd44780_alloc() */

--- 15 unchanged lines hidden (view full) ---

24 enum charlcd_shift_dir dir);
25int hd44780_common_shift_display(struct charlcd *lcd,
26 enum charlcd_shift_dir dir);
27int hd44780_common_display(struct charlcd *lcd, enum charlcd_onoff on);
28int hd44780_common_cursor(struct charlcd *lcd, enum charlcd_onoff on);
29int hd44780_common_blink(struct charlcd *lcd, enum charlcd_onoff on);
30int hd44780_common_fontsize(struct charlcd *lcd, enum charlcd_fontsize size);
31int hd44780_common_lines(struct charlcd *lcd, enum charlcd_lines lines);
32int hd44780_common_redefine_char(struct charlcd *lcd, char *esc);
32struct hd44780_common *hd44780_common_alloc(void);
33struct hd44780_common *hd44780_common_alloc(void);