Searched refs:ivpr (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/arch/powerpc/kvm/
H A Dmpic.c148 uint32_t ivpr; /* IRQ vector/priority register */ member in struct:irq_source
304 irq, IVPR_PRIORITY(opp->src[irq].ivpr), priority); IRQ_check()
306 if (IVPR_PRIORITY(opp->src[irq].ivpr) > priority) { IRQ_check()
308 priority = IVPR_PRIORITY(opp->src[irq].ivpr); IRQ_check()
365 priority = IVPR_PRIORITY(src->ivpr); IRQ_local_pipe()
421 if ((src->ivpr & IVPR_MASK_MASK) && !src->nomask) { openpic_update_irq()
427 was_active = !!(src->ivpr & IVPR_ACTIVITY_MASK); openpic_update_irq()
439 src->ivpr |= IVPR_ACTIVITY_MASK; openpic_update_irq()
441 src->ivpr &= ~IVPR_ACTIVITY_MASK; openpic_update_irq()
452 } else if (!(src->ivpr & IVPR_MODE_MASK)) { openpic_update_irq()
487 pr_debug("openpic: set irq %d = %d ivpr=0x%08x\n", openpic_set_irq()
488 n_IRQ, level, src->ivpr); openpic_set_irq()
527 opp->src[i].ivpr = opp->ivpr_reset; openpic_reset()
536 opp->src[i].ivpr |= IVPR_POLARITY_MASK; openpic_reset()
577 return opp->src[n_IRQ].ivpr; read_IRQreg_ivpr()
651 opp->src[n_IRQ].ivpr = write_IRQreg_ivpr()
652 (opp->src[n_IRQ].ivpr & IVPR_ACTIVITY_MASK) | (val & mask); write_IRQreg_ivpr()
661 !!(opp->src[n_IRQ].ivpr & IVPR_SENSE_MASK); write_IRQreg_ivpr()
665 opp->src[n_IRQ].ivpr &= ~IVPR_SENSE_MASK; write_IRQreg_ivpr()
669 opp->src[n_IRQ].ivpr &= ~(IVPR_POLARITY_MASK | IVPR_SENSE_MASK); write_IRQreg_ivpr()
675 opp->src[n_IRQ].ivpr); write_IRQreg_ivpr()
1100 IVPR_PRIORITY(src->ivpr) > dst->servicing.priority)) { openpic_cpu_write_internal()
1144 if (!(src->ivpr & IVPR_ACTIVITY_MASK) || openpic_iack()
1145 !(IVPR_PRIORITY(src->ivpr) > dst->ctpr)) { openpic_iack()
1146 pr_err("%s: bad raised IRQ %d ctpr %d ivpr 0x%08x\n", openpic_iack()
1147 __func__, irq, dst->ctpr, src->ivpr); openpic_iack()
1153 retval = IVPR_VECTOR(opp, src->ivpr); openpic_iack()
1158 src->ivpr &= ~IVPR_ACTIVITY_MASK; openpic_iack()
1170 src->ivpr |= IVPR_ACTIVITY_MASK; openpic_iack()
H A Dbooke_emulate.c309 vcpu->arch.ivpr = spr_val; kvmppc_booke_emulate_mtspr()
396 *spr_val = vcpu->arch.ivpr; kvmppc_booke_emulate_mfspr()
H A Dbooke.c494 vcpu->arch.pc = vcpu->arch.ivpr | vcpu->arch.ivor[priority]; kvmppc_booke_irqprio_deliver()
1390 vcpu->arch.ivpr = 0x55550000; kvm_arch_vcpu_setup()
1530 sregs->u.e.ivpr = vcpu->arch.ivpr; get_sregs_arch206()
1545 vcpu->arch.ivpr = sregs->u.e.ivpr; set_sregs_arch206()
H A De500mc.c131 mtspr(SPRN_GIVPR, vcpu->arch.ivpr); kvmppc_core_vcpu_load_e500mc()
/linux-4.4.14/arch/powerpc/include/asm/
H A Dkvm_host.h524 ulong ivpr; member in struct:kvmppc_slb::kvm_vcpu_arch
/linux-4.4.14/arch/powerpc/include/uapi/asm/
H A Dkvm.h211 __u64 ivpr; member in struct:kvm_sregs::__anon2349::__anon2354

Completed in 141 milliseconds