/linux/Documentation/devicetree/bindings/display/ |
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. 25 In version 3 of the controller, each layer has fixed memory offset and address 32 - xylon,logicvc-3.02.a-display [all …]
|
/linux/drivers/gpu/drm/sun4i/ |
H A D | sun4i_backend.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Maxime Ripard <maxime.ripard@free-electrons.com> 14 #include <linux/dma-mapping.h> 35 /* backend <-> TCON muxing selection done in backend */ 38 /* alpha at the lowest z position is not always supported */ 55 regmap_write(engine->regs, SUN4I_BACKEND_OCCTL_REG, in sun4i_backend_apply_color_correction() 59 regmap_write(engine->regs, SUN4I_BACKEND_OCRCOEF_REG(i), in sun4i_backend_apply_color_correction() 68 regmap_update_bits(engine->regs, SUN4I_BACKEND_OCCTL_REG, in sun4i_backend_disable_color_correction() 78 regmap_write(engine->regs, SUN4I_BACKEND_REGBUFFCTL_REG, in sun4i_backend_commit() 84 int layer, bool enable) in sun4i_backend_layer_enable() argument [all …]
|
H A D | sun8i_vi_layer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 if (mixer->cfg->is_de3) { in sun8i_vi_layer_update_alpha() 32 (plane->state->alpha >> 8); in sun8i_vi_layer_update_alpha() 34 val |= (plane->state->alpha == DRM_BLEND_ALPHA_OPAQUE) ? in sun8i_vi_layer_update_alpha() 38 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_update_alpha() 42 } else if (mixer->cfg->vi_num == 1) { in sun8i_vi_layer_update_alpha() 43 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_update_alpha() 47 (plane->state->alpha >> 8)); in sun8i_vi_layer_update_alpha() 55 struct drm_plane_state *state = plane->state; in sun8i_vi_layer_update_coord() 56 const struct drm_format_info *format = state->fb->format; in sun8i_vi_layer_update_coord() [all …]
|
H A D | sun8i_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/dma-mapping.h> 91 /* for DE2 VI layer which ignores alpha */ 100 /* for DE2 VI layer which ignores alpha */ 109 /* for DE2 VI layer which ignores alpha */ 118 /* for DE2 VI layer which ignores alpha */ 127 /* for DE2 VI layer which ignores alpha */ 136 /* for DE2 VI layer which ignores alpha */ 145 /* for DE2 VI layer which ignores alpha */ 154 /* for DE2 VI layer which ignores alpha */ [all …]
|
/linux/drivers/gpu/drm/logicvc/ |
H A D | logicvc_layer.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-2022 Bootlin 41 * What we call depth in this driver only counts color components, not alpha. 64 .alpha = true, 86 struct drm_device *drm_dev = drm_plane->dev; in logicvc_plane_atomic_check() 87 struct logicvc_layer *layer = logicvc_layer(drm_plane); in logicvc_plane_atomic_check() local 96 if (!new_state->crtc) in logicvc_plane_atomic_check() 99 crtc_state = drm_atomic_get_existing_crtc_state(new_state->state, in logicvc_plane_atomic_check() 100 new_state->crtc); in logicvc_plane_atomic_check() 102 return -EINVAL; in logicvc_plane_atomic_check() [all …]
|
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 }, 33 { "layer", LOGICVC_LAYER_ALPHA_LAYER }, 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", [all …]
|
/linux/drivers/gpu/drm/xlnx/ |
H A D | zynqmp_disp.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2017 - 2020 Xilinx, Inc. 8 * - Hyun Woo Kwon <hyun.kwon@xilinx.com> 9 * - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 19 #include <linux/dma-mapping.h> 21 #include <linux/media-bus-format.h> 34 * -------- 39 * +------------------------------------------------------------+ 40 * +--------+ | +----------------+ +-----------+ | 41 * | DPDMA | --->| | --> | Video | Video +-------------+ | [all …]
|
H A D | zynqmp_kms.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * ZynqMP DisplayPort Subsystem - KMS API 5 * Copyright (C) 2017 - 2021 Xilinx, Inc. 8 * - Hyun Woo Kwon <hyun.kwon@xilinx.com> 9 * - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 47 return container_of(drm, struct zynqmp_dpsub_drm, dev)->dpsub; in to_zynqmp_dpsub() 50 /* ----------------------------------------------------------------------------- 61 if (!new_plane_state->crtc) in zynqmp_dpsub_plane_atomic_check() 64 crtc_state = drm_atomic_get_crtc_state(state, new_plane_state->crtc); in zynqmp_dpsub_plane_atomic_check() 80 struct zynqmp_dpsub *dpsub = to_zynqmp_dpsub(plane->dev); in zynqmp_dpsub_plane_atomic_disable() [all …]
|
/linux/drivers/gpu/drm/rockchip/ |
H A D | rockchip_vop2_reg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Andy Yan <andy.yan@rock-chips.com> 68 DRM_FORMAT_YUV420_8BIT, /* yuv420_8bit non-Linear mode only */ 69 DRM_FORMAT_YUV420_10BIT, /* yuv420_10bit non-Linear mode only */ 70 DRM_FORMAT_YUYV, /* yuv422_8bit non-Linear mode only*/ 71 DRM_FORMAT_Y210, /* yuv422_10bit non-Linear mode only */ 76 * RGB: linear mode and afbc 77 * YUV: linear mode and rfbc 78 * rfbc is a rockchip defined non-linear mode, produced by 94 DRM_FORMAT_NV12, /* yuv420_8bit linear mode, 2 plane */ [all …]
|
/linux/drivers/gpu/drm/arm/ |
H A D | malidp_planes.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 /* Layer specific register offsets */ 57 * This 4-entry look-up-table is used to determine the full 8-bit alpha value 58 * for formats with 1- or 2-bit alpha channels. 59 * We set it to give 100%/0% opacity for 1-bit formats and 100%/66%/33%/0% 60 * opacity for 2-bit formats. 68 /* readahead for partial-frame prefetch */ 72 * Replicate what the default ->reset hook does: free the state pointer and 78 struct malidp_plane_state *state = to_malidp_plane_state(plane->state); in malidp_plane_reset() 81 __drm_atomic_helper_plane_destroy_state(&state->base); in malidp_plane_reset() [all …]
|
/linux/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> 10 #include <linux/mfd/atmel-hlcdc.h> 23 * struct atmel_hlcdc_plane_state - Atmel HLCDC Plane state structure. 128 static int atmel_hlcdc_format_to_plane_mode(u32 format, u32 *mode) in atmel_hlcdc_format_to_plane_mode() argument 132 *mode = ATMEL_HLCDC_C8_MODE; in atmel_hlcdc_format_to_plane_mode() 135 *mode = ATMEL_HLCDC_XRGB4444_MODE; in atmel_hlcdc_format_to_plane_mode() 138 *mode = ATMEL_HLCDC_ARGB4444_MODE; in atmel_hlcdc_format_to_plane_mode() 141 *mode = ATMEL_HLCDC_RGBA4444_MODE; in atmel_hlcdc_format_to_plane_mode() 144 *mode = ATMEL_HLCDC_RGB565_MODE; in atmel_hlcdc_format_to_plane_mode() [all …]
|
/linux/drivers/video/fbdev/ |
H A D | s3c-fb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* linux/drivers/video/s3c-fb.c 5 * Copyright 2008-2010 Simtec Electronics 15 #include <linux/dma-mapping.h> 31 * setting of the alpha-blending functions that each window has, so only 35 * output timings and as the control for the output power-down state. 38 /* note, the previous use of <mach/regs-fb.h> to get platform specific data 58 #define VALID_BPP(x) (1 << ((x) - 1)) 67 * struct s3c_fb_variant - fb variant information 111 * @has_osd_alpha: Set if can change alpha transparency for a window. [all …]
|
/linux/Documentation/driver-api/media/drivers/ |
H A D | cx2341x-devel.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 ----------------------- 12 .. note:: the memory long words are little-endian ('intel format'). 21 .. code-block:: none 23 ivtvctl -O min=0x02000000,max=0x020000ff 26 register space :-). 35 .. code-block:: none 37 0x00000000-0x00ffffff Encoder memory space 38 0x00000000-0x0003ffff Encode.rom 39 ???-??? MPEG buffer(s) [all …]
|
/linux/Documentation/gpu/ |
H A D | komeda-kms.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 Layer section in Overview of D71 like display IPs 23 ----- 24 Layer is the first pipeline stage, which prepares the pixel data for the next 30 ------ 33 The usage of scaler is very flexible and can be connected to layer output 34 for layer scaling, or connected to compositor and scale the whole display 39 ------------------- 46 Writeback Layer (wb_layer) 47 -------------------------- [all …]
|
/linux/drivers/ata/ |
H A D | pata_cypress.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pata_cypress.c - Cypress PATA for new ATA layer 49 * cy82c693_set_piomode - set initial PIO mode data 53 * Called to do the PIO mode setup. 58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cy82c693_set_piomode() 64 if (ata_timing_compute(adev, adev->pio_mode, &t, T, 1) < 0) { in cy82c693_set_piomode() 69 time_16 = clamp_val(t.recover - 1, 0, 15) | in cy82c693_set_piomode() 70 (clamp_val(t.active - 1, 0, 15) << 4); in cy82c693_set_piomode() 71 time_8 = clamp_val(t.act8b - 1, 0, 15) | in cy82c693_set_piomode() 72 (clamp_val(t.rec8b - 1, 0, 15) << 4); in cy82c693_set_piomode() [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 10 uses pata-platform driver to enable the relevant driver in the 21 If you want to use an ATA hard disk, ATA tape drive, ATA CD-ROM or 62 <file:Documentation/admin-guide/kernel-parameters.txt>. 76 This option adds support for ATA-related ACPI objects. 107 comment "Controllers with non-SFF native interface" 125 for chipsets / "South Bridges" supporting low-power modes. Such 128 - Partial: The Phy logic is powered but is in a reduced power 131 - Slumber: The Phy logic is powered but is in an even lower power 134 - DevSleep: The Phy logic may be powered down. The exit latency from [all …]
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-defs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2010-2021 Hans Verkuil <hverkuil-cisco@xs4all.nl> 9 #include <media/v4l2-ctrls.h> 26 "MPEG-1/2 Layer I", in v4l2_ctrl_get_menu() 27 "MPEG-1/2 Layer II", in v4l2_ctrl_get_menu() 28 "MPEG-1/2 Layer III", in v4l2_ctrl_get_menu() 29 "MPEG-2/4 AAC", in v4l2_ctrl_get_menu() 30 "AC-3", in v4l2_ctrl_get_menu() 128 "16-bit CRC", in v4l2_ctrl_get_menu() 141 "MPEG-1", in v4l2_ctrl_get_menu() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-codec.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _codec-controls: 24 .. _mpeg-control-id: 27 ----------------- 35 .. _v4l2-mpeg-stream-type: 40 enum v4l2_mpeg_stream_type - 41 The MPEG-1, -2 or -4 output stream type. One cannot assume anything 48 .. flat-table:: 49 :header-rows: 0 50 :stub-columns: 0 [all …]
|
/linux/Documentation/networking/ |
H A D | 6pack.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 This is the 6pack-mini-HOWTO, written by 11 :Internet: ajk@comnets.uni-bremen.de 12 :AMPR-net: dg3kq@db0pra.ampr.org 25 - The PC is given full control over the radio 35 This kind of real-time control is especially important to supply several 39 - Each packet transferred over the serial line is supplied with a checksum, 41 Received packets that are corrupt are not passed on to the AX.25 layer. 60 db0bm.automation.fh-aachen.de. In the directory /incoming/dg3kq, 99 - In the linux kernel configuration program, select the code maturity level [all …]
|
H A D | arcnet.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 See also arcnet-hardware.txt in this directory for jumper-setting 25 ARCnet 0.32 ALPHA first made it into the Linux kernel 1.1.80 - this was 36 If you don't e-mail me about your success/failure soon, I may be forced to 40 If you think so, why not flame me in a quick little e-mail? Please also 44 My e-mail address is: apenwarr@worldvisions.ca 55 The previous release resulted from many months of on-and-off effort from me 58 ARCnet 2.10 ALPHA, Tomasz's all-new-and-improved RFC1051 support has been 63 --------------------------------- 66 Subscribe by sending a message with the BODY "subscribe linux-arcnet YOUR [all …]
|
/linux/include/media/ |
H A D | dvb_frontend.h | 4 * The Digital TV Frontend kABI defines a driver-internal interface for 5 * registering low-level, hardware specific driver to a hardware independent 6 * frontend layer. 28 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 61 * struct dvb_frontend_tune_settings - parameters to adjust frontend tuning 78 * struct dvb_tuner_info - Frontend name and min/max ranges/bandwidths 101 * struct analog_parameters - Parameters to tune into an analog/radio channel 105 * @mode: Tuner mode, as defined on enum v4l2_tuner_type 106 * @audmode: Audio mode as defined for the rxsubchans field at videodev2.h, 116 unsigned int mode; member [all …]
|
/linux/drivers/char/mwave/ |
H A D | 3780i.h | 3 * 3780i.h -- declarations for 3780i.c 23 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 42 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 45 * 10/23/2000 - Alpha Release 62 #define DSP_MsaDataDSISHigh 0x0008 /* MSA data register: d-store word or high byte of i-stor… 63 #define DSP_MsaDataISLow 0x000A /* MSA data register: low word of i-store */ 70 unsigned char ConfigMode:1; /* RW: Configuration mode, 0=normal, 1=config mode */ 79 unsigned short DiagnosticMode:1; /* RW: Disgnostic mode 0=nromal, 1=diagnostic mode */ 112 unsigned char AccessMode:1; /* RW: 16-bit register access method 0=byte, 1=word */ 260 * these values are provided as input to the 3780i support layer. At present, [all …]
|
/linux/drivers/gpu/drm/exynos/ |
H A D | exynos_mixer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Seung-Woo Kim <sw0312.kim@samsung.com> 9 * Based on drivers/media/video/s5p-tv/mixer_reg.c 38 #include "regs-mixer.h" 39 #include "regs-vp.h" 47 * Each coefficient is a 10-bit fixed point number with 156 0, -1, -1, -1, -1, -1, -1, -1, 157 -1, -1, -1, -1, -1, 0, 0, 0, 160 0, -6, -12, -16, -18, -20, -21, -20, 161 -20, -18, -16, -13, -10, -8, -5, -2, [all …]
|
/linux/drivers/gpu/drm/arm/display/komeda/ |
H A D | komeda_pipeline.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 27 KOMEDA_COMPONENT_WB_LAYER = 7, /* write back layer */ 55 /** komeda_component_funcs - component control functions */ 117 * bitmask of BIT(component->id) for the supported inputs/outputs, 165 * - Layer: its user always is plane. 166 * - compiz/improc/timing_ctrlr: the user is crtc. 167 * - wb_layer: wb_conn; 168 * - scaler: plane when input is layer, wb_conn if input is compiz. 185 * - active_inputs = changed_active_inputs | unchanged_active_inputs 186 * - affected_inputs = old->active_inputs | new->active_inputs; [all …]
|
/linux/drivers/gpu/drm/kmb/ |
H A D | kmb_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright © 2018-2020 Intel Corporation 27 /* Conversion (yuv->rgb) matrix from myriadx */ 30 1024, -352, -731, 32 -179, 125, -226 35 /* Graphics layer (layers 2 & 3) formats, only packed formats are supported */ 48 /* Video layer ( 0 & 1) formats, packed and planar formats are supported */ 72 int plane_id = kmb_plane->id; in check_pixel_format() 75 kmb = to_kmb(plane->dev); in check_pixel_format() 76 init_disp_cfg = kmb->init_disp_cfg[plane_id]; in check_pixel_format() [all …]
|