Home
last modified time | relevance | path

Searched refs:int_status (Results 1 – 25 of 101) sorted by relevance

12345

/kernel/linux/linux-5.10/arch/mips/loongson2ef/common/
Dirq.c15 u32 int_status; in bonito_irqdispatch() local
19 int_status = LOONGSON_INTISR; in bonito_irqdispatch()
20 while (int_status & (1 << 10)) { in bonito_irqdispatch()
22 int_status = LOONGSON_INTISR; in bonito_irqdispatch()
26 int_status = LOONGSON_INTISR & LOONGSON_INTEN; in bonito_irqdispatch()
28 if (int_status) { in bonito_irqdispatch()
29 i = __ffs(int_status); in bonito_irqdispatch()
/kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_dma.c189 u32 int_status = readl(ioaddr + SXGBE_DMA_CHA_STATUS_REG(channel_no)); in sxgbe_tx_dma_int_status() local
194 if (likely(int_status & SXGBE_DMA_INT_STATUS_NIS)) { in sxgbe_tx_dma_int_status()
196 if (int_status & SXGBE_DMA_INT_STATUS_TI) { in sxgbe_tx_dma_int_status()
202 if (int_status & SXGBE_DMA_INT_STATUS_TBU) { in sxgbe_tx_dma_int_status()
207 } else if (unlikely(int_status & SXGBE_DMA_INT_STATUS_AIS)) { in sxgbe_tx_dma_int_status()
209 if (int_status & SXGBE_DMA_INT_STATUS_TPS) { in sxgbe_tx_dma_int_status()
215 if (int_status & SXGBE_DMA_INT_STATUS_FBE) { in sxgbe_tx_dma_int_status()
225 if (int_status & SXGBE_DMA_INT_STATUS_TEB0) { in sxgbe_tx_dma_int_status()
232 if (int_status & SXGBE_DMA_INT_STATUS_TEB1) { in sxgbe_tx_dma_int_status()
239 if (int_status & SXGBE_DMA_INT_STATUS_TEB2) { in sxgbe_tx_dma_int_status()
[all …]
/kernel/linux/linux-5.10/drivers/usb/c67x00/
Dc67x00-drv.c76 u16 msg, int_status; in c67x00_irq() local
79 int_status = c67x00_ll_hpi_status(c67x00); in c67x00_irq()
80 if (!int_status) in c67x00_irq()
83 while (int_status != 0 && (count-- >= 0)) { in c67x00_irq()
84 c67x00_ll_irq(c67x00, int_status); in c67x00_irq()
88 if (int_status & SIEMSG_FLG(i)) in c67x00_irq()
91 sie->irq(sie, int_status, msg); in c67x00_irq()
93 int_status = c67x00_ll_hpi_status(c67x00); in c67x00_irq()
96 if (int_status) in c67x00_irq()
98 "status = 0x%04x\n", int_status); in c67x00_irq()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-img-scb.c634 u32 int_status, u32 line_status) in img_i2c_raw_atomic_delay_handler() argument
642 static unsigned int img_i2c_raw(struct img_i2c *i2c, u32 int_status, in img_i2c_raw() argument
645 if (int_status & INT_TIMING) { in img_i2c_raw()
648 int_status, line_status); in img_i2c_raw()
654 static unsigned int img_i2c_sequence(struct img_i2c *i2c, u32 int_status) in img_i2c_sequence() argument
666 if (int_status & INT_SLAVE_EVENT) in img_i2c_sequence()
668 if (int_status & INT_TRANSACTION_DONE) in img_i2c_sequence()
733 u32 int_status, in img_i2c_atomic() argument
739 if (int_status & INT_SLAVE_EVENT) in img_i2c_atomic()
741 if (int_status & INT_TRANSACTION_DONE) in img_i2c_atomic()
[all …]
Di2c-hix5hd2.c161 u32 int_status; in hix5hd2_i2c_wait_bus_idle() local
166 int_status = hix5hd2_i2c_clr_pend_irq(priv); in hix5hd2_i2c_wait_bus_idle()
167 if (!(int_status & I2C_BUSY)) in hix5hd2_i2c_wait_bus_idle()
246 u32 int_status; in hix5hd2_i2c_irq() local
251 int_status = hix5hd2_i2c_clr_pend_irq(priv); in hix5hd2_i2c_irq()
254 if (int_status & I2C_ARBITRATE_INTR) { in hix5hd2_i2c_irq()
260 } else if (int_status & I2C_ACK_INTR) { in hix5hd2_i2c_irq()
268 if (int_status & I2C_OVER_INTR) { in hix5hd2_i2c_irq()
Di2c-exynos5.c413 u32 fifo_level, int_status, fifo_status, trans_status; in exynos5_i2c_irq() local
421 int_status = readl(i2c->regs + HSI2C_INT_STATUS); in exynos5_i2c_irq()
422 writel(int_status, i2c->regs + HSI2C_INT_STATUS); in exynos5_i2c_irq()
426 if (int_status & HSI2C_INT_TRANS_DONE) { in exynos5_i2c_irq()
429 } else if (int_status & HSI2C_INT_TRANS_ABORT) { in exynos5_i2c_irq()
433 } else if (int_status & HSI2C_INT_NO_DEV_ACK) { in exynos5_i2c_irq()
437 } else if (int_status & HSI2C_INT_NO_DEV) { in exynos5_i2c_irq()
441 } else if (int_status & HSI2C_INT_TIMEOUT) { in exynos5_i2c_irq()
446 } else if (int_status & HSI2C_INT_I2C) { in exynos5_i2c_irq()
470 if ((i2c->msg->flags & I2C_M_RD) && (int_status & in exynos5_i2c_irq()
[all …]
/kernel/linux/linux-5.10/drivers/acpi/acpica/
Devsci.c35 u32 int_status = ACPI_INTERRUPT_NOT_HANDLED; in acpi_ev_sci_dispatch() local
42 return (int_status); in acpi_ev_sci_dispatch()
54 int_status |= sci_handler->address(sci_handler->context); in acpi_ev_sci_dispatch()
60 return (int_status); in acpi_ev_sci_dispatch()
Devgpe.c354 u32 int_status = ACPI_INTERRUPT_NOT_HANDLED; in acpi_ev_gpe_detect() local
364 return (int_status); in acpi_ev_gpe_detect()
424 int_status |= in acpi_ev_gpe_detect()
436 return (int_status); in acpi_ev_gpe_detect()
629 u32 int_status = ACPI_INTERRUPT_NOT_HANDLED; in acpi_ev_detect_gpe() local
716 int_status |= in acpi_ev_detect_gpe()
723 int_status |= acpi_ev_gpe_dispatch(gpe_device, in acpi_ev_detect_gpe()
729 return (int_status); in acpi_ev_detect_gpe()
Devevent.c169 u32 int_status = ACPI_INTERRUPT_NOT_HANDLED; in acpi_ev_fixed_event_detect() local
185 return (int_status); in acpi_ev_fixed_event_detect()
214 int_status |= acpi_ev_fixed_event_dispatch(i); in acpi_ev_fixed_event_detect()
218 return (int_status); in acpi_ev_fixed_event_detect()
/kernel/linux/linux-5.10/drivers/mfd/
Dmt6397-irq.c109 mt6397_irq_handle_reg(mt6397, mt6397->int_status[0], 0); in mt6397_irq_thread()
110 mt6397_irq_handle_reg(mt6397, mt6397->int_status[1], 16); in mt6397_irq_thread()
172 chip->int_status[0] = MT6323_INT_STATUS0; in mt6397_irq_init()
173 chip->int_status[1] = MT6323_INT_STATUS1; in mt6397_irq_init()
180 chip->int_status[0] = MT6397_INT_STATUS0; in mt6397_irq_init()
181 chip->int_status[1] = MT6397_INT_STATUS1; in mt6397_irq_init()
/kernel/linux/linux-5.10/sound/soc/xtensa/
Dxtfpga-i2s.c178 unsigned int_status; in xtfpga_pcm_refill_fifo() local
182 &int_status); in xtfpga_pcm_refill_fifo()
191 &int_status); in xtfpga_pcm_refill_fifo()
194 !(int_status & XTFPGA_I2S_INT_LEVEL)) in xtfpga_pcm_refill_fifo()
204 if (!(int_status & XTFPGA_I2S_INT_LEVEL)) in xtfpga_pcm_refill_fifo()
207 else if (!(int_status & XTFPGA_I2S_INT_UNDERRUN)) in xtfpga_pcm_refill_fifo()
211 if (!(int_status & XTFPGA_I2S_INT_UNDERRUN)) in xtfpga_pcm_refill_fifo()
227 unsigned config, int_status, int_mask; in xtfpga_i2s_threaded_irq_handler() local
231 regmap_read(i2s->regmap, XTFPGA_I2S_INT_STATUS, &int_status); in xtfpga_i2s_threaded_irq_handler()
234 !(int_status & int_mask & XTFPGA_I2S_INT_VALID)) in xtfpga_i2s_threaded_irq_handler()
[all …]
/kernel/linux/linux-5.10/sound/soc/bcm/
Dbcm63xx-pcm-whistler.c252 unsigned int availdepth, ifflevel, offlevel, int_status, val_1, val_2; in i2s_dma_isr() local
265 regmap_read(regmap_i2s, I2S_RX_IRQ_CTL, &int_status); in i2s_dma_isr()
267 if (int_status & I2S_RX_DESC_OFF_INTR_EN_MSK) { in i2s_dma_isr()
274 offlevel = (int_status & I2S_RX_DESC_OFF_LEVEL_MASK) >> in i2s_dma_isr()
282 ifflevel = (int_status & I2S_RX_DESC_IFF_LEVEL_MASK) >> in i2s_dma_isr()
313 regmap_read(regmap_i2s, I2S_TX_IRQ_CTL, &int_status); in i2s_dma_isr()
315 if (int_status & I2S_TX_DESC_OFF_INTR_EN_MSK) { in i2s_dma_isr()
322 offlevel = (int_status & I2S_TX_DESC_OFF_LEVEL_MASK) >> in i2s_dma_isr()
331 ifflevel = (int_status & I2S_TX_DESC_IFF_LEVEL_MASK) >> in i2s_dma_isr()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-slave-mt27xx.c315 u32 int_status, reg_val, cnt, remainder; in mtk_spi_slave_interrupt() local
317 int_status = readl(mdata->base + SPIS_IRQ_ST_REG); in mtk_spi_slave_interrupt()
318 writel(int_status, mdata->base + SPIS_IRQ_CLR_REG); in mtk_spi_slave_interrupt()
323 if ((int_status & DMA_DONE_ST) && in mtk_spi_slave_interrupt()
324 ((int_status & DATA_DONE_ST) || in mtk_spi_slave_interrupt()
325 (int_status & RSTA_DONE_ST))) { in mtk_spi_slave_interrupt()
339 if ((!(int_status & DMA_DONE_ST)) && in mtk_spi_slave_interrupt()
340 ((int_status & DATA_DONE_ST) || in mtk_spi_slave_interrupt()
341 (int_status & RSTA_DONE_ST))) { in mtk_spi_slave_interrupt()
356 if (int_status & CMD_INVALID_ST) { in mtk_spi_slave_interrupt()
Dspi-qcom-qspi.c420 u32 int_status; in qcom_qspi_irq() local
426 int_status = readl(ctrl->base + MSTR_INT_STATUS); in qcom_qspi_irq()
427 writel(int_status, ctrl->base + MSTR_INT_STATUS); in qcom_qspi_irq()
430 if (int_status & WR_FIFO_EMPTY) in qcom_qspi_irq()
433 if (int_status & RESP_FIFO_RDY) in qcom_qspi_irq()
437 if (int_status & QSPI_ERR_IRQS) { in qcom_qspi_irq()
438 if (int_status & RESP_FIFO_UNDERRUN) in qcom_qspi_irq()
440 if (int_status & WR_FIFO_OVERRUN) in qcom_qspi_irq()
442 if (int_status & HRESP_FROM_NOC_ERR) in qcom_qspi_irq()
/kernel/linux/linux-5.10/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_ring.c125 int int_status; in inv_mpu6050_read_fifo() local
131 result = regmap_read(st->map, st->reg->int_status, &int_status); in inv_mpu6050_read_fifo()
137 if (!(int_status & INV_MPU6050_BIT_RAW_DATA_RDY_INT)) in inv_mpu6050_read_fifo()
/kernel/linux/linux-5.10/drivers/extcon/
Dextcon-ptn5150.c109 unsigned int int_status; in ptn5150_irq_work() local
117 ret = regmap_read(info->regmap, PTN5150_REG_INT_STATUS, &int_status); in ptn5150_irq_work()
124 if (int_status) { in ptn5150_irq_work()
127 cable_attach = int_status & PTN5150_REG_INT_CABLE_ATTACH_MASK; in ptn5150_irq_work()
141 &int_status); in ptn5150_irq_work()
/kernel/linux/linux-5.10/arch/mips/loongson32/common/
Dirq.c117 u32 int_status, irq; in ls1x_irq_dispatch() local
120 int_status = __raw_readl(LS1X_INTC_INTISR(n)) & in ls1x_irq_dispatch()
123 if (int_status) { in ls1x_irq_dispatch()
124 irq = LS1X_IRQ(n, __ffs(int_status)); in ls1x_irq_dispatch()
/kernel/linux/linux-5.10/drivers/media/pci/tw686x/
Dtw686x-core.c170 u32 int_status, dma_en, video_en, pb_status; in tw686x_irq() local
173 int_status = reg_read(dev, INT_STATUS); /* cleared on read */ in tw686x_irq()
177 if (!int_status && !TW686X_FIFO_ERROR(fifo_status)) in tw686x_irq()
180 if (int_status & INT_STATUS_DMA_TOUT) { in tw686x_irq()
203 video_requests = (int_status & video_en) | fifo_errors; in tw686x_irq()
204 audio_requests = (int_status & dma_en) >> 8; in tw686x_irq()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dtoshsd.c292 u32 int_reg, int_mask, int_status, detail; in toshsd_irq() local
296 int_status = ioread32(host->ioaddr + SD_CARDSTATUS); in toshsd_irq()
298 int_reg = int_status & ~int_mask & ~IRQ_DONT_CARE_BITS; in toshsd_irq()
301 int_status, int_mask); in toshsd_irq()
352 iowrite32(int_status & in toshsd_irq()
364 iowrite32(int_status & in toshsd_irq()
376 iowrite32(int_status & in toshsd_irq()
386 iowrite32(int_status & ~(SD_CARD_RESP_END), in toshsd_irq()
393 iowrite32(int_status & ~(SD_CARD_RW_END), in toshsd_irq()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/gpio/
Dhpd_regs.h54 .int_status = REGI(DC_HPD_INT_STATUS, HPD, id),\
65 uint32_t int_status; member
/kernel/linux/linux-5.10/drivers/media/pci/intel/ipu3/
Dipu3-cio2.c633 static void cio2_irq_handle_once(struct cio2_device *cio2, u32 int_status) in cio2_irq_handle_once() argument
638 if (int_status & CIO2_INT_IOOE) { in cio2_irq_handle_once()
665 int_status &= ~CIO2_INT_IOOE; in cio2_irq_handle_once()
668 if (int_status & CIO2_INT_IOC_MASK) { in cio2_irq_handle_once()
674 if (int_status & CIO2_INT_IOC(d)) { in cio2_irq_handle_once()
678 int_status &= ~clr; in cio2_irq_handle_once()
681 if (int_status & CIO2_INT_IOS_IOLN_MASK) { in cio2_irq_handle_once()
687 if (int_status & CIO2_INT_IOS_IOLN(d)) { in cio2_irq_handle_once()
693 int_status &= ~clr; in cio2_irq_handle_once()
696 if (int_status & (CIO2_INT_IOIE | CIO2_INT_IOIRQ)) { in cio2_irq_handle_once()
[all …]
/kernel/linux/linux-5.10/drivers/net/can/
Dti_hecc.c602 static int ti_hecc_error(struct net_device *ndev, int int_status, in ti_hecc_error() argument
681 u32 mbxno, mbx_mask, int_status, err_status, stamp; in ti_hecc_interrupt() local
685 int_status = hecc_read(priv, in ti_hecc_interrupt()
689 if (!int_status) in ti_hecc_interrupt()
694 ti_hecc_error(ndev, int_status, err_status); in ti_hecc_interrupt()
696 if (unlikely(int_status & HECC_CANGIM_DEF_MASK)) { in ti_hecc_interrupt()
701 if (int_status & HECC_CANGIF_WLIF) { in ti_hecc_interrupt()
709 if (int_status & HECC_CANGIF_EPIF) { in ti_hecc_interrupt()
717 if (int_status & HECC_CANGIF_BOIF) { in ti_hecc_interrupt()
747 if (int_status & HECC_CANGIF_GMIF) { in ti_hecc_interrupt()
[all …]
/kernel/linux/linux-5.10/drivers/staging/iio/cdc/
Dad7150.c489 u8 int_status; in ad7150_event_handler() local
497 int_status = ret; in ad7150_event_handler()
499 if ((int_status & AD7150_STATUS_OUT1) && in ad7150_event_handler()
507 else if ((!(int_status & AD7150_STATUS_OUT1)) && in ad7150_event_handler()
516 if ((int_status & AD7150_STATUS_OUT2) && in ad7150_event_handler()
524 else if ((!(int_status & AD7150_STATUS_OUT2)) && in ad7150_event_handler()
533 chip->old_state = int_status; in ad7150_event_handler()
/kernel/linux/linux-5.10/drivers/input/misc/
Dsirfsoc-onkey.c55 u32 int_status; in sirfsoc_pwrc_isr() local
57 int_status = sirfsoc_rtc_iobrg_readl(pwrcdrv->pwrc_base + in sirfsoc_pwrc_isr()
59 sirfsoc_rtc_iobrg_writel(int_status & ~PWRC_ON_KEY_BIT, in sirfsoc_pwrc_isr()
/kernel/linux/linux-5.10/drivers/gpu/drm/fsl-dcu/
Dfsl_dcu_drm_drv.c118 unsigned int int_status; in fsl_dcu_drm_irq() local
121 ret = regmap_read(fsl_dev->regmap, DCU_INT_STATUS, &int_status); in fsl_dcu_drm_irq()
127 if (int_status & DCU_INT_STATUS_VBLANK) in fsl_dcu_drm_irq()
130 regmap_write(fsl_dev->regmap, DCU_INT_STATUS, int_status); in fsl_dcu_drm_irq()

12345