/
usr
/
src
/
linux-headers-5.15.0-190
/
arch
/
sparc
/
include
/
uapi
/
asm
/
/usr/src/linux-headers-5.15.0-190/arch/sparc/include/uapi/asm
mkdir
upload
Name
Size
Mode
Actions
apc.h
1745
0644
edit
dl
rm
asi.h
15367
0644
edit
dl
rm
auxvec.h
348
0644
edit
dl
rm
bitsperlong.h
324
0644
edit
dl
rm
byteorder.h
191
0644
edit
dl
rm
display7seg.h
1945
0644
edit
dl
rm
envctrl.h
3494
0644
edit
dl
rm
errno.h
5539
0644
edit
dl
rm
fbio.h
7904
0644
edit
dl
rm
fcntl.h
1790
0644
edit
dl
rm
ioctl.h
2646
0644
edit
dl
rm
ioctls.h
6231
0644
edit
dl
rm
ipcbuf.h
808
0644
edit
dl
rm
Kbuild
89
0644
edit
dl
rm
mman.h
1008
0644
edit
dl
rm
msgbuf.h
1218
0644
edit
dl
rm
openpromio.h
2166
0644
edit
dl
rm
oradax.h
2013
0644
edit
dl
rm
param.h
253
0644
edit
dl
rm
perfctr.h
5695
0644
edit
dl
rm
poll.h
273
0644
edit
dl
rm
posix_types.h
1768
0644
edit
dl
rm
psr.h
2267
0644
edit
dl
rm
psrcompat.h
2070
0644
edit
dl
rm
pstate.h
6427
0644
edit
dl
rm
ptrace.h
8222
0644
edit
dl
rm
resource.h
770
0644
edit
dl
rm
sembuf.h
896
0644
edit
dl
rm
setup.h
310
0644
edit
dl
rm
shmbuf.h
1383
0644
edit
dl
rm
sigcontext.h
167
0644
edit
dl
rm
siginfo.h
390
0644
edit
dl
rm
signal.h
4703
0644
edit
dl
rm
socket.h
3872
0644
edit
dl
rm
stat.h
2005
0644
edit
dl
rm
swab.h
1034
0644
edit
dl
rm
termbits.h
6761
0644
edit
dl
rm
termios.h
1071
0644
edit
dl
rm
traps.h
5271
0644
edit
dl
rm
uctx.h
1420
0644
edit
dl
rm
unistd.h
904
0644
edit
dl
rm
utrap.h
1541
0644
edit
dl
rm
watchdog.h
1029
0644
edit
dl
rm
Edit:
/usr/src/linux-headers-5.15.0-190/arch/sparc/include/uapi/asm/display7seg.h
(1945B)
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* * * display7seg - Driver interface for the 7-segment display * present on Sun Microsystems CP1400 and CP1500 * * Copyright (c) 2000 Eric Brower <ebrower@usa.net> * */ #ifndef __display7seg_h__ #define __display7seg_h__ #define D7S_IOC 'p' #define D7SIOCRD _IOR(D7S_IOC, 0x45, int) /* Read device state */ #define D7SIOCWR _IOW(D7S_IOC, 0x46, int) /* Write device state */ #define D7SIOCTM _IO (D7S_IOC, 0x47) /* Translate mode (FLIP)*/ /* * ioctl flag definitions * * POINT - Toggle decimal point (0=absent 1=present) * ALARM - Toggle alarm LED (0=green 1=red) * FLIP - Toggle inverted mode (0=normal 1=flipped) * bits 0-4 - Character displayed (see definitions below) * * Display segments are defined as follows, * subject to D7S_FLIP register state: * * a * --- * f| |b * -g- * e| |c * --- * d */ #define D7S_POINT (1 << 7) /* Decimal point*/ #define D7S_ALARM (1 << 6) /* Alarm LED */ #define D7S_FLIP (1 << 5) /* Flip display */ #define D7S_0 0x00 /* Numerals 0-9 */ #define D7S_1 0x01 #define D7S_2 0x02 #define D7S_3 0x03 #define D7S_4 0x04 #define D7S_5 0x05 #define D7S_6 0x06 #define D7S_7 0x07 #define D7S_8 0x08 #define D7S_9 0x09 #define D7S_A 0x0A /* Letters A-F, H, L, P */ #define D7S_B 0x0B #define D7S_C 0x0C #define D7S_D 0x0D #define D7S_E 0x0E #define D7S_F 0x0F #define D7S_H 0x10 #define D7S_E2 0x11 #define D7S_L 0x12 #define D7S_P 0x13 #define D7S_SEGA 0x14 /* Individual segments */ #define D7S_SEGB 0x15 #define D7S_SEGC 0x16 #define D7S_SEGD 0x17 #define D7S_SEGE 0x18 #define D7S_SEGF 0x19 #define D7S_SEGG 0x1A #define D7S_SEGABFG 0x1B /* Segment groupings */ #define D7S_SEGCDEG 0x1C #define D7S_SEGBCEF 0x1D #define D7S_SEGADG 0x1E #define D7S_BLANK 0x1F /* Clear all segments */ #define D7S_MIN_VAL 0x0 #define D7S_MAX_VAL 0x1F #endif /* ifndef __display7seg_h__ */
Save
cmd:
run