linux/drivers/video/fbdev/sis/sis_main.h

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
 * SiS 300/305/540/630(S)/730(S),
 * SiS 315[E|PRO]/550/[M]65x/[M]66x[F|M|G]X/[M]74x[GX]/330/[M]76x[GX],
 * XGI V3XT/V5/V8, Z7
 * frame buffer driver for Linux kernels >=2.4.14 and >=2.6.3
 *
 * Copyright (C) 2001-2005 Thomas Winischhofer, Vienna, Austria.
 */

#ifndef _SISFB_MAIN
#define _SISFB_MAIN

#include "vstruct.h"
#include "sis.h"

/* Fbcon stuff */
static struct fb_var_screeninfo my_default_var =;

#define MODE_INDEX_NONE

/* Boot-time parameters */
static int sisfb_off =;
static int sisfb_parm_mem =;
static int sisfb_accel =;
static int sisfb_ypan =;
static int sisfb_max =;
static int sisfb_userom =;
static int sisfb_useoem =;
static int sisfb_mode_idx =;               /* Use a default mode if we are inside the kernel */
static int sisfb_parm_rate =;
static int sisfb_crt1off =;
static int sisfb_forcecrt1 =;
static int sisfb_crt2type  =;	/* CRT2 type (for overriding autodetection) */
static int sisfb_crt2flags =;
static int sisfb_pdc =;
static int sisfb_pdca =;
static int sisfb_scalelcd =;
static int sisfb_specialtiming =;
static int sisfb_lvdshl =;
static int sisfb_dstn =;
static int sisfb_fstn =;
static int sisfb_tvplug =;		/* Tv plug type (for overriding autodetection) */
static int sisfb_tvstd  =;
static int sisfb_tvxposoffset =;
static int sisfb_tvyposoffset =;
static int sisfb_nocrt2rate =;
#if !defined(__i386__) && !defined(__x86_64__)
static int sisfb_resetcard = 0;
static int sisfb_videoram = 0;
#endif

/* List of supported chips */
static struct sisfb_chip_info {} sisfb_chip_info[] =;

static struct pci_device_id sisfb_pci_table[] =;

MODULE_DEVICE_TABLE(pci, sisfb_pci_table);

static struct sis_video_info *card_list =;

/* The memory heap is now handled card-wise, by using
   sis_malloc_new/sis_free_new. However, the DRM does
   not do this yet. Until it does, we keep a "global"
   heap which is actually the first card's one.
 */
static struct SIS_HEAP	*sisfb_heap;

#define MD_SIS300
#define MD_SIS315

/* Mode table */
static const struct _sisbios_mode {} sisbios_mode[] =;

#define SIS_LCD_NUMBER
static struct _sis_lcd_data {} sis_lcd_data[] =;

/* CR36 evaluation */
static unsigned short sis300paneltype[] =;

static unsigned short sis310paneltype[] =;

static unsigned short sis661paneltype[] =;

#define FL_550_DSTN
#define FL_550_FSTN
#define FL_300
#define FL_315

static struct _sis_crt2type {} sis_crt2type[] __initdata =;

/* TV standard */
static struct _sis_tvtype {} sis_tvtype[] __initdata =;

static const struct _sis_vrate {} sisfb_vrate[] =;

static struct _sisfbddcsmodes {} sisfb_ddcsmodes[] =;

static struct _sisfbddcfmodes {} sisfb_ddcfmodes[] =;

#ifdef CONFIG_FB_SIS_300
static struct _chswtable {} mychswtable[] =;
#endif

static struct _customttable {} mycustomttable[] =;

#endif