Home
last modified time | relevance | path

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

123

/openbmc/linux/arch/powerpc/kernel/
H A Dirq.c75 EXPORT_PER_CPU_SYMBOL(irq_stat);
167 u64 sum = per_cpu(irq_stat, cpu).timer_irqs_event; in arch_irq_stat_cpu()
169 sum += per_cpu(irq_stat, cpu).broadcast_irqs_event; in arch_irq_stat_cpu()
170 sum += per_cpu(irq_stat, cpu).pmu_irqs; in arch_irq_stat_cpu()
171 sum += per_cpu(irq_stat, cpu).mce_exceptions; in arch_irq_stat_cpu()
172 sum += per_cpu(irq_stat, cpu).spurious_irqs; in arch_irq_stat_cpu()
173 sum += per_cpu(irq_stat, cpu).timer_irqs_others; in arch_irq_stat_cpu()
177 sum += per_cpu(irq_stat, cpu).sreset_irqs; in arch_irq_stat_cpu()
179 sum += per_cpu(irq_stat, cpu).soft_nmi_irqs; in arch_irq_stat_cpu()
182 sum += per_cpu(irq_stat, cpu).doorbell_irqs; in arch_irq_stat_cpu()
[all …]
H A Ddbell.c34 __this_cpu_inc(irq_stat.doorbell_irqs); in DEFINE_INTERRUPT_HANDLER_ASYNC()
/openbmc/linux/arch/x86/include/asm/
H 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)
72 __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 1); in kvm_set_cpu_l1tf_flush_l1d()
77 __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 0); in kvm_clear_cpu_l1tf_flush_l1d()
82 return __this_cpu_read(irq_stat.kvm_cpu_l1tf_flush_l1d); in kvm_get_cpu_l1tf_flush_l1d()
/openbmc/linux/arch/s390/include/asm/
H 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()
/openbmc/linux/arch/parisc/include/asm/
H 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)
/openbmc/linux/drivers/net/phy/
H A Dnxp-cbtx.c156 int irq_stat, irq_enabled; in cbtx_handle_interrupt() local
158 irq_stat = cbtx_ack_interrupts(phydev); in cbtx_handle_interrupt()
159 if (irq_stat < 0) { in cbtx_handle_interrupt()
170 if (!(irq_enabled & irq_stat)) in cbtx_handle_interrupt()
/openbmc/linux/drivers/gpio/
H A Dgpio-mxc.c262 static void mxc_gpio_irq_handler(struct mxc_gpio_port *port, u32 irq_stat) in mxc_gpio_irq_handler() argument
264 while (irq_stat != 0) { in mxc_gpio_irq_handler()
265 int irqoffset = fls(irq_stat) - 1; in mxc_gpio_irq_handler()
272 irq_stat &= ~(1 << irqoffset); in mxc_gpio_irq_handler()
279 u32 irq_stat; in mx3_gpio_irq_handler() local
288 irq_stat = readl(port->base + GPIO_ISR) & readl(port->base + GPIO_IMR); in mx3_gpio_irq_handler()
290 mxc_gpio_irq_handler(port, irq_stat); in mx3_gpio_irq_handler()
298 u32 irq_msk, irq_stat; in mx2_gpio_irq_handler() local
310 irq_stat = readl(port->base + GPIO_ISR) & irq_msk; in mx2_gpio_irq_handler()
311 if (irq_stat) in mx2_gpio_irq_handler()
[all …]
H 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()
H A Dgpio-mxs.c146 u32 irq_stat; in mxs_gpio_irq_handler() local
151 irq_stat = readl(port->base + PINCTRL_IRQSTAT(port)) & in mxs_gpio_irq_handler()
154 while (irq_stat != 0) { in mxs_gpio_irq_handler()
155 int irqoffset = fls(irq_stat) - 1; in mxs_gpio_irq_handler()
160 irq_stat &= ~(1 << irqoffset); in mxs_gpio_irq_handler()
/openbmc/linux/drivers/mailbox/
H 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()
/openbmc/linux/drivers/ata/
H 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()
977 u32 irq_stat; in sil24_error_intr() local
980 irq_stat = readl(port + PORT_IRQ_STAT); in sil24_error_intr()
990 if (irq_stat & PORT_IRQ_SDB_NOTIFY) { in sil24_error_intr()
998 irq_stat & PORT_IRQ_PHYRDY_CHG ? in sil24_error_intr()
1003 if (irq_stat & PORT_IRQ_UNK_FIS) { in sil24_error_intr()
1011 if (irq_stat & PORT_IRQ_ERROR) { in sil24_error_intr()
[all …]
H 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()
H 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()
H A Dsata_nv.c863 if (!(irq_stat & NV_INT_DEV)) in nv_host_intr()
898 handled += nv_host_intr(ap, irq_stat); in nv_adma_interrupt()
911 irq_stat |= NV_INT_DEV; in nv_adma_interrupt()
1467 irq_stat >>= NV_INT_PORT_SHIFT; in nv_do_interrupt()
1476 u8 irq_stat; in nv_nf2_interrupt() local
1481 ret = nv_do_interrupt(host, irq_stat); in nv_nf2_interrupt()
1490 u8 irq_stat; in nv_ck804_interrupt() local
1495 ret = nv_do_interrupt(host, irq_stat); in nv_ck804_interrupt()
2280 u32 irq_stat; in nv_swncq_interrupt() local
2293 if (irq_stat) /* reserve Hotplug */ in nv_swncq_interrupt()
[all …]
H 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()
/openbmc/linux/sound/soc/sof/amd/
H A Dacp-common.c37 u32 dsp_msg, dsp_ack, host_msg, host_ack, irq_stat; in amd_sof_ipc_dump() local
43 irq_stat = snd_sof_dsp_read(sdev, ACP_DSP_BAR, base + DSP_SW_INTR_STAT_OFFSET); in amd_sof_ipc_dump()
47 dsp_msg, dsp_ack, host_msg, host_ack, irq_stat); in amd_sof_ipc_dump()
/openbmc/linux/drivers/scsi/
H A Dnsp32.c1050 unsigned short irq_stat; in DEF_SCSI_QCMD() local
1068 } while (irq_stat & IRQSTATUS_ANY_IRQ); in DEF_SCSI_QCMD()
1173 irq_stat = nsp32_read2(base, IRQ_STATUS); in do_nsp32_isr()
1200 if (irq_stat & IRQSTATUS_TIMER_IRQ) { in do_nsp32_isr()
1220 irq_stat, trans_stat); in do_nsp32_isr()
1230 if(irq_stat & IRQSTATUS_AUTOSCSI_IRQ) { in do_nsp32_isr()
1381 irq_stat, trans_stat); in do_nsp32_isr()
1396 nsp32_msgin_occur(SCpnt, irq_stat, 0); in do_nsp32_isr()
1401 irq_stat, trans_stat); in do_nsp32_isr()
1409 if (irq_stat & IRQSTATUS_PCI_IRQ) { in do_nsp32_isr()
[all …]
/openbmc/linux/arch/loongarch/kernel/
H A Dirq.c25 DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
26 EXPORT_PER_CPU_SYMBOL(irq_stat);
/openbmc/linux/drivers/thermal/intel/
H 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()
/openbmc/linux/arch/s390/kernel/
H 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()
/openbmc/linux/include/asm-generic/
H A Dhardirq.h15 DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat);
/openbmc/linux/arch/loongarch/include/asm/
H A Dhardirq.h22 DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
/openbmc/linux/arch/parisc/kernel/
H A Dirq.c125 DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);
126 #define irq_stats(x) (&per_cpu(irq_stat, x))
406 last_usage = &per_cpu(irq_stat.irq_stack_usage, cpu); in stack_overflow_check()
422 last_usage = &per_cpu(irq_stat.kernel_stack_usage, cpu); in stack_overflow_check()
/openbmc/linux/drivers/gpu/drm/pl111/
H A Dpl111_display.c30 u32 irq_stat; in pl111_irq() local
33 irq_stat = readl(priv->regs + CLCD_PL111_MIS); in pl111_irq()
35 if (!irq_stat) in pl111_irq()
38 if (irq_stat & CLCD_IRQ_NEXTBASE_UPDATE) { in pl111_irq()
45 writel(irq_stat, priv->regs + CLCD_PL111_ICR); in pl111_irq()
/openbmc/linux/arch/powerpc/include/asm/
H A Dhardirq.h25 DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat);

123