/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | oaktrail.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2007-2011, Intel Corporation. 16 u8 hblank_hi:4; 17 u8 hactive_hi:4; 20 u8 vblank_hi:4; 21 u8 vactive_hi:4; 24 u8 vsync_pulse_width_lo:4; 25 u8 vsync_offset_lo:4; 32 u8 height_mm_hi:4; 33 u8 width_mm_hi:4; [all …]
|
H A D | intel_bios.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 22 u32 aim_offset[4]; /**< from beginning of VBT */ 41 u8 rsvd3[4]; 60 #define BDB_MODE_SUPPORT_LIST 4 92 /* bits 1 */ 99 /* bits 2 */ 107 /* bits 3 */ 112 /* bits 4 */ 115 /* bits 5 */ 124 /* pre-915 */ [all …]
|
H A D | oaktrail_lvds.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright © 2006-2009 Intel Corporation 14 #include <asm/intel-mid.h> 26 /* The max/min PWM frequency in BPCR[31:17] - */ 28 * 15-bit field of the and then*/ 29 /* shifts to the left by one bit to get the actual 16-bit 30 * value that the 15-bits correspond to.*/ 53 dev_priv->is_lvds_on = true; in oaktrail_lvds_set_power() 54 if (dev_priv->ops->lvds_bl_power) in oaktrail_lvds_set_power() 55 dev_priv->ops->lvds_bl_power(dev, true); in oaktrail_lvds_set_power() [all …]
|
H A D | psb_intel_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 24 # define GPIO_CLOCK_VAL_IN (1 << 4) 44 #define GMBUS_PORT_DPC 4 /* HDMIC */ 56 #define GMBUS_CYCLE_STOP (4<<25) 70 #define GMBUS3 0x510c /* data buffer bytes 3-0 */ 72 #define GMBUS_SLAVE_TIMEOUT_EN (1<<4) 89 * This is the most significant 15 bits of the number of backlight cycles in a 108 #define I915_DISPLAY_CLOCK_190_200_MHZ (0 << 4) 109 #define I915_DISPLAY_CLOCK_333_MHZ (4 << 4) 110 #define I915_DISPLAY_CLOCK_MASK (7 << 4) [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | dvo_ch7017.c | 63 #define CH7017_DAC3_POWER_DOWN (1 << 4) 64 /** Powers down the TV out block, and DAC0-3 */ 87 /**< Low bits of horizontal active pixel input */ 90 /** High bits of horizontal active pixel input */ 92 /** High bits of vertical active line output */ 96 /**< Low bits of vertical active line output */ 99 /**< Low bits of horizontal active pixel output */ 102 /** High bits of horizontal active pixel output */ 104 /** Enables the LVDS power down state transition */ 106 /** Enables the LVDS upscaler */ [all …]
|
H A D | intel_vbt_defs.h | 2 * Copyright © 2006-2016 Intel Corporation 43 * struct vbt_header - VBT Header structure 51 * @aim_offset: Offsets of add-in data blocks from beginning of VBT 61 u32 aim_offset[4]; 65 * struct bdb_header - BDB Header structure 85 * <start>-<end> 101 BDB_MODE_SUPPORT_LIST = 4, 137 * Block 1 - General Bit Definitions 141 /* bits 1 */ 148 /* bits 2 */ [all …]
|
H A D | intel_lvds_regs.h | 1 /* SPDX-License-Identifier: MIT */ 11 /* LVDS port control */ 12 #define LVDS _MMIO(0x61180) macro 14 * Enables the LVDS port. This bit must be set before DPLLs are enabled, as 15 * the DPLL semantics change when the LVDS is assigned to that pipe. 18 /* Selects pipe B for LVDS data. Must be set on pre-965. */ 23 /* LVDS dithering flag on 965/g4x platform */ 25 /* LVDS sync polarity flags. Set to invert (i.e. negative) */ 29 /* Enable border for unscaled (or aspect-scaled) display */ 32 * Enables the A0-A2 data pairs and CLKA, containing 18 bits of color data per [all …]
|
H A D | dvo_ivch.c | 25 * Thomas Richter <thor@math.tu-berlin.de> 28 * Thomas Richter <thor@math.tu-berlin.de> 68 # define VR01_DITHER_ENABLE (1 << 4) 74 /* Enables LVDS output instead of CMOS */ 75 # define VR10_LVDS_ENABLE (1 << 4) 76 /* Enables 18-bit LVDS output. */ 78 /* Enables 24-bit LVDS or CMOS output */ 80 /* Enables 2x18-bit LVDS or CMOS output. */ 82 /* Enables 2x24-bit LVDS output */ 114 * (((image_height - 1) << 16) / ((panel_height - 1))) >> 2 [all …]
|
/openbmc/u-boot/drivers/video/ |
H A D | mvebu_lcd.c | 1 // SPDX-License-Identifier: GPL-2.0+ 16 #define MVEBU_LCD_WIN_CONTROL(w) (0xf000 + ((w) << 4)) 17 #define MVEBU_LCD_WIN_BASE(w) (0xf004 + ((w) << 4)) 18 #define MVEBU_LCD_WIN_REMAP(w) (0xf00c + ((w) << 4)) 113 for (i = 0; i < dram->num_cs; i++) { in mvebu_lcd_conf_mbus_registers() 114 const struct mbus_dram_window *cs = dram->cs + i; in mvebu_lcd_conf_mbus_registers() 115 writel(((cs->size - 1) & 0xffff0000) | (cs->mbus_attr << 8) | in mvebu_lcd_conf_mbus_registers() 116 (dram->mbus_dram_target_id << 4) | 1, in mvebu_lcd_conf_mbus_registers() 119 writel(cs->base & 0xffff0000, regs + MVEBU_LCD_WIN_BASE(i)); in mvebu_lcd_conf_mbus_registers() 128 int x = lcd_info->x_res; in mvebu_lcd_register_init() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/ |
H A D | lvds.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/lvds.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LVDS Display Common Properties 10 - Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> 11 - Thierry Reding <thierry.reding@gmail.com> 14 LVDS is a physical layer specification defined in ANSI/TIA/EIA-644-A. Multiple 16 to LVDS devices. This bindings supports devices compatible with the following 19 [JEIDA] "Digital Interface Standards for Monitor", JEIDA-59-1999, February [all …]
|
H A D | xylon,logicvc-display.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/display/xylon,logicvc-display.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Paul Kocialkowski <paul.kocialkowski@bootlin.com> 16 with Xilinx Zynq-7000 SoCs and Xilinx FPGAs. 20 synthesis time. As a result, many of the device-tree bindings are meant to 24 Layers are declared in the "layers" sub-node and have dedicated configuration. 26 starting from the video memory base address for its framebuffer. In version 4, 32 - xylon,logicvc-3.02.a-display [all …]
|
/openbmc/u-boot/doc/device-tree-bindings/video/ |
H A D | tegra20-dc.txt | 2 ------------------ 5 U-Boot, and may change based on Linux activity) 12 - compatible : Should be "nvidia,tegra20-dc" 17 - nvidia,panel : phandle of LCD panel information 24 - nvidia,bits-per-pixel: number of bits per pixel (depth) 25 - nvidia,pwm : pwm to use to set display contrast (see tegra20-pwm.txt) 26 - nvidia,panel-timings: 4 cells containing required timings in ms: 28 * delay between panel_vdd-rise and data-rise 29 * delay between data-rise and backlight_vdd-rise 30 * delay between backlight_vdd and pwm-rise [all …]
|
H A D | rockchip-lvds.txt | 1 Rockchip LVDS interface 2 ------------------ 5 - compatible: "rockchip,rk3288-lvds"; 7 - reg: physical base address of the controller and length 9 - clocks: must include clock specifiers corresponding to entries in the 10 clock-names property. 11 - clock-names: must contain "pclk_lvds" 13 - rockchip,grf: phandle to the general register files syscon 15 - rockchip,data-mapping: should be <LVDS_FORMAT_VESA> or <LVDS_FORMAT_JEIDA>, 16 This describes how the color bits are laid out in the [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/imx/ |
H A D | ldb.txt | 1 Device-Tree bindings for LVDS Display Bridge (ldb) 3 LVDS Display Bridge 6 The LVDS Display Bridge device tree node contains up to two lvds-channel 7 nodes describing each of the two LVDS encoder channels of the bridge. 10 - #address-cells : should be <1> 11 - #size-cells : should be <0> 12 - compatible : should be "fsl,imx53-ldb" or "fsl,imx6q-ldb". 15 interfaces as input for each LVDS channel. 16 - gpr : should be <&gpr> on i.MX53 and i.MX6q. 17 The phandle points to the iomuxc-gpr region containing the LVDS [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bios.c | 2 * Copyright 2005-2006 Erik Waling 4 * Copyright 2007-2009 Stuart Bennett 31 #include <linux/io-mapping.h> 41 #define BIOSLOG(sip, fmt, arg...) NV_DEBUG(sip->dev, fmt, ##arg) 72 if (bios->major_version < 5) /* pre BIT */ in clkcmptable() 75 compare_record_len = 4; in clkcmptable() 78 compareclk = ROM16(bios->data[clktable + compare_record_len * i]); in clkcmptable() 80 if (bios->major_version < 5) { in clkcmptable() 81 uint8_t tmdssub = bios->data[clktable + 2 + compare_record_len * i]; in clkcmptable() 82 scriptptr = ROM16(bios->data[bios->init_script_tbls_ptr + tmdssub * 2]); in clkcmptable() [all …]
|
/openbmc/linux/drivers/gpu/drm/renesas/rcar-du/ |
H A D | rcar_lvds.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * R-Car LVDS Encoder 5 * Copyright (C) 2013-2018 Renesas Electronics Corporation 13 #include <linux/media-bus-format.h> 41 RCAR_LVDS_MODE_VESA = 4, 50 #define RCAR_LVDS_QUIRK_LANES BIT(0) /* LVDS lanes 1 and 3 inverted */ 54 #define RCAR_LVDS_QUIRK_DUAL_LINK BIT(4) /* Supports dual-link operation */ 59 void (*pll_setup)(struct rcar_lvds *lvds, unsigned int freq); 86 static u32 rcar_lvds_read(struct rcar_lvds *lvds, u32 reg) in rcar_lvds_read() argument 88 return ioread32(lvds->mmio + reg); in rcar_lvds_read() [all …]
|
H A D | rcar_du_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * R-Car Display Unit DRM driver 5 * Copyright (C) 2013-2015 Renesas Electronics Corporation 29 #define RCAR_DU_FEATURE_CRTC_IRQ BIT(0) /* Per-CRTC IRQ */ 30 #define RCAR_DU_FEATURE_CRTC_CLOCK BIT(1) /* Per-CRTC clock */ 33 #define RCAR_DU_FEATURE_TVM_SYNC BIT(4) /* Has TV switch/sync modes */ 34 #define RCAR_DU_FEATURE_NO_BLENDING BIT(5) /* PnMR.SPIM does not have ALP nor EOR bits */ 52 * struct rcar_du_output_routing - Output routing specification 58 * of in-SoC encoder for the output. 66 * struct rcar_du_device_info - DU model-specific information [all …]
|
H A D | rcar_du_drv.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * R-Car Display Unit DRM driver 5 * Copyright (C) 2013-2015 Renesas Electronics Corporation 11 #include <linux/dma-mapping.h> 31 /* ----------------------------------------------------------------------------- 44 * R8A774[34] has one RGB output and one LVDS output 56 .num_rpf = 4, 79 .num_rpf = 4, 91 * R8A77470 has two RGB outputs, one LVDS output, and 107 .num_rpf = 4, [all …]
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | ti-sn65dsi83.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * - SN65DSI83 7 * = 1x Single-link DSI ~ 1x Single-link LVDS 8 * - Supported 9 * - Single-link LVDS mode tested 10 * - SN65DSI84 11 * = 1x Single-link DSI ~ 2x Single-link or 1x Dual-link LVDS 12 * - Supported 13 * - Dual-link LVDS mode tested 14 * - 2x Single-link LVDS mode unsupported [all …]
|
/openbmc/linux/drivers/gpu/drm/radeon/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 66 #define ATOM_CRTC5 4 124 #define ATOM_TV_PALM 4 134 #define ATOM_DAC1_PAL 4 179 #define ATOM_MAX_SIZE_OF_M54T_FLAG_STRING 4 //sizeof( ATOM_M54T_FLAG_STRING ) 214 UCHAR uaFirmWareSignature[4]; /*Signature to distinguish between Atombios and non-atombios, 397 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 403 …ONG ulPointerReturnFlag:1; // BYTE_3[7]=1 - Return the pointer to the right Data Block; BYTE_… 410 …ULONG ulClock; //When returen, it's the re-calculated clock based on given Fb_div Post_Di… 475 #define ATOM_PLL_CNTL_FLAG_FRACTION_DISABLE 4 [all …]
|
/openbmc/linux/drivers/gpu/drm/amd/include/ |
H A D | atombios.h | 2 * Copyright 2006-2007 Advanced Micro Devices, Inc. 65 #define ATOM_CRTC5 4 82 #define ATOM_PHY_PLL0 4 107 #define ATOM_SCALER_DISABLE 0 //For Fudo, it's bypass and auto-cengter & no replication 108 #define ATOM_SCALER_CENTER 1 //For Fudo, it's bypass and auto-center & auto replication 110 #define ATOM_SCALER_MULTI_EX 3 //For Fudo only, it's multi-tap mode only used to drive TV or CV,… 133 #define ATOM_TV_PALM 4 143 #define ATOM_DAC1_PAL 4 186 #define ATOM_MAX_SIZE_OF_M54T_FLAG_STRING 4 //sizeof( ATOM_M54T_FLAG_STRING ) 222 UCHAR uaFirmWareSignature[4]; //Signature to distinguish between Atombios and non-atombios, [all …]
|
/openbmc/linux/drivers/gpu/drm/logicvc/ |
H A D | logicvc_of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-2022 Bootlin 14 { "lvds-4bits", LOGICVC_DISPLAY_INTERFACE_LVDS_4BITS }, 15 { "lvds-3bits", LOGICVC_DISPLAY_INTERFACE_LVDS_3BITS }, 40 .name = "xylon,display-interface", 48 .name = "xylon,display-colorspace", 56 .name = "xylon,display-depth", 60 .name = "xylon,row-stride", 67 .name = "xylon,background-layer", 71 .name = "xylon,layers-configurable", [all …]
|
/openbmc/linux/drivers/phy/freescale/ |
H A D | phy-fsl-imx8qm-lvds-phy.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2017-2020,2022 NXP 7 #include <linux/bits.h> 68 struct mixel_lvds_phy_priv *priv = dev_get_drvdata(phy->dev.parent); in mixel_lvds_phy_init() 70 mutex_lock(&priv->lock); in mixel_lvds_phy_init() 71 regmap_update_bits(priv->regmap, in mixel_lvds_phy_init() 73 mutex_unlock(&priv->lock); in mixel_lvds_phy_init() 80 struct mixel_lvds_phy_priv *priv = dev_get_drvdata(phy->dev.parent); in mixel_lvds_phy_power_on() 82 struct mixel_lvds_phy *companion = priv->phys[lvds_phy->id ^ 1]; in mixel_lvds_phy_power_on() 83 struct phy_configure_opts_lvds *cfg = &lvds_phy->cfg; in mixel_lvds_phy_power_on() [all …]
|
/openbmc/u-boot/board/freescale/p1022ds/ |
H A D | diu.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright 2010-2011 Freescale Semiconductor, Inc. 37 * Note that we need to byte-swap the value before it's written to the AD 50 #define AD_COMP_1_SHIFT 4 78 temp = in_be32(&gur->clkdvdr) & 0x2000FFFF; in diu_set_pixel_clock() 79 out_be32(&gur->clkdvdr, temp); /* turn off clock */ in diu_set_pixel_clock() 80 out_be32(&gur->clkdvdr, temp | 0x80000000 | ((pixval & 0x1F) << 16)); in diu_set_pixel_clock() 129 * only contain the lower 32 bits of the address, we have to determine in platform_diu_init() 130 * the upper 4 bits some other way. The proper way is to scan the LAW in platform_diu_init() 132 * We know that the upper bits are 0 for 32-bit addressing, or 0xF for in platform_diu_init() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | dc395x.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 /* (SCSI chip set used Tekram ASIC TRM-S1040) */ 175 /* cmd->result */ 197 u8 ProductRev[4]; /* Product Revision */ 278 #define TRM_S1040_SCSI_FIFOCNT 0x82 /* SCSI FIFO Counter 5bits(R) */ 296 /* --------- ------------- ---------------------------- */ 297 /* 07-05 0 RSVD Reversed. Always 0. */ 298 /* 04 0 OFFSET4 Reversed for LVDS. Always 0. */ 299 /* 03-00 0 OFFSET[03:00] Offset number from 0 to 15 */ 304 #define LVDS_SYNC 0x20 /* Enable LVDS synchronous */ [all …]
|