/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-g-fbuf.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_G_FBUF - VIDIOC_S_FBUF - Get or set frame buffer overlay parameters 46 The V4L2 API distinguishes destructive and non-destructive overlays. A 48 of a graphics card. A non-destructive overlay blends video images into a 49 VGA signal or graphics into a video signal. *Video Output Overlays* are 50 always non-destructive. 81 .. flat-table:: struct v4l2_framebuffer 82 :header-rows: 0 83 :stub-columns: 0 86 * - __u32 [all …]
|
H A D | dv-timings.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _dv-timings: 11 hardware interfaces such as High Definition TV interfaces (HDMI), VGA, 14 it is not possible to extend the :ref:`v4l2_std_id <v4l2-std-id>` 19 each video format. This includes parameters such as the active video 21 widths etc. The ``linux/v4l2-dv-timings.h`` header can be used to get 46 This will also update the format, so use the :ref:`ioctl VIDIOC_G_FMT <VIDIOC_G_FMT>` 47 to obtain the new format. Now the application can allocate new buffers 57 Applications can make use of the :ref:`input-capabilities` and 58 :ref:`output-capabilities` flags to determine whether the digital
|
/linux/drivers/firmware/ |
H A D | iscsi_ibft_find.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2007-2010 Red Hat, Inc. 10 * This code finds the iSCSI Boot Format Table. 32 * Physical location of iSCSI Boot Format Table. 45 #define VGA_MEM 0xA0000 /* VGA buffer */ 49 * Routine used to find and reserve the iSCSI Boot Format Table 67 /* The table can't be inside the VGA BIOS reserved space, in reserve_ibft_region() 81 if (memcmp(virt + (pos - virt_pos), ibft_signs[i].sign, in reserve_ibft_region() 84 (unsigned long *)(virt + pos - virt_pos + 4); in reserve_ibft_region() 88 if (pos + len <= (IBFT_END-1)) { in reserve_ibft_region()
|
/linux/Documentation/admin-guide/ |
H A D | serial-console.rst | 7 kernel - by default it is not compiled in. For PC style serial ports 10 :menuselection:`Character devices --> Serial drivers --> 8250/16550 and compatible serial support -… 18 The format of this option is:: 30 the port, in the format BBBBPNF, where BBBB is the 45 virtual console, and kernel messages will appear on both the VGA 79 first looks for a VGA card and then for a serial port. So if you don't 80 have a VGA card in your system the first serial port will automatically 96 rm -f console tty0 97 mknod -m 622 console c 5 1 98 mknod -m 622 tty0 c 4 0 [all …]
|
/linux/drivers/video/fbdev/ |
H A D | pvr2fb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Copyright (c) 2001 - 2008 Paul Mundt <lethal@linux-sh.org> 13 * here are some hacked-up formulas: 19 * values, I could just add mode- specific offsets to get the correct mode 22 * left_margin = diwstart_h - borderstart_h; 23 * right_margin = borderstop_h - (diwstart_h + xres); 24 * upper_margin = diwstart_v - borderstart_v; 25 * lower_margin = borderstop_v - (diwstart_h + yres); 27 * hsync_len = borderstart_h + (hsync_total - borderstop_h); 28 * vsync_len = borderstart_v + (vsync_total - borderstop_v); [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 a well-defined interface, so the software doesn't need to know 15 anything about the low-level (hardware register) stuff. 21 On several non-X86 architectures, the frame buffer device is the 29 and the Framebuffer-HOWTO at 30 <http://www.munted.org.uk/programming/Framebuffer-HOWTO-1.3.html> for more 40 are compiling a kernel for a non-x86 architecture. 46 device-aware may cause unexpected results. If unsure, say N. 57 Common utility functions useful to fbdev drivers of VGA-based 82 If you have a PCI-based system, this enables support for these [all …]
|
/linux/drivers/gpu/drm/pl111/ |
H A D | pl111_versatile.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * This is based on code and know-how in the previous frame buffer 6 * driver in drivers/video/fbdev/amba-clcd.c: 46 .compatible = "arm,core-module-integrator", 50 .compatible = "arm,versatile-sysreg", 54 .compatible = "arm,realview-eb-syscon", 58 .compatible = "arm,realview-pb1176-syscon", 62 .compatible = "arm,realview-pb11mp-syscon", 66 .compatible = "arm,realview-pba8-syscon", 70 .compatible = "arm,realview-pbx-syscon", [all …]
|
/linux/drivers/pci/ |
H A D | vgaarb.c | 1 // SPDX-License-Identifier: MIT 3 * vgaarb.c: Implements VGA arbitration. For details refer to 39 * We keep a list of all VGA devices in the system to speed 111 if (pdev == vgadev->pdev) in vgadev_find() 117 * vga_default_device - return the default VGA device, for vgacon 120 * rather dumb and will probably only work properly on single VGA card 123 * If your VGA default device is not PCI, you'll have to return NULL here. 126 * the VGA default device if that is possible. This may be a problem with 127 * real _ISA_ VGA cards, in addition to a PCI one. I don't know at this 148 * vga_remove_vgacon - deactivate VGA console [all …]
|
/linux/drivers/gpu/drm/tve200/ |
H A D | tve200_display.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2006-2008 Intel Corporation 14 #include <linux/dma-buf.h> 34 stat = readl(priv->regs + TVE200_INT_STAT); in tve200_irq() 51 val = readl(priv->regs + TVE200_CTRL); in tve200_irq() 54 drm_crtc_handle_vblank(&priv->pipe.crtc); in tve200_irq() 61 writel(val, priv->regs + TVE200_CTRL); in tve200_irq() 63 dev_err(priv->drm->dev, "stray IRQ %08x\n", stat); in tve200_irq() 66 writel(stat, priv->regs + TVE200_INT_CLR); in tve200_irq() 75 const struct drm_display_mode *mode = &cstate->mode; in tve200_display_check() [all …]
|
/linux/Documentation/fb/ |
H A D | pvr2fb.rst | 13 * Most important: boot logo :-) 17 * Driver is largely untested on non-Dreamcast systems. 33 mode:X default video mode with format [xres]x[yres]-<bpp>@<refresh rate> 35 640x640-16@60, 640x480-24@60, 640x480-32@60. The Dreamcast 36 defaults to 640x480-16@60. At the time of writing the 51 cable:X cable type. This can be any of the following: vga, rgb, and 55 vga. If none is specified, we guess. 61 XF86_FBDev has been shown to work on the Dreamcast in the past - though not yet
|
H A D | sisfb.rst | 8 - SiS 300 series: SiS 300/305, 540, 630(S), 730(S) 9 - SiS 315 series: SiS 315/H/PRO, 55x, (M)65x, 740, (M)661(F/M)X, (M)741(GX) 10 - SiS 330 series: SiS 330 ("Xabre"), (M)760 16 sisfb is eg. useful if you want a high-resolution text console. Besides that, 52 A common mistake is that folks use a wrong parameter format when using the 54 the parameter format is video=sisfb:mode:none or video=sisfb:mode:1024x768x16 55 (or whatever mode you want to use, alternatively using any other format 57 the parameter format reads mode=none or mode=1024x768x16 (or whatever mode you 59 Additionally: If you give more than one argument to the in-kernel sisfb, the 77 - XxYxDepth or [all …]
|
/linux/Documentation/driver-api/ |
H A D | console.rst | 1 .. SPDX-License-Identifier: GPL-2.0 25 do_take_over_console() - load and bind driver to console layer 26 give_up_console() - unload driver; it will only work if driver 49 1. bind - this is a read/write file. It shows the status of the driver if 54 - means the driver is not bound and if echo'ed, commands the driver 58 - means the driver is bound and if echo'ed, commands the driver to 61 2. name - read-only file. Shows the name of the driver in this format:: 64 (S) VGA+ 69 'VGA+' is the name of the driver 77 3. uevent - ignore this file [all …]
|
/linux/drivers/gpu/drm/mgag200/ |
H A D | mgag200_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 13 #include <video/vga.h> 34 #define RREG8(reg) ioread8(((void __iomem *)mdev->rmmio) + (reg)) 35 #define WREG8(reg, v) iowrite8(v, ((void __iomem *)mdev->rmmio) + (reg)) 36 #define RREG32(reg) ioread32(((void __iomem *)mdev->rmmio) + (reg)) 37 #define WREG32(reg, v) iowrite32(v, ((void __iomem *)mdev->rmmio) + (reg)) 178 /* Primary-plane format; required for modesetting and color mgmt. */ 179 const struct drm_format_info *format; member 280 } vga; member 383 void mgag200_crtc_set_gamma_linear(struct mga_device *mdev, const struct drm_format_info *format); [all …]
|
/linux/Documentation/devicetree/bindings/media/i2c/ |
H A D | aptina,mt9v111.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacopo Mondi <jacopo@jmondi.org> 13 The Aptina MT9V111 is a 1/4-Inch VGA-format digital image sensor with a core 17 of image resolutions and formats controllable through a simple two-wires 30 enable-gpios: 34 standby-gpios: 39 reset-gpios: 49 - compatible [all …]
|
/linux/arch/arm/boot/dts/ti/davinci/ |
H A D | da850-lcdk.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 5 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/input/input.h> 11 model = "DA850/AM1808/OMAP-L138 LCDK"; 12 compatible = "ti,da850-lcdk", "ti,da850"; 20 stdout-path = "serial2:115200n8"; 28 reserved-memory { 29 #address-cells = <1>; 30 #size-cells = <1>; [all …]
|
/linux/include/video/ |
H A D | cirrus.h | 2 * drivers/video/clgenfb.h - Cirrus Logic chipset constants 14 * Format this code with GNU indent '-kr -i8 -pcs' options. 25 /* OLD COMMENT: definitions for Piccolo/SD64 VGA controller chip */ 27 /* OLD COMMENT: for other CL-GD542x/543x based boards.. */ 34 /*** VGA Sequencer Registers ***/ 50 #define CL_SEQR14 0x14 /* Scratch Pad 2 (CL-GD5426/'28 Only) (do not access!) */ 51 #define CL_SEQR15 0x15 /* Scratch Pad 3 (CL-GD5426/'28 Only) (do not access!) */ 52 #define CL_SEQR16 0x16 /* Performance Tuning (CL-GD5424/'26/'28 Only) */ 53 #define CL_SEQR17 0x17 /* Configuration ReadBack and Extended Control (CL-GF5428 Only) */ 54 #define CL_SEQR18 0x18 /* Signature Generator Control (Not CL-GD5420) */ [all …]
|
/linux/drivers/gpu/drm/amd/include/ |
H A D | amd_acpi.h | 48 u8 thermal_state; /* thermal state: state id (0: exit state, non-0: state) */ 52 u8 backlight_level; /* panel backlight level (0-255) */ 64 u8 ipnut_signal; /* input signal in range 0-255 */ 73 u8 min_input_signal; /* max input signal in range 0-255 */ 74 u8 max_input_signal; /* min input signal in range 0-255 */ 94 u16 client_id; /* client id (bit 2-0: func num, 7-3: dev num, 15-8: bus num) */ 108 u16 dgpu_id; /* client id (bit 2-0: func num, 7-3: dev num, 15-8: bus num) */ 119 * The AMD ACPI notification mechanism uses Notify (VGA, 0x81) or a custom 121 * Method GET_SYSTEM_PARAMETERS. When the driver receives Notify (VGA, 0x81) or 154 * WORD - structure size in bytes (includes size 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 */ 44 #define FB_TYPE_VGA_PLANES 4 /* EGA/VGA planes */ 48 #define FB_AUX_TEXT_CGA 1 /* CGA/EGA/VGA Color text */ 52 #define FB_AUX_TEXT_SVGA_GROUP 8 /* 8-15: SVGA tileblit compatible modes */ 60 #define FB_AUX_VGA_PLANES_VGA4 0 /* 16 color planes (EGA/VGA) */ 61 #define FB_AUX_VGA_PLANES_CFB4 1 /* CFB4 in planes (VGA) */ 62 #define FB_AUX_VGA_PLANES_CFB8 2 /* CFB8 in planes (VGA) */ 140 #define FB_ACCEL_SAVAGE3D_MV 0x82 /* S3 Savage3D-MV */ 142 #define FB_ACCEL_SAVAGE_MX_MV 0x84 /* S3 Savage/MX-MV */ [all …]
|
/linux/drivers/gpu/drm/tiny/ |
H A D | ofdrm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 71 OFDRM_MODEL_QEMU, /* QEMU VGA */ 82 return -EINVAL; in display_get_validated_int() 91 return -EINVAL; in display_get_validated_int0() 100 u32 format; in display_get_validated_format() local 104 format = drm_mode_legacy_fb_format(8, 8); in display_get_validated_format() 108 format = drm_mode_legacy_fb_format(16, depth); in display_get_validated_format() 111 format = drm_mode_legacy_fb_format(32, 24); in display_get_validated_format() 115 return ERR_PTR(-EINVAL); in display_get_validated_format() 119 * DRM formats assume little-endian byte order. Update the format in display_get_validated_format() [all …]
|
/linux/drivers/gpu/drm/bridge/ |
H A D | display-connector.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/media-bus-format.h> 39 return flags & DRM_BRIDGE_ATTACH_NO_CONNECTOR ? 0 : -EINVAL; in display_connector_attach() 47 if (conn->hpd_gpio) { in display_connector_detect() 48 if (gpiod_get_value_cansleep(conn->hpd_gpio)) in display_connector_detect() 54 if (conn->bridge.ddc && drm_probe_ddc(conn->bridge.ddc)) in display_connector_detect() 57 switch (conn->bridge.type) { in display_connector_detect() 74 * Composite and S-Video connectors have no other detection in display_connector_detect() 75 * mean than the HPD GPIO. For VGA connectors, even if we have in display_connector_detect() 89 return drm_edid_read_ddc(connector, conn->bridge.ddc); in display_connector_edid_read() [all …]
|
/linux/Documentation/arch/m68k/ |
H A D | kernel-options.rst | 9 Author: Roman.Hodek@informatik.uni-erlangen.de (Roman Hodek) 11 Update: jds@kom.auc.dk (Jes Sorensen) and faq@linux-m68k.org (Chris Lawrence) 58 ---------- 76 /dev/ram: -> 0x0100 (initial ramdisk) 77 /dev/hda: -> 0x0300 (first IDE disk) 78 /dev/hdb: -> 0x0340 (second IDE disk) 79 /dev/sda: -> 0x0800 (first SCSI disk) 80 /dev/sdb: -> 0x0810 (second SCSI disk) 81 /dev/sdc: -> 0x0820 (third SCSI disk) 82 /dev/sdd: -> 0x0830 (forth SCSI disk) [all …]
|
/linux/drivers/media/i2c/ |
H A D | ov7670.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-event.h> 22 #include <media/v4l2-ctrls.h> 23 #include <media/v4l2-fwnode.h> 24 #include <media/v4l2-mediabus.h> 25 #include <media/v4l2-image-sizes.h> 29 MODULE_DESCRIPTION("A low-level driver for OmniVision ov7670 sensors"); 34 MODULE_PARM_DESC(debug, "Debug level (0-1)"); [all …]
|
H A D | ov772x.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 26 #include <linux/v4l2-mediabus.h> 31 #include <media/v4l2-ctrls.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-event.h> 34 #include <media/v4l2-fwnode.h> 35 #include <media/v4l2-image-sizes.h> 36 #include <media/v4l2-subdev.h> 41 #define GAIN 0x00 /* AGC - Gain control gain setting */ [all …]
|
/linux/drivers/video/console/ |
H A D | mdacon.c | 2 * linux/drivers/video/mdacon.c -- Low level MDA based console driver 6 * including portions (c) 1995-1998 Patrick Caulfield. 10 * This file is based on the VGA console driver (vgacon.c): 16 * and on the old console.c, vga.c and vesa_blank.c drivers: 45 #include <asm/vga.h> 64 static int mda_cursor_loc=-1; 65 static int mda_cursor_size_from=-1; 66 static int mda_cursor_size_to=-1; 105 * MDA could easily be classified as "pre-dinosaur hardware". 179 /* command line format: mdacon=<first>,<last> */ in mdacon_setup() [all …]
|
/linux/drivers/video/logo/ |
H A D | pnmtologo.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Convert a logo in ASCII PNM format to C source suitable for inclusion in 6 * (C) Copyright 2001-2003 by Geert Uytterhoeven <geert@linux-m68k.org> 26 #define LINUX_LOGO_VGA16 2 /* 16 colors VGA text palette */ 74 __attribute__((noreturn)) __attribute((format (printf, 1, 2))); 100 val = 10*val+c-'0'; in get_number() 176 logo_data[i][j].blue = 255*(1-get_number(fp)); in read_image() 318 "Use ppmquant(1) -map clut_vga16.ppm to reduce the number " in write_logo_vga16() 430 " -h : display this usage information\n" in usage() 431 " -n <name> : specify logo name (default: linux_logo)\n" in usage() [all …]
|