Home
last modified time | relevance | path

Searched +full:layer +full:- +full:base +full:- +full:offset (Results 1 – 25 of 342) sorted by relevance

12345678910>>...14

/linux/Documentation/devicetree/bindings/display/
H A Dxylon,logicvc-display.yaml1 # 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
26 starting from the video memory base address for its framebuffer. In version 4,
[all …]
/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_plane.c1 // 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.
25 * @base: DRM plane state
47 struct drm_plane_state base; member
78 return container_of(s, struct atmel_hlcdc_plane_state, base); in drm_plane_state_to_atmel_hlcdc_plane_state()
189 return -ENOTSUPP; in atmel_hlcdc_format_to_plane_mode()
264 factor = (256 * ((8 * (srcsize - 1)) - phidef)) / (dstsize - 1); in atmel_hlcdc_plane_phiscaler_get_factor()
265 max_memsize = ((factor * (dstsize - 1)) + (256 * phidef)) / 2048; in atmel_hlcdc_plane_phiscaler_get_factor()
[all …]
H A Datmel_hlcdc_dc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Author: Jean-Jacques Hiblot <jjhiblot@traphandler.com>
8 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com>
95 #define ATMEL_HLCDC_LAYER_SIZE(w, h) (((w) - 1) | (((h) - 1) << 16))
116 #define ATMEL_HLCDC_LAYER_DISC_SIZE(w, h) (((w) - 1) | (((h) - 1) << 16))
174 * Atmel HLCDC Layer registers layout structure
176 * Each HLCDC layer has its own register organization and a given register
179 * This structure stores common registers layout for a given layer and is
180 * used by HLCDC layer code to choose the appropriate register to write to
195 * @general_config: general layer config register
[all …]
/linux/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_catalog.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
4 * Copyright (c) 2015-2018, 2020 The Linux Foundation. All rights reserved.
52 * SSPP sub-blocks/features
54 …* @DPU_SSPP_SCALER_QSEED3_COMPATIBLE, QSEED3-compatible alogorithm support (includes QSEED3, QSEE…
57 * @DPU_SSPP_CSC_10BIT, Support of 10-bit Color space conversion
58 * @DPU_SSPP_CURSOR, SSPP can be used as a cursor layer
60 * @DPU_SSPP_QOS_8LVL, SSPP support 8-level QoS control
90 * MIXER sub-blocks/features
91 * @DPU_MIXER_LAYER Layer mixer layer blend configuration,
[all …]
/linux/drivers/gpu/drm/sun4i/
H A Dsun8i_ui_scaler.c5 * Copyright (C) 2014-2015 Allwinner
94 int vi_num = mixer->cfg->vi_num; in sun8i_ui_scaler_base()
96 if (mixer->cfg->is_de3) in sun8i_ui_scaler_base()
99 DE3_UI_SCALER_UNIT_SIZE * (channel - vi_num); in sun8i_ui_scaler_base()
103 DE2_UI_SCALER_UNIT_SIZE * (channel - vi_num); in sun8i_ui_scaler_base()
110 scale = step >> (SUN8I_UI_SCALER_SCALE_FRAC - 3); in sun8i_ui_scaler_coef_index()
130 void sun8i_ui_scaler_enable(struct sun8i_mixer *mixer, int layer, bool enable) in sun8i_ui_scaler_enable() argument
132 u32 val, base; in sun8i_ui_scaler_enable() local
134 if (WARN_ON(layer < mixer->cfg->vi_num)) in sun8i_ui_scaler_enable()
137 base = sun8i_ui_scaler_base(mixer, layer); in sun8i_ui_scaler_enable()
[all …]
H A Dsun8i_ui_layer.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 * Maxime Ripard <maxime.ripard@free-electrons.com>
37 val = SUN8I_MIXER_CHAN_UI_LAYER_ATTR_ALPHA(plane->state->alpha >> 8); in sun8i_ui_layer_update_alpha()
39 val |= (plane->state->alpha == DRM_BLEND_ALPHA_OPAQUE) ? in sun8i_ui_layer_update_alpha()
43 regmap_update_bits(mixer->engine.regs, in sun8i_ui_layer_update_alpha()
52 struct drm_plane_state *state = plane->state; in sun8i_ui_layer_update_coord()
64 src_w = drm_rect_width(&state->src) >> 16; in sun8i_ui_layer_update_coord()
65 src_h = drm_rect_height(&state->src) >> 16; in sun8i_ui_layer_update_coord()
66 dst_w = drm_rect_width(&state->dst); in sun8i_ui_layer_update_coord()
67 dst_h = drm_rect_height(&state->dst); in sun8i_ui_layer_update_coord()
[all …]
/linux/drivers/gpu/drm/arm/
H A Dmalidp_hw.h1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * (C) COPYRIGHT 2013-2016 ARM Limited. All rights reserved.
25 /* Mali DP layer IDs */
43 u8 layer; /* bitmask of layers supporting it */ member
52 * base register offsets
62 u16 id; /* layer ID */
63 u16 base; /* address offset for the register bank */ member
64 u16 ptr; /* address offset for the pointer register */
65 u16 stride_offset; /* offset to the first stride register. */
66 s16 yuv2rgb_offset; /* offset to the YUV->RGB matrix entries */
[all …]
/linux/drivers/gpu/drm/logicvc/
H A Dlogicvc_layer.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2019-2022 Bootlin
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()
104 if (new_state->crtc_x < 0 || new_state->crtc_y < 0) { in logicvc_plane_atomic_check()
106 "Negative on-CRTC positions are not supported.\n"); in logicvc_plane_atomic_check()
[all …]
H A Dlogicvc_of.c1 // 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/vmwgfx/
H A Dvmw_surface_cache.h1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */
4 * Copyright (c) 2021-2024 Broadcom. All Rights Reserved. The term
43 return (tmp > (uint64_t) ((u32) -1)) ? (u32) -1 : tmp; in clamped_umul32()
47 * vmw_surface_get_desc - Look up the appropriate SVGA3dSurfaceDesc for the
60 * vmw_surface_get_mip_size - Given a base level size and the mip level,
80 block_size->width = __KERNEL_DIV_ROUND_UP(pixel_size->width, in vmw_surface_get_size_in_blocks()
81 desc->blockSize.width); in vmw_surface_get_size_in_blocks()
82 block_size->height = __KERNEL_DIV_ROUND_UP(pixel_size->height, in vmw_surface_get_size_in_blocks()
83 desc->blockSize.height); in vmw_surface_get_size_in_blocks()
84 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth, in vmw_surface_get_size_in_blocks()
[all …]
/linux/drivers/gpu/drm/sprd/
H A Dsprd_dpu.h1 /* SPDX-License-Identifier: GPL-2.0 */
23 /* DPU Layer registers offset */
35 * @base: DPU controller base address
46 void __iomem *base; member
64 struct drm_crtc base; member
71 return container_of(crtc, struct sprd_dpu, base); in to_sprd_crtc()
75 dpu_reg_set(struct dpu_context *ctx, u32 offset, u32 set_bits) in dpu_reg_set() argument
77 u32 bits = readl_relaxed(ctx->base + offset); in dpu_reg_set()
79 writel(bits | set_bits, ctx->base + offset); in dpu_reg_set()
83 dpu_reg_clr(struct dpu_context *ctx, u32 offset, u32 clr_bits) in dpu_reg_clr() argument
[all …]
/linux/drivers/usb/mtu3/
H A Dmtu3.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * mtu3.h - MediaTek USB3 DRD header
35 #define MU3D_EP_TXCR0(epnum) (U3D_TX1CSR0 + (((epnum) - 1) * 0x10))
36 #define MU3D_EP_TXCR1(epnum) (U3D_TX1CSR1 + (((epnum) - 1) * 0x10))
37 #define MU3D_EP_TXCR2(epnum) (U3D_TX1CSR2 + (((epnum) - 1) * 0x10))
39 #define MU3D_EP_RXCR0(epnum) (U3D_RX1CSR0 + (((epnum) - 1) * 0x10))
40 #define MU3D_EP_RXCR1(epnum) (U3D_RX1CSR1 + (((epnum) - 1) * 0x10))
41 #define MU3D_EP_RXCR2(epnum) (U3D_RX1CSR2 + (((epnum) - 1) * 0x10))
43 #define USB_QMU_TQHIAR(epnum) (U3D_TXQHIAR1 + (((epnum) - 1) * 0x4))
44 #define USB_QMU_RQHIAR(epnum) (U3D_RXQHIAR1 + (((epnum) - 1) * 0x4))
[all …]
/linux/Documentation/devicetree/bindings/display/mediatek/
H A Dmediatek,padding.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chun-Kuang Hu <chunkuang.hu@kernel.org>
11 - Philipp Zabel <p.zabel@pengutronix.de>
14 Padding provides ability to add pixels to width and height of a layer with
16 width of a layer to be 2-pixel-align, or 4-pixel-align when ETHDR is enabled,
24 - mediatek,mt8188-disp-padding
25 - mediatek,mt8195-mdp3-padding
30 power-domains:
[all …]
/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_framebuffer.c1 // SPDX-License-Identifier: GPL-2.0
21 for (i = 0; i < fb->format->num_planes; i++) in komeda_fb_destroy()
22 drm_gem_object_put(fb->obj[i]); in komeda_fb_destroy()
31 return drm_gem_handle_create(file, fb->obj[0], handle); in komeda_fb_create_handle()
43 struct drm_framebuffer *fb = &kfb->base; in komeda_fb_afbc_size_check()
44 const struct drm_format_info *info = fb->format; in komeda_fb_afbc_size_check()
49 obj = drm_gem_object_lookup(file, mode_cmd->handles[0]); in komeda_fb_afbc_size_check()
52 return -ENOENT; in komeda_fb_afbc_size_check()
55 switch (fb->modifier & AFBC_FORMAT_MOD_BLOCK_SIZE_MASK) { in komeda_fb_afbc_size_check()
66 fb->modifier & AFBC_FORMAT_MOD_BLOCK_SIZE_MASK); in komeda_fb_afbc_size_check()
[all …]
/linux/Documentation/devicetree/bindings/media/
H A Dti,cal.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments DRA72x CAMERA ADAPTATION LAYER (CAL)
10 - Benoit Parrot <bparrot@ti.com>
12 description: |-
13 The Camera Adaptation Layer (CAL) is a key component for image capture
15 processing capability to connect CSI2 image-sensor modules to the
24 - ti,dra72-cal
26 - ti,dra72-pre-es2-cal
[all …]
/linux/include/misc/
H A Docxl.h1 // SPDX-License-Identifier: GPL-2.0+
14 * reuse common code. A bit like a in-kernel library.
22 int dvsec_afu_control_pos; /* offset of AFU control DVSEC */
32 u8 pp_mmio_bar; /* per-process MMIO area */
44 int dvsec_tl_pos; /* offset of the Transaction Layer DVSEC */
45 int dvsec_function_pos; /* offset of the Function DVSEC */
46 int dvsec_afu_info_pos; /* offset of the AFU information DVSEC */
52 OCXL_BIG_ENDIAN = 0, /**< AFU data is big-endian */
53 OCXL_LITTLE_ENDIAN = 1, /**< AFU data is little-endian */
65 * ocxl_function_open() - Open an OpenCAPI function on an OpenCAPI device
[all …]
/linux/drivers/media/platform/ti/cal/
H A Dcal.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * TI Camera Access Layer (CAL)
5 * Copyright (c) 2015-2020 Texas Instruments Inc.
22 #include <media/media-device.h>
23 #include <media/v4l2-async.h>
24 #include <media/v4l2-ctrls.h>
25 #include <media/v4l2-dev.h>
26 #include <media/v4l2-device.h>
27 #include <media/v4l2-fwnode.h>
28 #include <media/v4l2-subdev.h>
[all …]
/linux/net/netfilter/
H A Dnft_payload.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2008-2009 Patrick McHardy <kaber@trash.net>
19 /* For layer 4 checksum field offset. */
34 veth->h_vlan_proto = skb->vlan_proto; in nft_payload_rebuild_vlan_hdr()
35 veth->h_vlan_TCI = htons(skb_vlan_tag_get(skb)); in nft_payload_rebuild_vlan_hdr()
36 veth->h_vlan_encapsulated_proto = skb->protocol; in nft_payload_rebuild_vlan_hdr()
43 nft_payload_copy_vlan(u32 *d, const struct sk_buff *skb, u8 offset, u8 len) in nft_payload_copy_vlan() argument
45 int mac_off = skb_mac_header(skb) - skb->data; in nft_payload_copy_vlan()
50 if (offset < VLAN_ETH_HLEN) { in nft_payload_copy_vlan()
56 if (offset + len > VLAN_ETH_HLEN) in nft_payload_copy_vlan()
[all …]
/linux/net/openvswitch/
H A Dflow.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2007-2014 Nicira, Inc.
52 idle_ms = jiffies_to_msecs(jiffies - flow_jiffies); in ovs_flow_used_time()
56 return cur_ms - idle_ms; in ovs_flow_used_time()
66 int len = skb->len + (skb_vlan_tag_present(skb) ? VLAN_HLEN : 0); in ovs_flow_stats_update()
68 stats = rcu_dereference(flow->stats[cpu]); in ovs_flow_stats_update()
70 /* Check if already have CPU-specific stats. */ in ovs_flow_stats_update()
72 spin_lock(&stats->lock); in ovs_flow_stats_update()
73 /* Mark if we write on the pre-allocated stats. */ in ovs_flow_stats_update()
74 if (cpu == 0 && unlikely(flow->stats_last_writer != cpu)) in ovs_flow_stats_update()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_ctl_defs.h2 * Copyright (c) 2003-2008 Chelsio, Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
66 * Structure used to describe a TID range. Valid TIDs are [base, base+num).
69 unsigned int base; /* first TID */ member
116 * Structure used to return information to the iscsi layer.
119 unsigned int offset; member
130 * Structure used to return information to the RDMA layer.
133 unsigned int tpt_base; /* TPT base address */
135 unsigned int pbl_base; /* PBL base address */
[all …]
/linux/drivers/irqchip/
H A Dspear-shirq.c2 * SPEAr platform shared irq layer source file
4 * Copyright (C) 2009-2012 ST Microelectronics
31 * base: Base register address
32 * status_reg: Status register offset for chained interrupt handler
33 * mask_reg: Mask register offset for irq chip
35 * virq_base: Base virtual interrupt number
37 * offset: Bit offset of the first interrupt
42 void __iomem *base; member
48 u32 offset; member
61 u32 val, shift = d->irq - shirq->virq_base + shirq->offset; in shirq_irq_mask()
[all …]
/linux/drivers/edac/
H A Darmada_xp_edac.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <asm/hardware/cache-l2x0.h>
13 #include <asm/hardware/cache-aurora-l2.h>
74 void __iomem *base; member
88 if (drvdata->width == 8) { in axp_mc_calc_address()
90 if (drvdata->cs_addr_sel[cs]) in axp_mc_calc_address()
100 } else if (drvdata->width == 4) { in axp_mc_calc_address()
102 if (drvdata->cs_addr_sel[cs]) in axp_mc_calc_address()
114 if (drvdata->cs_addr_sel[cs]) in axp_mc_calc_address()
129 struct axp_mc_drvdata *drvdata = mci->pvt_info; in axp_mc_check()
[all …]
/linux/include/linux/surface_aggregator/
H A Dserial_hub.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Lower-level communication layers and SSH protocol definitions for the
7 * packet- and request-based communication with the SSAM EC via SSH.
9 * Copyright (C) 2019-2021 Maximilian Luz <luzmaximilian@gmail.com>
15 #include <linux/crc-itu-t.h>
22 /* -- Data structures for SAM-over-SSH communication. ----------------------- */
25 * enum ssh_frame_type - Frame types for SSH frames.
42 * For command-type payloads, this can also mean that the command is
53 * struct ssh_frame - SSH communication frame.
68 * SSH_FRAME_MAX_PAYLOAD_SIZE - Maximum SSH frame payload length in bytes.
[all …]
/linux/drivers/rtc/
H A Drtc-meson.c1 // SPDX-License-Identifier: GPL-2.0
19 #include <linux/nvmem-provider.h>
46 /* rtc registers accessed via rtc-serial interface */
71 .name = "peripheral-registers",
79 /* RTC front-end serialiser controls */
84 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SCLK, 0); in meson_rtc_sclk_pulse()
86 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SCLK, in meson_rtc_sclk_pulse()
92 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SDI, in meson_rtc_send_bit()
100 u32 bit = 1 << (nr - 1); in meson_rtc_send_bits()
110 regmap_update_bits(rtc->peripheral, RTC_ADDR0, RTC_ADDR0_LINE_SEN, 0); in meson_rtc_set_dir()
[all …]
/linux/Documentation/trace/
H A Dkprobetrace.rst2 Kprobe-based Event Tracing
8 --------
9 These events are similar to tracepoint-based events. Instead of tracepoints,
13 Unlike the tracepoint-based event, this can be added and removed
28 -------------------------
34 -:[GRP/][EVENT] : Clear a probe
40 SYM[+offs] : Symbol+offset where the probe is inserted.
50 @SYM[+|-offs] : Fetch memory at SYM +|- offs (SYM should be a data symbol)
56 +|-[u]OFFS(FETCHARG) : Fetch memory at FETCHARG +|- OFFS address.(\*3)(\*4)
61 (x8/x16/x32/x64), VFS layer common type(%pd/%pD), "char",
[all …]

12345678910>>...14