linux/drivers/video/fbdev/geode/video_cs5530.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * drivers/video/geode/video_cs5530.h
 *   -- CS5530 video device
 *
 * Copyright (C) 2005 Arcom Control Systems Ltd.
 *
 * Based on AMD's original 2.4 driver:
 *   Copyright (C) 2004 Advanced Micro Devices, Inc.
 */
#ifndef __VIDEO_CS5530_H__
#define __VIDEO_CS5530_H__

extern const struct geode_vid_ops cs5530_vid_ops;

/* CS5530 Video device registers */

#define CS5530_VIDEO_CONFIG
#define CS5530_VCFG_VID_EN
#define CS5530_VCFG_VID_REG_UPDATE
#define CS5530_VCFG_VID_INP_FORMAT
#define CS5530_VCFG_8_BIT_4_2_0
#define CS5530_VCFG_16_BIT_4_2_0
#define CS5530_VCFG_GV_SEL
#define CS5530_VCFG_CSC_BYPASS
#define CS5530_VCFG_X_FILTER_EN
#define CS5530_VCFG_Y_FILTER_EN
#define CS5530_VCFG_LINE_SIZE_LOWER_MASK
#define CS5530_VCFG_INIT_READ_MASK
#define CS5530_VCFG_EARLY_VID_RDY
#define CS5530_VCFG_LINE_SIZE_UPPER
#define CS5530_VCFG_4_2_0_MODE
#define CS5530_VCFG_16_BIT_EN
#define CS5530_VCFG_HIGH_SPD_INT

#define CS5530_DISPLAY_CONFIG
#define CS5530_DCFG_DIS_EN
#define CS5530_DCFG_HSYNC_EN
#define CS5530_DCFG_VSYNC_EN
#define CS5530_DCFG_DAC_BL_EN
#define CS5530_DCFG_DAC_PWR_EN
#define CS5530_DCFG_FP_PWR_EN
#define CS5530_DCFG_FP_DATA_EN
#define CS5530_DCFG_CRT_HSYNC_POL
#define CS5530_DCFG_CRT_VSYNC_POL
#define CS5530_DCFG_FP_HSYNC_POL
#define CS5530_DCFG_FP_VSYNC_POL
#define CS5530_DCFG_XGA_FP
#define CS5530_DCFG_FP_DITH_EN
#define CS5530_DCFG_CRT_SYNC_SKW_MASK
#define CS5530_DCFG_CRT_SYNC_SKW_INIT
#define CS5530_DCFG_PWR_SEQ_DLY_MASK
#define CS5530_DCFG_PWR_SEQ_DLY_INIT
#define CS5530_DCFG_VG_CK
#define CS5530_DCFG_GV_PAL_BYP
#define CS5530_DCFG_DDC_SCL
#define CS5530_DCFG_DDC_SDA
#define CS5530_DCFG_DDC_OE
#define CS5530_DCFG_16_BIT_EN

#define CS5530_VIDEO_X_POS
#define CS5530_VIDEO_Y_POS
#define CS5530_VIDEO_SCALE
#define CS5530_VIDEO_COLOR_KEY
#define CS5530_VIDEO_COLOR_MASK
#define CS5530_PALETTE_ADDRESS
#define CS5530_PALETTE_DATA
#define CS5530_DOT_CLK_CONFIG
#define CS5530_CRCSIG_TFT_TV

#endif /* !__VIDEO_CS5530_H__ */