/linux/drivers/accel/habanalabs/common/ |
H A D | decoder.c | 20 static void dec_print_abnrm_intr_source(struct hl_device *hdev, u32 irq_status) in dec_print_abnrm_intr_source() argument 26 if (!irq_status) in dec_print_abnrm_intr_source() 29 if (irq_status & VCMD_IRQ_STATUS_ENDCMD_MASK) in dec_print_abnrm_intr_source() 31 if (irq_status & VCMD_IRQ_STATUS_BUSERR_MASK) in dec_print_abnrm_intr_source() 33 if (irq_status & VCMD_IRQ_STATUS_TIMEOUT_MASK) in dec_print_abnrm_intr_source() 35 if (irq_status & VCMD_IRQ_STATUS_CMDERR_MASK) in dec_print_abnrm_intr_source() 37 if (irq_status & VCMD_IRQ_STATUS_ABORT_MASK) in dec_print_abnrm_intr_source() 39 if (irq_status & VCMD_IRQ_STATUS_RESET_MASK) in dec_print_abnrm_intr_source() 50 u32 irq_status, event_mask = 0; in dec_abnrm_intr_work() local 53 irq_status = RREG32(dec->base_addr + VCMD_IRQ_STATUS_OFFSET); in dec_abnrm_intr_work() [all …]
|
/linux/include/trace/events/ |
H A D | fsi_master_aspeed.h | 12 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
|
H A D | sof_intel.h | 75 TP_PROTO(struct snd_sof_dev *sdev, u32 irq_status), 76 TP_ARGS(sdev, irq_status), 79 __field(u32, irq_status) 83 __entry->irq_status = irq_status; 85 TP_printk("device_name=%s irq_status=%#x", 86 __get_str(device_name), __entry->irq_status)
|
/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_irq.c | 33 ldev->irq_status = val; in ls7a2000_dc_irq_handler() 38 if (ldev->irq_status & INT_CRTC0_VSYNC) in ls7a2000_dc_irq_handler() 41 if (ldev->irq_status & INT_CRTC1_VSYNC) in ls7a2000_dc_irq_handler() 61 ldev->irq_status = val; in ls7a1000_dc_irq_handler() 67 if (ldev->irq_status & INT_CRTC0_VSYNC) in ls7a1000_dc_irq_handler() 70 if (ldev->irq_status & INT_CRTC1_VSYNC) in ls7a1000_dc_irq_handler()
|
/linux/drivers/firmware/imx/ |
H A D | imx-scu-irq.c | 86 u32 irq_status; in imx_scu_irq_work_handler() local 96 ret = imx_scu_irq_get_status(i, &irq_status); in imx_scu_irq_work_handler() 103 if (!irq_status) in imx_scu_irq_work_handler() 105 if (scu_irq_wakeup[i].mask & irq_status) { in imx_scu_irq_work_handler() 107 scu_irq_wakeup[i].wakeup_src = irq_status & scu_irq_wakeup[i].mask; in imx_scu_irq_work_handler() 109 scu_irq_wakeup[i].wakeup_src = irq_status; in imx_scu_irq_work_handler() 113 imx_scu_irq_notifier_call_chain(irq_status, &i); in imx_scu_irq_work_handler() 117 int imx_scu_irq_get_status(u8 group, u32 *irq_status) in imx_scu_irq_get_status() argument 135 if (irq_status) in imx_scu_irq_get_status() 136 *irq_status = msg.data.resp.status; in imx_scu_irq_get_status()
|
/linux/drivers/net/phy/ |
H A D | lxt.c | 102 int irq_status; in lxt970_handle_interrupt() local 107 irq_status = phy_read(phydev, MII_BMSR); in lxt970_handle_interrupt() 108 if (irq_status < 0) { in lxt970_handle_interrupt() 113 irq_status = phy_read(phydev, MII_LXT970_ISR); in lxt970_handle_interrupt() 114 if (irq_status < 0) { in lxt970_handle_interrupt() 119 if (!(irq_status & MII_LXT970_IRS_MINT)) in lxt970_handle_interrupt() 166 int irq_status; in lxt971_handle_interrupt() local 168 irq_status = phy_read(phydev, MII_LXT971_ISR); in lxt971_handle_interrupt() 169 if (irq_status < 0) { in lxt971_handle_interrupt() 174 if (!(irq_status & MII_LXT971_ISR_MASK)) in lxt971_handle_interrupt()
|
H A D | dp83tc811.c | 268 int irq_status; in dp83811_handle_interrupt() local 277 irq_status = phy_read(phydev, MII_DP83811_INT_STAT1); in dp83811_handle_interrupt() 278 if (irq_status < 0) { in dp83811_handle_interrupt() 282 if (irq_status & ((irq_status & GENMASK(7, 0)) << 8)) in dp83811_handle_interrupt() 285 irq_status = phy_read(phydev, MII_DP83811_INT_STAT2); in dp83811_handle_interrupt() 286 if (irq_status < 0) { in dp83811_handle_interrupt() 290 if (irq_status & ((irq_status & GENMASK(7, 0)) << 8)) in dp83811_handle_interrupt() 293 irq_status = phy_read(phydev, MII_DP83811_INT_STAT3); in dp83811_handle_interrupt() 294 if (irq_status < 0) { in dp83811_handle_interrupt() 298 if (irq_status & ((irq_status & GENMASK(7, 0)) << 8)) in dp83811_handle_interrupt()
|
H A D | national.c | 80 int irq_status; in ns_handle_interrupt() local 82 irq_status = phy_read(phydev, DP83865_INT_STATUS); in ns_handle_interrupt() 83 if (irq_status < 0) { in ns_handle_interrupt() 88 if (!(irq_status & DP83865_INT_MASK_DEFAULT)) in ns_handle_interrupt() 92 phy_write(phydev, DP83865_INT_CLEAR, irq_status & ~0x7); in ns_handle_interrupt()
|
H A D | qsemi.c | 127 int irq_status; in qs6612_handle_interrupt() local 129 irq_status = phy_read(phydev, MII_QS6612_ISR); in qs6612_handle_interrupt() 130 if (irq_status < 0) { in qs6612_handle_interrupt() 135 if (!(irq_status & MII_QS6612_IMR_INIT)) in qs6612_handle_interrupt()
|
H A D | amd.c | 75 int irq_status; in am79c_handle_interrupt() local 77 irq_status = phy_read(phydev, MII_AM79C_IR); in am79c_handle_interrupt() 78 if (irq_status < 0) { in am79c_handle_interrupt() 83 if (!(irq_status & MII_AM79C_IR_IMASK_STAT)) in am79c_handle_interrupt()
|
H A D | cicada.c | 110 int irq_status; in cis820x_handle_interrupt() local 112 irq_status = phy_read(phydev, MII_CIS8201_ISTAT); in cis820x_handle_interrupt() 113 if (irq_status < 0) { in cis820x_handle_interrupt() 118 if (!(irq_status & MII_CIS8201_IMASK_MASK)) in cis820x_handle_interrupt()
|
H A D | ste10Xp.c | 86 int irq_status; in ste10Xp_handle_interrupt() local 88 irq_status = phy_read(phydev, MII_XCIIS); in ste10Xp_handle_interrupt() 89 if (irq_status < 0) { in ste10Xp_handle_interrupt() 94 if (!(irq_status & MII_XIE_DEFAULT_MASK)) in ste10Xp_handle_interrupt()
|
H A D | dp83848.c | 96 int irq_status; in dp83848_handle_interrupt() local 98 irq_status = phy_read(phydev, DP83848_MISR); in dp83848_handle_interrupt() 99 if (irq_status < 0) { in dp83848_handle_interrupt() 104 if (!(irq_status & DP83848_INT_MASK)) in dp83848_handle_interrupt()
|
H A D | davicom.c | 102 int irq_status; in dm9161_handle_interrupt() local 104 irq_status = phy_read(phydev, MII_DM9161_INTR); in dm9161_handle_interrupt() 105 if (irq_status < 0) { in dm9161_handle_interrupt() 110 if (!(irq_status & MII_DM9161_INTR_CHANGE)) in dm9161_handle_interrupt()
|
/linux/drivers/i2c/busses/ |
H A D | i2c-aspeed.c | 249 static u32 aspeed_i2c_slave_irq(struct aspeed_i2c_bus *bus, u32 irq_status) in aspeed_i2c_slave_irq() argument 265 if (irq_status & ASPEED_I2CD_INTR_NORMAL_STOP) { in aspeed_i2c_slave_irq() 270 if (irq_status & ASPEED_I2CD_INTR_TX_NAK && in aspeed_i2c_slave_irq() 286 if (irq_status & ASPEED_I2CD_INTR_SLAVE_MATCH) { in aspeed_i2c_slave_irq() 300 irq_status, command); in aspeed_i2c_slave_irq() 303 if (irq_status & ASPEED_I2CD_INTR_RX_DONE) { in aspeed_i2c_slave_irq() 319 if (unlikely(irq_status & ASPEED_I2CD_INTR_TX_ACK)) in aspeed_i2c_slave_irq() 327 if (unlikely(!(irq_status & ASPEED_I2CD_INTR_TX_ACK))) { in aspeed_i2c_slave_irq() 411 static int aspeed_i2c_is_irq_error(u32 irq_status) in aspeed_i2c_is_irq_error() argument 413 if (irq_status & ASPEED_I2CD_INTR_ARBIT_LOSS) in aspeed_i2c_is_irq_error() [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A D | denali.c | 108 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 …]
|
H A D | cadence-nand-controller.c | 478 struct cadence_nand_irq_status irq_status; member 721 struct cadence_nand_irq_status *irq_status) in cadence_nand_clear_interrupt() argument 723 writel_relaxed(irq_status->status, cdns_ctrl->reg + INTR_STATUS); in cadence_nand_clear_interrupt() 724 writel_relaxed(irq_status->trd_status, in cadence_nand_clear_interrupt() 726 writel_relaxed(irq_status->trd_error, in cadence_nand_clear_interrupt() 732 struct cadence_nand_irq_status *irq_status) in cadence_nand_read_int_status() argument 734 irq_status->status = readl_relaxed(cdns_ctrl->reg + INTR_STATUS); in cadence_nand_read_int_status() 735 irq_status->trd_status = readl_relaxed(cdns_ctrl->reg in cadence_nand_read_int_status() 737 irq_status->trd_error = readl_relaxed(cdns_ctrl->reg in cadence_nand_read_int_status() 742 struct cadence_nand_irq_status *irq_status) in irq_detected() argument [all …]
|
/linux/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
H A D | venc_h264_if.c | 411 unsigned int irq_status = 0; in h264_enc_wait_venc_done() local 416 irq_status = ctx->irq_status; in h264_enc_wait_venc_done() 417 mtk_venc_debug(ctx, "irq_status %x <-", irq_status); in h264_enc_wait_venc_done() 419 return irq_status; in h264_enc_wait_venc_done() 443 unsigned int irq_status; in h264_encode_sps() local 449 irq_status = h264_enc_wait_venc_done(inst); in h264_encode_sps() 450 if (irq_status != MTK_VENC_IRQ_STATUS_SPS) { in h264_encode_sps() 466 unsigned int irq_status; in h264_encode_pps() local 472 irq_status = h264_enc_wait_venc_done(inst); in h264_encode_pps() 473 if (irq_status != MTK_VENC_IRQ_STATUS_PPS) { in h264_encode_pps() [all …]
|
H A D | venc_vp8_if.c | 210 unsigned int irq_status = 0; in vp8_enc_wait_venc_done() local 215 irq_status = ctx->irq_status; in vp8_enc_wait_venc_done() 216 mtk_venc_debug(ctx, "isr return %x", irq_status); in vp8_enc_wait_venc_done() 218 return irq_status; in vp8_enc_wait_venc_done() 289 unsigned int irq_status; in vp8_enc_encode_frame() local 297 irq_status = vp8_enc_wait_venc_done(inst); in vp8_enc_encode_frame() 298 if (irq_status != MTK_VENC_IRQ_STATUS_FRM) { in vp8_enc_encode_frame() 299 mtk_venc_err(inst->ctx, "irq_status=%d failed", irq_status); in vp8_enc_encode_frame()
|
/linux/drivers/gpu/drm/arm/ |
H A D | hdlcd_drv.c | 45 unsigned long irq_status; in hdlcd_irq() local 47 irq_status = hdlcd_read(hdlcd, HDLCD_REG_INT_STATUS); in hdlcd_irq() 50 if (irq_status & HDLCD_INTERRUPT_UNDERRUN) in hdlcd_irq() 53 if (irq_status & HDLCD_INTERRUPT_DMA_END) in hdlcd_irq() 56 if (irq_status & HDLCD_INTERRUPT_BUS_ERROR) in hdlcd_irq() 59 if (irq_status & HDLCD_INTERRUPT_VSYNC) in hdlcd_irq() 63 if (irq_status & HDLCD_INTERRUPT_VSYNC) in hdlcd_irq() 67 hdlcd_write(hdlcd, HDLCD_REG_INT_CLEAR, irq_status); in hdlcd_irq()
|
/linux/drivers/net/can/peak_canfd/ |
H A D | peak_pciefd_main.c | 126 static inline int pciefd_irq_tag(u32 irq_status) in pciefd_irq_tag() argument 128 return irq_status & 0x0000000f; in pciefd_irq_tag() 131 static inline int pciefd_irq_rx_cnt(u32 irq_status) in pciefd_irq_rx_cnt() argument 133 return (irq_status & 0x000007f0) >> 4; in pciefd_irq_rx_cnt() 136 static inline int pciefd_irq_is_lnk(u32 irq_status) in pciefd_irq_is_lnk() argument 138 return irq_status & 0x00010000; in pciefd_irq_is_lnk() 143 __le32 irq_status; member 184 u32 irq_status; member 322 priv->irq_status = le32_to_cpu(rx_dma->irq_status); in pciefd_irq_handler() 325 if (pciefd_irq_tag(priv->irq_status) != priv->irq_tag) in pciefd_irq_handler() [all …]
|
/linux/sound/soc/spear/ |
H A D | spdif_in.c | 183 u32 irq_status = readl(host->io_base + SPDIF_IN_IRQ); in spdif_in_irq() local 185 if (!irq_status) in spdif_in_irq() 188 if (irq_status & SPDIF_IRQ_FIFOWRITE) in spdif_in_irq() 190 if (irq_status & SPDIF_IRQ_EMPTYFIFOREAD) in spdif_in_irq() 192 if (irq_status & SPDIF_IRQ_FIFOFULL) in spdif_in_irq() 194 if (irq_status & SPDIF_IRQ_OUTOFRANGE) in spdif_in_irq()
|
/linux/drivers/misc/ |
H A D | tifm_7xx1.c | 40 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()
|
/linux/drivers/media/rc/img-ir/ |
H A D | img-ir-raw.c | 18 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()
|
/linux/drivers/gpio/ |
H A D | gpio-siox.c | 19 u32 irq_status; member 58 ddata->irq_status |= 1 << offset; in gpio_siox_get_data() 62 ddata->irq_status |= 1 << offset; in gpio_siox_get_data() 66 trigger = ddata->irq_status & ddata->irq_enable; in gpio_siox_get_data() 87 ddata->irq_status &= ~(1 << offset); in gpio_siox_get_data() 103 ddata->irq_status &= ~(1 << d->hwirq); in gpio_siox_irq_ack()
|