/linux-6.6.21/drivers/parisc/ |
D | gsc.c | 73 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.6.21/drivers/crypto/ccree/ |
D | cc_driver.c | 185 u32 irr; in cc_isr() local 194 irr = cc_ioread(drvdata, CC_REG(HOST_IRR)); in cc_isr() 195 dev_dbg(dev, "Got IRR=0x%08X\n", irr); in cc_isr() 197 if (irr == 0) /* Probably shared interrupt line */ in cc_isr() 203 cc_iowrite(drvdata, CC_REG(HOST_ICR), irr); in cc_isr() 205 drvdata->irq = irr; in cc_isr() 207 if (irr & drvdata->comp_mask) { in cc_isr() 212 irr &= ~drvdata->comp_mask; in cc_isr() 217 if (irr & CC_GPR0_IRQ_MASK) { in cc_isr() 222 irr &= ~CC_GPR0_IRQ_MASK; in cc_isr() [all …]
|
/linux-6.6.21/arch/x86/kvm/ |
D | i8259.c | 97 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 …]
|
D | ioapic.c | 218 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 …]
|
D | irq.h | 30 u8 irr; /* interrupt request register */ member
|
D | ioapic.h | 78 u32 irr; member
|
/linux-6.6.21/arch/arm/mach-sa1100/ |
D | neponset.c | 144 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.6.21/drivers/irqchip/ |
D | irq-realtek-rtl.c | 44 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.6.21/drivers/char/hw_random/ |
D | cctrng.c | 406 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.6.21/arch/ia64/include/asm/ |
D | processor.h | 534 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.6.21/arch/x86/kernel/ |
D | irq.c | 342 unsigned int irr, vector; in fixup_irqs() local 369 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in fixup_irqs() 370 if (irr & (1 << (vector % 32))) { in fixup_irqs()
|
/linux-6.6.21/tools/arch/x86/include/uapi/asm/ |
D | kvm.h | 60 __u8 irr; /* interrupt request register */ member 82 __u32 irr; member
|
/linux-6.6.21/arch/x86/include/uapi/asm/ |
D | kvm.h | 60 __u8 irr; /* interrupt request register */ member 82 __u32 irr; member
|
/linux-6.6.21/arch/x86/include/asm/ |
D | apic.h | 491 u32 irr = apic_read(APIC_IRR + (vector / 32 * 0x10)); in lapic_vector_set_in_irr() local 493 return !!(irr & (1U << (vector % 32))); in lapic_vector_set_in_irr()
|
D | io_apic.h | 66 irr : 1, member
|
D | apicdef.h | 267 } irr [8]; member
|
D | kvm_host.h | 1650 void (*update_cr8_intercept)(struct kvm_vcpu *vcpu, int tpr, int irr);
|
/linux-6.6.21/arch/x86/kernel/apic/ |
D | apic.c | 1460 static bool apic_check_and_ack(union apic_ir *irr, union apic_ir *isr) in apic_check_and_ack() argument 1466 irr->regs[i] = apic_read(APIC_IRR + i * 0x10); in apic_check_and_ack() 1488 return !bitmap_empty(irr->map, APIC_IR_BITS); in apic_check_and_ack() 1507 union apic_ir irr, isr; in apic_pending_intr_clear() local 1512 if (!apic_check_and_ack(&irr, &isr)) in apic_pending_intr_clear() 1516 pr_warn("APIC: Stale IRR: %256pb ISR: %256pb\n", irr.map, isr.map); in apic_pending_intr_clear()
|
D | vector.c | 968 unsigned int irr, vector = apicd->prev_vector; in __vector_cleanup() local 982 irr = check_irr ? apic_read(APIC_IRR + (vector / 32 * 0x10)) : 0; in __vector_cleanup() 983 if (irr & (1U << (vector % 32))) { in __vector_cleanup()
|
D | io_apic.c | 540 if (entry.irr) { in clear_IO_APIC_pin() 563 if (entry.irr) in clear_IO_APIC_pin() 1246 entry.vector, entry.irr, entry.delivery_status); in io_apic_print_entries() 1710 if (e.irr) { in io_apic_level_ack_pending() 1968 if (rentry.irr && rentry.is_level) { in ioapic_irq_get_chip_state()
|
/linux-6.6.21/net/netfilter/ |
D | nf_conntrack_h323_main.c | 1597 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.6.21/arch/x86/kvm/svm/ |
D | svm.c | 3694 static void svm_update_cr8_intercept(struct kvm_vcpu *vcpu, int tpr, int irr) in svm_update_cr8_intercept() argument 3710 if (irr == -1) in svm_update_cr8_intercept() 3713 if (tpr >= irr) in svm_update_cr8_intercept()
|
/linux-6.6.21/arch/x86/kvm/vmx/ |
D | vmx.c | 6679 static void vmx_update_cr8_intercept(struct kvm_vcpu *vcpu, int tpr, int irr) in vmx_update_cr8_intercept() argument 6688 tpr_threshold = (irr == -1 || tpr < irr) ? 0 : irr; in vmx_update_cr8_intercept()
|