~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/sparc/include/asm/fbio.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0 */
  2 #ifndef __LINUX_FBIO_H
  3 #define __LINUX_FBIO_H
  4 
  5 #include <uapi/asm/fbio.h>
  6 
  7 #define FBIOPUTCMAP_SPARC _IOW('F', 3, struct fbcmap)
  8 #define FBIOGETCMAP_SPARC _IOW('F', 4, struct fbcmap)
  9 /* Addresses on the fd of a cgsix that are mappable */
 10 #define CG6_FBC    0x70000000
 11 #define CG6_TEC    0x70001000
 12 #define CG6_BTREGS 0x70002000
 13 #define CG6_FHC    0x70004000
 14 #define CG6_THC    0x70005000
 15 #define CG6_ROM    0x70006000
 16 #define CG6_RAM    0x70016000
 17 #define CG6_DHC    0x80000000
 18 
 19 #define CG3_MMAP_OFFSET 0x4000000
 20 
 21 /* Addresses on the fd of a tcx that are mappable */
 22 #define TCX_RAM8BIT             0x00000000
 23 #define TCX_RAM24BIT            0x01000000
 24 #define TCX_UNK3                0x10000000
 25 #define TCX_UNK4                0x20000000
 26 #define TCX_CONTROLPLANE        0x28000000
 27 #define TCX_UNK6                0x30000000
 28 #define TCX_UNK7                0x38000000
 29 #define TCX_TEC                 0x70000000
 30 #define TCX_BTREGS              0x70002000
 31 #define TCX_THC                 0x70004000
 32 #define TCX_DHC                 0x70008000
 33 #define TCX_ALT                 0x7000a000
 34 #define TCX_SYNC                0x7000e000
 35 #define TCX_UNK2                0x70010000
 36 
 37 /* CG14 definitions */
 38 
 39 /* Offsets into the OBIO space: */
 40 #define CG14_REGS        0       /* registers */
 41 #define CG14_CURSORREGS  0x1000  /* cursor registers */
 42 #define CG14_DACREGS     0x2000  /* DAC registers */
 43 #define CG14_XLUT        0x3000  /* X Look Up Table -- ??? */
 44 #define CG14_CLUT1       0x4000  /* Color Look Up Table */
 45 #define CG14_CLUT2       0x5000  /* Color Look Up Table */
 46 #define CG14_CLUT3       0x6000  /* Color Look Up Table */
 47 #define CG14_AUTO        0xf000
 48 
 49 struct  fbcmap32 {
 50         int             index;          /* first element (0 origin) */
 51         int             count;
 52         u32             red;
 53         u32             green;
 54         u32             blue;
 55 };
 56 
 57 #define FBIOPUTCMAP32   _IOW('F', 3, struct fbcmap32)
 58 #define FBIOGETCMAP32   _IOW('F', 4, struct fbcmap32)
 59 
 60 struct fbcursor32 {
 61         short set;              /* what to set, choose from the list above */
 62         short enable;           /* cursor on/off */
 63         struct fbcurpos pos;    /* cursor position */
 64         struct fbcurpos hot;    /* cursor hot spot */
 65         struct fbcmap32 cmap;   /* color map info */
 66         struct fbcurpos size;   /* cursor bit map size */
 67         u32     image;          /* cursor image bits */
 68         u32     mask;           /* cursor mask bits */
 69 };
 70 
 71 #define FBIOSCURSOR32   _IOW('F', 24, struct fbcursor32)
 72 #define FBIOGCURSOR32   _IOW('F', 25, struct fbcursor32)
 73 #endif /* __LINUX_FBIO_H */
 74 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php