/
usr
/
src
/
linux-headers-5.15.0-181
/
arch
/
m68k
/
include
/
asm
/
/usr/src/linux-headers-5.15.0-181/arch/m68k/include/asm
mkdir
upload
Name
Size
Mode
Actions
adb_iop.h
1188
0644
edit
dl
rm
amigahw.h
10737
0644
edit
dl
rm
amigaints.h
3583
0644
edit
dl
rm
amigayle.h
3271
0644
edit
dl
rm
amipcmcia.h
2568
0644
edit
dl
rm
apollohw.h
2410
0644
edit
dl
rm
asm-offsets.h
35
0644
edit
dl
rm
asm-prototypes.h
211
0644
edit
dl
rm
atarihw.h
20919
0644
edit
dl
rm
atariints.h
5691
0644
edit
dl
rm
atarikb.h
1434
0644
edit
dl
rm
atari_joystick.h
457
0644
edit
dl
rm
atari_stdma.h
514
0644
edit
dl
rm
atari_stram.h
528
0644
edit
dl
rm
atomic.h
5016
0644
edit
dl
rm
bitops.h
12827
0644
edit
dl
rm
blinken.h
641
0644
edit
dl
rm
bootinfo.h
783
0644
edit
dl
rm
bootstd.h
4747
0644
edit
dl
rm
bug.h
659
0644
edit
dl
rm
bvme6000hw.h
3529
0644
edit
dl
rm
cache.h
296
0644
edit
dl
rm
cacheflush.h
133
0644
edit
dl
rm
cacheflush_mm.h
7173
0644
edit
dl
rm
cacheflush_no.h
1884
0644
edit
dl
rm
checksum.h
3497
0644
edit
dl
rm
cmpxchg.h
3189
0644
edit
dl
rm
coldfire.h
1653
0644
edit
dl
rm
contregs.h
3390
0644
edit
dl
rm
current.h
580
0644
edit
dl
rm
delay.h
3504
0644
edit
dl
rm
div64.h
858
0644
edit
dl
rm
dma.h
17040
0644
edit
dl
rm
dsp56k.h
1269
0644
edit
dl
rm
dvma.h
9903
0644
edit
dl
rm
elf.h
3145
0644
edit
dl
rm
entry.h
5902
0644
edit
dl
rm
export.h
53
0644
edit
dl
rm
fb.h
921
0644
edit
dl
rm
fbio.h
10106
0644
edit
dl
rm
flat.h
333
0644
edit
dl
rm
floppy.h
5330
0644
edit
dl
rm
fpu.h
535
0644
edit
dl
rm
ftrace.h
12
0644
edit
dl
rm
gpio.h
2294
0644
edit
dl
rm
hash.h
2115
0644
edit
dl
rm
hp300hw.h
186
0644
edit
dl
rm
hwtest.h
467
0644
edit
dl
rm
ide.h
1708
0644
edit
dl
rm
idprom.h
725
0644
edit
dl
rm
intersil.h
1134
0644
edit
dl
rm
io.h
244
0644
edit
dl
rm
io_mm.h
13198
0644
edit
dl
rm
io_no.h
4196
0644
edit
dl
rm
irq.h
2634
0644
edit
dl
rm
irqflags.h
1652
0644
edit
dl
rm
Kbuild
165
0644
edit
dl
rm
kexec.h
732
0644
edit
dl
rm
kmap.h
1754
0644
edit
dl
rm
linkage.h
1583
0644
edit
dl
rm
m52xxacr.h
3660
0644
edit
dl
rm
m53xxacr.h
3683
0644
edit
dl
rm
m53xxsim.h
55262
0644
edit
dl
rm
m54xxacr.h
4934
0644
edit
dl
rm
m54xxgpt.h
3750
0644
edit
dl
rm
m54xxpci.h
6276
0644
edit
dl
rm
m54xxsim.h
3892
0644
edit
dl
rm
m520xsim.h
7323
0644
edit
dl
rm
m523xsim.h
7882
0644
edit
dl
rm
m525xsim.h
10822
0644
edit
dl
rm
m527xsim.h
13835
0644
edit
dl
rm
m528xsim.h
9599
0644
edit
dl
rm
m5206sim.h
6555
0644
edit
dl
rm
m5272sim.h
6199
0644
edit
dl
rm
m5307sim.h
7698
0644
edit
dl
rm
m5407sim.h
6289
0644
edit
dl
rm
m5441xsim.h
10294
0644
edit
dl
rm
machdep.h
1331
0644
edit
dl
rm
machines.h
3209
0644
edit
dl
rm
machw.h
588
0644
edit
dl
rm
macintosh.h
2438
0644
edit
dl
rm
macints.h
3210
0644
edit
dl
rm
mac_asc.h
520
0644
edit
dl
rm
mac_baboon.h
999
0644
edit
dl
rm
mac_iop.h
5499
0644
edit
dl
rm
mac_oss.h
1873
0644
edit
dl
rm
mac_psc.h
7427
0644
edit
dl
rm
mac_via.h
11718
0644
edit
dl
rm
math-emu.h
6897
0644
edit
dl
rm
MC68EZ328.h
38650
0644
edit
dl
rm
MC68VZ328.h
42006
0644
edit
dl
rm
MC68328.h
38724
0644
edit
dl
rm
mc146818rtc.h
598
0644
edit
dl
rm
mcf8390.h
3844
0644
edit
dl
rm
mcfclk.h
961
0644
edit
dl
rm
mcfdma.h
6662
0644
edit
dl
rm
mcfgpio.h
8269
0644
edit
dl
rm
mcfintc.h
3161
0644
edit
dl
rm
mcfmmu.h
3761
0644
edit
dl
rm
mcfpit.h
2278
0644
edit
dl
rm
mcfqspi.h
1466
0644
edit
dl
rm
mcfsim.h
1531
0644
edit
dl
rm
mcfslt.h
1240
0644
edit
dl
rm
mcftimer.h
2357
0644
edit
dl
rm
mcfuart.h
7076
0644
edit
dl
rm
mcfwdebug.h
5106
0644
edit
dl
rm
mcf_pgalloc.h
2000
0644
edit
dl
rm
mcf_pgtable.h
8312
0644
edit
dl
rm
mmu.h
243
0644
edit
dl
rm
mmu_context.h
7207
0644
edit
dl
rm
module.h
847
0644
edit
dl
rm
module.lds.h
91
0644
edit
dl
rm
motorola_pgalloc.h
2146
0644
edit
dl
rm
motorola_pgtable.h
7610
0644
edit
dl
rm
movs.h
1472
0644
edit
dl
rm
mvme16xhw.h
2216
0644
edit
dl
rm
mvme147hw.h
2938
0644
edit
dl
rm
natfeat.h
533
0644
edit
dl
rm
nettel.h
3023
0644
edit
dl
rm
nubus.h
1262
0644
edit
dl
rm
openprom.h
8173
0644
edit
dl
rm
oplib.h
9768
0644
edit
dl
rm
page.h
1728
0644
edit
dl
rm
page_mm.h
3399
0644
edit
dl
rm
page_no.h
1322
0644
edit
dl
rm
page_offset.h
256
0644
edit
dl
rm
parport.h
837
0644
edit
dl
rm
pci.h
258
0644
edit
dl
rm
pgalloc.h
444
0644
edit
dl
rm
pgtable.h
127
0644
edit
dl
rm
pgtable_mm.h
4931
0644
edit
dl
rm
pgtable_no.h
1438
0644
edit
dl
rm
processor.h
4158
0644
edit
dl
rm
ptrace.h
643
0644
edit
dl
rm
q40ints.h
749
0644
edit
dl
rm
q40_master.h
2357
0644
edit
dl
rm
quicc_simple.h
1830
0644
edit
dl
rm
raw_io.h
12003
0644
edit
dl
rm
serial.h
1165
0644
edit
dl
rm
setup.h
9467
0644
edit
dl
rm
signal.h
1377
0644
edit
dl
rm
smp.h
32
0644
edit
dl
rm
string.h
1717
0644
edit
dl
rm
sun3-head.h
353
0644
edit
dl
rm
sun3ints.h
989
0644
edit
dl
rm
sun3mmu.h
5025
0644
edit
dl
rm
sun3x.h
868
0644
edit
dl
rm
sun3xflop.h
5757
0644
edit
dl
rm
sun3xprom.h
1343
0644
edit
dl
rm
sun3_pgalloc.h
1267
0644
edit
dl
rm
sun3_pgtable.h
6583
0644
edit
dl
rm
switch_to.h
1549
0644
edit
dl
rm
syscall.h
251
0644
edit
dl
rm
thread_info.h
2237
0644
edit
dl
rm
timex.h
974
0644
edit
dl
rm
tlb.h
135
0644
edit
dl
rm
tlbflush.h
5989
0644
edit
dl
rm
traps.h
8615
0644
edit
dl
rm
uaccess.h
12563
0644
edit
dl
rm
ucontext.h
570
0644
edit
dl
rm
unistd.h
993
0644
edit
dl
rm
user.h
3874
0644
edit
dl
rm
vga.h
902
0644
edit
dl
rm
virtconvert.h
834
0644
edit
dl
rm
vmalloc.h
90
0644
edit
dl
rm
zorro.h
1222
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-181/arch/m68k/include/asm/fbio.h
(10106B)
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_FBIO_H #define __LINUX_FBIO_H #include <linux/compiler.h> #include <linux/types.h> /* Constants used for fbio SunOS compatibility */ /* (C) 1996 Miguel de Icaza */ /* Frame buffer types */ #define FBTYPE_NOTYPE -1 #define FBTYPE_SUN1BW 0 /* mono */ #define FBTYPE_SUN1COLOR 1 #define FBTYPE_SUN2BW 2 #define FBTYPE_SUN2COLOR 3 #define FBTYPE_SUN2GP 4 #define FBTYPE_SUN5COLOR 5 #define FBTYPE_SUN3COLOR 6 #define FBTYPE_MEMCOLOR 7 #define FBTYPE_SUN4COLOR 8 #define FBTYPE_NOTSUN1 9 #define FBTYPE_NOTSUN2 10 #define FBTYPE_NOTSUN3 11 #define FBTYPE_SUNFAST_COLOR 12 /* cg6 */ #define FBTYPE_SUNROP_COLOR 13 #define FBTYPE_SUNFB_VIDEO 14 #define FBTYPE_SUNGIFB 15 #define FBTYPE_SUNGPLAS 16 #define FBTYPE_SUNGP3 17 #define FBTYPE_SUNGT 18 #define FBTYPE_SUNLEO 19 /* zx Leo card */ #define FBTYPE_MDICOLOR 20 /* cg14 */ #define FBTYPE_TCXCOLOR 21 /* SUNW,tcx card */ #define FBTYPE_LASTPLUSONE 21 /* This is not last + 1 in fact... */ /* Does not seem to be listed in the Sun file either */ #define FBTYPE_CREATOR 22 #define FBTYPE_PCI_IGA1682 23 #define FBTYPE_P9100COLOR 24 #define FBTYPE_PCI_GENERIC 1000 #define FBTYPE_PCI_MACH64 1001 /* fbio ioctls */ /* Returned by FBIOGTYPE */ struct fbtype { int fb_type; /* fb type, see above */ int fb_height; /* pixels */ int fb_width; /* pixels */ int fb_depth; int fb_cmsize; /* color map entries */ int fb_size; /* fb size in bytes */ }; #define FBIOGTYPE _IOR('F', 0, struct fbtype) struct fbcmap { int index; /* first element (0 origin) */ int count; unsigned char __user *red; unsigned char __user *green; unsigned char __user *blue; }; #ifdef __KERNEL__ #define FBIOPUTCMAP_SPARC _IOW('F', 3, struct fbcmap) #define FBIOGETCMAP_SPARC _IOW('F', 4, struct fbcmap) #else #define FBIOPUTCMAP _IOW('F', 3, struct fbcmap) #define FBIOGETCMAP _IOW('F', 4, struct fbcmap) #endif /* # of device specific values */ #define FB_ATTR_NDEVSPECIFIC 8 /* # of possible emulations */ #define FB_ATTR_NEMUTYPES 4 struct fbsattr { int flags; int emu_type; /* -1 if none */ int dev_specific[FB_ATTR_NDEVSPECIFIC]; }; struct fbgattr { int real_type; /* real frame buffer type */ int owner; /* unknown */ struct fbtype fbtype; /* real frame buffer fbtype */ struct fbsattr sattr; int emu_types[FB_ATTR_NEMUTYPES]; /* supported emulations */ }; #define FBIOSATTR _IOW('F', 5, struct fbgattr) /* Unsupported: */ #define FBIOGATTR _IOR('F', 6, struct fbgattr) /* supported */ #define FBIOSVIDEO _IOW('F', 7, int) #define FBIOGVIDEO _IOR('F', 8, int) struct fbcursor { short set; /* what to set, choose from the list above */ short enable; /* cursor on/off */ struct fbcurpos pos; /* cursor position */ struct fbcurpos hot; /* cursor hot spot */ struct fbcmap cmap; /* color map info */ struct fbcurpos size; /* cursor bit map size */ char __user *image; /* cursor image bits */ char __user *mask; /* cursor mask bits */ }; /* set/get cursor attributes/shape */ #define FBIOSCURSOR _IOW('F', 24, struct fbcursor) #define FBIOGCURSOR _IOWR('F', 25, struct fbcursor) /* set/get cursor position */ #define FBIOSCURPOS _IOW('F', 26, struct fbcurpos) #define FBIOGCURPOS _IOW('F', 27, struct fbcurpos) /* get max cursor size */ #define FBIOGCURMAX _IOR('F', 28, struct fbcurpos) /* wid manipulation */ struct fb_wid_alloc { #define FB_WID_SHARED_8 0 #define FB_WID_SHARED_24 1 #define FB_WID_DBL_8 2 #define FB_WID_DBL_24 3 __u32 wa_type; __s32 wa_index; /* Set on return */ __u32 wa_count; }; struct fb_wid_item { __u32 wi_type; __s32 wi_index; __u32 wi_attrs; __u32 wi_values[32]; }; struct fb_wid_list { __u32 wl_flags; __u32 wl_count; struct fb_wid_item *wl_list; }; #define FBIO_WID_ALLOC _IOWR('F', 30, struct fb_wid_alloc) #define FBIO_WID_FREE _IOW('F', 31, struct fb_wid_alloc) #define FBIO_WID_PUT _IOW('F', 32, struct fb_wid_list) #define FBIO_WID_GET _IOWR('F', 33, struct fb_wid_list) /* Creator ioctls */ #define FFB_IOCTL ('F'<<8) #define FFB_SYS_INFO (FFB_IOCTL|80) #define FFB_CLUTREAD (FFB_IOCTL|81) #define FFB_CLUTPOST (FFB_IOCTL|82) #define FFB_SETDIAGMODE (FFB_IOCTL|83) #define FFB_GETMONITORID (FFB_IOCTL|84) #define FFB_GETVIDEOMODE (FFB_IOCTL|85) #define FFB_SETVIDEOMODE (FFB_IOCTL|86) #define FFB_SETSERVER (FFB_IOCTL|87) #define FFB_SETOVCTL (FFB_IOCTL|88) #define FFB_GETOVCTL (FFB_IOCTL|89) #define FFB_GETSAXNUM (FFB_IOCTL|90) #define FFB_FBDEBUG (FFB_IOCTL|91) /* Cg14 ioctls */ #define MDI_IOCTL ('M'<<8) #define MDI_RESET (MDI_IOCTL|1) #define MDI_GET_CFGINFO (MDI_IOCTL|2) #define MDI_SET_PIXELMODE (MDI_IOCTL|3) # define MDI_32_PIX 32 # define MDI_16_PIX 16 # define MDI_8_PIX 8 struct mdi_cfginfo { int mdi_ncluts; /* Number of implemented CLUTs in this MDI */ int mdi_type; /* FBTYPE name */ int mdi_height; /* height */ int mdi_width; /* width */ int mdi_size; /* available ram */ int mdi_mode; /* 8bpp, 16bpp or 32bpp */ int mdi_pixfreq; /* pixel clock (from PROM) */ }; /* SparcLinux specific ioctl for the MDI, should be replaced for * the SET_XLUT/SET_CLUTn ioctls instead */ #define MDI_CLEAR_XLUT (MDI_IOCTL|9) /* leo & ffb ioctls */ struct fb_clut_alloc { __u32 clutid; /* Set on return */ __u32 flag; __u32 index; }; struct fb_clut { #define FB_CLUT_WAIT 0x00000001 /* Not yet implemented */ __u32 flag; __u32 clutid; __u32 offset; __u32 count; char * red; char * green; char * blue; }; struct fb_clut32 { __u32 flag; __u32 clutid; __u32 offset; __u32 count; __u32 red; __u32 green; __u32 blue; }; #define LEO_CLUTALLOC _IOWR('L', 53, struct fb_clut_alloc) #define LEO_CLUTFREE _IOW('L', 54, struct fb_clut_alloc) #define LEO_CLUTREAD _IOW('L', 55, struct fb_clut) #define LEO_CLUTPOST _IOW('L', 56, struct fb_clut) #define LEO_SETGAMMA _IOW('L', 68, int) /* Not yet implemented */ #define LEO_GETGAMMA _IOR('L', 69, int) /* Not yet implemented */ #ifdef __KERNEL__ /* Addresses on the fd of a cgsix that are mappable */ #define CG6_FBC 0x70000000 #define CG6_TEC 0x70001000 #define CG6_BTREGS 0x70002000 #define CG6_FHC 0x70004000 #define CG6_THC 0x70005000 #define CG6_ROM 0x70006000 #define CG6_RAM 0x70016000 #define CG6_DHC 0x80000000 #define CG3_MMAP_OFFSET 0x4000000 /* Addresses on the fd of a tcx that are mappable */ #define TCX_RAM8BIT 0x00000000 #define TCX_RAM24BIT 0x01000000 #define TCX_UNK3 0x10000000 #define TCX_UNK4 0x20000000 #define TCX_CONTROLPLANE 0x28000000 #define TCX_UNK6 0x30000000 #define TCX_UNK7 0x38000000 #define TCX_TEC 0x70000000 #define TCX_BTREGS 0x70002000 #define TCX_THC 0x70004000 #define TCX_DHC 0x70008000 #define TCX_ALT 0x7000a000 #define TCX_SYNC 0x7000e000 #define TCX_UNK2 0x70010000 /* CG14 definitions */ /* Offsets into the OBIO space: */ #define CG14_REGS 0 /* registers */ #define CG14_CURSORREGS 0x1000 /* cursor registers */ #define CG14_DACREGS 0x2000 /* DAC registers */ #define CG14_XLUT 0x3000 /* X Look Up Table -- ??? */ #define CG14_CLUT1 0x4000 /* Color Look Up Table */ #define CG14_CLUT2 0x5000 /* Color Look Up Table */ #define CG14_CLUT3 0x6000 /* Color Look Up Table */ #define CG14_AUTO 0xf000 #endif /* KERNEL */ /* These are exported to userland for applications to use */ /* Mappable offsets for the cg14: control registers */ #define MDI_DIRECT_MAP 0x10000000 #define MDI_CTLREG_MAP 0x20000000 #define MDI_CURSOR_MAP 0x30000000 #define MDI_SHDW_VRT_MAP 0x40000000 /* Mappable offsets for the cg14: frame buffer resolutions */ /* 32 bits */ #define MDI_CHUNKY_XBGR_MAP 0x50000000 #define MDI_CHUNKY_BGR_MAP 0x60000000 /* 16 bits */ #define MDI_PLANAR_X16_MAP 0x70000000 #define MDI_PLANAR_C16_MAP 0x80000000 /* 8 bit is done as CG3 MMAP offset */ /* 32 bits, planar */ #define MDI_PLANAR_X32_MAP 0x90000000 #define MDI_PLANAR_B32_MAP 0xa0000000 #define MDI_PLANAR_G32_MAP 0xb0000000 #define MDI_PLANAR_R32_MAP 0xc0000000 /* Mappable offsets on leo */ #define LEO_SS0_MAP 0x00000000 #define LEO_LC_SS0_USR_MAP 0x00800000 #define LEO_LD_SS0_MAP 0x00801000 #define LEO_LX_CURSOR_MAP 0x00802000 #define LEO_SS1_MAP 0x00803000 #define LEO_LC_SS1_USR_MAP 0x01003000 #define LEO_LD_SS1_MAP 0x01004000 #define LEO_UNK_MAP 0x01005000 #define LEO_LX_KRN_MAP 0x01006000 #define LEO_LC_SS0_KRN_MAP 0x01007000 #define LEO_LC_SS1_KRN_MAP 0x01008000 #define LEO_LD_GBL_MAP 0x01009000 #define LEO_UNK2_MAP 0x0100a000 #ifdef __KERNEL__ struct fbcmap32 { int index; /* first element (0 origin) */ int count; u32 red; u32 green; u32 blue; }; #define FBIOPUTCMAP32 _IOW('F', 3, struct fbcmap32) #define FBIOGETCMAP32 _IOW('F', 4, struct fbcmap32) struct fbcursor32 { short set; /* what to set, choose from the list above */ short enable; /* cursor on/off */ struct fbcurpos pos; /* cursor position */ struct fbcurpos hot; /* cursor hot spot */ struct fbcmap32 cmap; /* color map info */ struct fbcurpos size; /* cursor bit map size */ u32 image; /* cursor image bits */ u32 mask; /* cursor mask bits */ }; #define FBIOSCURSOR32 _IOW('F', 24, struct fbcursor32) #define FBIOGCURSOR32 _IOW('F', 25, struct fbcursor32) #endif #endif /* __LINUX_FBIO_H */
Save
cmd:
run