162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __LINUX_FBIO_H
362306a36Sopenharmony_ci#define __LINUX_FBIO_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#include <linux/compiler.h>
662306a36Sopenharmony_ci#include <linux/types.h>
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci/* Constants used for fbio SunOS compatibility */
962306a36Sopenharmony_ci/* (C) 1996 Miguel de Icaza */
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ci/* Frame buffer types */
1262306a36Sopenharmony_ci#define FBTYPE_NOTYPE           -1
1362306a36Sopenharmony_ci#define FBTYPE_SUN1BW           0   /* mono */
1462306a36Sopenharmony_ci#define FBTYPE_SUN1COLOR        1
1562306a36Sopenharmony_ci#define FBTYPE_SUN2BW           2
1662306a36Sopenharmony_ci#define FBTYPE_SUN2COLOR        3
1762306a36Sopenharmony_ci#define FBTYPE_SUN2GP           4
1862306a36Sopenharmony_ci#define FBTYPE_SUN5COLOR        5
1962306a36Sopenharmony_ci#define FBTYPE_SUN3COLOR        6
2062306a36Sopenharmony_ci#define FBTYPE_MEMCOLOR         7
2162306a36Sopenharmony_ci#define FBTYPE_SUN4COLOR        8
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci#define FBTYPE_NOTSUN1          9
2462306a36Sopenharmony_ci#define FBTYPE_NOTSUN2          10
2562306a36Sopenharmony_ci#define FBTYPE_NOTSUN3          11
2662306a36Sopenharmony_ci
2762306a36Sopenharmony_ci#define FBTYPE_SUNFAST_COLOR    12  /* cg6 */
2862306a36Sopenharmony_ci#define FBTYPE_SUNROP_COLOR     13
2962306a36Sopenharmony_ci#define FBTYPE_SUNFB_VIDEO      14
3062306a36Sopenharmony_ci#define FBTYPE_SUNGIFB          15
3162306a36Sopenharmony_ci#define FBTYPE_SUNGPLAS         16
3262306a36Sopenharmony_ci#define FBTYPE_SUNGP3           17
3362306a36Sopenharmony_ci#define FBTYPE_SUNGT            18
3462306a36Sopenharmony_ci#define FBTYPE_SUNLEO           19      /* zx Leo card */
3562306a36Sopenharmony_ci#define FBTYPE_MDICOLOR         20      /* cg14 */
3662306a36Sopenharmony_ci#define FBTYPE_TCXCOLOR		21	/* SUNW,tcx card */
3762306a36Sopenharmony_ci
3862306a36Sopenharmony_ci#define FBTYPE_LASTPLUSONE      21	/* This is not last + 1 in fact... */
3962306a36Sopenharmony_ci
4062306a36Sopenharmony_ci/* Does not seem to be listed in the Sun file either */
4162306a36Sopenharmony_ci#define FBTYPE_CREATOR          22
4262306a36Sopenharmony_ci#define FBTYPE_PCI_IGA1682	23
4362306a36Sopenharmony_ci#define FBTYPE_P9100COLOR	24
4462306a36Sopenharmony_ci
4562306a36Sopenharmony_ci#define FBTYPE_PCI_GENERIC	1000
4662306a36Sopenharmony_ci#define FBTYPE_PCI_MACH64	1001
4762306a36Sopenharmony_ci
4862306a36Sopenharmony_ci/* fbio ioctls */
4962306a36Sopenharmony_ci/* Returned by FBIOGTYPE */
5062306a36Sopenharmony_cistruct  fbtype {
5162306a36Sopenharmony_ci        int     fb_type;        /* fb type, see above */
5262306a36Sopenharmony_ci        int     fb_height;      /* pixels */
5362306a36Sopenharmony_ci        int     fb_width;       /* pixels */
5462306a36Sopenharmony_ci        int     fb_depth;
5562306a36Sopenharmony_ci        int     fb_cmsize;      /* color map entries */
5662306a36Sopenharmony_ci        int     fb_size;        /* fb size in bytes */
5762306a36Sopenharmony_ci};
5862306a36Sopenharmony_ci#define FBIOGTYPE _IOR('F', 0, struct fbtype)
5962306a36Sopenharmony_ci
6062306a36Sopenharmony_cistruct  fbcmap {
6162306a36Sopenharmony_ci        int             index;          /* first element (0 origin) */
6262306a36Sopenharmony_ci        int             count;
6362306a36Sopenharmony_ci        unsigned char   __user *red;
6462306a36Sopenharmony_ci        unsigned char   __user *green;
6562306a36Sopenharmony_ci        unsigned char   __user *blue;
6662306a36Sopenharmony_ci};
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ci#ifdef __KERNEL__
6962306a36Sopenharmony_ci#define FBIOPUTCMAP_SPARC _IOW('F', 3, struct fbcmap)
7062306a36Sopenharmony_ci#define FBIOGETCMAP_SPARC _IOW('F', 4, struct fbcmap)
7162306a36Sopenharmony_ci#else
7262306a36Sopenharmony_ci#define FBIOPUTCMAP _IOW('F', 3, struct fbcmap)
7362306a36Sopenharmony_ci#define FBIOGETCMAP _IOW('F', 4, struct fbcmap)
7462306a36Sopenharmony_ci#endif
7562306a36Sopenharmony_ci
7662306a36Sopenharmony_ci/* # of device specific values */
7762306a36Sopenharmony_ci#define FB_ATTR_NDEVSPECIFIC    8
7862306a36Sopenharmony_ci/* # of possible emulations */
7962306a36Sopenharmony_ci#define FB_ATTR_NEMUTYPES       4
8062306a36Sopenharmony_ci
8162306a36Sopenharmony_cistruct fbsattr {
8262306a36Sopenharmony_ci        int     flags;
8362306a36Sopenharmony_ci        int     emu_type;	/* -1 if none */
8462306a36Sopenharmony_ci        int     dev_specific[FB_ATTR_NDEVSPECIFIC];
8562306a36Sopenharmony_ci};
8662306a36Sopenharmony_ci
8762306a36Sopenharmony_cistruct fbgattr {
8862306a36Sopenharmony_ci        int     real_type;	/* real frame buffer type */
8962306a36Sopenharmony_ci        int     owner;		/* unknown */
9062306a36Sopenharmony_ci        struct fbtype fbtype;	/* real frame buffer fbtype */
9162306a36Sopenharmony_ci        struct fbsattr sattr;
9262306a36Sopenharmony_ci        int     emu_types[FB_ATTR_NEMUTYPES]; /* supported emulations */
9362306a36Sopenharmony_ci};
9462306a36Sopenharmony_ci#define FBIOSATTR  _IOW('F', 5, struct fbgattr) /* Unsupported: */
9562306a36Sopenharmony_ci#define FBIOGATTR  _IOR('F', 6, struct fbgattr)	/* supported */
9662306a36Sopenharmony_ci
9762306a36Sopenharmony_ci#define FBIOSVIDEO _IOW('F', 7, int)
9862306a36Sopenharmony_ci#define FBIOGVIDEO _IOR('F', 8, int)
9962306a36Sopenharmony_ci
10062306a36Sopenharmony_cistruct fbcursor {
10162306a36Sopenharmony_ci        short set;              /* what to set, choose from the list above */
10262306a36Sopenharmony_ci        short enable;           /* cursor on/off */
10362306a36Sopenharmony_ci        struct fbcurpos pos;    /* cursor position */
10462306a36Sopenharmony_ci        struct fbcurpos hot;    /* cursor hot spot */
10562306a36Sopenharmony_ci        struct fbcmap cmap;     /* color map info */
10662306a36Sopenharmony_ci        struct fbcurpos size;   /* cursor bit map size */
10762306a36Sopenharmony_ci        char __user *image;     /* cursor image bits */
10862306a36Sopenharmony_ci        char __user *mask;      /* cursor mask bits */
10962306a36Sopenharmony_ci};
11062306a36Sopenharmony_ci
11162306a36Sopenharmony_ci/* set/get cursor attributes/shape */
11262306a36Sopenharmony_ci#define FBIOSCURSOR     _IOW('F', 24, struct fbcursor)
11362306a36Sopenharmony_ci#define FBIOGCURSOR     _IOWR('F', 25, struct fbcursor)
11462306a36Sopenharmony_ci
11562306a36Sopenharmony_ci/* set/get cursor position */
11662306a36Sopenharmony_ci#define FBIOSCURPOS     _IOW('F', 26, struct fbcurpos)
11762306a36Sopenharmony_ci#define FBIOGCURPOS     _IOW('F', 27, struct fbcurpos)
11862306a36Sopenharmony_ci
11962306a36Sopenharmony_ci/* get max cursor size */
12062306a36Sopenharmony_ci#define FBIOGCURMAX     _IOR('F', 28, struct fbcurpos)
12162306a36Sopenharmony_ci
12262306a36Sopenharmony_ci/* wid manipulation */
12362306a36Sopenharmony_cistruct fb_wid_alloc {
12462306a36Sopenharmony_ci#define FB_WID_SHARED_8		0
12562306a36Sopenharmony_ci#define FB_WID_SHARED_24	1
12662306a36Sopenharmony_ci#define FB_WID_DBL_8		2
12762306a36Sopenharmony_ci#define FB_WID_DBL_24		3
12862306a36Sopenharmony_ci	__u32	wa_type;
12962306a36Sopenharmony_ci	__s32	wa_index;	/* Set on return */
13062306a36Sopenharmony_ci	__u32	wa_count;
13162306a36Sopenharmony_ci};
13262306a36Sopenharmony_cistruct fb_wid_item {
13362306a36Sopenharmony_ci	__u32	wi_type;
13462306a36Sopenharmony_ci	__s32	wi_index;
13562306a36Sopenharmony_ci	__u32	wi_attrs;
13662306a36Sopenharmony_ci	__u32	wi_values[32];
13762306a36Sopenharmony_ci};
13862306a36Sopenharmony_cistruct fb_wid_list {
13962306a36Sopenharmony_ci	__u32	wl_flags;
14062306a36Sopenharmony_ci	__u32	wl_count;
14162306a36Sopenharmony_ci	struct fb_wid_item	*wl_list;
14262306a36Sopenharmony_ci};
14362306a36Sopenharmony_ci
14462306a36Sopenharmony_ci#define FBIO_WID_ALLOC	_IOWR('F', 30, struct fb_wid_alloc)
14562306a36Sopenharmony_ci#define FBIO_WID_FREE	_IOW('F', 31, struct fb_wid_alloc)
14662306a36Sopenharmony_ci#define FBIO_WID_PUT	_IOW('F', 32, struct fb_wid_list)
14762306a36Sopenharmony_ci#define FBIO_WID_GET	_IOWR('F', 33, struct fb_wid_list)
14862306a36Sopenharmony_ci
14962306a36Sopenharmony_ci/* Creator ioctls */
15062306a36Sopenharmony_ci#define FFB_IOCTL	('F'<<8)
15162306a36Sopenharmony_ci#define FFB_SYS_INFO		(FFB_IOCTL|80)
15262306a36Sopenharmony_ci#define FFB_CLUTREAD		(FFB_IOCTL|81)
15362306a36Sopenharmony_ci#define FFB_CLUTPOST		(FFB_IOCTL|82)
15462306a36Sopenharmony_ci#define FFB_SETDIAGMODE		(FFB_IOCTL|83)
15562306a36Sopenharmony_ci#define FFB_GETMONITORID	(FFB_IOCTL|84)
15662306a36Sopenharmony_ci#define FFB_GETVIDEOMODE	(FFB_IOCTL|85)
15762306a36Sopenharmony_ci#define FFB_SETVIDEOMODE	(FFB_IOCTL|86)
15862306a36Sopenharmony_ci#define FFB_SETSERVER		(FFB_IOCTL|87)
15962306a36Sopenharmony_ci#define FFB_SETOVCTL		(FFB_IOCTL|88)
16062306a36Sopenharmony_ci#define FFB_GETOVCTL		(FFB_IOCTL|89)
16162306a36Sopenharmony_ci#define FFB_GETSAXNUM		(FFB_IOCTL|90)
16262306a36Sopenharmony_ci#define FFB_FBDEBUG		(FFB_IOCTL|91)
16362306a36Sopenharmony_ci
16462306a36Sopenharmony_ci/* Cg14 ioctls */
16562306a36Sopenharmony_ci#define MDI_IOCTL          ('M'<<8)
16662306a36Sopenharmony_ci#define MDI_RESET          (MDI_IOCTL|1)
16762306a36Sopenharmony_ci#define MDI_GET_CFGINFO    (MDI_IOCTL|2)
16862306a36Sopenharmony_ci#define MDI_SET_PIXELMODE  (MDI_IOCTL|3)
16962306a36Sopenharmony_ci#    define MDI_32_PIX     32
17062306a36Sopenharmony_ci#    define MDI_16_PIX     16
17162306a36Sopenharmony_ci#    define MDI_8_PIX      8
17262306a36Sopenharmony_ci
17362306a36Sopenharmony_cistruct mdi_cfginfo {
17462306a36Sopenharmony_ci	int     mdi_ncluts;     /* Number of implemented CLUTs in this MDI */
17562306a36Sopenharmony_ci        int     mdi_type;       /* FBTYPE name */
17662306a36Sopenharmony_ci        int     mdi_height;     /* height */
17762306a36Sopenharmony_ci        int     mdi_width;      /* width */
17862306a36Sopenharmony_ci        int     mdi_size;       /* available ram */
17962306a36Sopenharmony_ci        int     mdi_mode;       /* 8bpp, 16bpp or 32bpp */
18062306a36Sopenharmony_ci        int     mdi_pixfreq;    /* pixel clock (from PROM) */
18162306a36Sopenharmony_ci};
18262306a36Sopenharmony_ci
18362306a36Sopenharmony_ci/* SparcLinux specific ioctl for the MDI, should be replaced for
18462306a36Sopenharmony_ci * the SET_XLUT/SET_CLUTn ioctls instead
18562306a36Sopenharmony_ci */
18662306a36Sopenharmony_ci#define MDI_CLEAR_XLUT       (MDI_IOCTL|9)
18762306a36Sopenharmony_ci
18862306a36Sopenharmony_ci/* leo & ffb ioctls */
18962306a36Sopenharmony_cistruct fb_clut_alloc {
19062306a36Sopenharmony_ci	__u32	clutid;	/* Set on return */
19162306a36Sopenharmony_ci 	__u32	flag;
19262306a36Sopenharmony_ci 	__u32	index;
19362306a36Sopenharmony_ci};
19462306a36Sopenharmony_ci
19562306a36Sopenharmony_cistruct fb_clut {
19662306a36Sopenharmony_ci#define FB_CLUT_WAIT	0x00000001	/* Not yet implemented */
19762306a36Sopenharmony_ci 	__u32	flag;
19862306a36Sopenharmony_ci 	__u32	clutid;
19962306a36Sopenharmony_ci 	__u32	offset;
20062306a36Sopenharmony_ci 	__u32	count;
20162306a36Sopenharmony_ci 	char *	red;
20262306a36Sopenharmony_ci 	char *	green;
20362306a36Sopenharmony_ci 	char *	blue;
20462306a36Sopenharmony_ci};
20562306a36Sopenharmony_ci
20662306a36Sopenharmony_cistruct fb_clut32 {
20762306a36Sopenharmony_ci 	__u32	flag;
20862306a36Sopenharmony_ci 	__u32	clutid;
20962306a36Sopenharmony_ci 	__u32	offset;
21062306a36Sopenharmony_ci 	__u32	count;
21162306a36Sopenharmony_ci 	__u32	red;
21262306a36Sopenharmony_ci 	__u32	green;
21362306a36Sopenharmony_ci 	__u32	blue;
21462306a36Sopenharmony_ci};
21562306a36Sopenharmony_ci
21662306a36Sopenharmony_ci#define LEO_CLUTALLOC	_IOWR('L', 53, struct fb_clut_alloc)
21762306a36Sopenharmony_ci#define LEO_CLUTFREE	_IOW('L', 54, struct fb_clut_alloc)
21862306a36Sopenharmony_ci#define LEO_CLUTREAD	_IOW('L', 55, struct fb_clut)
21962306a36Sopenharmony_ci#define LEO_CLUTPOST	_IOW('L', 56, struct fb_clut)
22062306a36Sopenharmony_ci#define LEO_SETGAMMA	_IOW('L', 68, int) /* Not yet implemented */
22162306a36Sopenharmony_ci#define LEO_GETGAMMA	_IOR('L', 69, int) /* Not yet implemented */
22262306a36Sopenharmony_ci
22362306a36Sopenharmony_ci#ifdef __KERNEL__
22462306a36Sopenharmony_ci/* Addresses on the fd of a cgsix that are mappable */
22562306a36Sopenharmony_ci#define CG6_FBC    0x70000000
22662306a36Sopenharmony_ci#define CG6_TEC    0x70001000
22762306a36Sopenharmony_ci#define CG6_BTREGS 0x70002000
22862306a36Sopenharmony_ci#define CG6_FHC    0x70004000
22962306a36Sopenharmony_ci#define CG6_THC    0x70005000
23062306a36Sopenharmony_ci#define CG6_ROM    0x70006000
23162306a36Sopenharmony_ci#define CG6_RAM    0x70016000
23262306a36Sopenharmony_ci#define CG6_DHC    0x80000000
23362306a36Sopenharmony_ci
23462306a36Sopenharmony_ci#define CG3_MMAP_OFFSET 0x4000000
23562306a36Sopenharmony_ci
23662306a36Sopenharmony_ci/* Addresses on the fd of a tcx that are mappable */
23762306a36Sopenharmony_ci#define TCX_RAM8BIT   		0x00000000
23862306a36Sopenharmony_ci#define TCX_RAM24BIT   		0x01000000
23962306a36Sopenharmony_ci#define TCX_UNK3   		0x10000000
24062306a36Sopenharmony_ci#define TCX_UNK4   		0x20000000
24162306a36Sopenharmony_ci#define TCX_CONTROLPLANE   	0x28000000
24262306a36Sopenharmony_ci#define TCX_UNK6   		0x30000000
24362306a36Sopenharmony_ci#define TCX_UNK7   		0x38000000
24462306a36Sopenharmony_ci#define TCX_TEC    		0x70000000
24562306a36Sopenharmony_ci#define TCX_BTREGS 		0x70002000
24662306a36Sopenharmony_ci#define TCX_THC    		0x70004000
24762306a36Sopenharmony_ci#define TCX_DHC    		0x70008000
24862306a36Sopenharmony_ci#define TCX_ALT	   		0x7000a000
24962306a36Sopenharmony_ci#define TCX_SYNC   		0x7000e000
25062306a36Sopenharmony_ci#define TCX_UNK2    		0x70010000
25162306a36Sopenharmony_ci
25262306a36Sopenharmony_ci/* CG14 definitions */
25362306a36Sopenharmony_ci
25462306a36Sopenharmony_ci/* Offsets into the OBIO space: */
25562306a36Sopenharmony_ci#define CG14_REGS        0       /* registers */
25662306a36Sopenharmony_ci#define CG14_CURSORREGS  0x1000  /* cursor registers */
25762306a36Sopenharmony_ci#define CG14_DACREGS     0x2000  /* DAC registers */
25862306a36Sopenharmony_ci#define CG14_XLUT        0x3000  /* X Look Up Table -- ??? */
25962306a36Sopenharmony_ci#define CG14_CLUT1       0x4000  /* Color Look Up Table */
26062306a36Sopenharmony_ci#define CG14_CLUT2       0x5000  /* Color Look Up Table */
26162306a36Sopenharmony_ci#define CG14_CLUT3       0x6000  /* Color Look Up Table */
26262306a36Sopenharmony_ci#define CG14_AUTO	 0xf000
26362306a36Sopenharmony_ci
26462306a36Sopenharmony_ci#endif /* KERNEL */
26562306a36Sopenharmony_ci
26662306a36Sopenharmony_ci/* These are exported to userland for applications to use */
26762306a36Sopenharmony_ci/* Mappable offsets for the cg14: control registers */
26862306a36Sopenharmony_ci#define MDI_DIRECT_MAP 0x10000000
26962306a36Sopenharmony_ci#define MDI_CTLREG_MAP 0x20000000
27062306a36Sopenharmony_ci#define MDI_CURSOR_MAP 0x30000000
27162306a36Sopenharmony_ci#define MDI_SHDW_VRT_MAP 0x40000000
27262306a36Sopenharmony_ci
27362306a36Sopenharmony_ci/* Mappable offsets for the cg14: frame buffer resolutions */
27462306a36Sopenharmony_ci/* 32 bits */
27562306a36Sopenharmony_ci#define MDI_CHUNKY_XBGR_MAP 0x50000000
27662306a36Sopenharmony_ci#define MDI_CHUNKY_BGR_MAP 0x60000000
27762306a36Sopenharmony_ci
27862306a36Sopenharmony_ci/* 16 bits */
27962306a36Sopenharmony_ci#define MDI_PLANAR_X16_MAP 0x70000000
28062306a36Sopenharmony_ci#define MDI_PLANAR_C16_MAP 0x80000000
28162306a36Sopenharmony_ci
28262306a36Sopenharmony_ci/* 8 bit is done as CG3 MMAP offset */
28362306a36Sopenharmony_ci/* 32 bits, planar */
28462306a36Sopenharmony_ci#define MDI_PLANAR_X32_MAP 0x90000000
28562306a36Sopenharmony_ci#define MDI_PLANAR_B32_MAP 0xa0000000
28662306a36Sopenharmony_ci#define MDI_PLANAR_G32_MAP 0xb0000000
28762306a36Sopenharmony_ci#define MDI_PLANAR_R32_MAP 0xc0000000
28862306a36Sopenharmony_ci
28962306a36Sopenharmony_ci/* Mappable offsets on leo */
29062306a36Sopenharmony_ci#define LEO_SS0_MAP            0x00000000
29162306a36Sopenharmony_ci#define LEO_LC_SS0_USR_MAP     0x00800000
29262306a36Sopenharmony_ci#define LEO_LD_SS0_MAP         0x00801000
29362306a36Sopenharmony_ci#define LEO_LX_CURSOR_MAP      0x00802000
29462306a36Sopenharmony_ci#define LEO_SS1_MAP            0x00803000
29562306a36Sopenharmony_ci#define LEO_LC_SS1_USR_MAP     0x01003000
29662306a36Sopenharmony_ci#define LEO_LD_SS1_MAP         0x01004000
29762306a36Sopenharmony_ci#define LEO_UNK_MAP            0x01005000
29862306a36Sopenharmony_ci#define LEO_LX_KRN_MAP         0x01006000
29962306a36Sopenharmony_ci#define LEO_LC_SS0_KRN_MAP     0x01007000
30062306a36Sopenharmony_ci#define LEO_LC_SS1_KRN_MAP     0x01008000
30162306a36Sopenharmony_ci#define LEO_LD_GBL_MAP         0x01009000
30262306a36Sopenharmony_ci#define LEO_UNK2_MAP           0x0100a000
30362306a36Sopenharmony_ci
30462306a36Sopenharmony_ci#ifdef __KERNEL__
30562306a36Sopenharmony_cistruct  fbcmap32 {
30662306a36Sopenharmony_ci	int             index;          /* first element (0 origin) */
30762306a36Sopenharmony_ci	int             count;
30862306a36Sopenharmony_ci	u32		red;
30962306a36Sopenharmony_ci	u32		green;
31062306a36Sopenharmony_ci	u32		blue;
31162306a36Sopenharmony_ci};
31262306a36Sopenharmony_ci
31362306a36Sopenharmony_ci#define FBIOPUTCMAP32	_IOW('F', 3, struct fbcmap32)
31462306a36Sopenharmony_ci#define FBIOGETCMAP32	_IOW('F', 4, struct fbcmap32)
31562306a36Sopenharmony_ci
31662306a36Sopenharmony_cistruct fbcursor32 {
31762306a36Sopenharmony_ci	short set;		/* what to set, choose from the list above */
31862306a36Sopenharmony_ci	short enable;		/* cursor on/off */
31962306a36Sopenharmony_ci	struct fbcurpos pos;	/* cursor position */
32062306a36Sopenharmony_ci	struct fbcurpos hot;	/* cursor hot spot */
32162306a36Sopenharmony_ci	struct fbcmap32 cmap;	/* color map info */
32262306a36Sopenharmony_ci	struct fbcurpos size;	/* cursor bit map size */
32362306a36Sopenharmony_ci	u32	image;		/* cursor image bits */
32462306a36Sopenharmony_ci	u32	mask;		/* cursor mask bits */
32562306a36Sopenharmony_ci};
32662306a36Sopenharmony_ci
32762306a36Sopenharmony_ci#define FBIOSCURSOR32	_IOW('F', 24, struct fbcursor32)
32862306a36Sopenharmony_ci#define FBIOGCURSOR32	_IOW('F', 25, struct fbcursor32)
32962306a36Sopenharmony_ci#endif
33062306a36Sopenharmony_ci
33162306a36Sopenharmony_ci#endif /* __LINUX_FBIO_H */
332