/openbmc/linux/drivers/mfd/ |
H A D | rc5t583-irq.c | 241 uint8_t int_sts[RC5T583_MAX_INTERRUPT_MASK_REGS]; in rc5t583_irq() local 249 int_sts[i] = 0; in rc5t583_irq() 263 ret = rc5t583_read(rc5t583->dev, irq_mon_add[i], &int_sts[i]); in rc5t583_irq() 268 int_sts[i] = 0; in rc5t583_irq() 274 if (int_sts[i] & 0x1) in rc5t583_irq() 276 if (int_sts[i] & 0x2) in rc5t583_irq() 278 if (int_sts[i] & 0x4) in rc5t583_irq() 280 if (int_sts[i] & 0x8) in rc5t583_irq() 285 ~int_sts[i]); in rc5t583_irq() 292 int_sts[i] = rtc_int_sts; in rc5t583_irq() [all …]
|
H A D | twl6030-irq.c | 165 __le32 int_sts; in twl6030_irq_thread() member 167 u32 int_sts; /* sts.int_sts converted to CPU endianness */ in twl6030_irq_thread() local 186 int_sts = le32_to_cpu(sts.int_sts); in twl6030_irq_thread() 187 for (i = 0; int_sts; int_sts >>= 1, i++) in twl6030_irq_thread() 188 if (int_sts & 0x1) { in twl6030_irq_thread()
|
/openbmc/u-boot/drivers/fpga/ |
H A D | zynqpl.c | 164 isr_status = readl(&devcfg_base->int_sts); in zynq_dma_transfer() 184 isr_status = readl(&devcfg_base->int_sts); in zynq_dma_transfer() 190 writel(DEVCFG_ISR_DMA_DONE, &devcfg_base->int_sts); in zynq_dma_transfer() 252 isr_status = readl(&devcfg_base->int_sts); in zynq_dma_xfer_init() 255 writel(0xFFFFFFFF, &devcfg_base->int_sts); in zynq_dma_xfer_init() 263 writel(0xFFFFFFFF, &devcfg_base->int_sts); in zynq_dma_xfer_init() 280 if (!(readl(&devcfg_base->int_sts) & DEVCFG_ISR_DMA_DONE)) { in zynq_dma_xfer_init() 286 writel(DEVCFG_ISR_DMA_DONE, &devcfg_base->int_sts); in zynq_dma_xfer_init() 394 isr_status = readl(&devcfg_base->int_sts); in zynq_load() 403 isr_status = readl(&devcfg_base->int_sts); in zynq_load() [all …]
|
/openbmc/qemu/hw/net/ |
H A D | lan9118.c | 207 uint32_t int_sts; member 282 VMSTATE_UINT32(int_sts, lan9118_state), 349 level = (s->int_sts & s->int_en) != 0; in lan9118_update() 391 s->int_sts |= PHY_INT; in phy_update_irq() 393 s->int_sts &= ~PHY_INT; in phy_update_irq() 432 s->int_sts = 0; in lan9118_reset() 618 s->int_sts |= RSFL_INT; in lan9118_receive() 668 s->int_sts |= RXE_INT; in rx_fifo_pop() 705 s->int_sts |= TSFL_INT; in do_tx_packet() 708 s->int_sts |= TSFF_INT; in do_tx_packet() [all …]
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | nspire-keypad.c | 57 u32 int_sts; in nspire_keypad_irq() local 61 int_sts = readl(keypad->reg_base + KEYPAD_INT) & keypad->int_mask; in nspire_keypad_irq() 62 if (!int_sts) in nspire_keypad_irq()
|
/openbmc/linux/drivers/net/ethernet/microchip/ |
H A D | lan743x_main.c | 218 static void lan743x_tx_isr(void *context, u32 int_sts, u32 flags) in lan743x_tx_isr() argument 230 if (int_sts & INT_BIT_DMA_TX_(tx->channel_number)) { in lan743x_tx_isr() 259 static void lan743x_rx_isr(void *context, u32 int_sts, u32 flags) in lan743x_rx_isr() argument 270 if (int_sts & INT_BIT_DMA_RX_(rx->channel_number)) { in lan743x_rx_isr() 300 static void lan743x_intr_shared_isr(void *context, u32 int_sts, u32 flags) in lan743x_intr_shared_isr() argument 305 if (int_sts & INT_BIT_ALL_RX_) { in lan743x_intr_shared_isr() 310 if (int_sts & int_bit) { in lan743x_intr_shared_isr() 313 int_sts &= ~int_bit; in lan743x_intr_shared_isr() 317 if (int_sts & INT_BIT_ALL_TX_) { in lan743x_intr_shared_isr() 322 if (int_sts & int_bit) { in lan743x_intr_shared_isr() [all …]
|
H A D | lan743x_main.h | 894 typedef void(*lan743x_vector_handler)(void *context, u32 int_sts, u32 flags);
|
/openbmc/linux/drivers/pci/controller/dwc/ |
H A D | pcie-spear13xx.c | 38 u32 int_sts; /* cr6 */ member 91 status = readl(&app_reg->int_sts); in spear13xx_pcie_irq_handler()
|
/openbmc/u-boot/arch/arm/mach-zynq/include/mach/ |
H A D | hardware.h | 96 u32 int_sts; /* 0xc */ member
|
/openbmc/qemu/tests/qtest/ |
H A D | test-arm-mptimer.c | 73 uint32_t int_sts = readl(TIMER_BASE_PHYS + TIMER_INTSTAT); in timer_get_and_clr_int_sts() local 75 if (int_sts) { in timer_get_and_clr_int_sts() 79 return int_sts; in timer_get_and_clr_int_sts()
|
/openbmc/qemu/hw/audio/ |
H A D | intel-hda.c | 154 uint32_t int_sts; member 257 d->int_sts = sts; in intel_hda_update_int_sts() 266 if (d->int_sts & (1U << 31) && d->int_ctl & (1U << 31)) { in intel_hda_update_irq() 671 .offset = offsetof(IntelHDAState, int_sts), 1185 VMSTATE_UINT32(int_sts, IntelHDAState),
|
/openbmc/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_int.c | 467 u32 int_sts, first_drop_reason, details, address, all_drops_reason; in qed_dorq_attn_int_sts() local 470 int_sts = qed_rd(p_hwfn, p_ptt, DORQ_REG_INT_STS); in qed_dorq_attn_int_sts() 471 if (int_sts == 0xdeadbeaf) { in qed_dorq_attn_int_sts() 483 if (!(int_sts & ~DORQ_REG_INT_STS_DORQ_FIFO_AFULL)) in qed_dorq_attn_int_sts() 486 DP_NOTICE(p_hwfn->cdev, "DORQ attention. int_sts was %x\n", int_sts); in qed_dorq_attn_int_sts() 489 if (int_sts & (DORQ_REG_INT_STS_DB_DROP | in qed_dorq_attn_int_sts() 527 if ((int_sts & ~(DORQ_REG_INT_STS_DB_DROP | in qed_dorq_attn_int_sts()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-zynq.c | 653 u32 int_sts, int_enb; in zynq_gpio_irqhandler() local 662 int_sts = readl_relaxed(gpio->base_addr + in zynq_gpio_irqhandler() 666 zynq_gpio_handle_bank_irq(gpio, bank_num, int_sts & ~int_enb); in zynq_gpio_irqhandler()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | renesas_usbf.c | 2914 u32 int_sts; in usbf_epc_irq() local 2921 int_sts = usbf_reg_readl(udc, USBF_REG_USB_INT_STA) & int_en; in usbf_epc_irq() 2922 usbf_reg_writel(udc, USBF_REG_USB_INT_STA, ~int_sts); in usbf_epc_irq() 2924 dev_dbg(udc->dev, "int_sts=0x%08x\n", int_sts); in usbf_epc_irq() 2926 if (int_sts & USBF_USB_RSUM_INT) { in usbf_epc_irq() 2931 if (int_sts & USBF_USB_USB_RST_INT) { in usbf_epc_irq() 2937 if (int_sts & USBF_USB_SPEED_MODE_INT) { in usbf_epc_irq() 2946 if (int_sts & USBF_USB_EPN_INT(0)) { in usbf_epc_irq() 2954 if (int_sts & USBF_USB_EPN_INT(i)) { in usbf_epc_irq() 2960 if (int_sts & USBF_USB_SPND_INT) { in usbf_epc_irq()
|
/openbmc/linux/sound/pci/hda/ |
H A D | cs35l41_hda.c | 1553 unsigned int int_sts, regid, reg_revid, mtl_revid, chipid, int_status; in cs35l41_hda_probe() local 1600 ret = regmap_read(cs35l41->regmap, CS35L41_IRQ1_STATUS3, &int_sts); in cs35l41_hda_probe() 1601 if (ret || (int_sts & CS35L41_OTP_BOOT_ERR)) { in cs35l41_hda_probe() 1603 int_sts & CS35L41_OTP_BOOT_ERR, ret); in cs35l41_hda_probe()
|
/openbmc/linux/drivers/net/ethernet/smsc/ |
H A D | smsc9420.c | 594 u32 int_cfg, int_sts, int_ctl; in smsc9420_isr() local 608 int_sts = smsc9420_reg_read(pd, INT_STAT); in smsc9420_isr() 610 if (likely(INT_STAT_DMAC_INT_ & int_sts)) { in smsc9420_isr() 636 if (unlikely(INT_STAT_SW_INT_ & int_sts)) { in smsc9420_isr()
|
/openbmc/linux/drivers/soc/mediatek/ |
H A D | mtk-svs.c | 1253 u32 idx, int_sts, svs_en; in svs_isr() local 1269 int_sts = svs_readl_relaxed(svsp, INTSTS); in svs_isr() 1272 if (int_sts == SVSB_INTSTS_F0_COMPLETE && in svs_isr() 1275 else if (int_sts == SVSB_INTSTS_F0_COMPLETE && in svs_isr() 1278 else if (int_sts & SVSB_INTSTS_FLD_MONVOP) in svs_isr()
|
/openbmc/linux/drivers/video/backlight/ |
H A D | qcom-wled.c | 839 u32 int_sts, fault_sts; in wled_ovp_irq_handler() local 842 wled->ctrl_addr + WLED3_CTRL_REG_INT_RT_STS, &int_sts); in wled_ovp_irq_handler() 860 int_sts, fault_sts); in wled_ovp_irq_handler()
|
/openbmc/linux/drivers/media/i2c/ |
H A D | ds90ub960.c | 3117 u8 int_sts; in ub960_handle_events() local 3121 ret = ub960_read(priv, UB960_SR_INTERRUPT_STS, &int_sts); in ub960_handle_events() 3122 if (ret || !int_sts) in ub960_handle_events() 3125 dev_dbg(&priv->client->dev, "INTERRUPT_STS %x\n", int_sts); in ub960_handle_events() 3134 if (int_sts & UB960_SR_INTERRUPT_STS_IS_CSI_TX(i)) in ub960_handle_events() 3142 if (int_sts & UB960_SR_INTERRUPT_STS_IS_RX(i)) in ub960_handle_events()
|