Home
last modified time | relevance | path

Searched refs:ien (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/drivers/gpio/
A Dgpio-ml-ioh.c23 u32 ien; member
197 &chip->reg->regs[chip->ch].ien); in ioh_gpio_restore_reg_conf()
237 u32 ien; in ioh_irq_type() local
294 ien = ioread32(&chip->reg->regs[chip->ch].ien); in ioh_irq_type()
295 iowrite32(ien | BIT(ch), &chip->reg->regs[chip->ch].ien); in ioh_irq_type()
325 u32 ien; in ioh_irq_disable() local
328 ien = ioread32(&chip->reg->regs[chip->ch].ien); in ioh_irq_disable()
330 iowrite32(ien, &chip->reg->regs[chip->ch].ien); in ioh_irq_disable()
339 u32 ien; in ioh_irq_enable() local
342 ien = ioread32(&chip->reg->regs[chip->ch].ien); in ioh_irq_enable()
[all …]
A Dgpio-pch.c24 u32 ien; member
175 chip->pch_gpio_reg.ien_reg = ioread32(&chip->reg->ien); in pch_gpio_save_reg_conf()
191 iowrite32(chip->pch_gpio_reg.ien_reg, &chip->reg->ien); in pch_gpio_restore_reg_conf()
394 iowrite32(BIT(gpio_pins[chip->ioh]) - 1, &chip->reg->ien); in pch_gpio_probe()
/linux-6.3-rc2/arch/arm/kernel/
A Dperf_event_xscale.c552 unsigned long flags, ien, evtsel; in xscale2pmu_enable_event() local
563 ien |= XSCALE2_CCOUNT_INT_EN; in xscale2pmu_enable_event()
566 ien |= XSCALE2_COUNT0_INT_EN; in xscale2pmu_enable_event()
571 ien |= XSCALE2_COUNT1_INT_EN; in xscale2pmu_enable_event()
576 ien |= XSCALE2_COUNT2_INT_EN; in xscale2pmu_enable_event()
581 ien |= XSCALE2_COUNT3_INT_EN; in xscale2pmu_enable_event()
609 ien &= ~XSCALE2_CCOUNT_INT_EN; in xscale2pmu_disable_event()
613 ien &= ~XSCALE2_COUNT0_INT_EN; in xscale2pmu_disable_event()
619 ien &= ~XSCALE2_COUNT1_INT_EN; in xscale2pmu_disable_event()
625 ien &= ~XSCALE2_COUNT2_INT_EN; in xscale2pmu_disable_event()
[all …]
/linux-6.3-rc2/drivers/usb/cdns3/
A Ddrd.h25 __le32 ien; member
46 __le32 ien; member
68 __le32 ien; member
98 __le32 ien; member
A Ddrd.c159 writel(0, &cdns->otg_irq_regs->ien); in cdns_otg_disable_irq()
169 OTGIEN_VBUSVALID_FALL_INT, &cdns->otg_irq_regs->ien); in cdns_otg_enable_irq()
410 &cdns->otg_v0_regs->ien; in cdns_drd_init()
423 &cdns->otg_cdnsp_regs->ien; in cdns_drd_init()
427 &cdns->otg_v1_regs->ien; in cdns_drd_init()
/linux-6.3-rc2/drivers/tty/serial/
A Dsprd_serial.c178 unsigned int ien, iclr; in sprd_stop_rx() local
184 ien = serial_in(port, SPRD_IEN); in sprd_stop_rx()
189 serial_out(port, SPRD_IEN, ien); in sprd_stop_rx()
519 unsigned int ien, iclr; in sprd_stop_tx() local
527 ien = serial_in(port, SPRD_IEN); in sprd_stop_tx()
530 ien &= ~SPRD_IEN_TX_EMPTY; in sprd_stop_tx()
532 serial_out(port, SPRD_IEN, ien); in sprd_stop_tx()
540 unsigned int ien; in sprd_start_tx() local
549 ien |= SPRD_IEN_TX_EMPTY; in sprd_start_tx()
689 unsigned int ien, fc; in sprd_startup() local
[all …]
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-st.c533 u32 ien; in st_i2c_handle_read() local
551 ien = SSC_IEN_NACKEN | SSC_IEN_ARBLEN; in st_i2c_handle_read()
552 writel_relaxed(ien, i2c_dev->base + SSC_IEN); in st_i2c_handle_read()
569 u32 sta, ien; in st_i2c_isr_thread() local
572 ien = readl_relaxed(i2c_dev->base + SSC_IEN); in st_i2c_isr_thread()
576 it = __fls(sta & ien); in st_i2c_isr_thread()
579 sta, ien); in st_i2c_isr_thread()
A Di2c-stm32f4.c561 u32 status, ien, event, cr2; in stm32f4_i2c_isr_event() local
564 ien = cr2 & STM32F4_I2C_CR2_IRQ_MASK; in stm32f4_i2c_isr_event()
567 if (ien & STM32F4_I2C_CR2_ITBUFEN) in stm32f4_i2c_isr_event()
575 status, ien); in stm32f4_i2c_isr_event()
/linux-6.3-rc2/drivers/mtd/nand/raw/
A Drockchip-nand-controller.c883 u32 sta, ien; in rk_nfc_irq() local
886 ien = readl_relaxed(nfc->regs + nfc->cfg->int_en_off); in rk_nfc_irq()
888 if (!(sta & ien)) in rk_nfc_irq()
892 writel(~sta & ien, nfc->regs + nfc->cfg->int_en_off); in rk_nfc_irq()
A Dsunxi_nand.c265 u32 ien = readl(nfc->regs + NFC_REG_INT); in sunxi_nfc_interrupt() local
267 if (!(ien & st)) in sunxi_nfc_interrupt()
270 if ((ien & st) == ien) in sunxi_nfc_interrupt()
274 writel(~st & ien & NFC_INT_MASK, nfc->regs + NFC_REG_INT); in sunxi_nfc_interrupt()
A Dmtk_nand.c1108 u16 sta, ien; in mtk_nfc_irq() local
1111 ien = nfi_readw(nfc, NFI_INTR_EN); in mtk_nfc_irq()
1113 if (!(sta & ien)) in mtk_nfc_irq()
1116 nfi_writew(nfc, ~sta & ien, NFI_INTR_EN); in mtk_nfc_irq()
A Dmarvell_nand.c795 u32 ien = (~readl_relaxed(nfc->regs + NDCR)) & NDCR_ALL_INT; in marvell_nfc_isr() local
804 if (!(st & ien)) in marvell_nfc_isr()
/linux-6.3-rc2/drivers/dma/
A Dstm32-mdma.c1390 u32 reg, id, ccr, ien, status; in stm32_mdma_irq_handler() local
1407 ien = (ccr & STM32_MDMA_CCR_IRQ_MASK) >> 1; in stm32_mdma_irq_handler()
1409 if (!(status & ien)) { in stm32_mdma_irq_handler()
1413 "spurious it (status=0x%04x, ien=0x%04x)\n", status, ien); in stm32_mdma_irq_handler()
1416 "spurious it (status=0x%04x, ien=0x%04x)\n", status, ien); in stm32_mdma_irq_handler()
/linux-6.3-rc2/drivers/video/fbdev/matrox/
A Dmatroxfb_base.c246 u_int32_t ien; in matroxfb_enable_irq() local
248 ien = mga_inl(M_IEN); in matroxfb_enable_irq()
249 if ((ien & bm) != bm) { in matroxfb_enable_irq()
250 printk(KERN_DEBUG "matroxfb: someone disabled IRQ [%08X]\n", ien); in matroxfb_enable_irq()
251 mga_outl(M_IEN, ien | bm); in matroxfb_enable_irq()
/linux-6.3-rc2/drivers/spi/
A Dspi-mtk-snfi.c1312 u32 sta, ien; in mtk_snand_irq() local
1315 ien = nfi_read32(snf, NFI_INTR_EN); in mtk_snand_irq()
1317 if (!(sta & ien)) in mtk_snand_irq()

Completed in 60 milliseconds