| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/auxdisplay/ |
| D | hit,hd44780.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Geert Uytterhoeven <geert@linux-m68k.org> 14 LCDs that can display one or more lines of text. It exposes an M6800 bus 15 interface, which can be used in either 4-bit or 8-bit mode. By using a 24 data-gpios: 26 GPIO pins connected to the data signal lines DB0-DB7 (8-bit mode) or 27 DB4-DB7 (4-bit mode) of the LCD Controller's bus interface. 29 - maxItems: 4 [all …]
|
| D | modtronix,lcd2s.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Modtronix engineering LCD2S Character LCD Display 10 - Lars Poeschel <poeschel@lemonage.de> 13 The LCD2S is a Character LCD Display manufactured by Modtronix Engineering. 14 The display supports a serial I2C and SPI interface. The driver currently 24 I2C bus address of the display. 26 display-height-chars: 27 description: Height of the display, in character cells. [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/auxdisplay/ |
| D | hit,hd44780.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Geert Uytterhoeven <geert@linux-m68k.org> 14 LCDs that can display one or more lines of text. It exposes an M6800 bus 15 interface, which can be used in either 4-bit or 8-bit mode. 21 data-gpios: 23 GPIO pins connected to the data signal lines DB0-DB7 (8-bit mode) or 24 DB4-DB7 (4-bit mode) of the LCD Controller's bus interface. 26 - maxItems: 4 [all …]
|
| /kernel/linux/linux-6.6/drivers/auxdisplay/ |
| D | hd44780.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 6 * Copyright (C) 2016-2017 Glider bvba 43 struct hd44780_common *hdc = lcd->drvdata; in hd44780_backlight() 44 struct hd44780 *hd = hdc->hd44780; in hd44780_backlight() 46 if (hd->pins[PIN_CTRL_BL]) in hd44780_backlight() 47 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_BL], on); in hd44780_backlight() 55 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 1); in hd44780_strobe_gpio() 60 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 0); in hd44780_strobe_gpio() 66 DECLARE_BITMAP(values, 10); /* for DATA[0-7], RS, RW */ in hd44780_write_gpio8() [all …]
|
| D | lcd2s.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * The display also has a SPI interface, but the driver does not support 99 struct lcd2s_data *lcd2s = lcd->drvdata; in lcd2s_print() 102 lcd2s_i2c_master_send(lcd2s->i2c, buf, sizeof(buf)); in lcd2s_print() 108 struct lcd2s_data *lcd2s = lcd->drvdata; in lcd2s_gotoxy() 111 lcd2s_i2c_master_send(lcd2s->i2c, buf, sizeof(buf)); in lcd2s_gotoxy() 118 struct lcd2s_data *lcd2s = lcd->drvdata; in lcd2s_home() 120 lcd2s_i2c_smbus_write_byte(lcd2s->i2c, LCD2S_CMD_CUR_RESET); in lcd2s_home() 126 struct lcd2s_data *lcd2s = lcd->drvdata; in lcd2s_init_display() 128 /* turn everything off, but display on */ in lcd2s_init_display() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 # see Documentation/kbuild/kconfig-language.rst. 6 # Auxiliary display drivers configuration. 10 bool "Auxiliary Display support" 12 Say Y here to get to see options for auxiliary display drivers. 22 This is the base system for character-based LCD displays. 23 It makes no sense to have this alone, you select your display driver 29 tristate "Character line display core support" if COMPILE_TEST 31 This is the core support for single-line character displays, to be 40 useful alone. If you have some sort of HD44780 compatible display, [all …]
|
| D | charlcd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 6 * Copyright (C) 2016-2017 Glider bvba 27 #define LCD_ESCAPE_LEN 24 /* Max chars for LCD escape command */ 42 /* Current escape sequence and it's length or -1 if outside */ 53 /* Device single-open policy control */ 61 if (!lcd->ops->backlight) in charlcd_backlight() 64 mutex_lock(&priv->bl_tempo_lock); in charlcd_backlight() 65 if (!priv->bl_tempo) in charlcd_backlight() 66 lcd->ops->backlight(lcd, on); in charlcd_backlight() [all …]
|
| /kernel/linux/linux-5.10/drivers/auxdisplay/ |
| D | hd44780.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 6 * Copyright (C) 2016-2017 Glider bvba 42 struct hd44780 *hd = lcd->drvdata; in hd44780_backlight() 44 if (hd->pins[PIN_CTRL_BL]) in hd44780_backlight() 45 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_BL], on); in hd44780_backlight() 53 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 1); in hd44780_strobe_gpio() 58 gpiod_set_value_cansleep(hd->pins[PIN_CTRL_E], 0); in hd44780_strobe_gpio() 64 DECLARE_BITMAP(values, 10); /* for DATA[0-7], RS, RW */ in hd44780_write_gpio8() 69 n = hd->pins[PIN_CTRL_RW] ? 10 : 9; in hd44780_write_gpio8() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 4 # see Documentation/kbuild/kconfig-language.rst. 6 # Auxiliary display drivers configuration. 10 bool "Auxiliary Display support" 12 Say Y here to get to see options for auxiliary display drivers. 41 and built-in as well (Y). 96 If you have a Crystalfontz 128x64 2-color LCD, cfag12864b Series, 100 check Documentation/admin-guide/auxdisplay/cfag12864b.rst 135 tristate "Imagination Technologies ASCII LCD Display" 163 very much more than display the text "ARM Linux" on the first [all …]
|
| D | charlcd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 6 * Copyright (C) 2016-2017 Glider bvba 33 #define LCD_FLAG_D 0x0010 /* Display on */ 35 #define LCD_FLAG_N 0x0040 /* 2-rows mode */ 39 #define LCD_CMD_DISPLAY_CLEAR 0x01 /* Clear entire display */ 44 #define LCD_CMD_DISPLAY_CTRL 0x08 /* Display control */ 45 #define LCD_CMD_DISPLAY_ON 0x04 /* Set display on */ 49 #define LCD_CMD_SHIFT 0x10 /* Shift cursor/display */ 50 #define LCD_CMD_DISPLAY_SHIFT 0x08 /* Shift display instead of cursor */ [all …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | kirkwood-netgear_readynas_nv+_v2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 8 /dts-v1/; 11 #include "kirkwood-6282.dtsi" 15 …compatible = "netgear,readynas-nv+-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,k… 24 stdout-path = &uart0; 28 pinctrl: pin-controller@10000 { 29 pmx_button_power: pmx-button-power { 34 pmx_button_backup: pmx-button-backup { 39 pmx_button_reset: pmx-button-reset { 44 pmx_led_blue_power: pmx-led-blue-power { [all …]
|
| D | armada-370-netgear-rn104.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include "armada-370.dtsi" 16 compatible = "netgear,readynas-104", "marvell,armada370", "marvell,armada-370-xp"; 19 stdout-path = "serial0:115200n8"; 32 internal-regs { 44 pinctrl-0 = <&ge0_rgmii_pins>; 45 pinctrl-names = "default"; [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/marvell/ |
| D | kirkwood-netgear_readynas_nv+_v2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 8 /dts-v1/; 11 #include "kirkwood-6282.dtsi" 15 …compatible = "netgear,readynas-nv+-v2", "netgear,readynas", "marvell,kirkwood-88f6282", "marvell,k… 24 stdout-path = &uart0; 28 pinctrl: pin-controller@10000 { 29 pmx_button_power: pmx-button-power { 34 pmx_button_backup: pmx-button-backup { 39 pmx_button_reset: pmx-button-reset { 44 pmx_led_blue_power: pmx-led-blue-power { [all …]
|
| D | armada-370-netgear-rn104.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include "armada-370.dtsi" 16 compatible = "netgear,readynas-104", "marvell,armada370", "marvell,armada-370-xp"; 19 stdout-path = "serial0:115200n8"; 32 internal-regs { 44 pinctrl-0 = <&ge0_rgmii_pins>; 45 pinctrl-names = "default"; [all …]
|
| /kernel/linux/linux-5.10/scripts/kconfig/lxdialog/ |
| D | util.c | 1 // SPDX-License-Identifier: GPL-2.0+ 171 init_pair(pair, color->fg, color->bg); in init_one_color() 172 if (color->hl) in init_one_color() 173 color->atr = A_BOLD | COLOR_PAIR(pair); in init_one_color() 175 color->atr = COLOR_PAIR(pair); in init_one_color() 212 * Setup for color display 229 void attr_clear(WINDOW * win, int height, int width, chtype attr) in attr_clear() argument 236 for (j = 0; j < width; j++) in attr_clear() 250 /* Display background title if it exists ... - SLH */ in dialog_clear() 258 for (pos = dlg.subtitles; pos != NULL; pos = pos->next) { in dialog_clear() [all …]
|
| /kernel/linux/linux-6.6/scripts/kconfig/lxdialog/ |
| D | util.c | 1 // SPDX-License-Identifier: GPL-2.0+ 171 init_pair(pair, color->fg, color->bg); in init_one_color() 172 if (color->hl) in init_one_color() 173 color->atr = A_BOLD | COLOR_PAIR(pair); in init_one_color() 175 color->atr = COLOR_PAIR(pair); in init_one_color() 212 * Setup for color display 229 void attr_clear(WINDOW * win, int height, int width, chtype attr) in attr_clear() argument 236 for (j = 0; j < width; j++) in attr_clear() 250 /* Display background title if it exists ... - SLH */ in dialog_clear() 258 for (pos = dlg.subtitles; pos != NULL; pos = pos->next) { in dialog_clear() [all …]
|
| /kernel/linux/linux-6.6/drivers/parisc/ |
| D | led.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Chassis LCD/LED driver for HP-PARISC workstations 8 * (c) Copyright 2000-2023 Helge Deller <deller@gmx.de> 53 lcd_cmd_reg_addr needs to be 64bit aligned on 64bit PA2.0-machines */ 56 unsigned long lcd_width:16; /* width of the LCD in chars (DISPLAY_MODEL_LCD only) */ 57 unsigned long lcd_cmd_reg_addr; /* ptr to LCD cmd-register & data ptr for LED */ 58 unsigned long lcd_data_reg_addr; /* ptr to LCD data-register (LCD only) */ 59 unsigned int min_cmd_delay; /* delay in uS after cmd-write (LCD only) */ 75 /* lcd_info is pre-initialized to the values needed to program KittyHawk LCD's 94 /* ptr to LCD/LED-specific function */ [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/ |
| D | bootx_init.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 37 /* Is boot-info compatible ? */ 39 ((bi)->compatible_version <= BOOT_INFO_VERSION) 40 #define BOOT_INFO_IS_V2_COMPATIBLE(bi) ((bi)->version >= 2) 41 #define BOOT_INFO_IS_V4_COMPATIBLE(bi) ((bi)->version >= 4) 55 btext_drawtext(p, q - p); in bootx_printf() 94 u32 *ppp = &np->properties; in bootx_early_getprop() 100 if (strcmp((char *)((unsigned long)pp->name + base), in bootx_early_getprop() 102 return (void *)((unsigned long)pp->value + base); in bootx_early_getprop() 104 ppp = &pp->next; in bootx_early_getprop() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/powermac/ |
| D | bootx_init.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 38 /* Is boot-info compatible ? */ 40 ((bi)->compatible_version <= BOOT_INFO_VERSION) 41 #define BOOT_INFO_IS_V2_COMPATIBLE(bi) ((bi)->version >= 2) 42 #define BOOT_INFO_IS_V4_COMPATIBLE(bi) ((bi)->version >= 4) 56 btext_drawtext(p, q - p); in bootx_printf() 95 u32 *ppp = &np->properties; in bootx_early_getprop() 101 if (strcmp((char *)((unsigned long)pp->name + base), in bootx_early_getprop() 103 return (void *)((unsigned long)pp->value + base); in bootx_early_getprop() 105 ppp = &pp->next; in bootx_early_getprop() [all …]
|
| /kernel/linux/linux-5.10/drivers/parisc/ |
| D | led.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Chassis LCD/LED driver for HP-PARISC workstations 7 * (c) Copyright 2001-2009 Helge Deller <deller@gmx.de> 11 * - speed-up calculations with inlined assembler 12 * - interface to write to second row of LCD from /proc (if technically possible) 15 * - Audit copy_from_user in led_proc_write. 17 * - Switch from using a tasklet to a work queue, so the led_LCD_driver 50 /* The control of the LEDs and LCDs on PARISC-machines have to be done 56 static int led_type __read_mostly = -1; 84 lcd_cmd_reg_addr needs to be 64bit aligned on 64bit PA2.0-machines */ [all …]
|
| /kernel/linux/linux-6.6/drivers/tty/vt/ |
| D | vt.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Chars, and VT100 enhancements by Peter MacDonald. 17 * Code to check for different video-cards mostly by Galen Hunt, 18 * <g-hunt@ee.utah.edu> 20 * Rudimentary ISO 10646/Unicode/UTF-8 character set support by 21 * Markus Kuhn, <mskuhn@immd4.informatik.uni-erlangen.de>. 26 * Code for xterm like mouse click reporting by Peter Orbaek 20-Jul-94 29 * User-defined bell sound, new setterm control sequences and printk 30 * redirection by Martin Mares <mj@k332.feld.cvut.cz> 19-Nov-95 35 * <geert@linux-m68k.org>, Jan 1997. [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/vt/ |
| D | vt.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Chars, and VT100 enhancements by Peter MacDonald. 17 * Code to check for different video-cards mostly by Galen Hunt, 18 * <g-hunt@ee.utah.edu> 20 * Rudimentary ISO 10646/Unicode/UTF-8 character set support by 21 * Markus Kuhn, <mskuhn@immd4.informatik.uni-erlangen.de>. 26 * Code for xterm like mouse click reporting by Peter Orbaek 20-Jul-94 29 * User-defined bell sound, new setterm control sequences and printk 30 * redirection by Martin Mares <mj@k332.feld.cvut.cz> 19-Nov-95 35 * <geert@linux-m68k.org>, Jan 1997. [all …]
|
| /kernel/linux/linux-6.6/arch/parisc/kernel/ |
| D | processor.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Initial setup-routines for HP 9000 based hardware. 6 * Modifications for PA-RISC (C) 1999-2008 Helge Deller <deller@gmx.de> 12 * Initial PA-RISC Version: 04-23-1999 by Helge Deller 32 #include <asm/parisc-device.h> 44 ** PARISC CPU driver - claim "device" and initialize CPU data structures. 50 ** The callback *should* do per-instance initialization of 62 * init_percpu_prof - enable/setup per cpu profiling hooks. 74 * processor_probe - Determine if processor driver should claim this device. 104 txn_addr = dev->hpa.start; /* for legacy PDC */ in processor_probe() [all …]
|
| /kernel/linux/linux-5.10/arch/parisc/kernel/ |
| D | processor.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Initial setup-routines for HP 9000 based hardware. 6 * Modifications for PA-RISC (C) 1999-2008 Helge Deller <deller@gmx.de> 12 * Initial PA-RISC Version: 04-23-1999 by Helge Deller 30 #include <asm/parisc-device.h> 42 ** PARISC CPU driver - claim "device" and initialize CPU data structures. 48 ** The callback *should* do per-instance initialization of 60 * init_cpu_profiler - enable/setup per cpu profiling hooks. 72 * processor_probe - Determine if processor driver should claim this device. 102 txn_addr = dev->hpa.start; /* for legacy PDC */ in processor_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/misc/sisusbvga/ |
| D | sisusb_con.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 3 * sisusb - usb kernel driver for SiS315(E) based USB2VGA dongles 45 * calls from non-schedulable context due to our USB-dependend 73 /* vc_data -> sisusb conversion table */ 101 sisusb->cur_start_addr = (c->vc_visible_origin - sisusb->scrbuf) / 2; in sisusbcon_set_start_address() 103 sisusb_setidxreg(sisusb, SISCR, 0x0c, (sisusb->cur_start_addr >> 8)); in sisusbcon_set_start_address() 104 sisusb_setidxreg(sisusb, SISCR, 0x0d, (sisusb->cur_start_addr & 0xff)); in sisusbcon_set_start_address() 110 if (sisusb->sisusb_cursor_loc == location) in sisusb_set_cursor() 113 sisusb->sisusb_cursor_loc = location; in sisusb_set_cursor() 121 sisusb->bad_cursor_pos = 1; in sisusb_set_cursor() [all …]
|