Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef _ASM_S390_ISC_H
0003 #define _ASM_S390_ISC_H
0004 
0005 #include <linux/types.h>
0006 
0007 /*
0008  * I/O interruption subclasses used by drivers.
0009  * Please add all used iscs here so that it is possible to distribute
0010  * isc usage between drivers.
0011  * Reminder: 0 is highest priority, 7 lowest.
0012  */
0013 #define MAX_ISC 7
0014 
0015 /* Regular I/O interrupts. */
0016 #define IO_SCH_ISC 3            /* regular I/O subchannels */
0017 #define CONSOLE_ISC 1           /* console I/O subchannel */
0018 #define EADM_SCH_ISC 4          /* EADM subchannels */
0019 #define CHSC_SCH_ISC 7          /* CHSC subchannels */
0020 #define VFIO_CCW_ISC IO_SCH_ISC     /* VFIO-CCW I/O subchannels */
0021 /* Adapter interrupts. */
0022 #define QDIO_AIRQ_ISC IO_SCH_ISC    /* I/O subchannel in qdio mode */
0023 #define PCI_ISC 2           /* PCI I/O subchannels */
0024 #define GAL_ISC 5           /* GIB alert */
0025 #define AP_ISC 6            /* adjunct processor (crypto) devices */
0026 
0027 /* Functions for registration of I/O interruption subclasses */
0028 void isc_register(unsigned int isc);
0029 void isc_unregister(unsigned int isc);
0030 
0031 #endif /* _ASM_S390_ISC_H */