Lines Matching refs:irqp
1189 struct ics_irq_state *irqp; in xics_get_source() local
1199 irqp = &ics->irq_state[idx]; in xics_get_source()
1203 if (irqp->exists) { in xics_get_source()
1204 val = irqp->server; in xics_get_source()
1205 prio = irqp->priority; in xics_get_source()
1208 prio = irqp->saved_priority; in xics_get_source()
1211 if (irqp->lsi) { in xics_get_source()
1213 if (irqp->pq_state & PQ_PRESENTED) in xics_get_source()
1215 } else if (irqp->masked_pending || irqp->resend) in xics_get_source()
1218 if (irqp->pq_state & PQ_PRESENTED) in xics_get_source()
1221 if (irqp->pq_state & PQ_QUEUED) in xics_get_source()
1238 struct ics_irq_state *irqp; in xics_set_source() local
1255 irqp = &ics->irq_state[idx]; in xics_set_source()
1267 irqp->server = server; in xics_set_source()
1268 irqp->saved_priority = prio; in xics_set_source()
1271 irqp->priority = prio; in xics_set_source()
1272 irqp->resend = 0; in xics_set_source()
1273 irqp->masked_pending = 0; in xics_set_source()
1274 irqp->lsi = 0; in xics_set_source()
1275 irqp->pq_state = 0; in xics_set_source()
1277 irqp->lsi = 1; in xics_set_source()
1280 irqp->pq_state |= PQ_PRESENTED; in xics_set_source()
1282 irqp->pq_state |= PQ_QUEUED; in xics_set_source()
1283 irqp->exists = 1; in xics_set_source()
1288 icp_deliver_irq(xics, NULL, irqp->number, false); in xics_set_source()