/
usr
/
src
/
linux-headers-5.15.0-181
/
arch
/
sparc
/
include
/
uapi
/
asm
/
/usr/src/linux-headers-5.15.0-181/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
6133
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-181/arch/sparc/include/uapi/asm/apc.h
(1745B)
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ /* apc - Driver definitions for power management functions * of Aurora Personality Chip (APC) on SPARCstation-4/5 and * derivatives * * Copyright (c) 2001 Eric Brower (ebrower@usa.net) * */ #ifndef _SPARC_APC_H #define _SPARC_APC_H #include <linux/ioctl.h> #define APC_IOC 'A' #define APCIOCGFANCTL _IOR(APC_IOC, 0x00, int) /* Get fan speed */ #define APCIOCSFANCTL _IOW(APC_IOC, 0x01, int) /* Set fan speed */ #define APCIOCGCPWR _IOR(APC_IOC, 0x02, int) /* Get CPOWER state */ #define APCIOCSCPWR _IOW(APC_IOC, 0x03, int) /* Set CPOWER state */ #define APCIOCGBPORT _IOR(APC_IOC, 0x04, int) /* Get BPORT state */ #define APCIOCSBPORT _IOW(APC_IOC, 0x05, int) /* Set BPORT state */ /* * Register offsets */ #define APC_IDLE_REG 0x00 #define APC_FANCTL_REG 0x20 #define APC_CPOWER_REG 0x24 #define APC_BPORT_REG 0x30 #define APC_REGMASK 0x01 #define APC_BPMASK 0x03 /* * IDLE - CPU standby values (set to initiate standby) */ #define APC_IDLE_ON 0x01 /* * FANCTL - Fan speed control state values */ #define APC_FANCTL_HI 0x00 /* Fan speed high */ #define APC_FANCTL_LO 0x01 /* Fan speed low */ /* * CPWR - Convenience power outlet state values */ #define APC_CPOWER_ON 0x00 /* Conv power on */ #define APC_CPOWER_OFF 0x01 /* Conv power off */ /* * BPA/BPB - Read-Write "Bit Ports" state values (reset to 0 at power-on) * * WARNING: Internal usage of bit ports is platform dependent-- * don't modify BPORT settings unless you know what you are doing. * * On SS5 BPA seems to toggle onboard ethernet loopback... -E */ #define APC_BPORT_A 0x01 /* Bit Port A */ #define APC_BPORT_B 0x02 /* Bit Port B */ #endif /* !(_SPARC_APC_H) */
Save
cmd:
run