1*c63c473fSSven Schnelle /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 2*c63c473fSSven Schnelle #ifndef _ASM_S390_TPI_H 3*c63c473fSSven Schnelle #define _ASM_S390_TPI_H 4*c63c473fSSven Schnelle 5*c63c473fSSven Schnelle #include <linux/types.h> 6*c63c473fSSven Schnelle #include <uapi/asm/schid.h> 7*c63c473fSSven Schnelle 8*c63c473fSSven Schnelle /* I/O-Interruption Code as stored by TEST PENDING INTERRUPTION (TPI). */ 9*c63c473fSSven Schnelle struct tpi_info { 10*c63c473fSSven Schnelle struct subchannel_id schid; 11*c63c473fSSven Schnelle u32 intparm; 12*c63c473fSSven Schnelle u32 adapter_IO:1; 13*c63c473fSSven Schnelle u32 directed_irq:1; 14*c63c473fSSven Schnelle u32 isc:3; 15*c63c473fSSven Schnelle u32 :12; 16*c63c473fSSven Schnelle u32 type:3; 17*c63c473fSSven Schnelle u32 :12; 18*c63c473fSSven Schnelle } __packed __aligned(4); 19*c63c473fSSven Schnelle 20*c63c473fSSven Schnelle #endif /* _ASM_S390_TPI_H */ 21