Home
last modified time | relevance | path

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

/linux/drivers/parisc/
H A Dgsc.c73 unsigned long irr; in gsc_asic_intr() local
76 irr = gsc_readl(gsc_asic->hpa + OFFSET_IRR); in gsc_asic_intr()
77 if (irr == 0) in gsc_asic_intr()
80 DEBPRINTK("%s intr, mask=0x%x\n", gsc_asic->name, irr); in gsc_asic_intr()
83 int local_irq = __ffs(irr); in gsc_asic_intr()
86 irr &= ~(1 << local_irq); in gsc_asic_intr()
87 } while (irr); in gsc_asic_intr()
/linux/arch/x86/kvm/
H A Di8259.c97 ret = !(s->irr & mask); in pic_set_irq1()
98 s->irr |= mask; in pic_set_irq1()
101 s->irr &= ~mask; in pic_set_irq1()
107 ret = !(s->irr & mask); in pic_set_irq1()
108 s->irr |= mask; in pic_set_irq1()
139 mask = s->irr & ~s->imr; in pic_get_irq()
226 s->irr &= ~(1 << irq); in pic_intack()
277 u8 edge_irr = s->irr & ~s->elcr; in kvm_pic_reset()
281 s->irr &= s->elcr; in kvm_pic_reset()
408 s->pics_state->pics[0].irr &= ~(1 << 2); in pic_poll_read()
[all …]
H A Dioapic.c218 ioapic->irr &= ~mask; in ioapic_set_irq()
249 old_irr = ioapic->irr; in ioapic_set_irq()
250 ioapic->irr |= mask; in ioapic_set_irq()
253 if (old_irr == ioapic->irr) { in ioapic_set_irq()
266 static void kvm_ioapic_inject_all(struct kvm_ioapic *ioapic, unsigned long irr) in kvm_ioapic_inject_all() argument
271 for_each_set_bit(idx, &irr, IOAPIC_NUM_PINS) in kvm_ioapic_inject_all()
372 ioapic->irr & (1 << index) && !e->fields.mask && !e->fields.remote_irr) { in ioapic_write_indirect()
400 ioapic->irr &= ~(1 << index); in ioapic_write_indirect()
524 if (ioapic->irr & (1 << i) && !ent->fields.remote_irr) in kvm_ioapic_eoi_inject_work()
557 if (!ent->fields.mask && (ioapic->irr & (1 << pin))) { in kvm_ioapic_update_eoi_one()
[all …]
H A Dirq.h30 u8 irr; /* interrupt request register */ member
H A Dioapic.h78 u32 irr; member
/linux/arch/arm/mach-sa1100/
H A Dneponset.c144 unsigned int irr; in neponset_irq_handler() local
157 irr = readb_relaxed(d->base + IRR); in neponset_irq_handler()
158 irr ^= IRR_ETHERNET | IRR_USAR; in neponset_irq_handler()
160 if ((irr & (IRR_ETHERNET | IRR_USAR | IRR_SA1111)) == 0) in neponset_irq_handler()
168 if (irr & (IRR_ETHERNET | IRR_USAR)) { in neponset_irq_handler()
179 if (irr & IRR_ETHERNET) in neponset_irq_handler()
182 if (irr & IRR_USAR) in neponset_irq_handler()
188 if (irr & IRR_SA1111) in neponset_irq_handler()
/linux/drivers/irqchip/
H A Dirq-realtek-rtl.c44 u32 irr; in write_irr() local
46 irr = readl(irr0 + offset) & ~(0xf << shift); in write_irr()
47 irr |= (value & 0xf) << shift; in write_irr()
48 writel(irr, irr0 + offset); in write_irr()
/linux/drivers/char/hw_random/
H A Dcctrng.c406 u32 irr; in cc_isr() local
413 irr = cc_ioread(drvdata, CC_HOST_RGF_IRR_REG_OFFSET); in cc_isr()
414 dev_dbg(dev, "Got IRR=0x%08X\n", irr); in cc_isr()
416 if (irr == 0) /* Probably shared interrupt line */ in cc_isr()
420 cc_iowrite(drvdata, CC_HOST_RGF_ICR_REG_OFFSET, irr); in cc_isr()
423 if (irr & CC_HOST_RNG_IRQ_MASK) { in cc_isr()
433 irr &= ~CC_HOST_RNG_IRQ_MASK; in cc_isr()
439 if (irr) { in cc_isr()
442 irr); in cc_isr()
/linux/arch/x86/kernel/apic/
H A Dapic.c1432 static bool apic_check_and_ack(union apic_ir *irr, union apic_ir *isr) in apic_check_and_ack() argument
1438 irr->regs[i] = apic_read(APIC_IRR + i * 0x10); in apic_check_and_ack()
1460 return !bitmap_empty(irr->map, APIC_IR_BITS); in apic_check_and_ack()
1479 union apic_ir irr, isr; in apic_pending_intr_clear() local
1484 if (!apic_check_and_ack(&irr, &isr)) in apic_pending_intr_clear()
1488 pr_warn("APIC: Stale IRR: %256pb ISR: %256pb\n", irr.map, isr.map); in apic_pending_intr_clear()
H A Dio_apic.c487 if (entry.irr) { in clear_IO_APIC_pin()
507 if (entry.irr) in clear_IO_APIC_pin()
1162 entry.vector, entry.irr, entry.delivery_status); in io_apic_print_entries()
1593 if (e.irr) in io_apic_level_ack_pending()
1846 if (rentry.irr && rentry.is_level) { in ioapic_irq_get_chip_state()
/linux/arch/x86/include/asm/
H A Dio_apic.h66 irr : 1, member
H A Dapic.h493 u32 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in lapic_vector_set_in_irr() local
495 return !!(irr & (1U << (vector % 32))); in lapic_vector_set_in_irr()
/linux/arch/x86/kvm/vmx/
H A Dx86_ops.h100 void vmx_update_cr8_intercept(struct kvm_vcpu *vcpu, int tpr, int irr);
/linux/tools/arch/x86/include/uapi/asm/
H A Dkvm.h60 __u8 irr; /* interrupt request register */ member
82 __u32 irr; member
/linux/net/netfilter/
H A Dnf_conntrack_h323_main.c1597 unsigned char **data, InfoRequestResponse *irr) in process_irr() argument
1608 &irr->rasAddress, 1); in process_irr()
1613 irr->callSignalAddress.item, in process_irr()
1614 irr->callSignalAddress.count); in process_irr()
/linux/arch/x86/kvm/svm/
H A Dsvm.c3729 static void svm_update_cr8_intercept(struct kvm_vcpu *vcpu, int tpr, int irr) in svm_update_cr8_intercept() argument
3745 if (irr == -1) in svm_update_cr8_intercept()
3748 if (tpr >= irr) in svm_update_cr8_intercept()