Home
last modified time | relevance | path

Searched refs:irr (Results 1 – 19 of 19) sorted by relevance

/arch/x86/kvm/
Di8259.c100 ret = !(s->irr & mask); in pic_set_irq1()
101 s->irr |= mask; in pic_set_irq1()
104 s->irr &= ~mask; in pic_set_irq1()
110 ret = !(s->irr & mask); in pic_set_irq1()
111 s->irr |= mask; in pic_set_irq1()
142 mask = s->irr & ~s->imr; in pic_get_irq()
218 s->irr &= ~(1 << irq); in pic_intack()
267 u8 irr = s->irr, isr = s->imr; in kvm_pic_reset() local
271 s->irr = 0; in kvm_pic_reset()
296 if (irr & (1 << irq) || isr & (1 << irq)) in kvm_pic_reset()
[all …]
Dirq.h43 u8 irr; /* interrupt request register */ member
Dvmx.c5921 static void update_cr8_intercept(struct kvm_vcpu *vcpu, int tpr, int irr) in update_cr8_intercept() argument
5923 if (irr == -1 || tpr < irr) { in update_cr8_intercept()
5928 vmcs_write32(TPR_THRESHOLD, irr); in update_cr8_intercept()
Dsvm.c3562 static void update_cr8_intercept(struct kvm_vcpu *vcpu, int tpr, int irr) in update_cr8_intercept() argument
3569 if (irr == -1) in update_cr8_intercept()
3572 if (tpr >= irr) in update_cr8_intercept()
/arch/arm/mach-sa1100/
Dneponset.c170 unsigned int irr; in neponset_irq_handler() local
183 irr = readb_relaxed(d->base + IRR); in neponset_irq_handler()
184 irr ^= IRR_ETHERNET | IRR_USAR; in neponset_irq_handler()
186 if ((irr & (IRR_ETHERNET | IRR_USAR | IRR_SA1111)) == 0) in neponset_irq_handler()
194 if (irr & (IRR_ETHERNET | IRR_USAR)) { in neponset_irq_handler()
205 if (irr & IRR_ETHERNET) in neponset_irq_handler()
208 if (irr & IRR_USAR) in neponset_irq_handler()
214 if (irr & IRR_SA1111) in neponset_irq_handler()
/arch/ia64/include/asm/
Dkvm.h40 __u32 irr; member
193 unsigned long irr[4]; member
Dprocessor.h578 u64 irr; in ia64_get_irr() local
581 case 0: irr = ia64_getreg(_IA64_REG_CR_IRR0); break; in ia64_get_irr()
582 case 1: irr = ia64_getreg(_IA64_REG_CR_IRR1); break; in ia64_get_irr()
583 case 2: irr = ia64_getreg(_IA64_REG_CR_IRR2); break; in ia64_get_irr()
584 case 3: irr = ia64_getreg(_IA64_REG_CR_IRR3); break; in ia64_get_irr()
587 return test_bit(bit, &irr); in ia64_get_irr()
/arch/x86/include/asm/
Dio_apic.h84 irr : 1, member
99 irr : 1, member
Dkvm.h42 __u8 irr; /* interrupt request register */ member
64 __u32 irr; member
Dapicdef.h268 } irr [8]; member
Dkvm_host.h657 void (*update_cr8_intercept)(struct kvm_vcpu *vcpu, int tpr, int irr);
/arch/x86/kernel/
Dirq.c310 unsigned int irr; in fixup_irqs() local
315 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in fixup_irqs()
316 if (irr & (1 << (vector % 32))) { in fixup_irqs()
/arch/ia64/kvm/
Dvcpu.h509 return ((u64)VCPU(vcpu, irr[0])); in vcpu_get_irr0()
514 return ((u64)VCPU(vcpu, irr[1])); in vcpu_get_irr1()
519 return ((u64)VCPU(vcpu, irr[2])); in vcpu_get_irr2()
524 return ((u64)VCPU(vcpu, irr[3])); in vcpu_get_irr3()
674 if (VCPU(vcpu, irr[0]) & (1UL<<NMI_VECTOR)) in highest_pending_irq()
676 if (VCPU(vcpu, irr[0]) & (1UL<<ExtINT_VECTOR)) in highest_pending_irq()
679 return highest_bits((int *)&VCPU(vcpu, irr[0])); in highest_pending_irq()
Dvti.h150 unsigned long irr[4]; member
Dvcpu.c937 ret = test_and_set_bit(vec, &VCPU(vcpu, irr[0])); in vcpu_pend_interrupt()
949 ret = test_and_clear_bit(vec, &VCPU(vcpu, irr[0])); in vcpu_unpend_interrupt()
2062 VCPU(vcpu, irr[0]) = 0; in init_vcpu()
2063 VCPU(vcpu, irr[1]) = 0; in init_vcpu()
2064 VCPU(vcpu, irr[2]) = 0; in init_vcpu()
2065 VCPU(vcpu, irr[3]) = 0; in init_vcpu()
Dasm-offsets.c45 offsetof(struct vpd, irr[0])); in foo()
Dkvm-ia64.c294 if (!test_and_set_bit(vector, &vpd->irr[0])) { in __apic_accept_irq()
1940 if (vpd->irr[0] & (1UL << NMI_VECTOR)) in kvm_highest_pending_irq()
1942 if (vpd->irr[0] & (1UL << ExtINT_VECTOR)) in kvm_highest_pending_irq()
1945 return find_highest_bits((int *)&vpd->irr[0]); in kvm_highest_pending_irq()
/arch/ia64/include/asm/xen/
Dinterface.h176 unsigned long irr[4]; member
/arch/x86/kernel/apic/
Dio_apic.c679 if (entry.irr) { in clear_IO_APIC_pin()
703 if (entry.irr) in clear_IO_APIC_pin()
1701 ir_entry->irr, in print_IO_APIC()
1720 entry.irr, in print_IO_APIC()
2059 entry.irr = 0; in disable_IO_APIC()
2469 unsigned int irr; in smp_irq_move_cleanup_interrupt() local
2494 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in smp_irq_move_cleanup_interrupt()
2502 if (irr & (1 << (vector % 32))) { in smp_irq_move_cleanup_interrupt()