Home
last modified time | relevance | path

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

1234

/linux/drivers/net/ethernet/samsung/sxgbe/
H A 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 …]
/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
H A Dmlxbf_gige_intr.c16 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()
63 int_status &= ~MLXBF_GIGE_INT_STATUS_RX_RECEIVE_PACKET; in mlxbf_gige_error_intr()
65 writeq(int_status, priv->base + MLXBF_GIGE_INT_STATUS); in mlxbf_gige_error_intr()
/linux/arch/mips/loongson2ef/common/
H 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/mfd/
H A Dmt6397-irq.c111 mt6397_irq_handle_reg(mt6397, mt6397->int_status[0], 0); in mt6397_irq_thread()
112 mt6397_irq_handle_reg(mt6397, mt6397->int_status[1], 16); in mt6397_irq_thread()
113 if (mt6397->int_status[2]) in mt6397_irq_thread()
114 mt6397_irq_handle_reg(mt6397, mt6397->int_status[2], 32); in mt6397_irq_thread()
182 chip->int_status[0] = MT6323_INT_STATUS0; in mt6397_irq_init()
183 chip->int_status[1] = MT6323_INT_STATUS1; in mt6397_irq_init()
189 chip->int_status[0] = MT6328_INT_STATUS0; in mt6397_irq_init()
190 chip->int_status[1] = MT6328_INT_STATUS1; in mt6397_irq_init()
191 chip->int_status[2] = MT6328_INT_STATUS2; in mt6397_irq_init()
196 chip->int_status[0] = MT6331_INT_STATUS_CON0; in mt6397_irq_init()
[all …]
/linux/drivers/net/wwan/t7xx/
H A Dt7xx_mhccif.c47 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/sound/soc/xtensa/
H 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
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/drivers/acpi/acpica/
H 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()
H 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()
H 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/thermal/intel/int340x_thermal/
H A Dprocessor_thermal_power_floor.c92 u64 int_status; in proc_thermal_check_power_floor_intr() local
94 int_status = readq(proc_priv->mmio_base + SOC_WT_RES_INT_STATUS_OFFSET); in proc_thermal_check_power_floor_intr()
95 return !!(int_status & SOC_POWER_FLOOR_INT_ACTIVE); in proc_thermal_check_power_floor_intr()
H A Dprocessor_thermal_wt_hint.c199 u64 int_status; in proc_thermal_check_wt_intr() local
201 int_status = readq(proc_priv->mmio_base + SOC_WT_RES_INT_STATUS_OFFSET); in proc_thermal_check_wt_intr()
202 if (int_status & SOC_WT_PREDICTION_INT_ACTIVE) in proc_thermal_check_wt_intr()
/linux/drivers/spi/
H 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()
H A Dspi-davinci.c460 static int davinci_spi_check_error(struct davinci_spi *dspi, int int_status) in davinci_spi_check_error() argument
464 if (int_status & SPIFLG_TIMEOUT_MASK) { in davinci_spi_check_error()
468 if (int_status & SPIFLG_DESYNC_MASK) { in davinci_spi_check_error()
472 if (int_status & SPIFLG_BITERR_MASK) { in davinci_spi_check_error()
478 if (int_status & SPIFLG_DLEN_ERR_MASK) { in davinci_spi_check_error()
482 if (int_status & SPIFLG_PARERR_MASK) { in davinci_spi_check_error()
486 if (int_status & SPIFLG_OVRRUN_MASK) { in davinci_spi_check_error()
490 if (int_status & SPIFLG_BUF_INIT_ACTIVE_MASK) { in davinci_spi_check_error()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dpcs-639x.c136 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()
480 u16 int_status; in mv88e6390_xg_handle_irq() local
483 err = mv88e639x_read(mpcs, MV88E6390_10G_INT_STATUS, &int_status); in mv88e6390_xg_handle_irq()
487 if (int_status & (MV88E6390_10G_INT_LINK_DOWN | in mv88e6390_xg_handle_irq()
490 int_status & MV88E6390_10G_INT_LINK_UP); in mv88e6390_xg_handle_irq()
809 u16 int_status, stat1; in mv88e6393x_xg_handle_irq() local
813 err = mv88e639x_read(mpcs, MV88E6393X_10G_INT_STATUS, &int_status); in mv88e6393x_xg_handle_irq()
[all …]
/linux/arch/mips/loongson32/common/
H 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/tw686x/
H 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/
H 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/drivers/extcon/
H A Dextcon-ptn5150.c121 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/drivers/media/pci/intel/ipu3/
H A Dipu3-cio2.c658 static void cio2_irq_handle_once(struct cio2_device *cio2, u32 int_status) in cio2_irq_handle_once() argument
663 if (int_status & CIO2_INT_IOOE) { in cio2_irq_handle_once()
690 int_status &= ~CIO2_INT_IOOE; in cio2_irq_handle_once()
693 if (int_status & CIO2_INT_IOC_MASK) { in cio2_irq_handle_once()
699 if (int_status & CIO2_INT_IOC(d)) { in cio2_irq_handle_once()
703 int_status &= ~clr; in cio2_irq_handle_once()
706 if (int_status & CIO2_INT_IOS_IOLN_MASK) { in cio2_irq_handle_once()
712 if (int_status & CIO2_INT_IOS_IOLN(d)) { in cio2_irq_handle_once()
718 int_status &= ~clr; in cio2_irq_handle_once()
721 if (int_status & (CIO2_INT_IOIE | CIO2_INT_IOIRQ)) { in cio2_irq_handle_once()
[all …]
/linux/drivers/net/can/
H A Dti_hecc.c592 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/drivers/gpu/drm/amd/display/dc/gpio/
H A Dhpd_regs.h54 .int_status = REGI(DC_HPD_INT_STATUS, HPD, id),\
65 uint32_t int_status; member
/linux/drivers/gpu/drm/fsl-dcu/
H A Dfsl_dcu_drm_drv.c66 unsigned int int_status; in fsl_dcu_drm_irq() local
69 ret = regmap_read(fsl_dev->regmap, DCU_INT_STATUS, &int_status); in fsl_dcu_drm_irq()
75 if (int_status & DCU_INT_STATUS_VBLANK) in fsl_dcu_drm_irq()
78 regmap_write(fsl_dev->regmap, DCU_INT_STATUS, int_status); in fsl_dcu_drm_irq()
/linux/sound/soc/codecs/
H A Dcs35l41-lib.c1222 unsigned int gpio1_func, pad_control, pwr_ctrl1, pwr_ctrl3, int_status, pup_pdn_mask; in cs35l41_global_enable() local
1270 int_status, int_status & pup_pdn_mask, in cs35l41_global_enable()
1287 int_status, int_status & pup_pdn_mask, in cs35l41_global_enable()
1304 ret = regmap_read_poll_timeout(regmap, CS35L41_IRQ1_STATUS1, int_status, in cs35l41_global_enable()
1305 int_status & CS35L41_PUP_DONE_MASK, 1000, 100000); in cs35l41_global_enable()
1333 ret = regmap_read_poll_timeout(regmap, CS35L41_IRQ1_STATUS1, int_status, in cs35l41_global_enable()
1334 int_status & CS35L41_PDN_DONE_MASK, 1000, 100000); in cs35l41_global_enable()
/linux/drivers/net/ethernet/dlink/
H A Ddl2k.c70 static void rio_error (struct net_device *dev, int int_status);
777 unsigned int_status; in rio_interrupt() local
782 int_status = dr16(IntStatus); in rio_interrupt()
783 dw16(IntStatus, int_status); in rio_interrupt()
784 int_status &= DEFAULT_INTR; in rio_interrupt()
785 if (int_status == 0 || --cnt < 0) in rio_interrupt()
789 if (int_status & RxDMAComplete) in rio_interrupt()
792 if ((int_status & (TxDMAComplete|IntRequested))) { in rio_interrupt()
802 if (int_status & in rio_interrupt()
804 rio_error (dev, int_status); in rio_interrupt()
[all …]
/linux/drivers/bluetooth/
H A Dbtmtksdio.c550 u32 int_status, rx_size; in btmtksdio_txrx_work() local
564 int_status = sdio_readl(bdev->func, MTK_REG_CHISR, NULL); in btmtksdio_txrx_work()
575 sdio_writel(bdev->func, int_status, MTK_REG_CHISR, NULL); in btmtksdio_txrx_work()
576 int_status &= INT_MASK; in btmtksdio_txrx_work()
578 if ((int_status & FW_MAILBOX_INT) && in btmtksdio_txrx_work()
584 if (int_status & FW_OWN_BACK_INT) in btmtksdio_txrx_work()
587 if (int_status & TX_EMPTY) in btmtksdio_txrx_work()
590 else if (unlikely(int_status & TX_FIFO_OVERFLOW)) in btmtksdio_txrx_work()
604 if (int_status & RX_DONE_INT) { in btmtksdio_txrx_work()
610 } while (int_status || time_is_before_jiffies(txrx_timeout)); in btmtksdio_txrx_work()

1234