/usr/src/linux-headers-5.15.0-190/arch/sparc/include/uapi/asm
NameSizeModeActions
apc.h17450644editdlrm
asi.h153670644editdlrm
auxvec.h3480644editdlrm
bitsperlong.h3240644editdlrm
byteorder.h1910644editdlrm
display7seg.h19450644editdlrm
envctrl.h34940644editdlrm
errno.h55390644editdlrm
fbio.h79040644editdlrm
fcntl.h17900644editdlrm
ioctl.h26460644editdlrm
ioctls.h62310644editdlrm
ipcbuf.h8080644editdlrm
Kbuild890644editdlrm
mman.h10080644editdlrm
msgbuf.h12180644editdlrm
openpromio.h21660644editdlrm
oradax.h20130644editdlrm
param.h2530644editdlrm
perfctr.h56950644editdlrm
poll.h2730644editdlrm
posix_types.h17680644editdlrm
psr.h22670644editdlrm
psrcompat.h20700644editdlrm
pstate.h64270644editdlrm
ptrace.h82220644editdlrm
resource.h7700644editdlrm
sembuf.h8960644editdlrm
setup.h3100644editdlrm
shmbuf.h13830644editdlrm
sigcontext.h1670644editdlrm
siginfo.h3900644editdlrm
signal.h47030644editdlrm
socket.h38720644editdlrm
stat.h20050644editdlrm
swab.h10340644editdlrm
termbits.h67610644editdlrm
termios.h10710644editdlrm
traps.h52710644editdlrm
uctx.h14200644editdlrm
unistd.h9040644editdlrm
utrap.h15410644editdlrm
watchdog.h10290644editdlrm
Edit: /usr/src/linux-headers-5.15.0-190/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 #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) */