Lines Matching refs:ivpr
147 uint32_t ivpr; /* IRQ vector/priority register */ member
303 irq, IVPR_PRIORITY(opp->src[irq].ivpr), priority); in IRQ_check()
305 if (IVPR_PRIORITY(opp->src[irq].ivpr) > priority) { in IRQ_check()
307 priority = IVPR_PRIORITY(opp->src[irq].ivpr); in IRQ_check()
364 priority = IVPR_PRIORITY(src->ivpr); in IRQ_local_pipe()
420 if ((src->ivpr & IVPR_MASK_MASK) && !src->nomask) { in openpic_update_irq()
426 was_active = !!(src->ivpr & IVPR_ACTIVITY_MASK); in openpic_update_irq()
438 src->ivpr |= IVPR_ACTIVITY_MASK; in openpic_update_irq()
440 src->ivpr &= ~IVPR_ACTIVITY_MASK; in openpic_update_irq()
451 } else if (!(src->ivpr & IVPR_MODE_MASK)) { in openpic_update_irq()
487 n_IRQ, level, src->ivpr); in openpic_set_irq()
526 opp->src[i].ivpr = opp->ivpr_reset; in openpic_reset()
535 opp->src[i].ivpr |= IVPR_POLARITY_MASK; in openpic_reset()
576 return opp->src[n_IRQ].ivpr; in read_IRQreg_ivpr()
650 opp->src[n_IRQ].ivpr = in write_IRQreg_ivpr()
651 (opp->src[n_IRQ].ivpr & IVPR_ACTIVITY_MASK) | (val & mask); in write_IRQreg_ivpr()
660 !!(opp->src[n_IRQ].ivpr & IVPR_SENSE_MASK); in write_IRQreg_ivpr()
664 opp->src[n_IRQ].ivpr &= ~IVPR_SENSE_MASK; in write_IRQreg_ivpr()
668 opp->src[n_IRQ].ivpr &= ~(IVPR_POLARITY_MASK | IVPR_SENSE_MASK); in write_IRQreg_ivpr()
674 opp->src[n_IRQ].ivpr); in write_IRQreg_ivpr()
1099 IVPR_PRIORITY(src->ivpr) > dst->servicing.priority)) { in openpic_cpu_write_internal()
1143 if (!(src->ivpr & IVPR_ACTIVITY_MASK) || in openpic_iack()
1144 !(IVPR_PRIORITY(src->ivpr) > dst->ctpr)) { in openpic_iack()
1146 __func__, irq, dst->ctpr, src->ivpr); in openpic_iack()
1152 retval = IVPR_VECTOR(opp, src->ivpr); in openpic_iack()
1157 src->ivpr &= ~IVPR_ACTIVITY_MASK; in openpic_iack()
1169 src->ivpr |= IVPR_ACTIVITY_MASK; in openpic_iack()