1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #ifndef __MATROXFB_CRTC2_H__ 3 #define __MATROXFB_CRTC2_H__ 4 5 #include <linux/ioctl.h> 6 #include "matroxfb_base.h" 7 8 struct matroxfb_dh_fb_info { 9 struct fb_info fbcon; 10 int fbcon_registered; 11 int initialized; 12 13 struct matrox_fb_info* primary_dev; 14 15 struct { 16 unsigned long base; /* physical */ 17 vaddr_t vbase; /* virtual */ 18 unsigned int len; 19 unsigned int len_usable; 20 unsigned int len_maximum; 21 unsigned int offbase; 22 unsigned int borrowed; 23 } video; 24 struct { 25 unsigned long base; 26 vaddr_t vbase; 27 unsigned int len; 28 } mmio; 29 30 unsigned int interlaced:1; 31 32 u_int32_t cmap[16]; 33 }; 34 35 #endif /* __MATROXFB_CRTC2_H__ */ 36