Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpio/
Dgpio-ml-ioh.c23 u32 ien; member
171 ioread32(&chip->reg->regs[chip->ch].ien); in ioh_gpio_save_reg_conf()
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()
329 ien &= ~BIT(d->irq - chip->irq_base); in ioh_irq_disable()
330 iowrite32(ien, &chip->reg->regs[chip->ch].ien); in ioh_irq_disable()
[all …]
Dgpio-pch.c24 u32 ien; member
174 chip->pch_gpio_reg.ien_reg = ioread32(&chip->reg->ien); in pch_gpio_save_reg_conf()
190 iowrite32(chip->pch_gpio_reg.ien_reg, &chip->reg->ien); in pch_gpio_restore_reg_conf()
393 iowrite32(BIT(gpio_pins[chip->ioh]) - 1, &chip->reg->ien); in pch_gpio_probe()
/linux-6.12.1/drivers/perf/
Darm_xscale_pmu.c539 unsigned long ien, evtsel; in xscale2pmu_enable_event() local
543 ien = xscale2pmu_read_int_enable(); in xscale2pmu_enable_event()
548 ien |= XSCALE2_CCOUNT_INT_EN; in xscale2pmu_enable_event()
551 ien |= XSCALE2_COUNT0_INT_EN; in xscale2pmu_enable_event()
556 ien |= XSCALE2_COUNT1_INT_EN; in xscale2pmu_enable_event()
561 ien |= XSCALE2_COUNT2_INT_EN; in xscale2pmu_enable_event()
566 ien |= XSCALE2_COUNT3_INT_EN; in xscale2pmu_enable_event()
576 xscale2pmu_write_int_enable(ien); in xscale2pmu_enable_event()
581 unsigned long ien, evtsel, of_flags; in xscale2pmu_disable_event() local
585 ien = xscale2pmu_read_int_enable(); in xscale2pmu_disable_event()
[all …]
/linux-6.12.1/drivers/usb/cdns3/
Ddrd.h25 __le32 ien; member
46 __le32 ien; member
68 __le32 ien; member
102 __le32 ien; member
Ddrd.c160 writel(0, &cdns->otg_irq_regs->ien); in cdns_otg_disable_irq()
170 OTGIEN_VBUSVALID_FALL_INT, &cdns->otg_irq_regs->ien); in cdns_otg_enable_irq()
415 &cdns->otg_v0_regs->ien; in cdns_drd_init()
430 &cdns->otg_cdnsp_regs->ien; in cdns_drd_init()
434 &cdns->otg_v1_regs->ien; in cdns_drd_init()
/linux-6.12.1/drivers/tty/serial/
Dsprd_serial.c178 unsigned int ien, iclr; in sprd_stop_rx() local
184 ien = serial_in(port, SPRD_IEN); in sprd_stop_rx()
186 ien &= ~(SPRD_IEN_RX_FULL | SPRD_IEN_BREAK_DETECT); 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
547 ien = serial_in(port, SPRD_IEN); in sprd_start_tx()
[all …]
/linux-6.12.1/drivers/i2c/busses/
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()
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.12.1/drivers/pinctrl/renesas/
Dpinctrl-rzg2l.c326 u32 *ien[2]; member
2537 cache->ien[i] = devm_kcalloc(pctrl->dev, nports, sizeof(*cache->ien[i]), in rzg2l_pinctrl_reg_cache_alloc()
2539 if (!cache->ien[i]) in rzg2l_pinctrl_reg_cache_alloc()
2549 dedicated_cache->ien[i] = devm_kcalloc(pctrl->dev, n_dedicated_pins, in rzg2l_pinctrl_reg_cache_alloc()
2550 sizeof(*dedicated_cache->ien[i]), in rzg2l_pinctrl_reg_cache_alloc()
2552 if (!dedicated_cache->ien[i]) in rzg2l_pinctrl_reg_cache_alloc()
2815 cache->ien[0][port]); in rzg2l_pinctrl_pm_setup_regs()
2818 cache->ien[1][port]); in rzg2l_pinctrl_pm_setup_regs()
2864 cache->ien[0][i]); in rzg2l_pinctrl_pm_setup_dedicated_regs()
2876 cache->ien[1][i]); in rzg2l_pinctrl_pm_setup_dedicated_regs()
/linux-6.12.1/drivers/mtd/nand/raw/
Drockchip-nand-controller.c891 u32 sta, ien; in rk_nfc_irq() local
894 ien = readl_relaxed(nfc->regs + nfc->cfg->int_en_off); in rk_nfc_irq()
896 if (!(sta & ien)) in rk_nfc_irq()
900 writel(~sta & ien, nfc->regs + nfc->cfg->int_en_off); in rk_nfc_irq()
Dsunxi_nand.c264 u32 ien = readl(nfc->regs + NFC_REG_INT); in sunxi_nfc_interrupt() local
266 if (!(ien & st)) in sunxi_nfc_interrupt()
269 if ((ien & st) == ien) in sunxi_nfc_interrupt()
273 writel(~st & ien & NFC_INT_MASK, nfc->regs + NFC_REG_INT); in sunxi_nfc_interrupt()
Dmtk_nand.c1107 u16 sta, ien; in mtk_nfc_irq() local
1110 ien = nfi_readw(nfc, NFI_INTR_EN); in mtk_nfc_irq()
1112 if (!(sta & ien)) in mtk_nfc_irq()
1115 nfi_writew(nfc, ~sta & ien, NFI_INTR_EN); in mtk_nfc_irq()
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.12.1/drivers/dma/stm32/
Dstm32-mdma.c1403 u32 reg, id, ccr, ien, status; in stm32_mdma_irq_handler() local
1420 ien = (ccr & STM32_MDMA_CCR_IRQ_MASK) >> 1; in stm32_mdma_irq_handler()
1422 if (!(status & ien)) { in stm32_mdma_irq_handler()
1426 "spurious it (status=0x%04x, ien=0x%04x)\n", status, ien); in stm32_mdma_irq_handler()
1429 "spurious it (status=0x%04x, ien=0x%04x)\n", status, ien); in stm32_mdma_irq_handler()
/linux-6.12.1/drivers/video/fbdev/matrox/
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.12.1/drivers/spi/
Dspi-mtk-snfi.c1313 u32 sta, ien; in mtk_snand_irq() local
1316 ien = nfi_read32(snf, NFI_INTR_EN); in mtk_snand_irq()
1318 if (!(sta & ien)) in mtk_snand_irq()
/linux-6.12.1/Documentation/bpf/standardization/
Dinstruction-set.rst76 (`IEN137 <https://www.rfc-editor.org/ien/ien137.txt>`_) byte order.