| /linux/drivers/video/fbdev/ | 
| H A D | pxa168fb.c | 2  * linux/drivers/video/pxa168fb.c -- Marvell PXA168 LCD Controller7  *  2009-02-16  adapted from original version for PXA168/910
 27 #include <linux/dma-mapping.h>
 42 	if (var->bits_per_pixel == 8)  in determine_best_pix_fmt()
 48 	if (var->bits_per_pixel == 16 && var->red.length <= 5 &&  in determine_best_pix_fmt()
 49 	    var->green.length <= 6 && var->blue.length <= 5) {  in determine_best_pix_fmt()
 50 		if (var->transp.length == 0) {  in determine_best_pix_fmt()
 51 			if (var->red.offset >= var->blue.offset)  in determine_best_pix_fmt()
 57 		if (var->transp.length == 1 && var->green.length <= 5) {  in determine_best_pix_fmt()
 58 			if (var->red.offset >= var->blue.offset)  in determine_best_pix_fmt()
 [all …]
 
 | 
| H A D | pxafb.c | 5  *  Copyright (C) 2004 Jean-Frederic Clere.8  *   Based on sa1100fb.c Copyright (C) 1999 Eric A. Thomas
 10  *   Based on acornfb.c Copyright (C) Russell King.
 18  * Please direct your questions and comments on this driver to the following
 21  *	linux-arm-kernel@lists.arm.linux.org.uk
 23  * Add support for overlay1 and overlay2 based on pxafb_overlay.c:
 31  *   Copyright (C) 2006-2008 Marvell International Ltd.
 50 #include <linux/dma-mapping.h>
 68 #include <linux/platform_data/video-pxafb.h>
 76 #include "pxa3xx-regs.h"
 [all …]
 
 | 
| H A D | sa1100fb.c | 5  *   Based on acornfb.c Copyright (C) Russell King.13  * Please direct your questions and comments on this driver to the following
 16  *	linux-arm-kernel@lists.arm.linux.org.uk
 26  *	- With the Neponset plugged into an Assabet, LCD powerdown
 29  *	- We don't limit the CPU clock rate nor the mode selection
 33  *	- Linear grayscale palettes and the kernel.
 35  *	  drivers do not expect a linear colourmap, but a colourmap based on
 44  *	- The following must never be specified in a panel definition:
 47  *	- The following should be specified:
 57  *	- Driver appears to be working for Brutus 320x200x8bpp mode.  Other
 [all …]
 
 | 
| H A D | i740fb.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * i740fb - framebuffer driver for Intel740
 6  * Based on old i740fb driver (c) 2001-2002 Andrey Ulanov <drey@rt.mipt.ru>
 7  * which was partially based on:
 8  *  VGA 16-color framebuffer driver (c) 1999 Ben Pfaff <pfaffben@debian.org>
 10  *  i740 driver from XFree86 (c) 1998-1999 Precision Insight, Inc., Cedar Park,
 28 #include <linux/i2c-algo-bit.h>
 98 	vga_mm_w(par->regs, port, val);  in i740outb()
 102 	return vga_mm_r(par->regs, port);  in i740inb()
 106 	vga_mm_w_fast(par->regs, port, reg, val);  in i740outreg()
 [all …]
 
 | 
| H A D | udlfb.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * udlfb.c -- Framebuffer driver for DisplayLink USB controller
 9  * Layout is based on skeletonfb by James Simmons and Geert Uytterhoeven,
 10  * usb-skeleton by GregKH.
 12  * Device-specific portions based on information from Displaylink, with work
 48  * There are many DisplayLink-based graphics products, all with unique PIDs.
 49  * So we match on DisplayLink's VID + Vendor-Defined Interface Class (0xff)
 50  * We also require a match on SubClass (0x00) and Protocol (0x00),
 114  * ----- -----------------------------
 200 	while (actual_count--) {  in dlfb_lfsr16()
 [all …]
 
 | 
| H A D | pxa168fb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */5 /* ------------< LCD register >------------ */
 24 /* Video Starting Point on Screen Register */
 46 /* Graphic Starting Point on Screen Register */
 61 /* HW Cursor Starting Point on Screen Register */
 76 /* Total Screen Active Size Register */
 100 #define     CFG_HWC_COLOR1_G(green)		((green) << 8)  argument
 202    1. Smart Pannel 8-bit Bus Control Register.
 374 #define     CFG_INV_COMPSYNC(sync)		((sync) << 5)  argument
 465 /* read-only */
 
 | 
| H A D | uvesafb.c | 1 // SPDX-License-Identifier: GPL-2.0-only80 	if (msg->seq >= UVESAFB_TASKS_MAX)  in uvesafb_cn_callback()
 84 	task = uvfb_tasks[msg->seq];  in uvesafb_cn_callback()
 86 	if (!task || msg->ack != task->ack) {  in uvesafb_cn_callback()
 91 	utask = (struct uvesafb_task *)msg->data;  in uvesafb_cn_callback()
 94 	if (task->t.buf_len < utask->buf_len ||  in uvesafb_cn_callback()
 95 	    utask->buf_len > msg->len - sizeof(*utask)) {  in uvesafb_cn_callback()
 100 	uvfb_tasks[msg->seq] = NULL;  in uvesafb_cn_callback()
 103 	memcpy(&task->t, utask, sizeof(*utask));  in uvesafb_cn_callback()
 105 	if (task->t.buf_len && task->buf)  in uvesafb_cn_callback()
 [all …]
 
 | 
| H A D | smscufx.c | 1 // SPDX-License-Identifier: GPL-2.0-only3  * smscufx.c -- Framebuffer driver for SMSC UFX USB controller
 10  * Based on udlfb, with work from Florian Echtler, Henrik Bjerregaard Pedersen,
 13  * Works well with Bernie Thompson's X DAMAGE patch to xf86-video-fbdev
 16  * Layout is based on skeletonfb by James Simmons and Geert Uytterhoeven,
 17  * usb-skeleton by GregKH.
 52  * DisplayLink X server as yet - need both to be modified in tandem
 58 /* -BULK_SIZE as per usb-skeleton. Can we get full page and avoid overhead? */
 60 #define MAX_TRANSFER		(PAGE_SIZE*16 - BULK_SIZE)
 94 	struct device *gdev; /* &udev->dev */
 [all …]
 
 | 
| /linux/include/media/i2c/ | 
| H A D | tvp7002.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */2 /* Texas Instruments Triple 8-/10-BIT 165-/110-MSPS Video and Graphics
 6  * Author: Santiago Nunez-Corrales <santiago.nunez@ridgerun.com>
 19  * struct tvp7002_config - Platform dependent data
 21  *		0 - Data clocked out on rising edge of DATACLK signal
 22  *		1 - Data clocked out on falling edge of DATACLK signal
 24  *		0 - Active low HSYNC output, 1 - Active high HSYNC output
 26  *		0 - Active low VSYNC output, 1 - Active high VSYNC output
 27  *@fid_polarity: Active-high Field ID polarity.
 28  *		0 - The field ID output is set to logic 1 for an odd field
 [all …]
 
 | 
| /linux/include/uapi/linux/ | 
| H A D | fb.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */24 /* 0x4607-0x460B are defined below */
 52 #define FB_AUX_TEXT_SVGA_GROUP	8	/* 8-15: SVGA tileblit compatible modes */
 140 #define FB_ACCEL_SAVAGE3D_MV    0x82	/* S3 Savage3D-MV               */
 142 #define FB_ACCEL_SAVAGE_MX_MV   0x84	/* S3 Savage/MX-MV              */
 144 #define FB_ACCEL_SAVAGE_IX_MV   0x86	/* S3 Savage/IX-MV              */
 152 #define FB_ACCEL_PROSAVAGE_DDRK 0x8e	/* S3 ProSavage DDR-K           */
 154 #define FB_ACCEL_PUV3_UNIGFX	0xa0	/* PKUnity-v3 Unigfx		*/
 156 #define FB_CAP_FOURCC		1	/* Device supports FOURCC-based formats */
 196 #define FB_NONSTD_HAM		1	/* Hold-And-Modify (HAM)        */
 [all …]
 
 | 
| /linux/sound/usb/caiaq/ | 
| H A D | control.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later24 	struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card);  in control_info()
 25 	int pos = kcontrol->private_value;  in control_info()
 29 	uinfo->count = 1;  in control_info()
 32 	switch (cdev->chip.usb_id) {  in control_info()
 37 			uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;  in control_info()
 38 			uinfo->value.integer.min = 0;  in control_info()
 39 			uinfo->value.integer.max = 2;  in control_info()
 54 		uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER;  in control_info()
 55 		uinfo->value.integer.min = 0;  in control_info()
 [all …]
 
 | 
| /linux/Documentation/fb/ | 
| H A D | pxafb.rst | 10 	modprobe pxafb options=vmem:2M,mode:640x480-8,passive12 or on the kernel command line::
 14 	video=pxafb:vmem:2M,mode:640x480-8,passive
 21 mode:XRESxYRES[-BPP]
 47 	Display margins and sync times
 53 active | passive => LCCR0_PAS
 55 	Active (TFT) or Passive (STN) display
 67 	Horizontal and vertical sync. 0 => active low, 1 => active
 76 	Output Enable Polarity. 0 => active low, 1 => active high
 87   PXA27x and later processors support overlay1 and overlay2 on-top of the
 [all …]
 
 | 
| H A D | matroxfb.rst | 2 matroxfb - Framebuffer driver for Matrox devices5 This is a driver for a graphic framebuffer for Matrox devices on
 12  * You can run XF{68,86}_FBDev or XFree86 fbdev driver on top of /dev/fb0
 13  * Most important: boot logo :-)
 31 box) and matroxfb (for graphics mode). You should not compile-in vesafb
 32 unless you have primary display on non-Matrox VBE2.0 device (see
 40 -------------
 55 -------------------------
 70 ----------
 83 Non-listed number can be achieved by more complicated command-line, for
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/ti/omap/ | 
| H A D | am335x-pdu001.dts | 6  * Copyright (C) 2018 EETS GmbH - https://www.eets.ch/8  * Copyright (C) 2011, Texas Instruments, Incorporated - https://www.ti.com/
 10  * SPDX-License-Identifier:  GPL-2.0+
 13 /dts-v1/;
 16 #include <dt-bindings/interrupt-controller/irq.h>
 17 #include <dt-bindings/leds/leds-pca9532.h>
 24 		stdout-path = &uart3;
 29 			cpu0-supply = <&vdd1_reg>;
 39 		compatible = "regulator-fixed";
 40 		regulator-name = "vbat";
 [all …]
 
 | 
| H A D | am335x-nano.dts | 1 // SPDX-License-Identifier: GPL-2.0-only3  * Copyright (C) 2013 Newflow Ltd - https://www.newflow.co.uk/
 5 /dts-v1/;
 15 			cpu0-supply = <&dcdc2_reg>;
 25 		compatible = "gpio-leds";
 28 			label = "nanobone:green:usr1";
 30 			default-state = "off";
 36 	pinctrl-names = "default";
 37 	pinctrl-0 = <&misc_pins>;
 39 	misc_pins: misc-pins {
 [all …]
 
 | 
| /linux/drivers/net/fddi/skfp/ | 
| H A D | drvfbi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later26  * PCM active state
 44  *	|	  --------------------- the patched POS_ID of the Adapter
 49  *	+------------------------------ the patched oem_id must be
 66 #define	OEMID(smc,i)	smc->hw.oem_id->oi_id[i]
 129 		smc->hw.hw_is_64bit = TRUE ;  in card_start()
 131 		smc->hw.hw_is_64bit = FALSE ;  in card_start()
 137 	if (!smc->hw.hw_is_64bit) {  in card_start()
 144 	outp(ADDR(B0_LED),LED_GA_OFF|LED_MY_ON|LED_GB_OFF) ; /* ye LED on */  in card_start()
 150 	smc->hw.is_imask = ISR_MASK ;  in card_start()
 [all …]
 
 | 
| /linux/arch/arm/boot/dts/allwinner/ | 
| H A D | sun8i-r40-bananapi-m2-ultra.dts | 2  * Copyright (C) 2017 Chen-Yu Tsai <wens@csie.org>5  * This file is dual-licensed: you can use it either under the terms
 44 /dts-v1/;
 45 #include "sun8i-r40.dtsi"
 46 #include "sun8i-r40-cpu-opp.dtsi"
 48 #include <dt-bindings/gpio/gpio.h>
 51 	model = "Banana Pi BPI-M2-Ultra";
 52 	compatible = "sinovoip,bpi-m2-ultra", "allwinner,sun8i-r40";
 60 		stdout-path = "serial0:115200n8";
 64 		compatible = "hdmi-connector";
 [all …]
 
 | 
| H A D | sun8i-v40-bananapi-m2-berry.dts | 4  * This file is dual-licensed: you can use it either under the terms43 /dts-v1/;
 44 #include "sun8i-r40.dtsi"
 45 #include "sun8i-r40-cpu-opp.dtsi"
 47 #include <dt-bindings/gpio/gpio.h>
 51 	compatible = "sinovoip,bpi-m2-berry", "allwinner,sun8i-r40";
 59 		stdout-path = "serial0:115200n8";
 63 		compatible = "hdmi-connector";
 68 				remote-endpoint = <&hdmi_out_con>;
 74 		compatible = "gpio-leds";
 [all …]
 
 | 
| /linux/drivers/video/fbdev/savage/ | 
| H A D | savagefb_driver.c | 2  * linux/drivers/video/savagefb.c -- S3 Savage Framebuffer Driver4  * Copyright (c) 2001-2002  Denis Oliver Kropp <dok@directfb.org>
 8  * Card specific code is based on XFree86's savage driver.
 9  * Framebuffer framework code is based on code of cyber2000fb and tdfxfb.
 16  *  - hardware accelerated clear and move
 19  *  - wait for vertical retrace before writing to cr67
 21  *  - use synchronization registers cr23 and cr26
 24  *  - reset 3D engine
 25  *  - don't return alpha bits for 32bit format
 28  *  - added WaitIdle functions for all Savage types
 [all …]
 
 | 
| /linux/drivers/isdn/hardware/mISDN/ | 
| H A D | hfcmulti.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later3  * hfcmulti.c  low level driver for hfc-4s/hfc-8s/hfc-e1 based cards
 7  *		Peter Sprenger (sprengermoving-bytes.de)
 9  * inspired by existing hfc-pci driver:
 10  * Copyright 1999  by Werner Cornelius (werner@isdn-development.de)
 22  *	Bit 0-7   = 0x00001 = HFC-E1 (1 port)
 23  * or	Bit 0-7   = 0x00004 = HFC-4S (4 ports)
 24  * or	Bit 0-7   = 0x00008 = HFC-8S (8 ports)
 26  *	Bit 9     = 0x00200 = Disable DTMF detect on all B-channels via hardware
 38  *	example: 0x20204 one HFC-4S with dtmf detection and 128 timeslots on PCM
 [all …]
 
 | 
| /linux/drivers/gpu/drm/armada/ | 
| H A D | armada_crtc.c | 1 // SPDX-License-Identifier: GPL-2.0-only36  * This is how it is defined by CEA-861-D - line and pixel numbers are
 38  * line: 2640.  The odd frame, the first active line is at line 21, and
 39  * the even frame, the first active line is 584.
 54  * referenced to the top left of the active frame.
 57  *  Odd frame, 563 total lines, VSYNC at line 543-548, pixel 1128.
 58  *  Even frame, 562 total lines, VSYNC at line 542-547, pixel 2448.
 62  *   vtotal = mode->crtc_vtotal + 1;
 63  *   vbackporch = mode->crtc_vsync_start - mode->crtc_vdisplay + 1;
 64  *   vhorizpos = mode->crtc_hsync_start - mode->crtc_htotal / 2
 [all …]
 
 | 
| /linux/Documentation/networking/ | 
| H A D | tls-offload.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)13 For details regarding the user-facing interface refer to the TLS
 18  * Software crypto mode (``TLS_SW``) - CPU handles the cryptography.
 20    can be used, but depending on calling context CPU may utilize
 22    latency on socket reads (decryption only starts when a read syscall
 23    is made) and additional I/O load on the system.
 24  * Packet-based NIC offload mode (``TLS_HW``) - the NIC handles crypto
 25    on a packet by packet basis, provided the packets arrive in order.
 28    (``ethtool`` flags ``tls-hw-tx-offload`` and ``tls-hw-rx-offload``).
 29  * Full TCP NIC offload mode (``TLS_HW_RECORD``) - mode of operation where
 [all …]
 
 | 
| /linux/drivers/media/i2c/ | 
| H A D | saa7185.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later3  * saa7185 - Philips SAA7185B video encoder driver version 0.0.3
 11  *    - moved over to linux>=2.4.x i2c protocol (1/1/2003)
 21 #include <media/v4l2-device.h>
 29 MODULE_PARM_DESC(debug, "Debug level (0-1)");
 32 /* ----------------------------------------------------------------------- */
 46 /* ----------------------------------------------------------------------- */
 61 	encoder->reg[reg] = value;  in saa7185_write()
 70 	int ret = -1;  in saa7185_write_block()
 75 	if (i2c_check_functionality(client->adapter, I2C_FUNC_I2C)) {  in saa7185_write_block()
 [all …]
 
 | 
| /linux/arch/arm64/boot/dts/rockchip/ | 
| H A D | rk3566-lckfb-tspi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)3 /dts-v1/;
 5 #include <dt-bindings/gpio/gpio.h>
 6 #include <dt-bindings/input/input.h>
 7 #include <dt-bindings/leds/common.h>
 8 #include <dt-bindings/pinctrl/rockchip.h>
 9 #include <dt-bindings/soc/rockchip,vop2.h>
 10 #include <dt-bindings/soc/rockchip,boot-mode.h>
 15 	compatible = "lckfb,tspi-rk3566", "rockchip,rk3566";
 24 		stdout-path = "serial2:1500000n8";
 [all …]
 
 | 
| /linux/drivers/gpu/drm/vc4/ | 
| H A D | vc4_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */3  *  Copyright © 2014-2015 Broadcom
 24 		WARN_ON(!FIELD_FIT(hvs->vc4->gen == VC4_GEN_6_C ?	\
 27 		FIELD_PREP(hvs->vc4->gen == VC4_GEN_6_C ?		\
 32 #define VC6_GET_FIELD(word, field) FIELD_GET(hvs->vc4->gen == VC4_GEN_6_C ?	\
 258 /* Enables Display 0 end-of-line-N contribution to
 273 /* Enables interrupt generation on the enabled EOF/EOLN/EISLUR
 277 /* Enables interrupt generation on scaler profiler interrupt. */
 309 /* Set on AXI invalid DMA ID error. */
 311 /* Set on AXI slave read decode error */
 [all …]
 
 |