}while(pending) {intbit = __ffs(pending);generic_handle_irq(ATH79_MISC_IRQ(bit)); pending &= ~BIT(bit); } } 开发者ID:ilikenwf,项目名称:zen-kernel,代码行数:20,代码来源:irq.c 示例2: via1_irq ▲点赞 7▼ voidvia1_irq(unsignedintirq, struct irq_desc *desc){intirq_num;unsignedc...
cascade_irq)) ret = generic_handle_domain_irq(combiner_irq_domain, combiner_irq); if (unlikely(ret)) handle_bad_irq(desc); else generic_handle_irq(cascade_irq); out: chained_irq_exit(chip, desc); Expand Down 7 changes: 2 additions & 5 deletions 7 drivers/irqchip/irq-al-fic.c ...
*/voidhandle_IPI(intipinr, struct pt_regs *regs){unsignedintcpu = smp_processor_id();structpt_regs*old_regs=set_irq_regs(regs);if((unsigned)ipinr < NR_IPI) { trace_ipi_entry_rcuidle(ipi_types[ipinr]); __inc_irq_stat(cpu, ipi_irqs[ipinr]); }switch(ipinr) {caseIPI_RESCHEDULE...
struct irq_desc *desc) raw_spin_unlock_irqrestore(&bank->lock, lock_flags); + raw_spin_lock_irqsave(&bank->wa_lock, wa_lock_flags); + generic_handle_irq(irq_find_mapping(bank->chip.irqdomain, bit)); + + raw_spin_unlock_irqrestore(&bank->wa_lock, + wa_lock_flags); } } - /...
generic_handle_domain_irq(tsadc->domain, 1); if (status & MX25_TGSR_TCQ_INT) generic_handle_irq(irq_find_mapping(tsadc->domain, 0)); generic_handle_domain_irq(tsadc->domain, 0); chained_irq_exit(chip, desc); }10 changes: 3 additions & 7 deletions 10 drivers/mfd/ioc3.c Or...
if (((desc->bLength & kUSBSpeed_Mask) >> kUSBSpeed_Shift) != kUSBDeviceSpeedHigh) bcopy(&newDesc3, desc, newDesc3.bLength); else bcopy(&newDesc2, desc, newDesc2.bLength); return kIOReturnSuccess; } IOReturn CLASS::GetRootHubDescriptor(IOUSBHubDescriptor* desc) ...
The separate struct bgpio_chip has been a pain to handle, both by being confusingly similar in name to struct gpio_chip and for being contained inside a struct so that struct gpio_chip is contained in a struct contained in a struct, making several steps of dereferencing necessary. ...
mtk_handle_irq, 0, @@ -5118,6 +5343,11 @@static int mtk_remove(struct platform_de @@ -5120,6 +5345,11 @@static int mtk_remove(struct platform_de mtk_stop(eth->netdev[i]); mac = netdev_priv(eth->netdev[i]); phylink_disconnect_phy(mac->phylink); ...
mtk_handle_irq, 0, @@ -5110,6 +5335,11 @@ static int mtk_remove(struct platform_de @@ -5118,6 +5343,11 @@ static int mtk_remove(struct platform_demtk_stop(eth->netdev[i]);mac = netdev_priv(eth->netdev[i]);phylink_disconnect_phy(mac->phylink);0...
sc->cpu_handle = acpi_get_handle(dev); cpu_id = acpi_get_magic(dev); cpu_softc[cpu_id] = sc; md = (struct mdglobaldata *)globaldata_find(device_get_unit(dev)); sc->md = md; cpu_smi_cmd = AcpiGbl_FADT.SmiCommand;