/Linux-v6.6/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_dma.c | 189 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 …]
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxbf_gige/ |
D | mlxbf_gige_intr.c | 16 u64 int_status; in mlxbf_gige_error_intr() local 20 int_status = readq(priv->base + MLXBF_GIGE_INT_STATUS); in mlxbf_gige_error_intr() 22 if (int_status & MLXBF_GIGE_INT_STATUS_HW_ACCESS_ERROR) in mlxbf_gige_error_intr() 25 if (int_status & MLXBF_GIGE_INT_STATUS_TX_CHECKSUM_INPUTS) { in mlxbf_gige_error_intr() 34 if (int_status & MLXBF_GIGE_INT_STATUS_TX_SMALL_FRAME_SIZE) { in mlxbf_gige_error_intr() 48 if (int_status & MLXBF_GIGE_INT_STATUS_TX_PI_CI_EXCEED_WQ_SIZE) in mlxbf_gige_error_intr() 51 if (int_status & MLXBF_GIGE_INT_STATUS_SW_CONFIG_ERROR) in mlxbf_gige_error_intr() 54 if (int_status & MLXBF_GIGE_INT_STATUS_SW_ACCESS_ERROR) in mlxbf_gige_error_intr() 58 * all the asserted bits in INT_STATUS. Do not write in mlxbf_gige_error_intr() 63 int_status &= ~MLXBF_GIGE_INT_STATUS_RX_RECEIVE_PACKET; in mlxbf_gige_error_intr() [all …]
|
/Linux-v6.6/arch/mips/loongson2ef/common/ |
D | irq.c | 15 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-v6.6/drivers/net/wwan/t7xx/ |
D | t7xx_mhccif.c | 47 u32 int_status, val; in t7xx_mhccif_isr_thread() local 52 int_status = t7xx_mhccif_read_sw_int_sts(t7xx_dev); in t7xx_mhccif_isr_thread() 53 if (int_status & D2H_SW_INT_MASK) { in t7xx_mhccif_isr_thread() 60 t7xx_mhccif_clear_interrupts(t7xx_dev, int_status); in t7xx_mhccif_isr_thread() 62 if (int_status & D2H_INT_DS_LOCK_ACK) in t7xx_mhccif_isr_thread() 65 if (int_status & D2H_INT_SR_ACK) in t7xx_mhccif_isr_thread() 70 int_status = t7xx_mhccif_read_sw_int_sts(t7xx_dev); in t7xx_mhccif_isr_thread() 71 if (!int_status) { in t7xx_mhccif_isr_thread()
|
/Linux-v6.6/drivers/usb/c67x00/ |
D | c67x00-drv.c | 76 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-v6.6/drivers/mfd/ |
D | mt6397-irq.c | 106 mt6397_irq_handle_reg(mt6397, mt6397->int_status[0], 0); in mt6397_irq_thread() 107 mt6397_irq_handle_reg(mt6397, mt6397->int_status[1], 16); in mt6397_irq_thread() 169 chip->int_status[0] = MT6323_INT_STATUS0; in mt6397_irq_init() 170 chip->int_status[1] = MT6323_INT_STATUS1; in mt6397_irq_init() 175 chip->int_status[0] = MT6331_INT_STATUS_CON0; in mt6397_irq_init() 176 chip->int_status[1] = MT6331_INT_STATUS_CON1; in mt6397_irq_init() 182 chip->int_status[0] = MT6397_INT_STATUS0; in mt6397_irq_init() 183 chip->int_status[1] = MT6397_INT_STATUS1; in mt6397_irq_init()
|
/Linux-v6.6/drivers/i2c/busses/ |
D | i2c-img-scb.c | 634 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 …]
|
D | i2c-hix5hd2.c | 161 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()
|
D | i2c-exynos5.c | 439 * INT_STATUS registers gives the interrupt details. Further, 446 u32 fifo_level, int_status, fifo_status, trans_status; in exynos5_i2c_irq() local 454 int_status = readl(i2c->regs + HSI2C_INT_STATUS); in exynos5_i2c_irq() 455 writel(int_status, i2c->regs + HSI2C_INT_STATUS); in exynos5_i2c_irq() 462 if (int_status & HSI2C_INT_TRANS_DONE) { in exynos5_i2c_irq() 465 } else if (int_status & HSI2C_INT_TRANS_ABORT) { in exynos5_i2c_irq() 469 } else if (int_status & HSI2C_INT_NO_DEV_ACK) { in exynos5_i2c_irq() 473 } else if (int_status & HSI2C_INT_NO_DEV) { in exynos5_i2c_irq() 477 } else if (int_status & HSI2C_INT_TIMEOUT) { in exynos5_i2c_irq() 485 if (!(int_status & HSI2C_INT_I2C)) in exynos5_i2c_irq() [all …]
|
/Linux-v6.6/sound/soc/bcm/ |
D | bcm63xx-pcm-whistler.c | 235 unsigned int availdepth, ifflevel, offlevel, int_status, val_1, val_2; in i2s_dma_isr() local 248 regmap_read(regmap_i2s, I2S_RX_IRQ_CTL, &int_status); in i2s_dma_isr() 250 if (int_status & I2S_RX_DESC_OFF_INTR_EN_MSK) { in i2s_dma_isr() 257 offlevel = (int_status & I2S_RX_DESC_OFF_LEVEL_MASK) >> in i2s_dma_isr() 265 ifflevel = (int_status & I2S_RX_DESC_IFF_LEVEL_MASK) >> in i2s_dma_isr() 296 regmap_read(regmap_i2s, I2S_TX_IRQ_CTL, &int_status); in i2s_dma_isr() 298 if (int_status & I2S_TX_DESC_OFF_INTR_EN_MSK) { in i2s_dma_isr() 305 offlevel = (int_status & I2S_TX_DESC_OFF_LEVEL_MASK) >> in i2s_dma_isr() 314 ifflevel = (int_status & I2S_TX_DESC_IFF_LEVEL_MASK) >> in i2s_dma_isr()
|
/Linux-v6.6/sound/soc/xtensa/ |
D | xtfpga-i2s.c | 178 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 …]
|
/Linux-v6.6/drivers/spi/ |
D | spi-slave-mt27xx.c | 332 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()
|
D | spi-qcom-qspi.c | 253 u32 int_status; in qcom_qspi_handle_err() local 260 int_status = readl(ctrl->base + MSTR_INT_STATUS); in qcom_qspi_handle_err() 261 writel(int_status, ctrl->base + MSTR_INT_STATUS); in qcom_qspi_handle_err() 613 u32 int_status; in qcom_qspi_irq() local 619 int_status = readl(ctrl->base + MSTR_INT_STATUS); in qcom_qspi_irq() 620 writel(int_status, ctrl->base + MSTR_INT_STATUS); in qcom_qspi_irq() 623 int_status &= readl(ctrl->base + MSTR_INT_EN); in qcom_qspi_irq() 627 if (int_status & WR_FIFO_EMPTY) in qcom_qspi_irq() 630 if (int_status & RESP_FIFO_RDY) in qcom_qspi_irq() 634 if (int_status & QSPI_ERR_IRQS) { in qcom_qspi_irq() [all …]
|
/Linux-v6.6/drivers/net/dsa/mv88e6xxx/ |
D | pcs-639x.c | 136 u16 int_status; in mv88e639x_sgmii_handle_irq() local 139 err = mv88e639x_read(mpcs, MV88E6390_SGMII_INT_STATUS, &int_status); in mv88e639x_sgmii_handle_irq() 143 if (int_status & (MV88E6390_SGMII_INT_LINK_DOWN | in mv88e639x_sgmii_handle_irq() 146 int_status & MV88E6390_SGMII_INT_LINK_UP); in mv88e639x_sgmii_handle_irq() 479 u16 int_status; in mv88e6390_xg_handle_irq() local 482 err = mv88e639x_read(mpcs, MV88E6390_10G_INT_STATUS, &int_status); in mv88e6390_xg_handle_irq() 486 if (int_status & (MV88E6390_10G_INT_LINK_DOWN | in mv88e6390_xg_handle_irq() 489 int_status & MV88E6390_10G_INT_LINK_UP); in mv88e6390_xg_handle_irq() 808 u16 int_status, stat1; in mv88e6393x_xg_handle_irq() local 812 err = mv88e639x_read(mpcs, MV88E6393X_10G_INT_STATUS, &int_status); in mv88e6393x_xg_handle_irq() [all …]
|
/Linux-v6.6/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_ring.c | 56 int int_status; in inv_mpu6050_read_fifo() local 62 result = regmap_read(st->map, st->reg->int_status, &int_status); in inv_mpu6050_read_fifo() 68 if (!(int_status & INV_MPU6050_BIT_RAW_DATA_RDY_INT)) in inv_mpu6050_read_fifo()
|
/Linux-v6.6/drivers/media/pci/tw686x/ |
D | tw686x-core.c | 170 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() 176 /* INT_STATUS does not include FIFO_STATUS errors! */ 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-v6.6/drivers/gpu/drm/amd/display/dc/gpio/ |
D | hpd_regs.h | 54 .int_status = REGI(DC_HPD_INT_STATUS, HPD, id),\ 65 uint32_t int_status; member 70 /* int_status */
|
/Linux-v6.6/arch/mips/loongson32/common/ |
D | irq.c | 117 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-v6.6/drivers/mmc/host/ |
D | toshsd.c | 292 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-v6.6/drivers/media/pci/intel/ipu3/ |
D | ipu3-cio2.c | 657 static void cio2_irq_handle_once(struct cio2_device *cio2, u32 int_status) in cio2_irq_handle_once() argument 662 if (int_status & CIO2_INT_IOOE) { in cio2_irq_handle_once() 689 int_status &= ~CIO2_INT_IOOE; in cio2_irq_handle_once() 692 if (int_status & CIO2_INT_IOC_MASK) { in cio2_irq_handle_once() 698 if (int_status & CIO2_INT_IOC(d)) { in cio2_irq_handle_once() 702 int_status &= ~clr; in cio2_irq_handle_once() 705 if (int_status & CIO2_INT_IOS_IOLN_MASK) { in cio2_irq_handle_once() 711 if (int_status & CIO2_INT_IOS_IOLN(d)) { in cio2_irq_handle_once() 717 int_status &= ~clr; in cio2_irq_handle_once() 720 if (int_status & (CIO2_INT_IOIE | CIO2_INT_IOIRQ)) { in cio2_irq_handle_once() [all …]
|
/Linux-v6.6/drivers/extcon/ |
D | extcon-ptn5150.c | 121 unsigned int int_status; in ptn5150_irq_work() local 129 ret = regmap_read(info->regmap, PTN5150_REG_INT_STATUS, &int_status); in ptn5150_irq_work() 136 if (int_status) { in ptn5150_irq_work() 139 cable_attach = int_status & PTN5150_REG_INT_CABLE_ATTACH_MASK; in ptn5150_irq_work() 160 &int_status); in ptn5150_irq_work()
|
/Linux-v6.6/drivers/net/can/ |
D | ti_hecc.c | 592 static int ti_hecc_error(struct net_device *ndev, int int_status, in ti_hecc_error() argument 672 u32 mbxno, mbx_mask, int_status, err_status, stamp; in ti_hecc_interrupt() local 676 int_status = hecc_read(priv, in ti_hecc_interrupt() 680 if (!int_status) in ti_hecc_interrupt() 685 ti_hecc_error(ndev, int_status, err_status); in ti_hecc_interrupt() 687 if (unlikely(int_status & HECC_CANGIM_DEF_MASK)) { in ti_hecc_interrupt() 692 if (int_status & HECC_CANGIF_WLIF) { in ti_hecc_interrupt() 700 if (int_status & HECC_CANGIF_EPIF) { in ti_hecc_interrupt() 708 if (int_status & HECC_CANGIF_BOIF) { in ti_hecc_interrupt() 738 if (int_status & HECC_CANGIF_GMIF) { in ti_hecc_interrupt() [all …]
|
/Linux-v6.6/drivers/acpi/acpica/ |
D | evsci.c | 35 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()
|
/Linux-v6.6/drivers/gpu/drm/fsl-dcu/ |
D | fsl_dcu_drm_drv.c | 65 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-v6.6/drivers/input/touchscreen/ |
D | cyttsp4_core.c | 1096 dev_dbg(dev, "%s int:0x%x\n", __func__, cd->int_status); in cyttsp4_irq() 1164 if (cd->int_status & CY_INT_IGNORE) { in cyttsp4_irq() 1170 if (cd->int_status & CY_INT_AWAKE) { in cyttsp4_irq() 1171 cd->int_status &= ~CY_INT_AWAKE; in cyttsp4_irq() 1178 if ((cd->int_status & CY_INT_MODE_CHANGE) in cyttsp4_irq() 1180 cd->int_status &= ~CY_INT_MODE_CHANGE; in cyttsp4_irq() 1194 cur_mode, cd->int_status); in cyttsp4_irq() 1203 if ((cd->int_status & CY_INT_EXEC_CMD) in cyttsp4_irq() 1205 cd->int_status &= ~CY_INT_EXEC_CMD; in cyttsp4_irq() 1369 cd->int_status &= ~CY_INT_MODE_CHANGE; in cyttsp4_wait_sysinfo_mode() [all …]
|