/Linux-v6.1/drivers/video/fbdev/aty/ |
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-v6.1/drivers/staging/media/ipu3/include/uapi/ |
D | intel-ipu3.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2 /* Copyright (C) 2017 - 2018 Intel Corporation */ 11 /* Vendor specific - used for IPU3 camera sub-system */ 17 /* from include/uapi/linux/v4l2-controls.h */ 26 #define IPU3_UAPI_GRID_START_MASK ((1 << 12) - 1) 29 /* controls generation of meta_data (like FF enable/disable) */ 34 * struct ipu3_uapi_grid_config - Grid plane config 56 * create a grid-based output, and the data is then divided into "slices". 71 * struct ipu3_uapi_awb_set_item - Memory layout for each cell in AWB 108 * struct ipu3_uapi_awb_raw_buffer - AWB raw buffer [all …]
|
/Linux-v6.1/arch/sh/include/asm/ |
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-v6.1/drivers/video/fbdev/core/ |
D | fbcon_ccw.c | 2 * linux/drivers/video/console/fbcon_ccw.c -- Software Rotation - 270 degrees 28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2; in ccw_update_attr() 29 int width = (vc->vc_font.height + 7) >> 3; in ccw_update_attr() 30 int mod = vc->vc_font.height % 8; in ccw_update_attr() 34 msk <<= (8 - mod); in ccw_update_attr() 39 for (i = 0; i < vc->vc_font.width; i++) { in ccw_update_attr() 44 if (j == width - 1) in ccw_update_attr() 47 if (msk1 && j == width - 2) in ccw_update_attr() 52 *(dst - width) |= c; in ccw_update_attr() 66 struct fbcon_ops *ops = info->fbcon_par; in ccw_bmove() [all …]
|
D | fbcon_cw.c | 2 * linux/drivers/video/console/fbcon_ud.c -- Software Rotation - 90 degrees 28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2; in cw_update_attr() 29 int width = (vc->vc_font.height + 7) >> 3; in cw_update_attr() 32 for (i = 0; i < vc->vc_font.width; i++) { in cw_update_attr() 38 c |= *(src-width); in cw_update_attr() 51 struct fbcon_ops *ops = info->fbcon_par; in cw_bmove() 52 struct fb_copyarea area; in cw_bmove() local 53 u32 vxres = GETVXRES(ops->p, info); in cw_bmove() 55 area.sx = vxres - ((sy + height) * vc->vc_font.height); in cw_bmove() 56 area.sy = sx * vc->vc_font.width; in cw_bmove() [all …]
|
D | bitblit.c | 2 * linux/drivers/video/console/bitblit.c -- BitBlitting Operation 28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in update_attr() 29 int width = DIV_ROUND_UP(vc->vc_font.width, 8); in update_attr() 30 unsigned int cellsize = vc->vc_font.height * width; in update_attr() 33 offset = cellsize - (offset * width); in update_attr() 49 struct fb_copyarea area; in bit_bmove() local 51 area.sx = sx * vc->vc_font.width; in bit_bmove() 52 area.sy = sy * vc->vc_font.height; in bit_bmove() 53 area.dx = dx * vc->vc_font.width; in bit_bmove() 54 area.dy = dy * vc->vc_font.height; in bit_bmove() [all …]
|
D | fbcon_ud.c | 2 * linux/drivers/video/console/fbcon_ud.c -- Software Rotation - 180 degrees 28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in ud_update_attr() 29 int width = (vc->vc_font.width + 7) >> 3; in ud_update_attr() 30 unsigned int cellsize = vc->vc_font.height * width; in ud_update_attr() 51 struct fbcon_ops *ops = info->fbcon_par; in ud_bmove() 52 struct fb_copyarea area; in ud_bmove() local 53 u32 vyres = GETVYRES(ops->p, info); in ud_bmove() 54 u32 vxres = GETVXRES(ops->p, info); in ud_bmove() 56 area.sy = vyres - ((sy + height) * vc->vc_font.height); in ud_bmove() 57 area.sx = vxres - ((sx + width) * vc->vc_font.width); in ud_bmove() [all …]
|
/Linux-v6.1/drivers/video/fbdev/ |
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 …]
|
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) 116 return tgafb_register(&pdev->dev); in tgafb_pci_register() 121 tgafb_unregister(&pdev->dev); in tgafb_pci_unregister() 133 { "DEC ", "PMAGD-AA" }, 167 * tgafb_check_var - Optional function. Validates a var passed in. 174 struct tga_par *par = (struct tga_par *)info->par; in tgafb_check_var() 176 if (par->tga_type == TGA_TYPE_8PLANE) { in tgafb_check_var() 177 if (var->bits_per_pixel != 8) in tgafb_check_var() 178 return -EINVAL; in tgafb_check_var() [all …]
|
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 …]
|
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 …]
|
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 …]
|
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 …]
|
D | vga16fb.c | 2 * linux/drivers/video/vga16.c -- VGA 16-color framebuffer driver 6 * Based on VESA framebuffer (c) 1998 Gerd Knorr <kraxel@goldbach.in-berlin.de> 33 /* --------------------------------------------------------------------- */ 44 unsigned char CrtCtrlIndex; /* CRT-Contr. Index reg. */ 46 unsigned char HorizontalTotal; /* CRT-Controller:00h */ 47 unsigned char HorizDisplayEnd; /* CRT-Controller:01h */ 48 unsigned char StartHorizRetrace;/* CRT-Controller:04h */ 49 unsigned char EndHorizRetrace; /* CRT-Controller:05h */ 50 unsigned char Overflow; /* CRT-Controller:07h */ 51 unsigned char StartVertRetrace; /* CRT-Controller:10h */ [all …]
|
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 …]
|
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 …]
|
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 …]
|
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); 125 .height = -1, 126 .width = -1, [all …]
|
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 …]
|
/Linux-v6.1/drivers/staging/media/atomisp/pci/ |
D | ia_css_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 152 * Before the shading correction is applied, NxN-filter and/or scaling 155 * - Bad pixels on left/top sides generated by NxN-filter 158 * - Down-scaling/Up-scaling factor 160 * Shading correction is applied to the area 162 * Then, the shading table should cover the area including margin. 164 * - Origin coordinate of bayer (real sensor data) 167 * ------------------------ISP 2401----------------------- 172 …* The shading correction is applied to the bayer area which contains sensor data and padding data. 173 * The shading table should cover this bayer area. [all …]
|
/Linux-v6.1/drivers/gpu/drm/ |
D | drm_blend.c | 43 * sub-pixel accuracy, which is scaled up to a pixel-aligned destination 44 * rectangle in the visible area of a &drm_crtc. The visible area of a CRTC is 72 * the currently visible horizontal area of the &drm_crtc. 75 * the currently visible vertical area of the &drm_crtc. 83 * area of the current mode of the CRTC. It must be appropriately clipped by the 96 * plane-wide opacity, from transparent (0) to opaque (0xffff). It can be 99 * pre-multiplied by the global alpha associated to the plane. 109 * "rotate-<degrees>": 113 * "reflect-<axis>": 117 * reflect-x:: [all …]
|
/Linux-v6.1/mm/ |
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 modifications and 20 * are red black trees used to look-up metadata based on a pointer to the 27 * - kmemleak_object.lock (raw_spinlock_t): protects a kmemleak_object. 34 * - scan_mutex (mutex): ensures that only one thread may scan the memory for 47 * scan_mutex [-> object->lock] -> kmemleak_lock -> other_object->lock (SINGLE_DEPTH_NESTING) 49 * No kmemleak_lock and object->lock nesting is allowed outside scan_mutex 123 /* scanning area inside a memory block */ [all …]
|
/Linux-v6.1/include/linux/ |
D | fb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 73 __u32 serial; /* Serial Number - Integer */ 80 __u16 input; /* display type - see FB_DISP_* */ 81 __u16 dpms; /* DPMS support - see FB_DPMS_ */ 82 __u16 signal; /* Signal Type - see FB_SIGNAL_* */ 85 __u16 gamma; /* Gamma - in fractions of 100 */ 87 __u16 misc; /* Misc flags - see FB_MISC_* */ 112 struct fb_cmap_user cmap; /* color map info */ 117 __u16 enable; /* cursor on/off */ member 132 /* only used by mach-pxa/am200epd.c */ [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/display/ |
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 - items: 18 - enum: 19 - solomon,ssd1305fb-i2c 20 - solomon,ssd1306fb-i2c 21 - solomon,ssd1307fb-i2c [all …]
|
/Linux-v6.1/Documentation/arm/omap/ |
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 …]
|