Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/crypto/ccree/
Dcc_driver.c186 u32 irr; in cc_isr() local
195 irr = cc_ioread(drvdata, CC_REG(HOST_IRR)); in cc_isr()
196 dev_dbg(dev, "Got IRR=0x%08X\n", irr); in cc_isr()
198 if (irr == 0) /* Probably shared interrupt line */ in cc_isr()
204 cc_iowrite(drvdata, CC_REG(HOST_ICR), 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()
[all …]
/linux-6.1.9/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-6.1.9/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.c217 ioapic->irr &= ~mask; in ioapic_set_irq()
248 old_irr = ioapic->irr; in ioapic_set_irq()
249 ioapic->irr |= mask; in ioapic_set_irq()
252 if (old_irr == ioapic->irr) { in ioapic_set_irq()
265 static void kvm_ioapic_inject_all(struct kvm_ioapic *ioapic, unsigned long irr) in kvm_ioapic_inject_all() argument
270 for_each_set_bit(idx, &irr, IOAPIC_NUM_PINS) in kvm_ioapic_inject_all()
371 && ioapic->irr & (1 << index)) in ioapic_write_indirect()
493 if (ioapic->irr & (1 << i) && !ent->fields.remote_irr) in kvm_ioapic_eoi_inject_work()
526 if (!ent->fields.mask && (ioapic->irr & (1 << pin))) { in kvm_ioapic_update_eoi_one()
671 ioapic->irr = 0; in kvm_ioapic_reset()
[all …]
Dirq.h30 u8 irr; /* interrupt request register */ member
Dioapic.h78 u32 irr; member
/linux-6.1.9/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-6.1.9/drivers/irqchip/
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-6.1.9/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-6.1.9/arch/ia64/include/asm/
Dprocessor.h534 unsigned long irr; in ia64_get_irr() local
537 case 0: irr = ia64_getreg(_IA64_REG_CR_IRR0); break; in ia64_get_irr()
538 case 1: irr = ia64_getreg(_IA64_REG_CR_IRR1); break; in ia64_get_irr()
539 case 2: irr = ia64_getreg(_IA64_REG_CR_IRR2); break; in ia64_get_irr()
540 case 3: irr = ia64_getreg(_IA64_REG_CR_IRR3); break; in ia64_get_irr()
543 return test_bit(bit, &irr); in ia64_get_irr()
/linux-6.1.9/arch/x86/kernel/
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-6.1.9/arch/x86/include/asm/
Dapic.h450 u32 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in lapic_vector_set_in_irr() local
452 return !!(irr & (1U << (vector % 32))); in lapic_vector_set_in_irr()
Dio_apic.h66 irr : 1, member
Dapicdef.h263 } irr [8]; member
Dkvm_host.h1547 void (*update_cr8_intercept)(struct kvm_vcpu *vcpu, int tpr, int irr);
/linux-6.1.9/tools/arch/x86/include/uapi/asm/
Dkvm.h67 __u8 irr; /* interrupt request register */ member
89 __u32 irr; member
/linux-6.1.9/arch/x86/include/uapi/asm/
Dkvm.h67 __u8 irr; /* interrupt request register */ member
89 __u32 irr; member
/linux-6.1.9/arch/x86/kernel/apic/
Dapic.c1498 static bool apic_check_and_ack(union apic_ir *irr, union apic_ir *isr) in apic_check_and_ack() argument
1504 irr->regs[i] = apic_read(APIC_IRR + i * 0x10); in apic_check_and_ack()
1526 return !bitmap_empty(irr->map, APIC_IR_BITS); in apic_check_and_ack()
1545 union apic_ir irr, isr; in apic_pending_intr_clear() local
1550 if (!apic_check_and_ack(&irr, &isr)) in apic_pending_intr_clear()
1554 pr_warn("APIC: Stale IRR: %256pb ISR: %256pb\n", irr.map, isr.map); in apic_pending_intr_clear()
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()
Dio_apic.c539 if (entry.irr) { in clear_IO_APIC_pin()
562 if (entry.irr) in clear_IO_APIC_pin()
1245 entry.vector, entry.irr, entry.delivery_status); in io_apic_print_entries()
1713 if (e.irr) { in io_apic_level_ack_pending()
1971 if (rentry.irr && rentry.is_level) { in ioapic_irq_get_chip_state()
/linux-6.1.9/net/netfilter/
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-6.1.9/arch/x86/kvm/svm/
Dsvm.c3548 static void svm_update_cr8_intercept(struct kvm_vcpu *vcpu, int tpr, int irr) in svm_update_cr8_intercept() argument
3564 if (irr == -1) in svm_update_cr8_intercept()
3567 if (tpr >= irr) in svm_update_cr8_intercept()
/linux-6.1.9/arch/x86/kvm/vmx/
Dvmx.c6547 static void vmx_update_cr8_intercept(struct kvm_vcpu *vcpu, int tpr, int irr) in vmx_update_cr8_intercept() argument
6556 tpr_threshold = (irr == -1 || tpr < irr) ? 0 : irr; in vmx_update_cr8_intercept()