/
usr
/
include
/
sparc64-linux-gnu
/
asm
/
/usr/include/sparc64-linux-gnu/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
bpf_perf_event.h
40
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
7801
0644
edit
dl
rm
fcntl.h
1790
0644
edit
dl
rm
ioctl.h
2646
0644
edit
dl
rm
ioctls.h
6220
0644
edit
dl
rm
ipcbuf.h
808
0644
edit
dl
rm
mman.h
993
0644
edit
dl
rm
msgbuf.h
1218
0644
edit
dl
rm
openpromio.h
2124
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
2252
0644
edit
dl
rm
psrcompat.h
2078
0644
edit
dl
rm
pstate.h
6427
0644
edit
dl
rm
ptrace.h
8207
0644
edit
dl
rm
resource.h
770
0644
edit
dl
rm
sembuf.h
896
0644
edit
dl
rm
setup.h
295
0644
edit
dl
rm
shmbuf.h
1445
0644
edit
dl
rm
sigcontext.h
167
0644
edit
dl
rm
siginfo.h
375
0644
edit
dl
rm
signal.h
4665
0644
edit
dl
rm
socket.h
4265
0644
edit
dl
rm
sockios.h
33
0644
edit
dl
rm
stat.h
2054
0644
edit
dl
rm
statfs.h
32
0644
edit
dl
rm
swab.h
1046
0644
edit
dl
rm
termbits.h
5118
0644
edit
dl
rm
termios.h
1056
0644
edit
dl
rm
traps.h
5256
0644
edit
dl
rm
types.h
31
0644
edit
dl
rm
uctx.h
1420
0644
edit
dl
rm
unistd.h
889
0644
edit
dl
rm
unistd_32.h
11817
0644
edit
dl
rm
unistd_64.h
10676
0644
edit
dl
rm
utrap.h
1541
0644
edit
dl
rm
watchdog.h
1029
0644
edit
dl
rm
Edit:
/usr/lib/linux/uapi/sparc/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