mirror of
https://github.com/torvalds/linux.git
synced 2024-11-19 10:31:48 +00:00
1802d0beec
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 655 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Reviewed-by: Richard Fontana <rfontana@redhat.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190527070034.575739538@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
32 lines
756 B
C
32 lines
756 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/*
|
|
* ARC PGU DRM driver.
|
|
*
|
|
* Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com)
|
|
*/
|
|
|
|
#ifndef _ARC_PGU_REGS_H_
|
|
#define _ARC_PGU_REGS_H_
|
|
|
|
#define ARCPGU_REG_CTRL 0x00
|
|
#define ARCPGU_REG_STAT 0x04
|
|
#define ARCPGU_REG_FMT 0x10
|
|
#define ARCPGU_REG_HSYNC 0x14
|
|
#define ARCPGU_REG_VSYNC 0x18
|
|
#define ARCPGU_REG_ACTIVE 0x1c
|
|
#define ARCPGU_REG_BUF0_ADDR 0x40
|
|
#define ARCPGU_REG_STRIDE 0x50
|
|
#define ARCPGU_REG_START_SET 0x84
|
|
|
|
#define ARCPGU_REG_ID 0x3FC
|
|
|
|
#define ARCPGU_CTRL_ENABLE_MASK 0x02
|
|
#define ARCPGU_CTRL_VS_POL_MASK 0x1
|
|
#define ARCPGU_CTRL_VS_POL_OFST 0x3
|
|
#define ARCPGU_CTRL_HS_POL_MASK 0x1
|
|
#define ARCPGU_CTRL_HS_POL_OFST 0x4
|
|
#define ARCPGU_MODE_RGB888_MASK 0x04
|
|
#define ARCPGU_STAT_BUSY_MASK 0x02
|
|
|
|
#endif
|