Lines Matching defs:pending

37 	/* Grab CPPR of the most favored pending interrupt */
40 xc->pending |= 1 << cppr;
86 * pending.
116 u8 pending, int scan_type)
121 /* Find highest pending priority */
122 while ((xc->mfrr != 0xff || pending != 0) && hirq == 0) {
128 * If pending is 0 this will return 0xff which is what
131 prio = ffs(pending) - 1;
172 * This is safe because if we have another pending MFRR
195 /* Clear the pending bit if the queue is now empty */
197 pending &= ~(1 << prio);
215 * If the most favoured prio we found pending is less
216 * favored (or equal) than a pending IPI, we return
236 /* Update the pending bits */
237 xc->pending = pending;
241 * all we needed was cleanup the stale pending bits and check
254 * for pending IPIs.
282 /* First collect pending bits from HW */
285 pr_devel(" new pending=0x%02x hw_cppr=%d cppr=%d\n",
286 xc->pending, xc->hw_cppr, xc->cppr);
292 hirq = GLUE(X_PFX,scan_interrupts)(xc, xc->pending, scan_fetch);
326 u8 pending = xc->pending;
341 pending = 0xff;
343 /* Grab pending interrupt if any */
347 pending |= 1 << pipr;
350 hirq = GLUE(X_PFX,scan_interrupts)(xc, pending, scan_poll);
360 u8 pending, prio;
362 pending = xc->pending;
365 pending |= 1 << xc->mfrr;
367 pending |= 0x80;
369 if (!pending)
371 prio = ffs(pending) - 1;
467 * We are masking less, we need to look for pending things
468 * to deliver and set VP pending bits accordingly to trigger
594 /* Re-evaluate pending IRQs and update HW */
595 GLUE(X_PFX,scan_interrupts)(xc, xc->pending, scan_eoi);
597 pr_devel(" after scan pending=%02x\n", xc->pending);