/linux/drivers/video/fbdev/aty/ |
H A D | mach64_accel.c | 1 // SPDX-License-Identifier: GPL-2.0 46 /* enable engine */ in aty_reset_engine() 54 par->fifo_space = 0; in aty_reset_engine() 73 pitch_value = info->fix.line_length / (info->var.bits_per_pixel / 8); in aty_init_engine() 74 vxres = info->var.xres_virtual; in aty_init_engine() 76 if (info->var.bits_per_pixel == 24) { in aty_init_engine() 77 /* In 24 bpp, the engine is in 8 bpp - this requires that all */ in aty_init_engine() 87 /* Reset engine, enable, and clear any engine errors */ in aty_init_engine() 89 /* Ensure that vga page pointers are set to zero - the upper */ in aty_init_engine() 95 /* ---- Setup standard engine context ---- */ in aty_init_engine() [all …]
|
/linux/arch/sh/include/asm/ |
H A D | hd64461.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 /* Area 6 - Slot 0 - memory and/or IO card */ 24 /* Area 5 - Slot 1 - memory card only */ 86 #define HD64461_CPTWAR HD64461_IO_OFFSET(0x1030) /* Color Palette Write Address Register */ 87 #define HD64461_CPTWDR HD64461_IO_OFFSET(0x1032) /* Color Palette Write Data Register */ 88 #define HD64461_CPTRAR HD64461_IO_OFFSET(0x1034) /* Color Palette Read Address Register */ 89 #define HD64461_CPTRDR HD64461_IO_OFFSET(0x1036) /* Color Palette Read Data Register */ 92 #define HD64461_GRSCR HD64461_IO_OFFSET(0x1042) /* Solid Color Register */ 126 /* Maps to Physical Area 6 */ 130 …ine HD64461_PCC0CSCIER HD64461_IO_OFFSET(0x2006) /* socket 0 card status change interrupt enable */ [all …]
|
/linux/drivers/video/fbdev/ |
H A D | skeletonfb.c | 2 * linux/drivers/video/skeletonfb.c -- Skeleton for a frame buffer device 61 * Even less warranty that it actually works :-) 107 * This allows when one display changes it video resolution (info->var) 136 * xxxfb_open - Optional function. Called when the framebuffer is 155 * xxxfb_release - Optional function. Called when the framebuffer 174 * xxxfb_check_var - Optional function. Validates a var passed in. 191 * function must return -EINVAL. 196 * a copy of the currently working var (info->var). Better is to not 204 * contents of info->var must be left untouched at all times after 216 * xxxfb_set_par - Optional function. Alters the hardware state. [all …]
|
H A D | tgafb.c | 2 * linux/drivers/video/tgafb.c -- DEC 21030 TGA frame buffer device 37 #define TGA_BUS_TC(dev) (dev->bus == &tc_bus_type) 118 return tgafb_register(&pdev->dev); in tgafb_pci_register() 123 tgafb_unregister(&pdev->dev); in tgafb_pci_unregister() 135 { "DEC ", "PMAGD-AA" }, 169 * tgafb_check_var - Optional function. Validates a var passed in. 176 struct tga_par *par = (struct tga_par *)info->par; in tgafb_check_var() 178 if (!var->pixclock) in tgafb_check_var() 179 return -EINVAL; in tgafb_check_var() 181 if (par->tga_type == TGA_TYPE_8PLANE) { in tgafb_check_var() [all …]
|
H A D | stifb.c | 2 * linux/drivers/video/stifb.c - 6 * Copyright (C) 2001-2006 Helge Deller <deller@gmx.de> 10 * - linux/drivers/video/artistfb.c -- Artist frame buffer driver 12 * - based on skeletonfb, which was 14 * - HP Xhp cfb-based X11 window driver for XFree86 15 * (c)Copyright 1992 Hewlett-Packard Co. 20 * HPA4070A known as "HCRX", a 1280x1024 color device with 8 planes 21 * HPA4071A known as "HCRX24", a 1280x1024 color device with 24 planes, 23 * HPA1659A known as "CRX", a 1280x1024 color device with 8 planes 24 * HPA1439A known as "CRX24", a 1280x1024 color device with 24 planes, [all …]
|
H A D | s1d13xxxfb.c | 4 * (c) 2005 Thibaut VARENE <varenet@parisc-linux.org> 14 * TODO: - handle dual screen display (CRT and LCD at the same time). 15 * - check_var(), mode change, etc. 16 * - probably not SMP safe :) 17 * - support all bitblt operations on all cards 43 * set this to enable debugging on general functions 52 * set this to enable debugging on 2D acceleration 99 return readb(par->regs + regno); in s1d13xxxfb_readreg() 105 writeb(value, par->regs + regno); in s1d13xxxfb_writereg() 129 lcd_enable(struct s1d13xxxfb_par *par, int enable) in lcd_enable() argument [all …]
|
H A D | pm3fb.c | 2 * linux/drivers/video/pm3fb.c -- 3DLabs Permedia3 frame buffer device 10 * Sven Luther, <luther@dpt-info.u-strasbg.fr> 16 * Copyright (C) 1998-1999 Ilario Nardinocchi (nardinoc@CS.UniBO.IT) 97 return fb_readl(par->v_regs + off); in PM3_READ_REG() 102 fb_writel(v, par->v_regs + off); in PM3_WRITE_REG() 161 ? reqclock - freq in pm3fb_calculate_clock() 162 : freq - reqclock; in pm3fb_calculate_clock() 176 if (var->bits_per_pixel == 16) in pm3fb_depth() 177 return var->red.length + var->green.length in pm3fb_depth() 178 + var->blue.length; in pm3fb_depth() [all …]
|
H A D | amifb.c | 2 * linux/drivers/video/amifb.c -- Amiga builtin chipset frame buffer device 4 * Copyright (C) 1995-2003 Geert Uytterhoeven 30 * - 24 Jul 96: Copper generates now vblank interrupt and 32 * - 14 Jul 96: Rework and hopefully last ECS bugs fixed 33 * - 7 Mar 96: Hardware sprite support by Roman Zippel 34 * - 18 Feb 96: OCS and ECS support by Roman Zippel 36 * - 2 Dec 95: AGA version by Geert Uytterhoeven 107 --------------------- 111 +----------+---------------------------------------------+----------+-------+ 115 +----------###############################################----------+-------+ [all …]
|
H A D | pm2fb.c | 8 * Copyright (c) 1998-2000 Ilario Nardinocchi (nardinoc@CS.UniBO.IT) 14 * I have a Creative Graphics Blaster Exxtreme card - pm2fb on x86. I 16 * hopefully other big-endian) devices now work, thanks to a lot of 71 * support on TVP4010 and similar where there is no RAMDAC - see 74 * fixed-frequency monitor which absolutely has to have -ve sync. So 76 * should be silently turned in -ve sync. 128 .height = -1, 129 .width = -1, 147 return fb_readl(p->v_regs + off); in pm2_RD() 152 fb_writel(v, p->v_regs + off); in pm2_WR() [all …]
|
H A D | tdfxfb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 14 * I2C part copied from the i2c-voodoo3.c driver by: 17 * Ralph Metzler <rjkm@thp.uni-koeln.de>, and 45 * - multihead support (basically need to support an array of fb_infos) 46 * - support other architectures (PPC, Alpha); does the fact that the VGA 52 * 0.1.4 (released 2002-05-28) ported over to new fbdev api by James Simmons 54 * 0.1.3 (released 1999-11-02) added Attila's panning support, code 60 * 0.1.2 (released 1999-10-19) added Attila Kesmarki's bug fixes and 62 * 0.1.1 (released 1999-10-07) added Voodoo3 support by Harold Oga. 63 * 0.1.0 (released 1999-10-06) initial version [all …]
|
H A D | ffb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 152 /* Area pattern */ 168 /* Color (BGR) source */ 338 #define FFB_DAC_UCTRL_MANREV 0x00000f00 /* 4-bit Manufacturing Revision */ 341 #define FFB_DAC_TGEN_VIDE 0x00000001 /* Video Enable */ 379 int cache = par->fifo_cache; in FFBFifo() 381 if (cache - n < 0) { in FFBFifo() 382 fbc = par->fbc; in FFBFifo() 384 cache = (upa_readl(&fbc->ucsr) & FFB_UCSR_FIFO_MASK); in FFBFifo() 385 cache -= 8; in FFBFifo() [all …]
|
H A D | dnfb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 * deals with control 1 and 3b deals with Color LUT reg. 32 #define AP_WRITE_ENABLE isaIO2mem(AP_IOBASE+0) /* Write Enable Register Write */ 76 #define S_DATA_1s 0x00 /* 00xx.xxxx */ /* set source to all 1's -- vector drawing */ 77 #define S_DATA_PIX 0x40 /* 01xx.xxxx */ /* takes source from ls-bits and replicates over 16 bits */ 78 #define S_DATA_PLN 0xC0 /* 11xx.xxxx */ /* normal, each data access =16-bits in 84 /* ROP REG - all one nibble */ 109 static void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area); 127 .height = -1, 128 .width = -1, [all …]
|
H A D | hpfb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * DIO-II, colour map and Catseye support by 6 * Kars de Jong <jongk@linux-m68k.org>, May 2004. 71 .height = -1, 72 .width = -1, 87 * Set a single color register. The values supplied are in hpfb_setcolreg() 93 if (regno >= info->cmap.len) in hpfb_setcolreg() 146 static void hpfb_copyarea(struct fb_info *info, const struct fb_copyarea *area) in hpfb_copyarea() argument 148 topcat_blit(area->sx, area->sy, area->dx, area->dy, area->width, area->height, RR_COPY); in hpfb_copyarea() 155 clr = region->color & 0xff; in hpfb_fillrect() [all …]
|
H A D | imsttfb.c | 2 * drivers/video/imsttfb.c -- frame buffer device for IMS TwinTurbo 40 #define eieio() /* Enforce In-order Execution of I/O */ 148 CURSACCTL = 0x37, /* () Advanced Cursor Control Enable */ 159 BORDR = 0x60, /* () Border Color Red */ 160 BORDG = 0x61, /* () Border Color Green */ 161 BORDB = 0x62, /* () Border Color Blue */ 172 TVPPMASK = 0x08, /* 2 Pixel Read-Mask */ 174 TVPCADRW = 0x10, /* 4 Cursor/Overscan Color Write Address */ 175 TVPCDATA = 0x14, /* 5 Cursor/Overscan Color Data */ 177 TVPCADRR = 0x1c, /* 7 Cursor/Overscan Color Read Address */ [all …]
|
/linux/Documentation/gpu/amdgpu/display/ |
H A D | display-contributing.rst | 4 AMDGPU - Display Contributions 21 - https://gitlab.freedesktop.org/drm/amd 37 issue; it is necessary to analyze case-by-case. 41 .. _IGT: https://gitlab.freedesktop.org/drm/igt-gpu-tools 47 ------------------------ 49 Enable the W1 or W2 warning level in the kernel compilation and try to fix the 55 ------------------------------------------------- 57 Linux has a User-mode Linux (UML) feature, and the kernel can be compiled to 60 area that we need to fix. 68 ----------------------------------------------------------- [all …]
|
/linux/drivers/staging/media/atomisp/include/linux/ |
H A D | atomisp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 36 * buffer has a per-frame parameter. 107 /* [BQ] 0..63 start position of OB area (relevant for raster mode) */ 109 /* [BQ] start..63 end position of OB area (relevant for raster mode) */ 119 /* [gain] The strength of sharpness in pell-mell area. u5_11 */ 158 u32 enable; member 174 u32 enable; member 266 unsigned int gr; /* unsigned <integer_bits>.<16-integer_bits> */ 267 unsigned int r; /* unsigned <integer_bits>.<16-integer_bits> */ 268 unsigned int b; /* unsigned <integer_bits>.<16-integer_bits> */ [all …]
|
/linux/arch/arm64/boot/dts/renesas/ |
H A D | r8a779f0-spider-cpu.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/leds/common.h> 15 compatible = "renesas,spider-cpu", "renesas,r8a779f0"; 30 stdout-path = "serial0:1843200n8"; 34 compatible = "gpio-leds"; 36 led-7 { 38 color = <LED_COLOR_ID_GREEN>; 40 function-enumerator = <7>; 43 led-8 { [all …]
|
H A D | white-hawk-cpu-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 27 stdout-path = "serial0:921600n8"; 30 sn65dsi86_refclk: clk-x6 { 31 compatible = "fixed-clock"; 32 #clock-cells = <0>; 33 clock-frequency = <38400000>; 37 compatible = "gpio-keys"; [all …]
|
/linux/include/uapi/drm/ |
H A D | drm_fourcc.h | 39 * further describe the buffer's format - for example tiling or compression. 42 * --------- [all...] |
/linux/Documentation/devicetree/bindings/display/ |
H A D | solomon,ssd1307fb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Maxime Ripard <mripard@kernel.org> 11 - Javier Martinez Canillas <javierm@redhat.com> 17 - enum: 18 - solomon,ssd1305fb-i2c 19 - solomon,ssd1306fb-i2c 20 - solomon,ssd1307fb-i2c 21 - solomon,ssd1309fb-i2c [all …]
|
/linux/mm/ |
H A D | kmemleak.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Documentation/dev-tools/kmemleak.rst. 12 * ---------------- 16 * - kmemleak_lock (raw_spinlock_t): protects the object_list as well as 21 * red black trees used to look-up metadata based on a pointer to the 26 * - kmemleak_object.lock (raw_spinlock_t): protects a kmemleak_object. 33 * - scan_mutex (mutex): ensures that only one thread may scan the memory for 46 * scan_mutex [-> object->lock] -> kmemleak_lock -> other_object->lock (SINGLE_DEPTH_NESTING) 48 * No kmemleak_lock and object->lock nesting is allowed outside scan_mutex 117 /* scanning area inside a memory block */ [all …]
|
/linux/Documentation/arch/arm/omap/ |
H A D | dss.rst | 7 TV-out and multiple display support, but there are lots of small improvements 10 The DSS2 driver (omapdss module) is in arch/arm/plat-omap/dss/, and the FB, 15 -------- 19 - MIPI DPI (parallel) output 20 - MIPI DSI output in command mode 21 - MIPI DBI (RFBI) output 22 - SDI output 23 - TV output 24 - All pieces can be compiled as a module or inside kernel 25 - Use DISPC to update any of the outputs [all …]
|
/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_du_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * R-Car Display Unit Registers Definitions 5 * Copyright (C) 2013-2015 Renesas Electronics Corporation 18 /* ----------------------------------------------------------------------------- 78 #define DSSR_ADC(n) (1 << ((n)-1)) 86 #define DSRCR_ADCL(n) (1 << ((n)-1)) 95 #define DIER_ADCE(n) (1 << ((n)-1)) 104 #define DPPR_DPE(n) (1 << ((n)*4-1)) 105 #define DPPR_DPS(n, p) (((p)-1) << DPPR_DPS_SHIFT(n)) 106 #define DPPR_DPS_SHIFT(n) (((n)-1)*4) [all …]
|
/linux/drivers/media/platform/samsung/s3c-camif/ |
H A D | camif-regs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include "camif-regs.h" 13 #define camif_write(_camif, _off, _val) writel(_val, (_camif)->io_base + (_off)) 14 #define camif_read(_camif, _off) readl((_camif)->io_base + (_off)) 27 if (camif->variant->ip_revision == S3C6410_CAMIF_IP_REV) in camif_hw_reset() 40 u32 cfg = camif_read(vp->camif, S3C_CAMIF_REG_CIGCTRL); in camif_hw_clear_pending_irq() 41 cfg |= CIGCTRL_IRQ_CLR(vp->id); in camif_hw_clear_pending_irq() 42 camif_write(vp->camif, S3C_CAMIF_REG_CIGCTRL, cfg); in camif_hw_clear_pending_irq() 46 * Sets video test pattern (off, color bar, horizontal or vertical gradient). 79 cfg = camif_read(camif, S3C_CAMIF_REG_CIIMGEFF(camif->vp->offset)); in camif_hw_set_effect() [all …]
|
/linux/include/video/ |
H A D | sstfb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * linux/drivers/video/sstfb.h -- voodoo graphics frame buffer 85 #define PCI_VCLK_ENABLE 0xc0 /* enable video */ 92 # define EN_CLIPPING BIT(0) /* enable clipping */ 93 # define EN_RGB_WRITE BIT(9) /* enable writes to rgb area */ 105 # define LFB_WORD_SWIZZLE_WR BIT(11) /* enable write-wordswap (big-endian) */ 106 # define LFB_BYTE_SWIZZLE_WR BIT(12) /* enable write-byteswap (big-endian) */ 108 # define LFB_WORD_SWIZZLE_RD BIT(15) /* enable read-wordswap (big-endian) */ 109 # define LFB_BYTE_SWIZZLE_RD BIT(16) /* enable read-byteswap (big-endian) */ 192 # define BLT_SCR2SCR_BITBLT 0 /* Screen-to-Screen BitBLT */ [all …]
|