/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/video/fbdev/ |
H A D | sm501fb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #include <linux/dma-mapping.h> 39 #include <linux/sm501-regs.h> 43 static char *fb_mode = "640x480-16@60"; 100 /* per-framebuffer private data */ 119 return var->xres + var->left_margin + in h_total() 120 var->right_margin + var->hsync_len; in h_total() 125 return var->yres + var->upper_margin + in v_total() 126 var->lower_margin + var->vsync_len; in v_total() 138 smc501_readl(info->regs); in sm501fb_sync_regs() [all …]
|
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 …]
|
/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> 75 struct pl111_drm_dev_private *priv = dev->dev_private; in pl111_modeset_init() 76 struct device_node *np = dev->dev->of_node; in pl111_modeset_init() [all …]
|
/linux/drivers/gpu/drm/panel/ |
H A D | panel-leadtek-ltk050h3146w.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/media-bus-format.h> 34 struct drm_panel panel; member 47 { 0x51, 0x85 }, /* VREG2OUT=-5V */ 230 { 0x85, 0x0D }, /* VGL clamp level (-10V) */ 234 { 0xB5, 0x07 }, /* GAMMA OP */ 235 { 0x31, 0x45 }, /* SOURCE OP */ 241 struct ltk050h3146w *panel_to_ltk050h3146w(struct drm_panel *panel) in panel_to_ltk050h3146w() argument 243 return container_of(panel, struct ltk050h3146w, panel); in panel_to_ltk050h3146w() 248 struct mipi_dsi_device *dsi = to_mipi_dsi_device(ctx->dev); in ltk050h3148w_init_sequence() [all …]
|
H A D | panel-ilitek-ili9881c.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2017-2018, Bootlin 29 enum ili9881c_op op; member 48 struct drm_panel panel; member 60 .op = ILI9881C_SWITCH_PAGE, \ 68 .op = ILI9881C_COMMAND, \ 398 ILI9881C_COMMAND_INSTR(0x6F, 0x33), /* pumping ratio VGH=5x VGL=-3x */ 399 ILI9881C_COMMAND_INSTR(0x8D, 0x1B), /* VGL clamp -10V */ 1226 static inline struct ili9881c *panel_to_ili9881c(struct drm_panel *panel) in panel_to_ili9881c() argument 1228 return container_of(panel, struct ili9881c, panel); in panel_to_ili9881c() [all …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_acpi.c | 1 // SPDX-License-Identifier: GPL-2.0 94 if (!pkg->package.count) { in intel_dsm_platform_mux_info() 99 connector_count = &pkg->package.elements[0]; in intel_dsm_platform_mux_info() 101 (unsigned long long)connector_count->integer.value); in intel_dsm_platform_mux_info() 102 for (i = 1; i < pkg->package.count; i++) { in intel_dsm_platform_mux_info() 103 union acpi_object *obj = &pkg->package.elements[i]; in intel_dsm_platform_mux_info() 107 if (obj->type != ACPI_TYPE_PACKAGE || obj->package.count < 2) { in intel_dsm_platform_mux_info() 112 connector_id = &obj->package.elements[0]; in intel_dsm_platform_mux_info() 113 info = &obj->package.elements[1]; in intel_dsm_platform_mux_info() 114 if (info->type != ACPI_TYPE_BUFFER || info->buffer.length < 4) { in intel_dsm_platform_mux_info() [all …]
|
H A D | intel_bios.c | 59 * blocks have a 1-byte Block ID, 2-byte Block Size, and Block Size bytes of 92 return _get_blocksize(block_data - 3); in get_blocksize() 105 index += bdb->header_size; in find_raw_section() 106 total = bdb->bdb_size; in find_raw_section() 138 return block - bdb; in raw_block_offset() 153 list_for_each_entry(entry, &display->vbt.bdb_blocks, node) { in bdb_find_section() 154 if (entry->section_id == section_id) in bdb_find_section() 155 return entry->data + 3; in bdb_find_section() 213 if (ptrs->panel_name.table_size) in lfp_data_min_size() 214 size = max(size, ptrs->panel_name.offset + in lfp_data_min_size() [all …]
|
/linux/drivers/char/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 6 obj-y += mem.o random.o 7 obj-$(CONFIG_TTY_PRINTK) += ttyprintk.o 8 obj-y += misc.o 9 obj-$(CONFIG_ATARI_DSP56K) += dsp56k.o 10 obj-$(CONFIG_VIRTIO_CONSOLE) += virtio_console.o 11 obj-$(CONFIG_UV_MMTIMER) += uv_mmtimer.o 12 obj-$(CONFIG_IBM_BSR) += bsr.o 14 obj-$(CONFIG_PRINTER) += lp.o 16 obj-$(CONFIG_APM_EMULATION) += apm-emulation.o [all …]
|
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/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/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/gpu/drm/ |
H A D | drm_connector.c | 51 * Hence they are reference-counted using drm_connector_get() and 67 * For connectors which are not fixed (like built-in panels) the driver needs to 76 * Note drm_connector_[un]register() first take connector->lock and then 94 { DRM_MODE_CONNECTOR_DVII, "DVI-I" }, 95 { DRM_MODE_CONNECTOR_DVID, "DVI-D" }, 96 { DRM_MODE_CONNECTOR_DVIA, "DVI-A" }, 103 { DRM_MODE_CONNECTOR_HDMIA, "HDMI-A" }, 104 { DRM_MODE_CONNECTOR_HDMIB, "HDMI-B" }, 132 * drm_get_connector_type_name - return a string for connector type 147 * drm_connector_get_cmdline_mode - reads the user's cmdline mode [all …]
|
/linux/Documentation/gpu/ |
H A D | todo.rst | 11 ---------- 29 Subsystem-wide refactorings 33 --------------------------------------------- 45 -------------------------------------------------- 53 non-converted driver. The "Atomic mode setting design overview" series [2]_ 60 .. [1] https://blog.ffwll.ch/2014/11/atomic-modeset-support-for-kms-drivers.html 69 --------------------------------------------------------- 75 avoid confusion - the other helpers in that file are all deprecated legacy 83 ---------------------------------- 88 - drm_plane_helper_funcs->atomic_check gets called for enabled or disabled [all …]
|
/linux/drivers/gpu/drm/display/ |
H A D | drm_dp_helper.c | 76 return link_status[r - DP_LANE0_1_STATUS]; in dp_link_status() 230 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_clock_recovery_delay_us() 231 aux->name, rd_interval); in __8b10b_clock_recovery_delay_us() 242 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x (max 4)\n", in __8b10b_channel_eq_delay_us() 243 aux->name, rd_interval); in __8b10b_channel_eq_delay_us() 255 drm_dbg_kms(aux->drm_dev, "%s: invalid AUX interval 0x%02x\n", in __128b132b_channel_eq_delay_us() 256 aux->name, rd_interval); in __128b132b_channel_eq_delay_us() 278 * - Clock recovery vs. channel equalization 279 * - DPRX vs. LTTPR 280 * - 128b/132b vs. 8b/10b [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 …]
|
H A D | am335x-sl50.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015 Toby Churchill - https://www.toby-churchill.com/ 6 /dts-v1/; 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 14 compatible = "tcl,am335x-sl50", "ti,am33xx"; 18 cpu0-supply = <&dcdc2_reg>; 28 stdout-path = &uart0; 32 compatible = "gpio-leds"; 33 pinctrl-names = "default"; [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/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 …]
|
/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 …]
|
/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/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 …]
|