Home
last modified time | relevance | path

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

123456

/openbmc/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()
/openbmc/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()
/openbmc/u-boot/board/gdsys/common/
H A Dmclink.c63 u16 int_status; in mclink_send() local
68 FPGA_GET_REG(0, mc_int, &int_status); in mclink_send()
69 FPGA_SET_REG(0, mc_int, int_status); in mclink_send()
78 FPGA_GET_REG(0, mc_int, &int_status); in mclink_send()
79 while (!(int_status & MCINT_RX_PACKET_RECEIVED_EV)) { in mclink_send()
83 FPGA_GET_REG(0, mc_int, &int_status); in mclink_send()
99 u16 int_status; in mclink_receive() local
110 FPGA_GET_REG(0, mc_int, &int_status); in mclink_receive()
111 while (!(int_status & MCINT_RX_CONTENT_AVAILABLE)) { in mclink_receive()
115 FPGA_GET_REG(0, mc_int, &int_status); in mclink_receive()
/openbmc/linux/drivers/net/ethernet/samsung/sxgbe/
H 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 …]
/openbmc/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()
/openbmc/linux/drivers/usb/c67x00/
H 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()
/openbmc/u-boot/drivers/i2c/
H A Di2c-cdns.c88 int int_status; in cdns_i2c_debug_status() local
93 if (int_status || status) { in cdns_i2c_debug_status()
95 if (int_status & CDNS_I2C_INTERRUPT_COMP) in cdns_i2c_debug_status()
97 if (int_status & CDNS_I2C_INTERRUPT_DATA) in cdns_i2c_debug_status()
99 if (int_status & CDNS_I2C_INTERRUPT_NACK) in cdns_i2c_debug_status()
101 if (int_status & CDNS_I2C_INTERRUPT_TO) in cdns_i2c_debug_status()
105 if (int_status & CDNS_I2C_INTERRUPT_RXOVF) in cdns_i2c_debug_status()
107 if (int_status & CDNS_I2C_INTERRUPT_TXOVF) in cdns_i2c_debug_status()
143 int timeout, int_status; in cdns_i2c_wait() local
147 if (int_status & mask) in cdns_i2c_wait()
[all …]
H A Dtegra_i2c.c211 int int_status; in wait_for_transfer_complete() local
215 int_status = readl(&control->int_status); in wait_for_transfer_complete()
216 if (int_status & I2C_INT_NO_ACK_MASK) in wait_for_transfer_complete()
217 return -int_status; in wait_for_transfer_complete()
218 if (int_status & I2C_INT_ARBITRATION_LOST_MASK) in wait_for_transfer_complete()
219 return -int_status; in wait_for_transfer_complete()
220 if (int_status & I2C_INT_XFER_COMPLETE_MASK) in wait_for_transfer_complete()
234 u32 int_status; in send_recv_packets() local
243 int_status = readl(&control->int_status); in send_recv_packets()
244 writel(int_status, &control->int_status); in send_recv_packets()
/openbmc/linux/drivers/mfd/
H A Dmt6397-irq.c106 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()
/openbmc/linux/drivers/i2c/busses/
H 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 …]
H 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()
/openbmc/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()
/openbmc/qemu/hw/audio/
H A Dasc.c134 fs->int_status |= ASC_FIFO_STATUS_HALF_FULL; in asc_fifo_get()
137 fs->int_status &= ~ASC_FIFO_STATUS_HALF_FULL; in asc_fifo_get()
147 fs->int_status |= ASC_FIFO_STATUS_FULL_EMPTY; in asc_fifo_get()
390 fs->int_status |= ASC_FIFO_STATUS_HALF_FULL; in asc_fifo_write()
393 fs->int_status &= ~ASC_FIFO_STATUS_HALF_FULL; in asc_fifo_write()
443 prev = (s->fifos[0].int_status & 0x3) | in asc_read()
444 (s->fifos[1].int_status & 0x3) << 2; in asc_read()
446 s->fifos[0].int_status = 0; in asc_read()
447 s->fifos[1].int_status = 0; in asc_read()
560 VMSTATE_UINT8(int_status, ASCFIFOState),
[all …]
/openbmc/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
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 …]
/openbmc/linux/sound/soc/bcm/
H A Dbcm63xx-pcm-whistler.c235 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()
/openbmc/linux/drivers/iio/imu/inv_mpu6050/
H A Dinv_mpu_ring.c56 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()
/openbmc/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-qcom-qspi.c253 u32 int_status; in qcom_qspi_handle_err() local
260 int_status = readl(ctrl->base + MSTR_INT_STATUS); in qcom_qspi_handle_err()
613 u32 int_status; in qcom_qspi_irq() local
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()
635 if (int_status & RESP_FIFO_UNDERRUN) in qcom_qspi_irq()
637 if (int_status & WR_FIFO_OVERRUN) in qcom_qspi_irq()
639 if (int_status & HRESP_FROM_NOC_ERR) in qcom_qspi_irq()
[all …]
/openbmc/qemu/tests/qtest/
H A Dxlnx-can-test.c91 uint32_t int_status; in read_data() local
94 int_status = qtest_readl(qts, can_base_addr + R_ISR_OFFSET) & ISR_RXOK; in read_data()
96 g_assert_cmpint(int_status, ==, ISR_RXOK); in read_data()
111 uint32_t int_status; in send_data() local
120 int_status = qtest_readl(qts, can_base_addr + R_ISR_OFFSET) & ISR_TXOK; in send_data()
122 g_assert_cmpint(int_status, ==, ISR_TXOK); in send_data()
H A Dxlnx-canfd-test.c186 uint32_t int_status; in read_data() local
192 int_status = qtest_readl(qts, can_base_addr + R_ISR_OFFSET) & ISR_RXOK; in read_data()
194 g_assert_cmpint(int_status, ==, ISR_RXOK); in read_data()
239 uint32_t int_status; in send_data() local
245 int_status = qtest_readl(qts, can_base_addr + R_ISR_OFFSET) & ISR_TXOK; in send_data()
247 g_assert_cmpint(int_status, ==, ISR_TXOK); in send_data()
/openbmc/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()
/openbmc/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()
/openbmc/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 …]

123456