Home
last modified time | relevance | path

Searched refs:irq_status (Results 1 – 25 of 131) sorted by relevance

123456

/kernel/linux/linux-5.10/include/trace/events/
Dfsi_master_aspeed.h12 TP_PROTO(uint32_t addr, size_t size, uint32_t result, uint32_t status, uint32_t irq_status),
13 TP_ARGS(addr, size, result, status, irq_status),
19 __field(uint32_t, irq_status)
26 __entry->irq_status = irq_status;
30 __entry->status, __entry->irq_status
35 TP_PROTO(uint32_t addr, uint32_t val, size_t size, uint32_t status, uint32_t irq_status),
36 TP_ARGS(addr, val, size, status, irq_status),
42 __field(uint32_t, irq_status)
49 __entry->irq_status = irq_status;
53 __entry->status, __entry->irq_status
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
Dirq.c171 unsigned int irq_status = irq_reg_load(ID, in irq_get_channel_id() local
181 if (irq_status & (1U << idx)) in irq_get_channel_id()
188 if (irq_status != (1U << idx)) in irq_get_channel_id()
238 state->irq_status = irq_reg_load(ID, in irq_controller_get_state()
249 unsigned int irq_status = irq_reg_load(IRQ0_ID, in any_virq_signal() local
252 return (irq_status != 0); in any_virq_signal()
299 enum hrt_isp_css_irq_status irq_status = hrt_isp_css_irq_status_error; in virq_get_channel_signals() local
311 irq_status = hrt_isp_css_irq_status_success; in virq_get_channel_signals()
323 return irq_status; in virq_get_channel_signals()
341 unsigned int irq_status = irq_reg_load(IRQ0_ID, in virq_get_channel_id() local
[all …]
/kernel/linux/linux-5.10/drivers/media/rc/img-ir/
Dimg-ir-core.c24 u32 irq_status; in img_ir_isr() local
28 irq_status = img_ir_read(priv, IMG_IR_IRQ_STATUS); in img_ir_isr()
29 img_ir_write(priv, IMG_IR_IRQ_CLEAR, irq_status); in img_ir_isr()
32 irq_status &= img_ir_read(priv, IMG_IR_IRQ_ENABLE); in img_ir_isr()
35 if (irq_status & IMG_IR_IRQ_EDGE && img_ir_raw_enabled(&priv->raw)) in img_ir_isr()
36 img_ir_isr_raw(priv, irq_status); in img_ir_isr()
39 if (irq_status & (IMG_IR_IRQ_DATA_MATCH | in img_ir_isr()
43 img_ir_isr_hw(priv, irq_status); in img_ir_isr()
Dimg-ir-raw.c18 static void img_ir_refresh_raw(struct img_ir_priv *priv, u32 irq_status) in img_ir_refresh_raw() argument
26 multiple = ((irq_status & IMG_IR_IRQ_EDGE) == IMG_IR_IRQ_EDGE); in img_ir_refresh_raw()
46 void img_ir_isr_raw(struct img_ir_priv *priv, u32 irq_status) in img_ir_isr_raw() argument
54 img_ir_refresh_raw(priv, irq_status); in img_ir_isr_raw()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-aspeed.c244 static u32 aspeed_i2c_slave_irq(struct aspeed_i2c_bus *bus, u32 irq_status) in aspeed_i2c_slave_irq() argument
256 if (irq_status & ASPEED_I2CD_INTR_SLAVE_MATCH) { in aspeed_i2c_slave_irq()
266 irq_status, command); in aspeed_i2c_slave_irq()
269 if (irq_status & ASPEED_I2CD_INTR_RX_DONE) { in aspeed_i2c_slave_irq()
284 if (irq_status & ASPEED_I2CD_INTR_NORMAL_STOP) { in aspeed_i2c_slave_irq()
288 if (irq_status & ASPEED_I2CD_INTR_TX_NAK && in aspeed_i2c_slave_irq()
296 if (unlikely(irq_status & ASPEED_I2CD_INTR_TX_ACK)) in aspeed_i2c_slave_irq()
304 if (unlikely(!(irq_status & ASPEED_I2CD_INTR_TX_ACK))) { in aspeed_i2c_slave_irq()
390 static int aspeed_i2c_is_irq_error(u32 irq_status) in aspeed_i2c_is_irq_error() argument
392 if (irq_status & ASPEED_I2CD_INTR_ARBIT_LOSS) in aspeed_i2c_is_irq_error()
[all …]
Di2c-uniphier-f.c150 u32 irq_status; in uniphier_fi2c_interrupt() local
154 irq_status = readl(priv->membase + UNIPHIER_FI2C_INT); in uniphier_fi2c_interrupt()
155 irq_status &= priv->enabled_irqs; in uniphier_fi2c_interrupt()
157 if (irq_status & UNIPHIER_FI2C_INT_STOP) in uniphier_fi2c_interrupt()
160 if (unlikely(irq_status & UNIPHIER_FI2C_INT_AL)) { in uniphier_fi2c_interrupt()
165 if (unlikely(irq_status & UNIPHIER_FI2C_INT_NA)) { in uniphier_fi2c_interrupt()
184 if (irq_status & UNIPHIER_FI2C_INT_TE) { in uniphier_fi2c_interrupt()
192 if (irq_status & (UNIPHIER_FI2C_INT_RF | UNIPHIER_FI2C_INT_RB)) { in uniphier_fi2c_interrupt()
200 if (!priv->len && (irq_status & UNIPHIER_FI2C_INT_RB)) in uniphier_fi2c_interrupt()
240 uniphier_fi2c_clear_irqs(priv, irq_status); in uniphier_fi2c_interrupt()
/kernel/linux/linux-5.10/drivers/media/cec/platform/stm32/
Dstm32-cec.c74 u32 irq_status; member
110 if (cec->irq_status & TXBR) { in stm32_tx_done()
121 if (cec->irq_status & TXEND) in stm32_tx_done()
127 if (cec->irq_status & (RXACKE | RXOVR)) { in stm32_rx_done()
132 if (cec->irq_status & RXBR) { in stm32_rx_done()
139 if (cec->irq_status & RXEND) { in stm32_rx_done()
149 if (cec->irq_status & ALL_TX_IT) in stm32_cec_irq_thread()
150 stm32_tx_done(cec, cec->irq_status); in stm32_cec_irq_thread()
152 if (cec->irq_status & ALL_RX_IT) in stm32_cec_irq_thread()
153 stm32_rx_done(cec, cec->irq_status); in stm32_cec_irq_thread()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/venc/
Dvenc_h264_if.c330 unsigned int irq_status = 0; in h264_enc_wait_venc_done() local
335 irq_status = ctx->irq_status; in h264_enc_wait_venc_done()
336 mtk_vcodec_debug(inst, "irq_status %x <-", irq_status); in h264_enc_wait_venc_done()
338 return irq_status; in h264_enc_wait_venc_done()
362 unsigned int irq_status; in h264_encode_sps() local
371 irq_status = h264_enc_wait_venc_done(inst); in h264_encode_sps()
372 if (irq_status != MTK_VENC_IRQ_STATUS_SPS) { in h264_encode_sps()
389 unsigned int irq_status; in h264_encode_pps() local
398 irq_status = h264_enc_wait_venc_done(inst); in h264_encode_pps()
399 if (irq_status != MTK_VENC_IRQ_STATUS_PPS) { in h264_encode_pps()
[all …]
Dvenc_vp8_if.c221 unsigned int irq_status = 0; in vp8_enc_wait_venc_done() local
226 irq_status = ctx->irq_status; in vp8_enc_wait_venc_done()
227 mtk_vcodec_debug(inst, "isr return %x", irq_status); in vp8_enc_wait_venc_done()
229 return irq_status; in vp8_enc_wait_venc_done()
301 unsigned int irq_status; in vp8_enc_encode_frame() local
310 irq_status = vp8_enc_wait_venc_done(inst); in vp8_enc_encode_frame()
311 if (irq_status != MTK_VENC_IRQ_STATUS_FRM) { in vp8_enc_encode_frame()
312 mtk_vcodec_err(inst, "irq_status=%d failed", irq_status); in vp8_enc_encode_frame()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Ddenali.c108 int bank, u32 irq_status) in denali_clear_irq() argument
111 iowrite32(irq_status, denali->reg + INTR_STATUS(bank)); in denali_clear_irq()
126 u32 irq_status; in denali_isr() local
132 irq_status = ioread32(denali->reg + INTR_STATUS(i)); in denali_isr()
133 if (irq_status) in denali_isr()
136 denali_clear_irq(denali, i, irq_status); in denali_isr()
141 denali->irq_status |= irq_status; in denali_isr()
143 if (denali->irq_status & denali->irq_mask) in denali_isr()
157 denali->irq_status = 0; in denali_reset_irq()
165 u32 irq_status; in denali_wait_for_irq() local
[all …]
Dcadence-nand-controller.c476 struct cadence_nand_irq_status irq_status; member
724 struct cadence_nand_irq_status *irq_status) in cadence_nand_clear_interrupt() argument
726 writel_relaxed(irq_status->status, cdns_ctrl->reg + INTR_STATUS); in cadence_nand_clear_interrupt()
727 writel_relaxed(irq_status->trd_status, in cadence_nand_clear_interrupt()
729 writel_relaxed(irq_status->trd_error, in cadence_nand_clear_interrupt()
735 struct cadence_nand_irq_status *irq_status) in cadence_nand_read_int_status() argument
737 irq_status->status = readl_relaxed(cdns_ctrl->reg + INTR_STATUS); in cadence_nand_read_int_status()
738 irq_status->trd_status = readl_relaxed(cdns_ctrl->reg in cadence_nand_read_int_status()
740 irq_status->trd_error = readl_relaxed(cdns_ctrl->reg in cadence_nand_read_int_status()
745 struct cadence_nand_irq_status *irq_status) in irq_detected() argument
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_enc_drv.c81 static void clean_irq_status(unsigned int irq_status, void __iomem *addr) in clean_irq_status() argument
83 if (irq_status & MTK_VENC_IRQ_STATUS_PAUSE) in clean_irq_status()
86 if (irq_status & MTK_VENC_IRQ_STATUS_SWITCH) in clean_irq_status()
89 if (irq_status & MTK_VENC_IRQ_STATUS_DRAM) in clean_irq_status()
92 if (irq_status & MTK_VENC_IRQ_STATUS_SPS) in clean_irq_status()
95 if (irq_status & MTK_VENC_IRQ_STATUS_PPS) in clean_irq_status()
98 if (irq_status & MTK_VENC_IRQ_STATUS_FRM) in clean_irq_status()
116 ctx->irq_status = readl(dev->reg_base[VENC_SYS] + in mtk_vcodec_enc_irq_handler()
119 clean_irq_status(ctx->irq_status, addr); in mtk_vcodec_enc_irq_handler()
137 ctx->irq_status = readl(dev->reg_base[VENC_LT_SYS] + in mtk_vcodec_enc_lt_irq_handler()
[all …]
/kernel/linux/linux-5.10/drivers/media/cec/platform/sti/
Dstih-cec.c128 u32 irq_status; member
272 if (cec->irq_status & CEC_TX_DONE_STS) in stih_cec_irq_handler_thread()
273 stih_tx_done(cec, cec->irq_status); in stih_cec_irq_handler_thread()
275 if (cec->irq_status & CEC_RX_DONE_STS) in stih_cec_irq_handler_thread()
276 stih_rx_done(cec, cec->irq_status); in stih_cec_irq_handler_thread()
278 cec->irq_status = 0; in stih_cec_irq_handler_thread()
287 cec->irq_status = readl(cec->regs + CEC_STATUS); in stih_cec_irq_handler()
288 writel(cec->irq_status, cec->regs + CEC_STATUS); in stih_cec_irq_handler()
/kernel/linux/linux-5.10/drivers/net/can/peak_canfd/
Dpeak_pciefd_main.c127 static inline int pciefd_irq_tag(u32 irq_status) in pciefd_irq_tag() argument
129 return irq_status & 0x0000000f; in pciefd_irq_tag()
132 static inline int pciefd_irq_rx_cnt(u32 irq_status) in pciefd_irq_rx_cnt() argument
134 return (irq_status & 0x000007f0) >> 4; in pciefd_irq_rx_cnt()
137 static inline int pciefd_irq_is_lnk(u32 irq_status) in pciefd_irq_is_lnk() argument
139 return irq_status & 0x00010000; in pciefd_irq_is_lnk()
144 __le32 irq_status; member
185 u32 irq_status; member
323 priv->irq_status = le32_to_cpu(rx_dma->irq_status); in pciefd_irq_handler()
326 if (pciefd_irq_tag(priv->irq_status) != priv->irq_tag) in pciefd_irq_handler()
[all …]
/kernel/linux/linux-5.10/sound/soc/spear/
Dspdif_in.c182 u32 irq_status = readl(host->io_base + SPDIF_IN_IRQ); in spdif_in_irq() local
184 if (!irq_status) in spdif_in_irq()
187 if (irq_status & SPDIF_IRQ_FIFOWRITE) in spdif_in_irq()
189 if (irq_status & SPDIF_IRQ_EMPTYFIFOREAD) in spdif_in_irq()
191 if (irq_status & SPDIF_IRQ_FIFOFULL) in spdif_in_irq()
193 if (irq_status & SPDIF_IRQ_OUTOFRANGE) in spdif_in_irq()
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/
Dhdlcd_drv.c129 unsigned long irq_status; in hdlcd_irq() local
131 irq_status = hdlcd_read(hdlcd, HDLCD_REG_INT_STATUS); in hdlcd_irq()
134 if (irq_status & HDLCD_INTERRUPT_UNDERRUN) in hdlcd_irq()
137 if (irq_status & HDLCD_INTERRUPT_DMA_END) in hdlcd_irq()
140 if (irq_status & HDLCD_INTERRUPT_BUS_ERROR) in hdlcd_irq()
143 if (irq_status & HDLCD_INTERRUPT_VSYNC) in hdlcd_irq()
147 if (irq_status & HDLCD_INTERRUPT_VSYNC) in hdlcd_irq()
151 hdlcd_write(hdlcd, HDLCD_REG_INT_CLEAR, irq_status); in hdlcd_irq()
/kernel/linux/linux-5.10/drivers/misc/
Dtifm_7xx1.c40 unsigned int irq_status, cnt; in tifm_7xx1_isr() local
43 irq_status = readl(fm->addr + FM_INTERRUPT_STATUS); in tifm_7xx1_isr()
44 if (irq_status == 0 || irq_status == (~0)) { in tifm_7xx1_isr()
49 if (irq_status & TIFM_IRQ_ENABLE) { in tifm_7xx1_isr()
55 if ((irq_status >> cnt) & TIFM_IRQ_FIFOMASK(1)) in tifm_7xx1_isr()
57 if ((irq_status >> cnt) & TIFM_IRQ_CARDMASK(1)) in tifm_7xx1_isr()
62 fm->socket_change_set |= irq_status in tifm_7xx1_isr()
65 writel(irq_status, fm->addr + FM_INTERRUPT_STATUS); in tifm_7xx1_isr()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-tqmx86.c187 u8 irq_status; in tqmx86_gpio_irq_handler() local
191 irq_status = tqmx86_gpio_read(gpio, TQMX86_GPIIS); in tqmx86_gpio_irq_handler()
192 tqmx86_gpio_write(gpio, irq_status, TQMX86_GPIIS); in tqmx86_gpio_irq_handler()
194 irq_bits = irq_status; in tqmx86_gpio_irq_handler()
283 u8 irq_status; in tqmx86_gpio_probe() local
295 irq_status = tqmx86_gpio_read(gpio, TQMX86_GPIIS); in tqmx86_gpio_probe()
296 tqmx86_gpio_write(gpio, irq_status, TQMX86_GPIIS); in tqmx86_gpio_probe()
Dgpio-siox.c20 u32 irq_status; member
59 ddata->irq_status |= 1 << offset; in gpio_siox_get_data()
63 ddata->irq_status |= 1 << offset; in gpio_siox_get_data()
67 trigger = ddata->irq_status & ddata->irq_enable; in gpio_siox_get_data()
88 ddata->irq_status &= ~(1 << offset); in gpio_siox_get_data()
105 ddata->irq_status &= ~(1 << d->hwirq); in gpio_siox_irq_ack()
/kernel/linux/linux-5.10/drivers/firmware/imx/
Dimx-scu-irq.c71 u32 irq_status; in imx_scu_irq_work_handler() local
91 irq_status = msg.data.resp.status; in imx_scu_irq_work_handler()
92 if (!irq_status) in imx_scu_irq_work_handler()
96 imx_scu_irq_notifier_call_chain(irq_status, &i); in imx_scu_irq_work_handler()
/kernel/linux/linux-5.10/sound/soc/sof/intel/
Dhda-ipc.c228 u32 irq_status; in hda_dsp_check_ipc_irq() local
231 irq_status = snd_sof_dsp_read(sdev, HDA_DSP_BAR, HDA_DSP_REG_ADSPIS); in hda_dsp_check_ipc_irq()
232 dev_vdbg(sdev->dev, "irq handler: irq_status:0x%x\n", irq_status); in hda_dsp_check_ipc_irq()
235 if (irq_status == 0xffffffff) in hda_dsp_check_ipc_irq()
239 if (irq_status & HDA_DSP_ADSPIS_IPC) in hda_dsp_check_ipc_irq()
/kernel/linux/linux-5.10/drivers/edac/
Dti_edac.c96 u32 irq_status; in ti_edac_isr() local
100 irq_status = ti_edac_readl(edac, EMIF_IRQ_STATUS); in ti_edac_isr()
102 if (irq_status & EMIF_1B_ECC_ERR) { in ti_edac_isr()
112 if (irq_status & EMIF_2B_ECC_ERR) { in ti_edac_isr()
120 if (irq_status & EMIF_WR_ECC_ERR) in ti_edac_isr()
125 ti_edac_writel(edac, irq_status, EMIF_IRQ_STATUS); in ti_edac_isr()
/kernel/linux/linux-5.10/arch/powerpc/platforms/embedded6xx/
Dflipper-pic.c166 u32 irq_status; in flipper_pic_get_irq() local
168 irq_status = in_be32(io_base + FLIPPER_ICR) & in flipper_pic_get_irq()
170 if (irq_status == 0) in flipper_pic_get_irq()
173 irq = __ffs(irq_status); in flipper_pic_get_irq()
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_core.c48 static int sxgbe_get_lpi_status(void __iomem *ioaddr, const u32 irq_status) in sxgbe_get_lpi_status() argument
72 int irq_status, status = 0; in sxgbe_core_host_irq_status() local
74 irq_status = readl(ioaddr + SXGBE_CORE_INT_STATUS_REG); in sxgbe_core_host_irq_status()
76 if (unlikely(irq_status & LPI_INT_STATUS)) in sxgbe_core_host_irq_status()
77 status |= sxgbe_get_lpi_status(ioaddr, irq_status); in sxgbe_core_host_irq_status()
/kernel/linux/linux-5.10/sound/soc/ti/
Domap-mcpdm.c221 int irq_status; in omap_mcpdm_irq_handler() local
223 irq_status = omap_mcpdm_read(mcpdm, MCPDM_REG_IRQSTATUS); in omap_mcpdm_irq_handler()
226 omap_mcpdm_write(mcpdm, MCPDM_REG_IRQSTATUS, irq_status); in omap_mcpdm_irq_handler()
228 if (irq_status & MCPDM_DN_IRQ_FULL) in omap_mcpdm_irq_handler()
231 if (irq_status & MCPDM_DN_IRQ_EMPTY) in omap_mcpdm_irq_handler()
234 if (irq_status & MCPDM_DN_IRQ) in omap_mcpdm_irq_handler()
237 if (irq_status & MCPDM_UP_IRQ_FULL) in omap_mcpdm_irq_handler()
240 if (irq_status & MCPDM_UP_IRQ_EMPTY) in omap_mcpdm_irq_handler()
243 if (irq_status & MCPDM_UP_IRQ) in omap_mcpdm_irq_handler()

123456