Lines Matching +full:mali +full:- +full:dp500
1 /* SPDX-License-Identifier: GPL-2.0-only */
4 * (C) COPYRIGHT 2013-2016 ARM Limited. All rights reserved.
6 * ARM Mali DP hardware manipulation routines.
18 /* Mali DP IP blocks */
25 /* Mali DP layer IDs */
29 DE_GRAPHICS2 = BIT(2), /* used only in DP500 */
66 s16 yuv2rgb_offset; /* offset to the YUV->RGB matrix entries */
132 /* Unlike DP550/650, DP500 has 3 stride registers in its video layer. */
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()