linux/drivers/video/fbdev/mb862xx/mb862xxfb.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __MB862XX_H__
#define __MB862XX_H__

struct mb862xx_l1_cfg {};

#define MB862XX_BASE
#define MB862XX_L1_GET_CFG
#define MB862XX_L1_SET_CFG
#define MB862XX_L1_ENABLE
#define MB862XX_L1_CAP_CTL

#ifdef __KERNEL__

#define PCI_VENDOR_ID_FUJITSU_LIMITED
#define PCI_DEVICE_ID_FUJITSU_CORALP
#define PCI_DEVICE_ID_FUJITSU_CORALPA
#define PCI_DEVICE_ID_FUJITSU_CARMINE

#define GC_MMR_CORALP_EVB_VAL

enum gdctype {};

struct mb862xx_gc_mode {};

/* private data */
struct mb862xxfb_par {};

extern void mb862xxfb_init_accel(struct fb_info *info, struct fb_ops *fbops, int xres);
#ifdef CONFIG_FB_MB862XX_I2C
extern int mb862xx_i2c_init(struct mb862xxfb_par *par);
extern void mb862xx_i2c_exit(struct mb862xxfb_par *par);
#else
static inline int mb862xx_i2c_init(struct mb862xxfb_par *par) { return 0; }
static inline void mb862xx_i2c_exit(struct mb862xxfb_par *par) { }
#endif

#if defined(CONFIG_FB_MB862XX_LIME) && defined(CONFIG_FB_MB862XX_PCI_GDC)
#error	"Select Lime GDC or CoralP/Carmine support, but not both together"
#endif
#if defined(CONFIG_FB_MB862XX_LIME)
#define gdc_read
#define gdc_write
#else
#define gdc_read
#define gdc_write
#endif

#define inreg(type, off)

#define outreg(type, off, val)

#define pack(a, b)

#endif /* __KERNEL__ */

#endif