Lines Matching defs:priority
116 * return the highest priority found in mask (highest = smallest
121 int priority;
124 priority = 0;
125 while ((mask & (1 << ((priority + s->priority_add) & 7))) == 0)
126 priority++;
127 return priority;
135 int mask, cur_priority, priority;
138 priority = get_priority(s, mask);
139 if (priority == 8)
142 * compute current priority. If special fully nested mode on the
144 * for the priority computation.
150 if (priority < cur_priority)
152 * higher priority found: an irq should be generated
154 return (priority + s->priority_add) & 7;
308 int priority, cmd, irq;
336 priority = get_priority(s, s->isr);
337 if (priority != 8) {
338 irq = (priority + s->priority_add) & 7;