Lines Matching defs:set
40 * directly for hooking up an ILSEL set and getting back an IRQ which can
61 static void __ilsel_enable(ilsel_source_t set, unsigned int bit)
66 pr_notice("enabling ILSEL set %d\n", set);
71 pr_debug("%s: bit#%d: addr - 0x%08lx (shift %d, set %d)\n",
72 __func__, bit, addr, shift, set);
76 tmp |= set << shift;
81 * ilsel_enable - Enable an ILSEL set.
82 * @set: ILSEL source (see ilsel_source_t enum in include/asm-sh/ilsel.h).
92 int ilsel_enable(ilsel_source_t set)
96 if (unlikely(set > ILSEL_KEY)) {
105 __ilsel_enable(set, bit);
112 * ilsel_enable_fixed - Enable an ILSEL set at a fixed interrupt level
113 * @set: ILSEL source (see ilsel_source_t enum in include/asm-sh/ilsel.h).
122 int ilsel_enable_fixed(ilsel_source_t set, unsigned int level)
129 __ilsel_enable(set, bit);
136 * ilsel_disable - Disable an ILSEL set
137 * @irq: Bit position for ILSEL set value (retval from enable routines)
139 * Disable a previously enabled ILSEL set.
146 pr_notice("disabling ILSEL set %d\n", irq);