linux/drivers/video/fbdev/sm712.h

/*
 * Silicon Motion SM712 frame buffer device
 *
 * Copyright (C) 2006 Silicon Motion Technology Corp.
 * Authors:	Ge Wang, [email protected]
 *		Boyod [email protected]
 *
 * Copyright (C) 2009 Lemote, Inc.
 * Author: Wu Zhangjin, [email protected]
 *
 *  This file is subject to the terms and conditions of the GNU General Public
 *  License. See the file COPYING in the main directory of this archive for
 *  more details.
 */

#define FB_ACCEL_SMI_LYNX

#define SCREEN_X_RES
#define SCREEN_Y_RES_PC
#define SCREEN_Y_RES_NETBOOK
#define SCREEN_BPP

#define dac_reg
#define dac_val

extern void __iomem *smtc_regbaseaddress;
#define smtc_mmiowb(dat, reg)

#define smtc_mmiorb(reg)

#define SIZE_SR00_SR04
#define SIZE_SR10_SR24
#define SIZE_SR30_SR75
#define SIZE_SR80_SR93
#define SIZE_SRA0_SRAF
#define SIZE_GR00_GR08
#define SIZE_AR00_AR14
#define SIZE_CR00_CR18
#define SIZE_CR30_CR4D
#define SIZE_CR90_CRA7

static inline void smtc_crtcw(int reg, int val)
{}

static inline void smtc_grphw(int reg, int val)
{}

static inline void smtc_attrw(int reg, int val)
{}

static inline void smtc_seqw(int reg, int val)
{}

static inline unsigned int smtc_seqr(int reg)
{}

/* The next structure holds all information relevant for a specific video mode.
 */

struct modeinit {};

#ifdef __BIG_ENDIAN
#define pal_rgb
#define big_addr
#define mmio_addr
#define seqw17
#define big_pixel_depth
#define big_swap
#else
#define pal_rgb(r, g, b, val)
#define big_addr
#define mmio_addr
#define seqw17()
#define big_pixel_depth(p, d)
#define big_swap(p)
#endif