/linux-6.12.1/arch/powerpc/kernel/ |
D | irq.c | 74 DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); 75 EXPORT_PER_CPU_SYMBOL(irq_stat); 101 seq_printf(p, "%10u ", per_cpu(irq_stat, j).timer_irqs_event); in arch_show_interrupts() 106 seq_printf(p, "%10u ", per_cpu(irq_stat, j).broadcast_irqs_event); in arch_show_interrupts() 111 seq_printf(p, "%10u ", per_cpu(irq_stat, j).timer_irqs_others); in arch_show_interrupts() 116 seq_printf(p, "%10u ", per_cpu(irq_stat, j).spurious_irqs); in arch_show_interrupts() 121 seq_printf(p, "%10u ", per_cpu(irq_stat, j).pmu_irqs); in arch_show_interrupts() 126 seq_printf(p, "%10u ", per_cpu(irq_stat, j).mce_exceptions); in arch_show_interrupts() 140 seq_printf(p, "%10u ", per_cpu(irq_stat, j).sreset_irqs); in arch_show_interrupts() 146 seq_printf(p, "%10u ", per_cpu(irq_stat, j).soft_nmi_irqs); in arch_show_interrupts() [all …]
|
/linux-6.12.1/arch/x86/include/asm/ |
D | hardirq.h | 52 DECLARE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); 59 #define inc_irq_stat(member) this_cpu_inc(irq_stat.member) 78 __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 1); in kvm_set_cpu_l1tf_flush_l1d() 83 __this_cpu_write(irq_stat.kvm_cpu_l1tf_flush_l1d, 0); in kvm_clear_cpu_l1tf_flush_l1d() 88 return __this_cpu_read(irq_stat.kvm_cpu_l1tf_flush_l1d); in kvm_get_cpu_l1tf_flush_l1d()
|
/linux-6.12.1/arch/s390/include/asm/ |
D | irq.h | 74 struct irq_stat { struct 78 DECLARE_PER_CPU_SHARED_ALIGNED(struct irq_stat, irq_stat); argument 82 __this_cpu_inc(irq_stat.irqs[irq]); in inc_irq_stat()
|
/linux-6.12.1/arch/parisc/include/asm/ |
D | hardirq.h | 28 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-6.12.1/drivers/gpio/ |
D | gpio-mxc.c | 262 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 …]
|
D | gpio-sodaville.c | 79 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()
|
D | gpio-mxs.c | 146 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()
|
/linux-6.12.1/drivers/net/phy/ |
D | nxp-cbtx.c | 156 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()
|
/linux-6.12.1/drivers/mailbox/ |
D | pl320-ipc.c | 101 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-6.12.1/drivers/ata/ |
D | sata_sil24.c | 606 u32 irq_enabled, irq_mask, irq_stat; in sil24_exec_polled_cmd() local 625 irq_stat = ata_wait_register(ap, port + PORT_IRQ_STAT, irq_mask, 0x0, in sil24_exec_polled_cmd() 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() 981 writel(irq_stat, port + PORT_IRQ_STAT); in sil24_error_intr() 988 ata_ehi_push_desc(ehi, "irq_stat 0x%08x", irq_stat); in sil24_error_intr() 990 if (irq_stat & PORT_IRQ_SDB_NOTIFY) { in sil24_error_intr() [all …]
|
D | sata_inic162x.c | 326 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()
|
D | sata_nv.c | 855 static int nv_host_intr(struct ata_port *ap, u8 irq_stat) in nv_host_intr() argument 860 if (unlikely(irq_stat & (NV_INT_ADDED | NV_INT_REMOVED))) { in nv_host_intr() 866 if (!(irq_stat & NV_INT_DEV)) in nv_host_intr() 899 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) in nv_adma_interrupt() local 901 handled += nv_host_intr(ap, irq_stat); in nv_adma_interrupt() 907 u8 irq_stat = readb(host->iomap[NV_MMIO_BAR] + NV_INT_STATUS_CK804) in nv_adma_interrupt() local 914 irq_stat |= NV_INT_DEV; in nv_adma_interrupt() 915 handled += nv_host_intr(ap, irq_stat); in nv_adma_interrupt() 1464 static irqreturn_t nv_do_interrupt(struct ata_host *host, u8 irq_stat) in nv_do_interrupt() argument 1469 handled += nv_host_intr(host->ports[i], irq_stat); in nv_do_interrupt() [all …]
|
D | pata_cmd64x.c | 244 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()
|
D | pata_cmd640.c | 168 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()
|
/linux-6.12.1/arch/loongarch/kernel/ |
D | paravirt.c | 59 irq_cpustat_t *info = &per_cpu(irq_stat, cpu); in pv_send_ipi_single() 92 info = &per_cpu(irq_stat, i); in pv_send_ipi_mask() 132 info = this_cpu_ptr(&irq_stat); in pv_ipi_interrupt() 168 r = request_percpu_irq(swi, pv_ipi_interrupt, "SWI0-IPI", &irq_stat); in pv_init_ipi()
|
D | smp.c | 85 seq_printf(p, "%10u ", per_cpu(irq_stat, cpu).ipi_irqs[i]); in show_ipi_list() 239 per_cpu(irq_stat, cpu).ipi_irqs[IPI_RESCHEDULE]++; in loongson_ipi_interrupt() 244 per_cpu(irq_stat, cpu).ipi_irqs[IPI_CALL_FUNCTION]++; in loongson_ipi_interrupt() 249 per_cpu(irq_stat, cpu).ipi_irqs[IPI_IRQ_WORK]++; in loongson_ipi_interrupt() 254 per_cpu(irq_stat, cpu).ipi_irqs[IPI_CLEAR_VECTOR]++; in loongson_ipi_interrupt() 269 r = request_percpu_irq(ipi_irq, loongson_ipi_interrupt, "IPI", &irq_stat); in loongson_init_ipi()
|
D | irq.c | 25 DEFINE_PER_CPU_SHARED_ALIGNED(irq_cpustat_t, irq_stat); 26 EXPORT_PER_CPU_SYMBOL(irq_stat);
|
/linux-6.12.1/drivers/scsi/ |
D | nsp32.c | 1050 unsigned short irq_stat; in DEF_SCSI_QCMD() local 1066 irq_stat = nsp32_read2(base, IRQ_STATUS); in DEF_SCSI_QCMD() 1067 nsp32_dbg(NSP32_DEBUG_INIT, "irq_stat 0x%x", irq_stat); in DEF_SCSI_QCMD() 1068 } while (irq_stat & IRQSTATUS_ANY_IRQ); in DEF_SCSI_QCMD() 1161 unsigned short auto_stat, irq_stat, trans_stat; in do_nsp32_isr() local 1173 irq_stat = nsp32_read2(base, IRQ_STATUS); in do_nsp32_isr() 1175 "enter IRQ: %d, IRQstatus: 0x%x", irq, irq_stat); in do_nsp32_isr() 1177 if ((irq_stat & IRQSTATUS_ANY_IRQ) == 0) { in do_nsp32_isr() 1179 "shared interrupt: irq other 0x%x", irq_stat); in do_nsp32_isr() 1189 if ((irq_stat == 0xffff) && (trans_stat == 0xffff)) { in do_nsp32_isr() [all …]
|
/linux-6.12.1/drivers/thermal/intel/ |
D | intel_bxt_pmic_thermal.c | 160 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-6.12.1/arch/s390/kernel/ |
D | irq.c | 35 DEFINE_PER_CPU_SHARED_ALIGNED(struct irq_stat, irq_stat); 36 EXPORT_PER_CPU_SYMBOL_GPL(irq_stat); 265 per_cpu(irq_stat, cpu).irqs[irq]); in show_interrupts()
|
/linux-6.12.1/sound/soc/sof/amd/ |
D | acp-common.c | 36 u32 dsp_msg, dsp_ack, host_msg, host_ack, irq_stat; in amd_sof_ipc_dump() local 42 irq_stat = snd_sof_dsp_read(sdev, ACP_DSP_BAR, base + DSP_SW_INTR_STAT_OFFSET); in amd_sof_ipc_dump() 46 dsp_msg, dsp_ack, host_msg, host_ack, irq_stat); in amd_sof_ipc_dump()
|
/linux-6.12.1/arch/parisc/kernel/ |
D | irq.c | 125 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()
|
/linux-6.12.1/drivers/gpu/drm/pl111/ |
D | pl111_display.c | 30 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()
|
/linux-6.12.1/drivers/dma/ |
D | uniphier-mdmac.c | 180 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-6.12.1/include/asm-generic/ |
D | hardirq.h | 15 DECLARE_PER_CPU_ALIGNED(irq_cpustat_t, irq_stat);
|