/linux/Documentation/devicetree/bindings/auxdisplay/ |
H A 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 …]
|
H A 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 …]
|
/linux/drivers/auxdisplay/ |
H A 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 …]
|
H A 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 …]
|
H A 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. 25 This is the base system for character-based LCD displays. 26 It makes no sense to have this alone, you select your display driver 37 useful alone. If you have some sort of HD44780 compatible display, 39 your concrete display. 53 tristate "lcd2s 20x4 character display over I2C console" [all …]
|
/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mn-rve-gateway.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/usb/pd.h> 9 #include "imx8mn-var-som.dtsi" 13 compatible = "rve,gateway", "variscite,var-som-mx8mn", "fsl,imx8mn"; 15 crystal_duart_24m: crystal-duart-24m { 16 compatible = "fixed-clock"; 17 #clock-cells = <0>; 18 clock-frequency = <24000000>; 21 gpio-keys { [all …]
|
/linux/arch/arm/boot/dts/marvell/ |
H A 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 …]
|
H A 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 …]
|
/linux/scripts/kconfig/lxdialog/ |
H A D | util.c | 1 // SPDX-License-Identifier: GPL-2.0+ 148 init_pair(pair, color->fg, color->bg); in init_one_color() 149 if (color->hl) in init_one_color() 150 color->atr = A_BOLD | COLOR_PAIR(pair); in init_one_color() 152 color->atr = COLOR_PAIR(pair); in init_one_color() 185 * Setup for color display 202 void attr_clear(WINDOW * win, int height, int width, chtype attr) in attr_clear() argument 209 for (j = 0; j < width; j++) in attr_clear() 223 /* Display background title if it exists ... - SLH */ in dialog_clear() 231 for (pos = dlg.subtitles; pos != NULL; pos = pos->next) { in dialog_clear() [all …]
|
/linux/drivers/parisc/ |
H A 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 …]
|
/linux/drivers/tty/vt/ |
H A 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 …]
|
/linux/arch/powerpc/platforms/powermac/ |
H A 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 …]
|
/linux/arch/parisc/kernel/ |
H A 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 …]
|
H A D | firmware.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * arch/parisc/kernel/firmware.c - safe PDC access routines 14 * Copyright 2003 Grant Grundler <grundler parisc-linux org> 15 * Copyright 2003,2004 Ryan Bradetich <rbrad@parisc-linux.org> 16 * Copyright 2004,2006 Thibaut VARENE <varenet@parisc-linux.org> 22 * - the name of the pdc wrapper should match one of the macros 24 * - don't use caps for random parts of the name 25 * - use the static PDC result buffers and "copyout" to structs 27 * - hold pdc_lock while in PDC or using static result buffers 28 * - use __pa() to convert virtual (kernel) pointers to physical [all …]
|
/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_dmm_tiler.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/ 12 #include <linux/dma-mapping.h> 50 .slot_w = 1 << (SLOT_WIDTH_BITS - (xshift)), \ 51 .slot_h = 1 << (SLOT_HEIGHT_BITS - (yshift)), \ 55 u32 x_shft; /* unused X-bits (as part of bpp) */ 56 u32 y_shft; /* unused Y-bits (as part of bpp) */ 57 u32 cpp; /* bytes/chars per pixel */ 58 u32 slot_w; /* width of each slot (in pixels) */ 68 /* lookup table for registers w/ per-engine instances */ [all …]
|
/linux/tools/perf/ |
H A D | builtin-script.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <subcmd/exec-cmd.h> 9 #include <subcmd/parse-options.h> 17 #include "util/trace-event.h" 31 #include "util/thread-stack.h" 32 #include "util/time-utils.h" 35 #include "util/mem-info.h" 47 #include "util/mem-events.h" 48 #include "util/dump-insn.h" 70 #include <traceevent/event-parse.h> [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | prom_init.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 1996-2005 Paul Mackerras. 46 #include <asm/asm-prototypes.h> 47 #include <asm/ultravisor-api.h> 72 * On ppc32 we compile with -mrelocatable, which means that references 83 * arguments to call_prom should be 32-bit values. 216 * Error results ... some OF calls will return "-1" on error, some 222 #define PROM_ERROR (-1u) 236 return c1 < c2 ? -1 : 1; in prom_strcmp() 249 return -E2BIG; in prom_strscpy_pad() [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_edid.c | 3 * Copyright (c) 2007-2008 Intel Corporation 24 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 83 /* Force reduced-blanking timings for detailed modes */ 93 /* Non desktop display (i.e. HMD) */ 141 /* BOE model on HP Pavilion 15-n233sl reports 8 bpc, but is a 6 bpc panel */ 147 /* SDC panel of Lenovo B50-80 reports 8 bpc, but is a 6 bpc panel */ 157 /* Envision Peripherals, Inc. EN-7100e */ 175 /* LG Philips LCD LP154W01-A5 */ 181 /* Samsung SyncMaster 22[5-6]BW */ 185 /* Sony PVM-2541A does up to 12 bpc, but only reports max 8 bpc */ [all …]
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | atomfirmware.h | 6 * Description header file of general definitions for OS and pre-OS video drivers 31 * If a change in VBIOS/Driver/Tool's interface is only needed for pre-SoC15 products, then the chan… 115 ATOM_SCALER_DISABLE =0, /*scaler bypass mode, auto-center & no replication*/ 116 ATOM_SCALER_CENTER =1, //For Fudo, it's bypass and auto-center & auto replication 202 #define BIOS_VERSION_PREFIX "ATOMBIOSBK-AMD" 245 …tom_string_def atom_bios_string; //Signature to distinguish between Atombios and non-atombios, 604 uint32_t maco_pwrlimit_mw; // bomaco mode power limit in unit of m-watt 605 uint32_t usb_pwrlimit_mw; // power limit when USB is enable in unit of m-watt 636 uint32_t maco_pwrlimit_mw; // bomaco mode power limit in unit of m-watt 637 uint32_t usb_pwrlimit_mw; // power limit when USB is enable in unit of m-watt [all …]
|
/linux/arch/m68k/kernel/ |
H A D | head.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later 2 ** -*- mode: asm -*- 4 ** head.S -- This file contains the initial boot code for the 20 ** ++ Bjoern & Roman: ATARI-68040 support for the Medusa 23 ** Magnum- and FX-alternate ram 26 ** for linux-2.1.115 49 * 1) Remove register dependency through-out the file. 57 * write-ups on the structure of the file, and the features of the 61 * ------------------ 70 * actual per-machine specific code very simple. [all …]
|
/linux/include/uapi/drm/ |
H A D | i915_drm.h | 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 37 * subject to backwards-compatibility constraints. 43 * I915_L3_PARITY_UEVENT - Generated when the driver receives a parity mismatch 46 * track of these events, and if a specific cache-line seems to have a 48 * intel-gpu-tools. The value supplied with the event is always 1. 50 * I915_ERROR_UEVENT - Generated upon error detection, currently only via 57 * I915_RESET_UEVENT - Event is generated just before an attempt to reset the 66 * struct i915_user_extension - Base class for defining a chain of extensions 82 * .. code-block:: C 146 * usage of the surface (used for display scanout or not). [all …]
|
/linux/tools/include/uapi/drm/ |
H A D | i915_drm.h | 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 37 * subject to backwards-compatibility constraints. 43 * I915_L3_PARITY_UEVENT - Generated when the driver receives a parity mismatch 46 * track of these events, and if a specific cache-line seems to have a 48 * intel-gpu-tools. The value supplied with the event is always 1. 50 * I915_ERROR_UEVENT - Generated upon error detection, currently only via 57 * I915_RESET_UEVENT - Event is generated just before an attempt to reset the 66 * struct i915_user_extension - Base class for defining a chain of extensions 82 * .. code-block:: C 146 * usage of the surface (used for display scanout or not). [all …]
|
/linux/scripts/ |
H A D | get_maintainer.pl | 2 # SPDX-License-Identifier: GPL-2.0 11 # perl scripts/get_maintainer.pl [OPTIONS] -f <file> 23 use open qw(:std :encoding(UTF-8)); 44 my $email_git_since = "1-year-ago"; 45 my $email_hg_since = "-365"; 86 push(@penguin_chief, "Linus Torvalds:torvalds\@linux-foundation.org"); 87 #Andrew wants in on most everything - 2009/01/14 88 #push(@penguin_chief, "Andrew Morton:akpm\@linux-foundation.org"); 104 push(@signature_tags, "Signed-off-by:"); 105 push(@signature_tags, "Reviewed-by:"); [all …]
|
/linux/drivers/usb/misc/sisusbvga/ |
H A D | sisusbvga.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 3 * sisusb - usb kernel driver for SiS315(E) based USB2VGA dongles 57 /* Forward declarations / clean-up routines */ 66 kfree(sisusb->obuf[i]); in sisusb_free_buffers() 67 sisusb->obuf[i] = NULL; in sisusb_free_buffers() 69 kfree(sisusb->ibuf); in sisusb_free_buffers() 70 sisusb->ibuf = NULL; in sisusb_free_buffers() 78 usb_free_urb(sisusb->sisurbout[i]); in sisusb_free_urbs() 79 sisusb->sisurbout[i] = NULL; in sisusb_free_urbs() 81 usb_free_urb(sisusb->sisurbin); in sisusb_free_urbs() [all …]
|