Lines Matching full:isc
12 #include <asm/isc.h>
20 * @isc: I/O interruption subclass to register
22 * The number of users for @isc is increased. If this is the first user to
23 * register @isc, the corresponding I/O interruption subclass mask is enabled.
28 void isc_register(unsigned int isc) in isc_register() argument
30 if (isc > MAX_ISC) { in isc_register()
36 if (isc_refs[isc] == 0) in isc_register()
37 system_ctl_set_bit(6, 31 - isc); in isc_register()
38 isc_refs[isc]++; in isc_register()
45 * @isc: I/O interruption subclass to unregister
47 * The number of users for @isc is decreased. If this is the last user to
48 * unregister @isc, the corresponding I/O interruption subclass mask is
51 * before by the driver for @isc.
56 void isc_unregister(unsigned int isc) in isc_unregister() argument
60 if (isc > MAX_ISC || isc_refs[isc] == 0) { in isc_unregister()
64 if (isc_refs[isc] == 1) in isc_unregister()
65 system_ctl_clear_bit(6, 31 - isc); in isc_unregister()
66 isc_refs[isc]--; in isc_unregister()