Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/parisc/
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-v5.10/drivers/crypto/ccree/
Dcc_driver.c134 u32 irr; in cc_isr() local
143 irr = cc_ioread(drvdata, CC_REG(HOST_IRR)); in cc_isr()
144 dev_dbg(dev, "Got IRR=0x%08X\n", irr); in cc_isr()
146 if (irr == 0) /* Probably shared interrupt line */ in cc_isr()
152 cc_iowrite(drvdata, CC_REG(HOST_ICR), irr); in cc_isr()
154 drvdata->irq = irr; in cc_isr()
156 if (irr & drvdata->comp_mask) { in cc_isr()
161 irr &= ~drvdata->comp_mask; in cc_isr()
166 if (irr & CC_GPR0_IRQ_MASK) { in cc_isr()
171 irr &= ~CC_GPR0_IRQ_MASK; in cc_isr()
[all …]
/Linux-v5.10/arch/x86/kvm/
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()
406 s->pics_state->pics[0].irr &= ~(1 << 2); in pic_poll_read()
[all …]
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()
267 static void kvm_ioapic_inject_all(struct kvm_ioapic *ioapic, unsigned long irr) in kvm_ioapic_inject_all() argument
272 for_each_set_bit(idx, &irr, IOAPIC_NUM_PINS) in kvm_ioapic_inject_all()
373 && ioapic->irr & (1 << index)) in ioapic_write_indirect()
495 if (ioapic->irr & (1 << i) && !ent->fields.remote_irr) in kvm_ioapic_eoi_inject_work()
528 if (!ent->fields.mask && (ioapic->irr & (1 << pin))) { in kvm_ioapic_update_eoi_one()
673 ioapic->irr = 0; in kvm_ioapic_reset()
[all …]
Dirq.h30 u8 irr; /* interrupt request register */ member
Dioapic.h82 u32 irr; member
/Linux-v5.10/arch/arm/mach-sa1100/
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-v5.10/drivers/char/hw_random/
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-v5.10/arch/ia64/include/asm/
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-v5.10/arch/x86/include/asm/
Dio_apic.h76 irr : 1, member
91 irr : 1, member
Dapic.h460 u32 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in lapic_vector_set_in_irr() local
462 return !!(irr & (1U << (vector % 32))); in lapic_vector_set_in_irr()
Dapicdef.h269 } irr [8]; member
Dkvm_host.h1169 void (*update_cr8_intercept)(struct kvm_vcpu *vcpu, int tpr, int irr);
/Linux-v5.10/arch/x86/kernel/
Dirq.c332 unsigned int irr, vector; in fixup_irqs() local
359 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in fixup_irqs()
360 if (irr & (1 << (vector % 32))) { in fixup_irqs()
/Linux-v5.10/arch/x86/include/uapi/asm/
Dkvm.h66 __u8 irr; /* interrupt request register */ member
88 __u32 irr; member
/Linux-v5.10/tools/arch/x86/include/uapi/asm/
Dkvm.h66 __u8 irr; /* interrupt request register */ member
88 __u32 irr; member
/Linux-v5.10/arch/x86/kernel/apic/
Dapic.c1488 static bool apic_check_and_ack(union apic_ir *irr, union apic_ir *isr) in apic_check_and_ack() argument
1494 irr->regs[i] = apic_read(APIC_IRR + i * 0x10); in apic_check_and_ack()
1516 return !bitmap_empty(irr->map, APIC_IR_BITS); in apic_check_and_ack()
1535 union apic_ir irr, isr; in apic_pending_intr_clear() local
1540 if (!apic_check_and_ack(&irr, &isr)) in apic_pending_intr_clear()
1544 pr_warn("APIC: Stale IRR: %256pb ISR: %256pb\n", irr.map, isr.map); in apic_pending_intr_clear()
Dvector.c870 unsigned int irr, vector = apicd->prev_vector; in DEFINE_IDTENTRY_SYSVEC() local
881 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in DEFINE_IDTENTRY_SYSVEC()
882 if (irr & (1U << (vector % 32))) { in DEFINE_IDTENTRY_SYSVEC()
Dio_apic.c551 if (entry.irr) { in clear_IO_APIC_pin()
574 if (entry.irr) in clear_IO_APIC_pin()
1236 entry.vector, entry.irr, entry.delivery_status); in io_apic_print_entries()
1922 if (rentry.irr && rentry.trigger) { in ioapic_irq_get_chip_state()
/Linux-v5.10/net/netfilter/
Dnf_conntrack_h323_main.c1634 unsigned char **data, InfoRequestResponse *irr) in process_irr() argument
1646 &irr->rasAddress, 1); in process_irr()
1655 irr->callSignalAddress.item, in process_irr()
1656 irr->callSignalAddress.count); in process_irr()
/Linux-v5.10/arch/x86/kvm/svm/
Dsvm.c3182 static void update_cr8_intercept(struct kvm_vcpu *vcpu, int tpr, int irr) in update_cr8_intercept() argument
3191 if (irr == -1) in update_cr8_intercept()
3194 if (tpr >= irr) in update_cr8_intercept()
/Linux-v5.10/arch/x86/kvm/vmx/
Dvmx.c6152 static void update_cr8_intercept(struct kvm_vcpu *vcpu, int tpr, int irr) in update_cr8_intercept() argument
6161 tpr_threshold = (irr == -1 || tpr < irr) ? 0 : irr; in update_cr8_intercept()