Home
last modified time | relevance | path

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

12345

/linux/drivers/net/ethernet/samsung/sxgbe/
A Dsxgbe_dma.c196 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()
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()
268 if (int_status & SXGBE_DMA_INT_STATUS_RI) { in sxgbe_rx_dma_int_status()
275 if (int_status & SXGBE_DMA_INT_STATUS_RBU) { in sxgbe_rx_dma_int_status()
281 if (int_status & SXGBE_DMA_INT_STATUS_RPS) { in sxgbe_rx_dma_int_status()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
A Dmlxbf_gige_intr.c16 u64 int_status; in mlxbf_gige_error_intr() local
22 int_status = readq(priv->base + MLXBF_GIGE_INT_STATUS); in mlxbf_gige_error_intr()
24 if (int_status & MLXBF_GIGE_INT_STATUS_HW_ACCESS_ERROR) in mlxbf_gige_error_intr()
27 if (int_status & MLXBF_GIGE_INT_STATUS_TX_CHECKSUM_INPUTS) { in mlxbf_gige_error_intr()
36 if (int_status & MLXBF_GIGE_INT_STATUS_TX_SMALL_FRAME_SIZE) { in mlxbf_gige_error_intr()
50 if (int_status & MLXBF_GIGE_INT_STATUS_TX_PI_CI_EXCEED_WQ_SIZE) in mlxbf_gige_error_intr()
53 if (int_status & MLXBF_GIGE_INT_STATUS_SW_CONFIG_ERROR) in mlxbf_gige_error_intr()
56 if (int_status & MLXBF_GIGE_INT_STATUS_SW_ACCESS_ERROR) in mlxbf_gige_error_intr()
65 int_status &= ~MLXBF_GIGE_INT_STATUS_RX_RECEIVE_PACKET; in mlxbf_gige_error_intr()
67 writeq(int_status, priv->base + MLXBF_GIGE_INT_STATUS); in mlxbf_gige_error_intr()
/linux/arch/mips/loongson2ef/common/
A 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()
/linux/drivers/usb/c67x00/
A 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()
/linux/drivers/i2c/busses/
A Di2c-img-scb.c634 u32 int_status, u32 line_status) in img_i2c_raw_atomic_delay_handler() argument
645 if (int_status & INT_TIMING) { in img_i2c_raw()
648 int_status, line_status); in img_i2c_raw()
666 if (int_status & INT_SLAVE_EVENT) in img_i2c_sequence()
733 u32 int_status, in img_i2c_atomic() argument
739 if (int_status & INT_SLAVE_EVENT) in img_i2c_atomic()
854 unsigned int int_status, in img_i2c_auto() argument
881 if (int_status & INT_STOP_DETECTED) { in img_i2c_auto()
902 if (int_status & INT_MASTER_HALTED) { in img_i2c_auto()
917 u32 int_status, line_status; in img_i2c_isr() local
[all …]
A 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 …]
A 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()
/linux/sound/soc/xtensa/
A 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
234 !(int_status & int_mask & XTFPGA_I2S_INT_VALID)) in xtfpga_i2s_threaded_irq_handler()
240 if (int_status & XTFPGA_I2S_INT_UNDERRUN) { in xtfpga_i2s_threaded_irq_handler()
[all …]
/linux/sound/soc/bcm/
A Dbcm63xx-pcm-whistler.c234 unsigned int availdepth, ifflevel, offlevel, int_status, val_1, val_2; in i2s_dma_isr() local
247 regmap_read(regmap_i2s, I2S_RX_IRQ_CTL, &int_status); in i2s_dma_isr()
249 if (int_status & I2S_RX_DESC_OFF_INTR_EN_MSK) { in i2s_dma_isr()
256 offlevel = (int_status & I2S_RX_DESC_OFF_LEVEL_MASK) >> in i2s_dma_isr()
264 ifflevel = (int_status & I2S_RX_DESC_IFF_LEVEL_MASK) >> in i2s_dma_isr()
295 regmap_read(regmap_i2s, I2S_TX_IRQ_CTL, &int_status); in i2s_dma_isr()
297 if (int_status & I2S_TX_DESC_OFF_INTR_EN_MSK) { in i2s_dma_isr()
304 offlevel = (int_status & I2S_TX_DESC_OFF_LEVEL_MASK) >> in i2s_dma_isr()
313 ifflevel = (int_status & I2S_TX_DESC_IFF_LEVEL_MASK) >> in i2s_dma_isr()
/linux/drivers/mfd/
A 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()
/linux/drivers/acpi/acpica/
A 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()
A 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()
A 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()
/linux/drivers/spi/
A Dspi-slave-mt27xx.c332 u32 int_status, reg_val, cnt, remainder; in mtk_spi_slave_interrupt() local
334 int_status = readl(mdata->base + SPIS_IRQ_ST_REG); in mtk_spi_slave_interrupt()
335 writel(int_status, mdata->base + SPIS_IRQ_CLR_REG); in mtk_spi_slave_interrupt()
340 if ((int_status & DMA_DONE_ST) && in mtk_spi_slave_interrupt()
341 ((int_status & DATA_DONE_ST) || in mtk_spi_slave_interrupt()
342 (int_status & RSTA_DONE_ST))) { in mtk_spi_slave_interrupt()
356 if ((!(int_status & DMA_DONE_ST)) && in mtk_spi_slave_interrupt()
357 ((int_status & DATA_DONE_ST) || in mtk_spi_slave_interrupt()
358 (int_status & RSTA_DONE_ST))) { in mtk_spi_slave_interrupt()
373 if (int_status & CMD_INVALID_ST) { in mtk_spi_slave_interrupt()
A Dspi-qcom-qspi.c419 u32 int_status; in qcom_qspi_irq() local
425 int_status = readl(ctrl->base + MSTR_INT_STATUS); in qcom_qspi_irq()
426 writel(int_status, ctrl->base + MSTR_INT_STATUS); in qcom_qspi_irq()
429 if (int_status & WR_FIFO_EMPTY) in qcom_qspi_irq()
432 if (int_status & RESP_FIFO_RDY) in qcom_qspi_irq()
436 if (int_status & QSPI_ERR_IRQS) { in qcom_qspi_irq()
437 if (int_status & RESP_FIFO_UNDERRUN) in qcom_qspi_irq()
439 if (int_status & WR_FIFO_OVERRUN) in qcom_qspi_irq()
441 if (int_status & HRESP_FROM_NOC_ERR) in qcom_qspi_irq()
/linux/drivers/iio/imu/inv_mpu6050/
A 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()
/linux/drivers/extcon/
A 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()
/linux/drivers/media/pci/tw686x/
A 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()
/linux/drivers/mmc/host/
A 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()
/linux/arch/mips/loongson32/common/
A 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()
/linux/drivers/media/pci/intel/ipu3/
A Dipu3-cio2-main.c655 if (int_status & CIO2_INT_IOOE) { in cio2_irq_handle_once()
682 int_status &= ~CIO2_INT_IOOE; in cio2_irq_handle_once()
685 if (int_status & CIO2_INT_IOC_MASK) { in cio2_irq_handle_once()
691 if (int_status & CIO2_INT_IOC(d)) { in cio2_irq_handle_once()
695 int_status &= ~clr; in cio2_irq_handle_once()
710 int_status &= ~clr; in cio2_irq_handle_once()
745 if (int_status) in cio2_irq_handle_once()
754 u32 int_status; in cio2_irq() local
758 if (!int_status) in cio2_irq()
765 if (int_status) in cio2_irq()
[all …]
/linux/drivers/net/can/
A Dti_hecc.c681 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()
783 int_status = hecc_read(priv, HECC_CANGIF1); in ti_hecc_interrupt()
[all …]
/linux/drivers/gpu/drm/fsl-dcu/
A Dfsl_dcu_drm_drv.c65 unsigned int int_status; in fsl_dcu_drm_irq() local
68 ret = regmap_read(fsl_dev->regmap, DCU_INT_STATUS, &int_status); in fsl_dcu_drm_irq()
74 if (int_status & DCU_INT_STATUS_VBLANK) in fsl_dcu_drm_irq()
77 regmap_write(fsl_dev->regmap, DCU_INT_STATUS, int_status); in fsl_dcu_drm_irq()
/linux/drivers/bluetooth/
A Dbtmtksdio.c483 u32 int_status; in btmtksdio_interrupt() local
501 int_status = sdio_readl(func, MTK_REG_CHISR, NULL); in btmtksdio_interrupt()
512 sdio_writel(func, int_status, MTK_REG_CHISR, NULL); in btmtksdio_interrupt()
514 if (unlikely(!int_status)) in btmtksdio_interrupt()
517 if (int_status & FW_OWN_BACK_INT) in btmtksdio_interrupt()
520 if (int_status & TX_EMPTY) in btmtksdio_interrupt()
522 else if (unlikely(int_status & TX_FIFO_OVERFLOW)) in btmtksdio_interrupt()
525 if (int_status & RX_DONE_INT) { in btmtksdio_interrupt()
526 rx_size = (int_status & RX_PKT_LEN) >> 16; in btmtksdio_interrupt()
/linux/drivers/net/ethernet/allwinner/
A Dsun4i-emac.c642 int int_status; in emac_interrupt() local
654 int_status = readl(db->membase + EMAC_INT_STA_REG); in emac_interrupt()
656 writel(int_status, db->membase + EMAC_INT_STA_REG); in emac_interrupt()
659 dev_dbg(db->dev, "emac interrupt %02x\n", int_status); in emac_interrupt()
662 if ((int_status & 0x100) && (db->emacrx_completed_flag == 1)) { in emac_interrupt()
669 if (int_status & (0x01 | 0x02)) in emac_interrupt()
670 emac_tx_done(dev, db, int_status); in emac_interrupt()
672 if (int_status & (0x04 | 0x08)) in emac_interrupt()
673 netdev_info(dev, " ab : %x\n", int_status); in emac_interrupt()

Completed in 112 milliseconds

12345