Lines Matching full: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) in isc_register() argument
29 if (isc > MAX_ISC) { in isc_register()
35 if (isc_refs[isc] == 0) in isc_register()
36 system_ctl_set_bit(6, 31 - isc); in isc_register()
37 isc_refs[isc]++; in isc_register()
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) in isc_unregister() argument
59 if (isc > MAX_ISC || isc_refs[isc] == 0) { in isc_unregister()
63 if (isc_refs[isc] == 1) in isc_unregister()
64 system_ctl_clear_bit(6, 31 - isc); in isc_unregister()
65 isc_refs[isc]--; in isc_unregister()