Lines Matching +full:layer +full:- +full:buffer +full:- +full:offset

1 /* 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
62 u16 id; /* layer ID */
63 u16 base; /* address offset for the register bank */
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 */
67 u16 mmu_ctrl_offset; /* offset to the MMU control register */
69 /* address offset for the AFBC decoder registers */
100 /* address offset of the DE register bank */
102 /* address offset of the DE coefficients registers */
104 /* address offset of the SE registers bank */
106 /* address offset of the DC registers bank */
109 /* address offset for the output depth register */
123 /* list of supported pixel formats for each layer */
132 /* Unlike DP550/650, DP500 has 3 stride registers in its video layer. */
168 * after the end of the current buffer scanout, and will ignore
181 * and the buffer format.
195 * @param hwdev - malidp_hw_device structure containing the HW description
196 * @param addrs - array of addresses for each plane
197 * @param pitches - array of pitches for each plane
198 * @param num_planes - number of planes to be written
199 * @param w - width of the output frame
200 * @param h - height of the output frame
201 * @param fmt_id - internal format ID of output buffer
261 WARN_ON(hwdev->pm_suspended); in malidp_hw_read()
262 return readl(hwdev->regs + reg); in malidp_hw_read()
268 WARN_ON(hwdev->pm_suspended); in malidp_hw_write()
269 writel(value, hwdev->regs + reg); in malidp_hw_write()
295 return hwdev->hw->map.se_base; in malidp_get_block_base()
297 return hwdev->hw->map.dc_base; in malidp_get_block_base()
337 if (hwdev->hw->map.bus_align_bytes == 8) in malidp_hw_get_pitch_align()
340 return hwdev->hw->map.bus_align_bytes << (rotated ? 2 : 0); in malidp_hw_get_pitch_align()
369 -8, -8, -8, -8, 128, -8, -8, -8, -8 in malidp_se_set_enh_coeffs()
373 u32 image_enh = hwdev->hw->map.se_base + in malidp_se_set_enh_coeffs()
374 ((hwdev->hw->map.features & MALIDP_REGMAP_HAS_CLEARIRQ) ? in malidp_se_set_enh_coeffs()