/* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ /* * OPAL Runtime Diagnostics interface driver * Supported on POWERNV platform * * (C) Copyright IBM 2015 * * Author: Vaidyanathan Srinivasan <svaidy at linux.vnet.ibm.com> * Author: Jeremy Kerr <jk@ozlabs.org> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ #ifndef _UAPI_ASM_POWERPC_OPAL_PRD_H_ #define _UAPI_ASM_POWERPC_OPAL_PRD_H_ #include <linux/types.h> /** * The version of the kernel interface of the PRD system. This describes the * interface available for the /dev/opal-prd device. The actual PRD message * layout and content is private to the firmware <--> userspace interface, so * is not covered by this versioning. * * Future interface versions are backwards-compatible; if a later kernel * version is encountered, functionality provided in earlier versions * will work. */ #define OPAL_PRD_KERNEL_VERSION 1 #define OPAL_PRD_GET_INFO _IOR('o', 0x01, struct opal_prd_info) #define OPAL_PRD_SCOM_READ _IOR('o', 0x02, struct opal_prd_scom) #define OPAL_PRD_SCOM_WRITE _IOW('o', 0x03, struct opal_prd_scom) #ifndef __ASSEMBLY__ struct opal_prd_info { __u64 version; __u64 reserved[3]; }; struct opal_prd_scom { __u64 chip; __u64 addr; __u64 data; __s64 rc; }; #endif /* __ASSEMBLY__ */ #endif /* _UAPI_ASM_POWERPC_OPAL_PRD_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Kbuild | File | 211 B | 0644 |
|
auxvec.h | File | 1.73 KB | 0644 |
|
bitsperlong.h | File | 312 B | 0644 |
|
bootx.h | File | 4.31 KB | 0644 |
|
byteorder.h | File | 550 B | 0644 |
|
cputable.h | File | 2.22 KB | 0644 |
|
eeh.h | File | 2.18 KB | 0644 |
|
elf.h | File | 12.99 KB | 0644 |
|
epapr_hcalls.h | File | 4.17 KB | 0644 |
|
errno.h | File | 278 B | 0644 |
|
fcntl.h | File | 367 B | 0644 |
|
ioctl.h | File | 302 B | 0644 |
|
ioctls.h | File | 4.07 KB | 0644 |
|
ipcbuf.h | File | 1.03 KB | 0644 |
|
kvm.h | File | 22.22 KB | 0644 |
|
kvm_para.h | File | 2.73 KB | 0644 |
|
mman.h | File | 1.33 KB | 0644 |
|
msgbuf.h | File | 1.02 KB | 0644 |
|
nvram.h | File | 2.03 KB | 0644 |
|
opal-prd.h | File | 1.74 KB | 0644 |
|
perf_event.h | File | 565 B | 0644 |
|
perf_regs.h | File | 1.2 KB | 0644 |
|
posix_types.h | File | 738 B | 0644 |
|
ps3fb.h | File | 1.74 KB | 0644 |
|
ptrace.h | File | 7.4 KB | 0644 |
|
sembuf.h | File | 1.07 KB | 0644 |
|
setup.h | File | 203 B | 0644 |
|
shmbuf.h | File | 1.61 KB | 0644 |
|
sigcontext.h | File | 4.28 KB | 0644 |
|
siginfo.h | File | 576 B | 0644 |
|
signal.h | File | 3.27 KB | 0644 |
|
socket.h | File | 592 B | 0644 |
|
spu_info.h | File | 1.48 KB | 0644 |
|
stat.h | File | 2.26 KB | 0644 |
|
swab.h | File | 602 B | 0644 |
|
termbits.h | File | 5.1 KB | 0644 |
|
termios.h | File | 1.67 KB | 0644 |
|
tm.h | File | 734 B | 0644 |
|
types.h | File | 1.29 KB | 0644 |
|
ucontext.h | File | 975 B | 0644 |
|
unistd.h | File | 10.87 KB | 0644 |
|