| /linux/Documentation/devicetree/bindings/input/ |
| H A D | ibm,op-panel.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/ibm,op-panel.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: IBM Operation Panel 10 - Eddie James <eajames@linux.ibm.com> 13 - $ref: input.yaml# 16 The IBM Operation Panel provides a simple interface to control the connected 22 const: ibm,op-panel 32 - compatible [all …]
|
| /linux/drivers/input/misc/ |
| H A D | ibm-panel.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #define DEVICE_NAME "ibm-panel" 26 static u8 ibm_panel_calculate_checksum(struct ibm_panel *panel) in ibm_panel_calculate_checksum() argument 32 for (i = 0; i < sizeof(panel->command) - 1; ++i) { in ibm_panel_calculate_checksum() 33 sum += panel->command[i]; in ibm_panel_calculate_checksum() 47 static void ibm_panel_process_command(struct ibm_panel *panel) in ibm_panel_process_command() argument 52 if (panel->command[0] != 0xff && panel->command[1] != 0xf0) { in ibm_panel_process_command() 53 dev_dbg(&panel->input->dev, "command invalid: %02x %02x\n", in ibm_panel_process_command() 54 panel->command[0], panel->command[1]); in ibm_panel_process_command() 58 chksum = ibm_panel_calculate_checksum(panel); in ibm_panel_process_command() [all …]
|
| /linux/drivers/video/fbdev/mmp/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/dma-mapping.h> 19 if (path && overlay_id < path->overlay_num) in path_get_overlay() 20 return &path->overlays[overlay_id]; in path_get_overlay() 27 for (i = 0; i < path->overlay_num; i++) in path_check_status() 28 if (path->overlays[i].status) in path_check_status() 37 * this function fetches modelist from phy/panel: 39 * or get from panel 46 if (path->panel && path->panel->get_modelist) in path_get_modelist() 47 return path->panel->get_modelist(path->panel, modelist); in path_get_modelist() [all …]
|
| /linux/drivers/gpu/drm/pl111/ |
| H A D | pl111_drv.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) COPYRIGHT 2012-2013 ARM Limited. All rights reserved. 7 * Copyright (c) 2006-2008 Intel Corporation 29 * - Fix race between setting plane base address and getting IRQ for 32 * - Read back hardware state at boot to skip reprogramming the 33 * hardware when doing a no-op modeset. 35 * - Use the CLKSEL bit to support switching between the two external 40 #include <linux/dma-buf.h> 76 struct pl111_drm_dev_private *priv = dev->dev_private; in pl111_modeset_init() 77 struct device_node *np = dev->dev->of_node; in pl111_modeset_init() [all …]
|
| /linux/arch/arm/boot/dts/ti/davinci/ |
| H A D | da850-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 12 compatible = "ti,da850-evm", "ti,da850"; 13 model = "DA850/AM1808/OMAP-L138 EVM"; 16 stdout-path = &serial2; 27 backlight: backlight-pwm { 28 pinctrl-names = "default"; 29 pinctrl-0 = <&ecap2_pins>; [all …]
|
| /linux/drivers/char/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 28 int "ttyprintk log level (1-7)" 42 Also read the Printing-HOWTO, available from 50 <file:Documentation/admin-guide/parport.rst>. The module will be called lp. 79 tristate "Support for user-space parallel port device drivers" 84 port, for instance deviceid (which displays Plug-and-Play device 88 It is safe to say N to this -- it is not needed for normal printing 89 or parallel port CD-ROM/disk support. 104 Also serves as a general-purpose serial device for data 122 tristate "IBM POWERNV Operator Panel Display support" [all …]
|
| /linux/sound/pci/oxygen/ |
| H A D | xonar_dg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * ------------ 18 * SPI 0 -> CS4245 21 * I²S 1 -> CS4245 22 * I²S 2 -> CS4361 (center/LFE) 23 * I²S 3 -> CS4361 (surround) 24 * I²S 4 -> CS4361 (front) 26 * I²S ADC 1 <- CS4245 28 * GPIO 3 <- ? 29 * GPIO 4 <- headphone detect [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | xilinxfb.c | 7 * 2002-2007 (c) MontaVista Software, Inc. 32 #include <linux/dma-mapping.h> 92 /* Physical address of framebuffer memory; If non-zero, driver 169 if (drvdata->flags & BUS_ACCESS_FLAG) { in xilinx_fb_out32() 170 if (drvdata->flags & LITTLE_ENDIAN_ACCESS) in xilinx_fb_out32() 171 iowrite32(val, drvdata->regs + (offset << 2)); in xilinx_fb_out32() 173 iowrite32be(val, drvdata->regs + (offset << 2)); in xilinx_fb_out32() 177 dcr_write(drvdata->dcr_host, offset, val); in xilinx_fb_out32() 183 if (drvdata->flags & BUS_ACCESS_FLAG) { in xilinx_fb_in32() 184 if (drvdata->flags & LITTLE_ENDIAN_ACCESS) in xilinx_fb_in32() [all …]
|
| H A D | broadsheetfb.c | 2 * broadsheetfb.c -- FB driver for E-Ink Broadsheet controller 37 /* track panel specific parameters */ 51 /* table of panel specific parameters to be indexed into by the board drivers */ 121 par->board->set_ctl(par, BS_WR, 0); in broadsheet_gpio_issue_data() 122 par->board->set_hdb(par, data); in broadsheet_gpio_issue_data() 123 par->board->set_ctl(par, BS_WR, 1); in broadsheet_gpio_issue_data() 128 par->board->set_ctl(par, BS_DC, 0); in broadsheet_gpio_issue_cmd() 134 par->board->wait_for_rdy(par); in broadsheet_gpio_send_command() 136 par->board->set_ctl(par, BS_CS, 0); in broadsheet_gpio_send_command() 138 par->board->set_ctl(par, BS_DC, 1); in broadsheet_gpio_send_command() [all …]
|
| /linux/arch/arm/boot/dts/ti/omap/ |
| H A D | am335x-pepper.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014 Gumstix, Inc. - https://www.gumstix.com/ 5 /dts-v1/; 7 #include <dt-bindings/input/input.h> 12 compatible = "gumstix,am335x-pepper", "ti,am33xx"; 16 cpu0-supply = <&dcdc3_reg>; 26 compatible = "gpio-keys"; 29 leds: user-leds-pins { 30 compatible = "gpio-leds"; 33 panel: lcd_panel { label [all …]
|
| /linux/drivers/gpu/vga/ |
| H A D | vga_switcheroo.c | 2 * vga_switcheroo.c - Support for laptop with dual GPU using one set of outputs 33 #include <linux/apple-gmux.h> 63 * Muxes come with varying capabilities: Some switch only the panel, others 71 * handler to control the power state of the discrete GPU, its ->switchto 72 * callback is a no-op for obvious reasons. The discrete GPU is often equipped 83 * it will be unable to probe the panel's EDID and hence depends on 93 * struct vga_switcheroo_client - registered client 105 * interface is a no-op so as not to interfere with runtime pm 131 * struct vgasr_priv - vga_switcheroo private data 166 #define client_is_audio(c) ((c)->id & ID_BIT_AUDIO) [all …]
|
| /linux/arch/arm64/boot/dts/mediatek/ |
| H A D | mt8395-genio-1200-evk.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/mt8195-pinfunc.h> 15 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> 16 #include <dt-bindings/spmi/spmi.h> 17 #include <dt-bindings/usb/pd.h> 20 model = "MediaTek Genio 1200 EVK-P1V2-EMMC"; [all …]
|
| H A D | mt8390-genio-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Author: Chris Chen <chris-qj.chen@mediatek.com> 9 * Louis-Alexis Eyraud <louisalexis.eyraud@collabora.com> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/interrupt-controller/irq.h> 17 #include <dt-bindings/pinctrl/mediatek,mt8188-pinfunc.h> 18 #include <dt-bindings/regulator/mediatek,mt6360-regulator.h> 19 #include <dt-bindings/spmi/spmi.h> 20 #include <dt-bindings/usb/pd.h> [all …]
|
| H A D | mt8365-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2021-2022 BayLibre, SAS. 10 /dts-v1/; 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 14 #include <dt-bindings/pinctrl/mt8365-pinfunc.h> 20 compatible = "mediatek,mt8365-evk", "mediatek,mt8365"; 28 stdout-path = "serial0:921600n8"; 32 compatible = "hdmi-connector"; 37 #address-cells = <1>; [all …]
|
| /linux/drivers/gpu/drm/bridge/analogix/ |
| H A D | anx7625.c | 1 // SPDX-License-Identifier: GPL-2.0-only 35 #include <media/v4l2-fwnode.h> 36 #include <sound/hdmi-codec.h> 50 struct device *dev = &client->dev; in i2c_access_workaround() 53 if (client == ctx->last_client) in i2c_access_workaround() 56 ctx->last_client = client; in i2c_access_workaround() 58 if (client == ctx->i2c.tcpc_client) in i2c_access_workaround() 60 else if (client == ctx->i2c.tx_p0_client) in i2c_access_workaround() 62 else if (client == ctx->i2c.tx_p1_client) in i2c_access_workaround() 64 else if (client == ctx->i2c.rx_p0_client) in i2c_access_workaround() [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399-pinebook-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/linux-event-codes.h> 11 #include <dt-bindings/pwm/pwm.h> 12 #include <dt-bindings/usb/pd.h> 13 #include <dt-bindings/leds/common.h> 18 compatible = "pine64,pinebook-pro", "rockchip,rk3399"; 19 chassis-type = "laptop"; 28 stdout-path = "serial2:1500000n8"; [all …]
|
| H A D | rk3399-firefly.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/usb/pd.h> 14 model = "Firefly-RK3399 Board"; 15 compatible = "firefly,firefly-rk3399", "rockchip,rk3399"; 25 stdout-path = "serial2:1500000n8"; 29 compatible = "pwm-backlight"; [all …]
|
| H A D | rk3588s-evb1-v10.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/pinctrl/rockchip.h> 12 #include <dt-bindings/soc/rockchip,vop2.h> 13 #include <dt-bindings/usb/pd.h> 18 compatible = "rockchip,rk3588s-evb1-v10", "rockchip,rk3588s"; 26 stdout-path = "serial2:1500000n8"; 29 adc-keys { [all …]
|
| /linux/arch/arm/boot/dts/aspeed/ |
| H A D | aspeed-bmc-ibm-bonnell.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,bonnell-bmc", "aspeed,ast2600"; 23 stdout-path = &uart5; 32 reserved-memory { 33 #address-cells = <1>; [all …]
|
| H A D | aspeed-bmc-opp-tacoma.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 /dts-v1/; 5 #include "aspeed-g6.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "ibm,tacoma-bmc", "aspeed,ast2600"; 15 stdout-path = &uart5; 24 reserved-memory { 25 #address-cells = <1>; [all …]
|
| /linux/drivers/video/fbdev/via/ |
| H A D | viafbdev.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved. 4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 13 #include <linux/via-core.h> 50 * VIA_6C can be onle pre-CX700 (probably only on CLE266) as 6C is used for PLL 76 var->grayscale = 0; in viafb_fill_var_color_info() 77 var->red.msb_right = 0; in viafb_fill_var_color_info() 78 var->green.msb_right = 0; in viafb_fill_var_color_info() 79 var->blue.msb_right = 0; in viafb_fill_var_color_info() 80 var->transp.offset = 0; in viafb_fill_var_color_info() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-lenovo.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * - ThinkPad USB Keyboard with TrackPoint (tpkbd) 5 * - ThinkPad Compact Bluetooth Keyboard with TrackPoint (cptkbd) 6 * - ThinkPad Compact USB Keyboard with TrackPoint (cptkbd) 7 * - ThinkPad TrackPoint Keyboard II USB/Bluetooth (cptkbd/tpIIkbd) 13 * - IBM Scrollpoint III 14 * - IBM Scrollpoint Pro 15 * - IBM Scrollpoint Optical 16 * - IBM Scrollpoint Optical 800dpi 17 * - IBM Scrollpoint Optical 800dpi Pro [all …]
|
| /linux/drivers/video/backlight/ |
| H A D | tdo24m.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * tdo24m - SPI-based drivers for Toppoly TDO24M series LCD panels 44 #define CMD_NULL (-1) 148 CMD1(0x3a, 0x60), /* Display mode 18-bit RGB */ 153 CMD1(0xb4, 0x02), /* Op amp/system clock */ 176 struct spi_transfer *x = &lcd->xfer; in tdo24m_writes() 182 if (!lcd->color_invert && *p == CMD0(0x21)) in tdo24m_writes() 187 data = *p << (7 - nparams); in tdo24m_writes() 190 lcd->buf[0] = (data >> 8) & 0xff; in tdo24m_writes() 191 lcd->buf[1] = data & 0xff; in tdo24m_writes() [all …]
|
| /linux/drivers/platform/x86/ |
| H A D | fujitsu-laptop.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /*-*-linux-c-*-*/ 10 Adrian Yee <brewt-fujitsu@brewt.org> 12 Templated from msi-laptop.c and thinkpad_acpi.c which is copyright 18 * fujitsu-laptop.c - Fujitsu laptop support, providing access to additional 22 * This driver implements a vendor-specific backlight control interface for 27 * P8010. It should work on most P-series and S-series Lifebooks, but 47 #include <linux/input/sparse-keymap.h> 69 /* FUNC interface - command values */ 75 /* FUNC interface - responses */ [all …]
|
| /linux/Documentation/networking/ |
| H A D | switchdev.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 Copyright |copy| 2014-2015 Scott Feldman <sfeldma@gmail.com> 14 The Ethernet switch device driver model (switchdev) is an in-kernel driver 19 an example setup using a data-center-class switch ASIC chip. Other setups 20 with SR-IOV or soft switches, such as OVS, are possible. 25 User-space tools 28 +-------------------------------------------------------------------+ 31 +--------------+-------------------------------+ 35 +----------------------------------------------+ 41 +--+----+----+----+----+----+---+ +-----+-----+ [all …]
|