ingenic-drm.h (03ab8e6297acd1bc0eedaa050e2a1635c576fd11) | ingenic-drm.h (f0dce5c4fdaf9e98dd2755ffb1363822854b6287) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2// 3// Ingenic JZ47xx KMS driver - Register definitions and private API 4// 5// Copyright (C) 2020, Paul Cercueil <paul@crapouillou.net> 6 7#ifndef DRIVERS_GPU_DRM_INGENIC_INGENIC_DRM_H 8#define DRIVERS_GPU_DRM_INGENIC_INGENIC_DRM_H --- 92 unchanged lines hidden (view full) --- 101#define JZ_LCD_DAH_HDE_OFFSET 0 102 103#define JZ_LCD_DAV_VDS_OFFSET 16 104#define JZ_LCD_DAV_VDE_OFFSET 0 105 106#define JZ_LCD_CTRL_BURST_4 (0x0 << 28) 107#define JZ_LCD_CTRL_BURST_8 (0x1 << 28) 108#define JZ_LCD_CTRL_BURST_16 (0x2 << 28) | 1/* SPDX-License-Identifier: GPL-2.0 */ 2// 3// Ingenic JZ47xx KMS driver - Register definitions and private API 4// 5// Copyright (C) 2020, Paul Cercueil <paul@crapouillou.net> 6 7#ifndef DRIVERS_GPU_DRM_INGENIC_INGENIC_DRM_H 8#define DRIVERS_GPU_DRM_INGENIC_INGENIC_DRM_H --- 92 unchanged lines hidden (view full) --- 101#define JZ_LCD_DAH_HDE_OFFSET 0 102 103#define JZ_LCD_DAV_VDS_OFFSET 16 104#define JZ_LCD_DAV_VDE_OFFSET 0 105 106#define JZ_LCD_CTRL_BURST_4 (0x0 << 28) 107#define JZ_LCD_CTRL_BURST_8 (0x1 << 28) 108#define JZ_LCD_CTRL_BURST_16 (0x2 << 28) |
109#define JZ_LCD_CTRL_BURST_32 (0x3 << 28) 110#define JZ_LCD_CTRL_BURST_64 (0x4 << 28) 111#define JZ_LCD_CTRL_BURST_MASK (0x7 << 28) |
|
109#define JZ_LCD_CTRL_RGB555 BIT(27) 110#define JZ_LCD_CTRL_OFUP BIT(26) 111#define JZ_LCD_CTRL_FRC_GRAYSCALE_16 (0x0 << 24) 112#define JZ_LCD_CTRL_FRC_GRAYSCALE_4 (0x1 << 24) 113#define JZ_LCD_CTRL_FRC_GRAYSCALE_2 (0x2 << 24) 114#define JZ_LCD_CTRL_PDD_MASK (0xff << 16) 115#define JZ_LCD_CTRL_EOF_IRQ BIT(13) 116#define JZ_LCD_CTRL_SOF_IRQ BIT(12) --- 113 unchanged lines hidden --- | 112#define JZ_LCD_CTRL_RGB555 BIT(27) 113#define JZ_LCD_CTRL_OFUP BIT(26) 114#define JZ_LCD_CTRL_FRC_GRAYSCALE_16 (0x0 << 24) 115#define JZ_LCD_CTRL_FRC_GRAYSCALE_4 (0x1 << 24) 116#define JZ_LCD_CTRL_FRC_GRAYSCALE_2 (0x2 << 24) 117#define JZ_LCD_CTRL_PDD_MASK (0xff << 16) 118#define JZ_LCD_CTRL_EOF_IRQ BIT(13) 119#define JZ_LCD_CTRL_SOF_IRQ BIT(12) --- 113 unchanged lines hidden --- |