/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/staging/media/ipu3/include/uapi/ |
H A 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 …]
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/openbmc/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 | 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 | 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 (!var->pixclock) in tgafb_check_var() 177 return -EINVAL; in tgafb_check_var() 179 if (par->tga_type == TGA_TYPE_8PLANE) { in tgafb_check_var() [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 | 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> 34 /* --------------------------------------------------------------------- */ 45 unsigned char CrtCtrlIndex; /* CRT-Contr. Index reg. */ 47 unsigned char HorizontalTotal; /* CRT-Controller:00h */ 48 unsigned char HorizDisplayEnd; /* CRT-Controller:01h */ 49 unsigned char StartHorizRetrace;/* CRT-Controller:04h */ 50 unsigned char EndHorizRetrace; /* CRT-Controller:05h */ 51 unsigned char Overflow; /* CRT-Controller:07h */ 52 unsigned char StartVertRetrace; /* CRT-Controller:10h */ [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 …]
|
/openbmc/u-boot/include/ |
H A D | pxa_lcd.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * pxa_lcd.h - PXA LCD Controller structures 51 ushort vl_width; /* Width of display area in millimeters */ 52 ushort vl_height; /* Height of display area in millimeters */ 56 u_char vl_oep; /* Output Enable polarity */ 62 u_char vl_splt;/* Split display, 0 = single-scan, 1 = dual-scan */ 63 u_char vl_clor; /* Color, 0 = mono, 1 = color */
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A 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 …]
|
/openbmc/linux/include/linux/pds/ |
H A D | pds_adminq.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 * enum pds_core_adminq_opcode - AdminQ command opcodes 48 * enum pds_core_notifyq_opcode - NotifyQ event codes 60 * struct pds_core_notifyq_event - Generic event reporting structure 73 * struct pds_core_link_change_event - Link change event notification 89 * struct pds_core_reset_event - Reset event notification 106 * struct pds_core_client_event - Client event notification 122 * struct pds_core_notifyq_cmd - Placeholder for building qcq 130 * union pds_core_notifyq_comp - Overlay of notifyq event structures 145 * struct pds_core_client_reg_cmd - Register a new client with DSC [all …]
|
/openbmc/linux/include/linux/ |
H A D | fb.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 74 __u32 serial; /* Serial Number - Integer */ 81 __u16 input; /* display type - see FB_DISP_* */ 82 __u16 dpms; /* DPMS support - see FB_DPMS_ */ 83 __u16 signal; /* Signal Type - see FB_SIGNAL_* */ 86 __u16 gamma; /* Gamma - in fractions of 100 */ 88 __u16 misc; /* Misc flags - see FB_MISC_* */ 113 struct fb_cmap_user cmap; /* color map info */ 118 __u16 enable; /* cursor on/off */ member 133 /* only used by mach-pxa/am200epd.c */ [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A 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 …]
|
/openbmc/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 * black trees used to look-up metadata based on a pointer to the 28 * - kmemleak_object.lock (raw_spinlock_t): protects a kmemleak_object. 35 * - scan_mutex (mutex): ensures that only one thread may scan the memory for 48 * scan_mutex [-> object->lock] -> kmemleak_lock -> other_object->lock (SINGLE_DEPTH_NESTING) 50 * No kmemleak_lock and object->lock nesting is allowed outside scan_mutex 125 /* scanning area inside a memory block */ [all …]
|
/openbmc/qemu/include/standard-headers/drm/ |
H A D | drm_fourcc.h | 38 * further describe the buffer's format - for example tiling or compression. 41 * ---------------- 55 * vendor-namespaced, and as such the relationship between a fourcc code and a 57 * may preserve meaning - such as number of planes - from the fourcc code, 63 * a modifier: a buffer may match a 64-pixel aligned modifier and a 32-pixel 75 * - Kernel and user-space drivers: for drivers it's important that modifiers 79 * - Higher-level programs interfacing with KMS/GBM/EGL/Vulkan/etc: these users 92 * ----------------------- 97 * upstream in-kernel or open source userspace user does not apply. 112 /* color index */ [all …]
|
/openbmc/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"; 24 stdout-path = "serial0:1843200n8"; 28 compatible = "gpio-leds"; 30 led-7 { 32 color = <LED_COLOR_ID_GREEN>; 34 function-enumerator = <7>; 37 led-8 { [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/include/linux/ |
H A D | atomisp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 48 * buffer has a per-frame parameter. 119 /* [BQ] 0..63 start position of OB area (relevant for raster mode) */ 121 /* [BQ] start..63 end position of OB area (relevant for raster mode) */ 131 /* [gain] The strength of sharpness in pell-mell area. u5_11 */ 170 u32 enable; member 186 u32 enable; member 278 unsigned int gr; /* unsigned <integer_bits>.<16-integer_bits> */ 279 unsigned int r; /* unsigned <integer_bits>.<16-integer_bits> */ 280 unsigned int b; /* unsigned <integer_bits>.<16-integer_bits> */ [all …]
|