Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/drivers/misc/habanalabs/common/
Ddecoder.c20 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()
49 u32 irq_status; in dec_error_intr_work() local
51 irq_status = RREG32(base_addr + VCMD_IRQ_STATUS_OFFSET); in dec_error_intr_work()
[all …]
/linux-6.1.9/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
Dsof_intel.h75 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;
86 __get_str(device_name), __entry->irq_status)
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/net/phy/
Dlxt.c102 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()
Ddp83tc811.c268 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()
Damd.c74 int irq_status; in am79c_handle_interrupt() local
76 irq_status = phy_read(phydev, MII_AM79C_IR); in am79c_handle_interrupt()
77 if (irq_status < 0) { in am79c_handle_interrupt()
82 if (!(irq_status & MII_AM79C_IR_IMASK_STAT)) in am79c_handle_interrupt()
Dqsemi.c127 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()
Dnational.c80 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()
Dcicada.c110 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()
Dste10Xp.c86 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()
Dmeson-gxl.c228 int irq_status; in meson_gxl_handle_interrupt() local
230 irq_status = phy_read(phydev, INTSRC_FLAG); in meson_gxl_handle_interrupt()
231 if (irq_status < 0) { in meson_gxl_handle_interrupt()
236 irq_status &= INT_SOURCES; in meson_gxl_handle_interrupt()
238 if (irq_status == 0) in meson_gxl_handle_interrupt()
243 irq_status == INTSRC_ENERGY_DETECT) in meson_gxl_handle_interrupt()
Drealtek.c251 int irq_status; in rtl8201_handle_interrupt() local
253 irq_status = phy_read(phydev, RTL8201F_ISR); in rtl8201_handle_interrupt()
254 if (irq_status < 0) { in rtl8201_handle_interrupt()
259 if (!(irq_status & RTL8201F_ISR_MASK)) in rtl8201_handle_interrupt()
269 int irq_status, irq_enabled; in rtl821x_handle_interrupt() local
271 irq_status = phy_read(phydev, RTL821x_INSR); in rtl821x_handle_interrupt()
272 if (irq_status < 0) { in rtl821x_handle_interrupt()
283 if (!(irq_status & irq_enabled)) in rtl821x_handle_interrupt()
293 int irq_status; in rtl8211f_handle_interrupt() local
295 irq_status = phy_read_paged(phydev, 0xa43, RTL8211F_INSR); in rtl8211f_handle_interrupt()
[all …]
Ddp83848.c96 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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/i2c/busses/
Di2c-aspeed.c242 static u32 aspeed_i2c_slave_irq(struct aspeed_i2c_bus *bus, u32 irq_status) in aspeed_i2c_slave_irq() argument
255 if (irq_status & ASPEED_I2CD_INTR_SLAVE_MATCH) { in aspeed_i2c_slave_irq()
265 irq_status, command); in aspeed_i2c_slave_irq()
268 if (irq_status & ASPEED_I2CD_INTR_RX_DONE) { in aspeed_i2c_slave_irq()
283 if (irq_status & ASPEED_I2CD_INTR_NORMAL_STOP) { in aspeed_i2c_slave_irq()
287 if (irq_status & ASPEED_I2CD_INTR_TX_NAK && in aspeed_i2c_slave_irq()
295 if (unlikely(irq_status & ASPEED_I2CD_INTR_TX_ACK)) in aspeed_i2c_slave_irq()
303 if (unlikely(!(irq_status & ASPEED_I2CD_INTR_TX_ACK))) { in aspeed_i2c_slave_irq()
395 static int aspeed_i2c_is_irq_error(u32 irq_status) in aspeed_i2c_is_irq_error() argument
397 if (irq_status & ASPEED_I2CD_INTR_ARBIT_LOSS) in aspeed_i2c_is_irq_error()
[all …]
/linux-6.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/venc/
Dvenc_h264_if.c421 unsigned int irq_status = 0; in h264_enc_wait_venc_done() local
426 irq_status = ctx->irq_status; in h264_enc_wait_venc_done()
427 mtk_vcodec_debug(inst, "irq_status %x <-", irq_status); in h264_enc_wait_venc_done()
429 return irq_status; in h264_enc_wait_venc_done()
453 unsigned int irq_status; in h264_encode_sps() local
461 irq_status = h264_enc_wait_venc_done(inst); in h264_encode_sps()
462 if (irq_status != MTK_VENC_IRQ_STATUS_SPS) { in h264_encode_sps()
479 unsigned int irq_status; in h264_encode_pps() local
487 irq_status = h264_enc_wait_venc_done(inst); in h264_encode_pps()
488 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
309 irq_status = vp8_enc_wait_venc_done(inst); in vp8_enc_encode_frame()
310 if (irq_status != MTK_VENC_IRQ_STATUS_FRM) { in vp8_enc_encode_frame()
311 mtk_vcodec_err(inst, "irq_status=%d failed", irq_status); in vp8_enc_encode_frame()
/linux-6.1.9/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()
/linux-6.1.9/drivers/net/can/peak_canfd/
Dpeak_pciefd_main.c126 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-6.1.9/sound/soc/spear/
Dspdif_in.c183 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-6.1.9/drivers/gpu/drm/arm/
Dhdlcd_drv.c44 unsigned long irq_status; in hdlcd_irq() local
46 irq_status = hdlcd_read(hdlcd, HDLCD_REG_INT_STATUS); in hdlcd_irq()
49 if (irq_status & HDLCD_INTERRUPT_UNDERRUN) in hdlcd_irq()
52 if (irq_status & HDLCD_INTERRUPT_DMA_END) in hdlcd_irq()
55 if (irq_status & HDLCD_INTERRUPT_BUS_ERROR) in hdlcd_irq()
58 if (irq_status & HDLCD_INTERRUPT_VSYNC) in hdlcd_irq()
62 if (irq_status & HDLCD_INTERRUPT_VSYNC) in hdlcd_irq()
66 hdlcd_write(hdlcd, HDLCD_REG_INT_CLEAR, irq_status); in hdlcd_irq()

1234567