panel.c (01ec46dfa633a52ccfe38d4a194460d6adb2ba00) panel.c (d2f2187e8f27cd884150acdce7ec96135260413b)
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.

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

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,
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.

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

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,
882 .shift_cursor = hd44780_common_shift_cursor,
883 .shift_display = hd44780_common_shift_display,
884 .display = hd44780_common_display,
885 .cursor = hd44780_common_cursor,
886 .blink = hd44780_common_blink,
887 .fontsize = hd44780_common_fontsize,
888 .lines = hd44780_common_lines,
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_parallel_ops = {
892 .clear_fast = lcd_clear_fast_p8,
893 .backlight = lcd_backlight,
894 .gotoxy = hd44780_common_gotoxy,
895 .home = hd44780_common_home,
896 .clear_display = hd44780_common_clear_display,
897 .init_display = hd44780_common_init_display,
898 .shift_cursor = hd44780_common_shift_cursor,
899 .shift_display = hd44780_common_shift_display,
900 .display = hd44780_common_display,
901 .cursor = hd44780_common_cursor,
902 .blink = hd44780_common_blink,
903 .fontsize = hd44780_common_fontsize,
904 .lines = hd44780_common_lines,
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,
905};
906
907static const struct charlcd_ops charlcd_tilcd_ops = {
908 .clear_fast = lcd_clear_fast_tilcd,
909 .backlight = lcd_backlight,
910 .gotoxy = hd44780_common_gotoxy,
911 .home = hd44780_common_home,
912 .clear_display = hd44780_common_clear_display,
913 .init_display = hd44780_common_init_display,
914 .shift_cursor = hd44780_common_shift_cursor,
915 .shift_display = hd44780_common_shift_display,
916 .display = hd44780_common_display,
917 .cursor = hd44780_common_cursor,
918 .blink = hd44780_common_blink,
919 .fontsize = hd44780_common_fontsize,
920 .lines = hd44780_common_lines,
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 ---
921};
922
923/* initialize the LCD driver */
924static void lcd_init(void)
925{
926 struct charlcd *charlcd;
927 struct hd44780_common *hdc;
928

--- 913 unchanged lines hidden ---