panel.c (2c6a82f2342fadfcbd5dd92656e662c326f7a40a) panel.c (d3a2fb810f273b7a2c393d4de28ae91a3f76985d)
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.

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

870 }
871
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,
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.

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

870 }
871
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,
878};
879
880static const struct charlcd_ops charlcd_parallel_ops = {
881 .clear_fast = lcd_clear_fast_p8,
882 .backlight = lcd_backlight,
879};
880
881static const struct charlcd_ops charlcd_parallel_ops = {
882 .clear_fast = lcd_clear_fast_p8,
883 .backlight = lcd_backlight,
884 .gotoxy = hd44780_common_gotoxy,
883};
884
885static const struct charlcd_ops charlcd_tilcd_ops = {
886 .clear_fast = lcd_clear_fast_tilcd,
887 .backlight = lcd_backlight,
885};
886
887static const struct charlcd_ops charlcd_tilcd_ops = {
888 .clear_fast = lcd_clear_fast_tilcd,
889 .backlight = lcd_backlight,
890 .gotoxy = hd44780_common_gotoxy,
888};
889
890/* initialize the LCD driver */
891static void lcd_init(void)
892{
893 struct charlcd *charlcd;
894 struct hd44780_common *hdc;
895

--- 913 unchanged lines hidden ---
891};
892
893/* initialize the LCD driver */
894static void lcd_init(void)
895{
896 struct charlcd *charlcd;
897 struct hd44780_common *hdc;
898

--- 913 unchanged lines hidden ---