/
usr
/
include
/
powerpc-linux-gnu
/
asm
/
/usr/include/powerpc-linux-gnu/asm
mkdir
upload
Name
Size
Mode
Actions
auxvec.h
1846
0644
edit
dl
rm
bitsperlong.h
312
0644
edit
dl
rm
bootx.h
4401
0644
edit
dl
rm
bpf_perf_event.h
40
0644
edit
dl
rm
byteorder.h
550
0644
edit
dl
rm
cputable.h
2384
0644
edit
dl
rm
eeh.h
2233
0644
edit
dl
rm
elf.h
13400
0644
edit
dl
rm
epapr_hcalls.h
4259
0644
edit
dl
rm
errno.h
278
0644
edit
dl
rm
fcntl.h
367
0644
edit
dl
rm
ioctl.h
302
0644
edit
dl
rm
ioctls.h
4363
0644
edit
dl
rm
ipcbuf.h
1057
0644
edit
dl
rm
kvm.h
26122
0644
edit
dl
rm
kvm_para.h
2778
0644
edit
dl
rm
mman.h
1279
0644
edit
dl
rm
msgbuf.h
1159
0644
edit
dl
rm
nvram.h
2062
0644
edit
dl
rm
opal-prd.h
1767
0644
edit
dl
rm
papr-miscdev.h
184
0644
edit
dl
rm
papr-sysparm.h
2057
0644
edit
dl
rm
papr-vpd.h
538
0644
edit
dl
rm
param.h
31
0644
edit
dl
rm
perf_event.h
550
0644
edit
dl
rm
perf_regs.h
2748
0644
edit
dl
rm
poll.h
30
0644
edit
dl
rm
posix_types.h
594
0644
edit
dl
rm
ps3fb.h
1781
0644
edit
dl
rm
ptrace.h
7725
0644
edit
dl
rm
resource.h
34
0644
edit
dl
rm
sembuf.h
1144
0644
edit
dl
rm
setup.h
188
0644
edit
dl
rm
shmbuf.h
1723
0644
edit
dl
rm
sigcontext.h
4344
0644
edit
dl
rm
siginfo.h
33
0644
edit
dl
rm
signal.h
2547
0644
edit
dl
rm
socket.h
600
0644
edit
dl
rm
sockios.h
33
0644
edit
dl
rm
spu_info.h
774
0644
edit
dl
rm
stat.h
2362
0644
edit
dl
rm
statfs.h
32
0644
edit
dl
rm
swab.h
560
0644
edit
dl
rm
termbits.h
4104
0644
edit
dl
rm
termios.h
1697
0644
edit
dl
rm
tm.h
734
0644
edit
dl
rm
types.h
1304
0644
edit
dl
rm
ucontext.h
961
0644
edit
dl
rm
unistd.h
562
0644
edit
dl
rm
unistd_32.h
12065
0644
edit
dl
rm
unistd_64.h
11149
0644
edit
dl
rm
vas-api.h
649
0644
edit
dl
rm
Edit:
/usr/lib/linux/uapi/powerpc/asm/papr-sysparm.h
(2057B)
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _PAPR_SYSPARM_H_ #define _PAPR_SYSPARM_H_ #include <linux/types.h> #include <asm/ioctl.h> #include <asm/papr-miscdev.h> enum { PAPR_SYSPARM_MAX_INPUT = 1024, PAPR_SYSPARM_MAX_OUTPUT = 4000, }; struct papr_sysparm_io_block { __u32 parameter; __u16 length; __u8 data[PAPR_SYSPARM_MAX_OUTPUT]; }; /** * PAPR_SYSPARM_IOC_GET - Retrieve the value of a PAPR system parameter. * * Uses _IOWR because of one corner case: Retrieving the value of the * "OS Service Entitlement Status" parameter (60) requires the caller * to supply input data (a date string) in the buffer passed to * firmware. So the @length and @data of the incoming * papr_sysparm_io_block are always used to initialize the work area * supplied to ibm,get-system-parameter. No other parameters are known * to parameterize the result this way, and callers are encouraged * (but not required) to zero-initialize @length and @data in the * common case. * * On error the contents of the ioblock are indeterminate. * * Return: * 0: Success; @length is the length of valid data in @data, not to exceed @PAPR_SYSPARM_MAX_OUTPUT. * -EIO: Platform error. (-1) * -EINVAL: Incorrect data length or format. (-9999) * -EPERM: The calling partition is not allowed to access this parameter. (-9002) * -EOPNOTSUPP: Parameter not supported on this platform (-3) */ #define PAPR_SYSPARM_IOC_GET _IOWR(PAPR_MISCDEV_IOC_ID, 1, struct papr_sysparm_io_block) /** * PAPR_SYSPARM_IOC_SET - Update the value of a PAPR system parameter. * * The contents of the ioblock are unchanged regardless of success. * * Return: * 0: Success; the parameter has been updated. * -EIO: Platform error. (-1) * -EINVAL: Incorrect data length or format. (-9999) * -EPERM: The calling partition is not allowed to access this parameter. (-9002) * -EOPNOTSUPP: Parameter not supported on this platform (-3) */ #define PAPR_SYSPARM_IOC_SET _IOW(PAPR_MISCDEV_IOC_ID, 2, struct papr_sysparm_io_block) #endif /* _PAPR_SYSPARM_H_ */
Save
cmd:
run