panel.c (45421ffefbb5f195de02ead952755329ef8576d8) | panel.c (01ec46dfa633a52ccfe38d4a194460d6adb2ba00) |
---|---|
1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Front panel driver for Linux 4 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 5 * Copyright (C) 2016-2017 Glider bvba 6 * 7 * This code drives an LCD module (/dev/lcd), and a keypad (/dev/keypad) 8 * connected to a parallel printer port. --- 864 unchanged lines hidden (view full) --- 873} 874 875static const struct charlcd_ops charlcd_serial_ops = { 876 .clear_fast = lcd_clear_fast_s, 877 .backlight = lcd_backlight, 878 .gotoxy = hd44780_common_gotoxy, 879 .home = hd44780_common_home, 880 .clear_display = hd44780_common_clear_display, | 1// SPDX-License-Identifier: GPL-2.0+ 2/* 3 * Front panel driver for Linux 4 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 5 * Copyright (C) 2016-2017 Glider bvba 6 * 7 * This code drives an LCD module (/dev/lcd), and a keypad (/dev/keypad) 8 * connected to a parallel printer port. --- 864 unchanged lines hidden (view full) --- 873} 874 875static const struct charlcd_ops charlcd_serial_ops = { 876 .clear_fast = lcd_clear_fast_s, 877 .backlight = lcd_backlight, 878 .gotoxy = hd44780_common_gotoxy, 879 .home = hd44780_common_home, 880 .clear_display = hd44780_common_clear_display, |
881 .init_display = hd44780_common_init_display, |
|
881}; 882 883static const struct charlcd_ops charlcd_parallel_ops = { 884 .clear_fast = lcd_clear_fast_p8, 885 .backlight = lcd_backlight, 886 .gotoxy = hd44780_common_gotoxy, 887 .home = hd44780_common_home, 888 .clear_display = hd44780_common_clear_display, | 882}; 883 884static const struct charlcd_ops charlcd_parallel_ops = { 885 .clear_fast = lcd_clear_fast_p8, 886 .backlight = lcd_backlight, 887 .gotoxy = hd44780_common_gotoxy, 888 .home = hd44780_common_home, 889 .clear_display = hd44780_common_clear_display, |
890 .init_display = hd44780_common_init_display, |
|
889}; 890 891static const struct charlcd_ops charlcd_tilcd_ops = { 892 .clear_fast = lcd_clear_fast_tilcd, 893 .backlight = lcd_backlight, 894 .gotoxy = hd44780_common_gotoxy, 895 .home = hd44780_common_home, 896 .clear_display = hd44780_common_clear_display, | 891}; 892 893static const struct charlcd_ops charlcd_tilcd_ops = { 894 .clear_fast = lcd_clear_fast_tilcd, 895 .backlight = lcd_backlight, 896 .gotoxy = hd44780_common_gotoxy, 897 .home = hd44780_common_home, 898 .clear_display = hd44780_common_clear_display, |
899 .init_display = hd44780_common_init_display, |
|
897}; 898 899/* initialize the LCD driver */ 900static void lcd_init(void) 901{ 902 struct charlcd *charlcd; 903 struct hd44780_common *hdc; 904 --- 913 unchanged lines hidden --- | 900}; 901 902/* initialize the LCD driver */ 903static void lcd_init(void) 904{ 905 struct charlcd *charlcd; 906 struct hd44780_common *hdc; 907 --- 913 unchanged lines hidden --- |