Lines Matching refs:isc
11 #include <asm/isc.h>
19 * @isc: I/O interruption subclass to register
21 * The number of users for @isc is increased. If this is the first user to
22 * register @isc, the corresponding I/O interruption subclass mask is enabled.
27 void isc_register(unsigned int isc)
29 if (isc > MAX_ISC) {
35 if (isc_refs[isc] == 0)
36 ctl_set_bit(6, 31 - isc);
37 isc_refs[isc]++;
44 * @isc: I/O interruption subclass to unregister
46 * The number of users for @isc is decreased. If this is the last user to
47 * unregister @isc, the corresponding I/O interruption subclass mask is
50 * before by the driver for @isc.
55 void isc_unregister(unsigned int isc)
59 if (isc > MAX_ISC || isc_refs[isc] == 0) {
63 if (isc_refs[isc] == 1)
64 ctl_clear_bit(6, 31 - isc);
65 isc_refs[isc]--;