panel.c (88645a86e3420cddfe5bb9cd8d7c15aff8f54b46) panel.c (45421ffefbb5f195de02ead952755329ef8576d8)
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.

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

872 spin_unlock_irq(&pprt_lock);
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,
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.

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

872 spin_unlock_irq(&pprt_lock);
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,
880};
881
882static const struct charlcd_ops charlcd_parallel_ops = {
883 .clear_fast = lcd_clear_fast_p8,
884 .backlight = lcd_backlight,
885 .gotoxy = hd44780_common_gotoxy,
886 .home = hd44780_common_home,
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,
887};
888
889static const struct charlcd_ops charlcd_tilcd_ops = {
890 .clear_fast = lcd_clear_fast_tilcd,
891 .backlight = lcd_backlight,
892 .gotoxy = hd44780_common_gotoxy,
893 .home = hd44780_common_home,
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,
894};
895
896/* initialize the LCD driver */
897static void lcd_init(void)
898{
899 struct charlcd *charlcd;
900 struct hd44780_common *hdc;
901

--- 913 unchanged lines hidden ---
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 ---