Lines Matching defs:pending

62 	/* Grab CPPR of the most favored pending interrupt */
65 xc->pending |= 1 << cppr;
104 * pending.
134 u8 pending, int scan_type)
139 /* Find highest pending priority */
140 while ((xc->mfrr != 0xff || pending != 0) && hirq == 0) {
146 * If pending is 0 this will return 0xff which is what
149 prio = ffs(pending) - 1;
190 * This is safe because if we have another pending MFRR
211 /* Clear the pending bit if the queue is now empty */
213 pending &= ~(1 << prio);
230 * If the most favoured prio we found pending is less
231 * favored (or equal) than a pending IPI, we return
251 /* Update the pending bits */
252 xc->pending = pending;
256 * all we needed was cleanup the stale pending bits and check
269 * for pending IPIs.
297 /* First collect pending bits from HW */
300 pr_devel(" new pending=0x%02x hw_cppr=%d cppr=%d\n",
301 xc->pending, xc->hw_cppr, xc->cppr);
307 hirq = xive_vm_scan_interrupts(xc, xc->pending, scan_fetch);
339 u8 pending = xc->pending;
354 pending = 0xff;
356 /* Grab pending interrupt if any */
361 pending |= 1 << pipr;
364 hirq = xive_vm_scan_interrupts(xc, pending, scan_poll);
374 u8 pending, prio;
376 pending = xc->pending;
379 pending |= 1 << xc->mfrr;
381 pending |= 0x80;
383 if (!pending)
385 prio = ffs(pending) - 1;
481 * We are masking less, we need to look for pending things
482 * to deliver and set VP pending bits accordingly to trigger
608 /* Re-evaluate pending IRQs and update HW */
609 xive_vm_scan_interrupts(xc, xc->pending, scan_eoi);
611 pr_devel(" after scan pending=%02x\n", xc->pending);
796 * If we still have a pending escalation, abort the cede,
1206 * Increment the old queue pending count if there
1230 * pending interrupts across mask and unmask, which would
1263 * increment a separate "pending" counter on the old one.
1264 * This pending counter will be used to decrement the old
1525 * having a pending MFRR change, which will re-evaluate the
1580 * is pending. This will allow us to unmask or retrigger it
1679 * If old_p is set, the interrupt is pending, we switch it to
2210 * in the queues, so we can set the "pending" flag on them and
2243 * We mark it pending (which will attempt a re-delivery)
2245 * Q set which is equivalent to the XICS "masked pending"
2428 * in which case, treat it as pending
2450 * Restore P and Q. If the interrupt was pending, we
2454 * pending (queued) and Q set will restore with only
2915 xc->mfrr, xc->pending,