Home
last modified time | relevance | path

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

/linux/drivers/parisc/
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/drivers/crypto/ccree/
A Dcc_driver.c186 u32 irr; in cc_isr() local
196 dev_dbg(dev, "Got IRR=0x%08X\n", irr); in cc_isr()
206 drvdata->irq = irr; in cc_isr()
208 if (irr & drvdata->comp_mask) { in cc_isr()
213 irr &= ~drvdata->comp_mask; in cc_isr()
218 if (irr & CC_GPR0_IRQ_MASK) { in cc_isr()
223 irr &= ~CC_GPR0_IRQ_MASK; in cc_isr()
228 if (irr & CC_AXI_ERR_IRQ_MASK) { in cc_isr()
236 irr &= ~CC_AXI_ERR_IRQ_MASK; in cc_isr()
239 if (irr) { in cc_isr()
[all …]
/linux/arch/x86/kvm/
A Di8259.c95 ret = !(s->irr & mask); in pic_set_irq1()
96 s->irr |= mask; in pic_set_irq1()
99 s->irr &= ~mask; in pic_set_irq1()
105 ret = !(s->irr & mask); in pic_set_irq1()
106 s->irr |= mask; in pic_set_irq1()
137 mask = s->irr & ~s->imr; in pic_get_irq()
224 s->irr &= ~(1 << irq); in pic_intack()
275 u8 edge_irr = s->irr & ~s->elcr; in kvm_pic_reset()
279 s->irr &= s->elcr; in kvm_pic_reset()
408 s->irr &= ~(1 << ret); in pic_poll_read()
[all …]
A Dioapic.c219 ioapic->irr &= ~mask; in ioapic_set_irq()
250 old_irr = ioapic->irr; in ioapic_set_irq()
251 ioapic->irr |= mask; in ioapic_set_irq()
254 if (old_irr == ioapic->irr) { in ioapic_set_irq()
272 for_each_set_bit(idx, &irr, IOAPIC_NUM_PINS) in kvm_ioapic_inject_all()
373 && ioapic->irr & (1 << index)) in ioapic_write_indirect()
528 if (!ent->fields.mask && (ioapic->irr & (1 << pin))) { in kvm_ioapic_update_eoi_one()
673 ioapic->irr = 0; in kvm_ioapic_reset()
732 state->irr &= ~ioapic->irr_delivered; in kvm_get_ioapic()
742 ioapic->irr = 0; in kvm_set_ioapic()
[all …]
A Dirq.h30 u8 irr; /* interrupt request register */ member
A Dioapic.h78 u32 irr; member
/linux/arch/arm/mach-sa1100/
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/char/hw_random/
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/ia64/include/asm/
A Dprocessor.h545 u64 irr; in ia64_get_irr() local
548 case 0: irr = ia64_getreg(_IA64_REG_CR_IRR0); break; in ia64_get_irr()
549 case 1: irr = ia64_getreg(_IA64_REG_CR_IRR1); break; in ia64_get_irr()
550 case 2: irr = ia64_getreg(_IA64_REG_CR_IRR2); break; in ia64_get_irr()
551 case 3: irr = ia64_getreg(_IA64_REG_CR_IRR3); break; in ia64_get_irr()
554 return test_bit(bit, &irr); in ia64_get_irr()
/linux/arch/x86/kernel/
A Dirq.c335 unsigned int irr, vector; in fixup_irqs() local
362 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in fixup_irqs()
363 if (irr & (1 << (vector % 32))) { in fixup_irqs()
/linux/arch/x86/include/asm/
A Dapic.h451 u32 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in lapic_vector_set_in_irr() local
453 return !!(irr & (1U << (vector % 32))); in lapic_vector_set_in_irr()
A Dio_apic.h66 irr : 1, member
A Dapicdef.h269 } irr [8]; member
A Dkvm_host.h1393 void (*update_cr8_intercept)(struct kvm_vcpu *vcpu, int tpr, int irr);
/linux/arch/x86/include/uapi/asm/
A Dkvm.h67 __u8 irr; /* interrupt request register */ member
89 __u32 irr; member
/linux/tools/arch/x86/include/uapi/asm/
A Dkvm.h67 __u8 irr; /* interrupt request register */ member
89 __u32 irr; member
/linux/arch/x86/kernel/apic/
A Dapic.c1494 static bool apic_check_and_ack(union apic_ir *irr, union apic_ir *isr) in apic_check_and_ack() argument
1500 irr->regs[i] = apic_read(APIC_IRR + i * 0x10); in apic_check_and_ack()
1522 return !bitmap_empty(irr->map, APIC_IR_BITS); in apic_check_and_ack()
1541 union apic_ir irr, isr; in apic_pending_intr_clear() local
1546 if (!apic_check_and_ack(&irr, &isr)) in apic_pending_intr_clear()
1550 pr_warn("APIC: Stale IRR: %256pb ISR: %256pb\n", irr.map, isr.map); in apic_pending_intr_clear()
A Dvector.c952 unsigned int irr, vector = apicd->prev_vector; in DEFINE_IDTENTRY_SYSVEC() local
963 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in DEFINE_IDTENTRY_SYSVEC()
964 if (irr & (1U << (vector % 32))) { in DEFINE_IDTENTRY_SYSVEC()
A Dio_apic.c538 if (entry.irr) { in clear_IO_APIC_pin()
561 if (entry.irr) in clear_IO_APIC_pin()
1244 entry.vector, entry.irr, entry.delivery_status); in io_apic_print_entries()
1712 if (e.irr) { in io_apic_level_ack_pending()
1970 if (rentry.irr && rentry.is_level) { in ioapic_irq_get_chip_state()
/linux/net/netfilter/
A Dnf_conntrack_h323_main.c1635 unsigned char **data, InfoRequestResponse *irr) in process_irr() argument
1647 &irr->rasAddress, 1); in process_irr()
1656 irr->callSignalAddress.item, in process_irr()
1657 irr->callSignalAddress.count); in process_irr()
/linux/arch/x86/kvm/svm/
A Dsvm.c3498 static void svm_update_cr8_intercept(struct kvm_vcpu *vcpu, int tpr, int irr) in svm_update_cr8_intercept() argument
3514 if (irr == -1) in svm_update_cr8_intercept()
3517 if (tpr >= irr) in svm_update_cr8_intercept()
/linux/arch/x86/kvm/vmx/
A Dvmx.c6131 static void vmx_update_cr8_intercept(struct kvm_vcpu *vcpu, int tpr, int irr) in vmx_update_cr8_intercept() argument
6140 tpr_threshold = (irr == -1 || tpr < irr) ? 0 : irr; in vmx_update_cr8_intercept()

Completed in 79 milliseconds