Home
last modified time | relevance | path

Searched refs:irq_stat (Results 1 – 25 of 51) sorted by relevance

123

/linux/arch/powerpc/kernel/
A Dirq.c81 DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
82 EXPORT_PER_CPU_SYMBOL(irq_stat);
656 u64 sum = per_cpu(irq_stat, cpu).timer_irqs_event; in arch_irq_stat_cpu()
659 sum += per_cpu(irq_stat, cpu).pmu_irqs; in arch_irq_stat_cpu()
660 sum += per_cpu(irq_stat, cpu).mce_exceptions; in arch_irq_stat_cpu()
661 sum += per_cpu(irq_stat, cpu).spurious_irqs; in arch_irq_stat_cpu()
662 sum += per_cpu(irq_stat, cpu).timer_irqs_others; in arch_irq_stat_cpu()
666 sum += per_cpu(irq_stat, cpu).sreset_irqs; in arch_irq_stat_cpu()
668 sum += per_cpu(irq_stat, cpu).soft_nmi_irqs; in arch_irq_stat_cpu()
671 sum += per_cpu(irq_stat, cpu).doorbell_irqs; in arch_irq_stat_cpu()
[all …]
/linux/arch/x86/include/asm/
A Dhardirq.h49 DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
53 #define inc_irq_stat(member) this_cpu_inc(irq_stat.member)
67 __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 1); in kvm_set_cpu_l1tf_flush_l1d()
72 __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 0); in kvm_clear_cpu_l1tf_flush_l1d()
77 return __this_cpu_read(irq_stat.kvm_cpu_l1tf_flush_l1d); in kvm_get_cpu_l1tf_flush_l1d()
/linux/arch/s390/include/asm/
A Dirq.h72 struct irq_stat { struct
76 DECLARE_PER_CPU_SHARED_ALIGNED(struct irq_stat, irq_stat); argument
80 __this_cpu_inc(irq_stat.irqs[irq]); in inc_irq_stat()
/linux/drivers/gpio/
A Dgpio-mxc.c236 static void mxc_gpio_irq_handler(struct mxc_gpio_port *port, u32 irq_stat) in mxc_gpio_irq_handler() argument
238 while (irq_stat != 0) { in mxc_gpio_irq_handler()
239 int irqoffset = fls(irq_stat) - 1; in mxc_gpio_irq_handler()
246 irq_stat &= ~(1 << irqoffset); in mxc_gpio_irq_handler()
253 u32 irq_stat; in mx3_gpio_irq_handler() local
259 irq_stat = readl(port->base + GPIO_ISR) & readl(port->base + GPIO_IMR); in mx3_gpio_irq_handler()
261 mxc_gpio_irq_handler(port, irq_stat); in mx3_gpio_irq_handler()
269 u32 irq_msk, irq_stat; in mx2_gpio_irq_handler() local
281 irq_stat = readl(port->base + GPIO_ISR) & irq_msk; in mx2_gpio_irq_handler()
282 if (irq_stat) in mx2_gpio_irq_handler()
[all …]
A Dgpio-sodaville.c79 unsigned long irq_stat = readl(sd->gpio_pub_base + GPSTR); in sdv_gpio_pub_irq_handler() local
82 irq_stat &= readl(sd->gpio_pub_base + GPIO_INT); in sdv_gpio_pub_irq_handler()
83 if (!irq_stat) in sdv_gpio_pub_irq_handler()
86 for_each_set_bit(irq_bit, &irq_stat, 32) in sdv_gpio_pub_irq_handler()
A Dgpio-mxs.c147 u32 irq_stat; in mxs_gpio_irq_handler() local
152 irq_stat = readl(port->base + PINCTRL_IRQSTAT(port)) & in mxs_gpio_irq_handler()
155 while (irq_stat != 0) { in mxs_gpio_irq_handler()
156 int irqoffset = fls(irq_stat) - 1; in mxs_gpio_irq_handler()
161 irq_stat &= ~(1 << irqoffset); in mxs_gpio_irq_handler()
/linux/arch/parisc/include/asm/
A Dhardirq.h28 DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
31 #define inc_irq_stat(member) this_cpu_inc(irq_stat.member)
32 #define __inc_irq_stat(member) __this_cpu_inc(irq_stat.member)
/linux/include/clocksource/
A Dtimer-ti-dm.h103 void __iomem *irq_stat; /* TISR/IRQSTATUS interrupt status */ member
283 timer->irq_stat = timer->io_base + OMAP_TIMER_V1_STAT_OFFSET; in __omap_dm_timer_init_regs()
290 timer->irq_stat = timer->io_base + OMAP_TIMER_V2_IRQSTATUS; in __omap_dm_timer_init_regs()
364 writel_relaxed(OMAP_TIMER_INT_OVERFLOW, timer->irq_stat); in __omap_dm_timer_stop()
391 writel_relaxed(value, timer->irq_stat); in __omap_dm_timer_write_status()
/linux/drivers/ata/
A Dsata_sil24.c606 u32 irq_enabled, irq_mask, irq_stat; in sil24_exec_polled_cmd() local
629 irq_stat >>= PORT_IRQ_RAW_SHIFT; in sil24_exec_polled_cmd()
631 if (irq_stat & PORT_IRQ_COMPLETE) in sil24_exec_polled_cmd()
637 if (irq_stat & PORT_IRQ_ERROR) in sil24_exec_polled_cmd()
981 u32 irq_stat; in sil24_error_intr() local
984 irq_stat = readl(port + PORT_IRQ_STAT); in sil24_error_intr()
994 if (irq_stat & PORT_IRQ_SDB_NOTIFY) { in sil24_error_intr()
1002 irq_stat & PORT_IRQ_PHYRDY_CHG ? in sil24_error_intr()
1007 if (irq_stat & PORT_IRQ_UNK_FIS) { in sil24_error_intr()
1015 if (irq_stat & PORT_IRQ_ERROR) { in sil24_error_intr()
[all …]
A Dsata_inic162x.c326 static void inic_host_err_intr(struct ata_port *ap, u8 irq_stat, u16 idma_stat) in inic_host_err_intr() argument
335 irq_stat, idma_stat); in inic_host_err_intr()
339 if (irq_stat & (PIRQ_OFFLINE | PIRQ_ONLINE)) { in inic_host_err_intr()
386 u8 irq_stat; in inic_host_intr() local
390 irq_stat = readb(port_base + PORT_IRQ_STAT); in inic_host_intr()
391 writeb(irq_stat, port_base + PORT_IRQ_STAT); in inic_host_intr()
394 if (unlikely((irq_stat & PIRQ_ERR) || (idma_stat & IDMA_STAT_ERR))) in inic_host_intr()
395 inic_host_err_intr(ap, irq_stat, idma_stat); in inic_host_intr()
416 qc ? qc->tf.command : 0xff, irq_stat, idma_stat); in inic_host_intr()
A Dsata_nv.c862 if (!(irq_stat & NV_INT_DEV)) in nv_host_intr()
897 handled += nv_host_intr(ap, irq_stat); in nv_adma_interrupt()
910 irq_stat |= NV_INT_DEV; in nv_adma_interrupt()
1482 irq_stat >>= NV_INT_PORT_SHIFT; in nv_do_interrupt()
1491 u8 irq_stat; in nv_nf2_interrupt() local
1496 ret = nv_do_interrupt(host, irq_stat); in nv_nf2_interrupt()
1505 u8 irq_stat; in nv_ck804_interrupt() local
1510 ret = nv_do_interrupt(host, irq_stat); in nv_ck804_interrupt()
2298 u32 irq_stat; in nv_swncq_interrupt() local
2311 if (irq_stat) /* reserve Hotplug */ in nv_swncq_interrupt()
[all …]
A Dpata_cmd64x.c244 u8 irq_stat; in cmd64x_sff_irq_check() local
247 pci_read_config_byte(pdev, irq_reg, &irq_stat); in cmd64x_sff_irq_check()
249 return irq_stat & irq_mask; in cmd64x_sff_irq_check()
263 u8 irq_stat; in cmd64x_sff_irq_clear() local
268 pci_read_config_byte(pdev, irq_reg, &irq_stat); in cmd64x_sff_irq_clear()
A Dpata_cmd640.c168 u8 irq_stat, irq_mask = ap->port_no ? 0x10 : 0x04; in cmd640_sff_irq_check() local
170 pci_read_config_byte(pdev, irq_reg, &irq_stat); in cmd640_sff_irq_check()
172 return irq_stat & irq_mask; in cmd640_sff_irq_check()
A Dlibahci.c1759 irq_stat &= ~PORT_IRQ_IF_ERR; in ahci_error_intr()
1761 if (irq_stat & PORT_IRQ_TF_ERR) { in ahci_error_intr()
1775 if (irq_stat & PORT_IRQ_UNK_FIS) { in ahci_error_intr()
1797 if (irq_stat & PORT_IRQ_IF_ERR) { in ahci_error_intr()
1811 irq_stat & PORT_IRQ_CONNECT ? in ahci_error_intr()
1817 if (irq_stat & PORT_IRQ_FREEZE) in ahci_error_intr()
1975 u32 irq_stat, irq_masked; in ahci_single_level_irq_intr() local
1983 irq_stat = readl(mmio + HOST_IRQ_STAT); in ahci_single_level_irq_intr()
1984 if (!irq_stat) in ahci_single_level_irq_intr()
1987 irq_masked = irq_stat & hpriv->port_map; in ahci_single_level_irq_intr()
[all …]
A Dahci_xgene.c589 u32 irq_stat, irq_masked; in xgene_ahci_irq_intr() local
597 irq_stat = readl(mmio + HOST_IRQ_STAT); in xgene_ahci_irq_intr()
598 if (!irq_stat) in xgene_ahci_irq_intr()
601 irq_masked = irq_stat & hpriv->port_map; in xgene_ahci_irq_intr()
609 writel(irq_stat, mmio + HOST_IRQ_STAT); in xgene_ahci_irq_intr()
/linux/drivers/mailbox/
A Dpl320-ipc.c101 u32 irq_stat; in ipc_handler() local
104 irq_stat = readl_relaxed(ipc_base + IPCMMIS(1)); in ipc_handler()
105 if (irq_stat & MBOX_MASK(IPC_TX_MBOX)) { in ipc_handler()
109 if (irq_stat & MBOX_MASK(IPC_RX_MBOX)) { in ipc_handler()
/linux/drivers/scsi/
A Dnsp32.c1054 unsigned short irq_stat; in DEF_SCSI_QCMD() local
1072 } while (irq_stat & IRQSTATUS_ANY_IRQ); in DEF_SCSI_QCMD()
1177 irq_stat = nsp32_read2(base, IRQ_STATUS); in do_nsp32_isr()
1204 if (irq_stat & IRQSTATUS_TIMER_IRQ) { in do_nsp32_isr()
1224 irq_stat, trans_stat); in do_nsp32_isr()
1234 if(irq_stat & IRQSTATUS_AUTOSCSI_IRQ) { in do_nsp32_isr()
1385 irq_stat, trans_stat); in do_nsp32_isr()
1400 nsp32_msgin_occur(SCpnt, irq_stat, 0); in do_nsp32_isr()
1405 irq_stat, trans_stat); in do_nsp32_isr()
1413 if (irq_stat & IRQSTATUS_PCI_IRQ) { in do_nsp32_isr()
[all …]
/linux/drivers/thermal/intel/
A Dintel_bxt_pmic_thermal.c160 u8 reg_val, mask, irq_stat; in pmic_thermal_irq_handler() local
182 irq_stat = ((u8)ret & mask); in pmic_thermal_irq_handler()
184 if (!irq_stat) in pmic_thermal_irq_handler()
/linux/arch/s390/kernel/
A Dirq.c34 DEFINE_PER_CPU_SHARED_ALIGNED(struct irq_stat, irq_stat);
35 EXPORT_PER_CPU_SYMBOL_GPL(irq_stat);
262 per_cpu(irq_stat, cpu).irqs[irq]); in show_interrupts()
/linux/arch/parisc/kernel/
A Dirq.c147 DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
148 #define irq_stats(x) (&per_cpu(irq_stat, x))
428 last_usage = &per_cpu(irq_stat.irq_stack_usage, cpu); in stack_overflow_check()
444 last_usage = &per_cpu(irq_stat.kernel_stack_usage, cpu); in stack_overflow_check()
/linux/drivers/gpu/drm/pl111/
A Dpl111_display.c28 u32 irq_stat; in pl111_irq() local
31 irq_stat = readl(priv->regs + CLCD_PL111_MIS); in pl111_irq()
33 if (!irq_stat) in pl111_irq()
36 if (irq_stat & CLCD_IRQ_NEXTBASE_UPDATE) { in pl111_irq()
43 writel(irq_stat, priv->regs + CLCD_PL111_ICR); in pl111_irq()
/linux/drivers/dma/
A Duniphier-mdmac.c180 u32 irq_stat; in uniphier_mdmac_interrupt() local
184 irq_stat = readl(mc->reg_ch_base + UNIPHIER_MDMAC_CH_IRQ_DET); in uniphier_mdmac_interrupt()
190 if (!irq_stat) { in uniphier_mdmac_interrupt()
196 writel(irq_stat, mc->reg_ch_base + UNIPHIER_MDMAC_CH_IRQ_REQ); in uniphier_mdmac_interrupt()
/linux/arch/x86/kernel/
A Dirq.c29 DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
30 EXPORT_PER_CPU_SYMBOL(irq_stat);
55 #define irq_stats(x) (&per_cpu(irq_stat, x))
/linux/drivers/clocksource/
A Dtimer-ti-dm-systimer.c40 u8 irq_stat; member
397 t->irq_stat = OMAP_TIMER_V1_STAT_OFFSET; in dmtimer_systimer_setup()
402 t->irq_stat = OMAP_TIMER_V2_IRQSTATUS; in dmtimer_systimer_setup()
440 writel_relaxed(OMAP_TIMER_INT_OVERFLOW, t->base + t->irq_stat); in dmtimer_clockevent_interrupt()
480 writel_relaxed(OMAP_TIMER_INT_OVERFLOW, t->base + t->irq_stat); in dmtimer_clockevent_shutdown()
/linux/include/asm-generic/
A Dhardirq.h15 DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat);

Completed in 66 milliseconds

123