Home
last modified time | relevance | path

Searched refs:NFC_REG_CTL (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
H A Dsunxi_nand.c32 #define NFC_REG_CTL 0x0000 macro
338 writel(NFC_RESET, nfc->regs + NFC_REG_CTL); in sunxi_nfc_rst()
340 ret = readl_poll_timeout(nfc->regs + NFC_REG_CTL, ctl, in sunxi_nfc_rst()
377 writel(readl(nfc->regs + NFC_REG_CTL) | NFC_RAM_METHOD, in sunxi_nfc_dma_op_prepare()
378 nfc->regs + NFC_REG_CTL); in sunxi_nfc_dma_op_prepare()
383 writel(readl(nfc->regs + NFC_REG_CTL) & ~NFC_DMA_TYPE_NORMAL, in sunxi_nfc_dma_op_prepare()
384 nfc->regs + NFC_REG_CTL); in sunxi_nfc_dma_op_prepare()
398 writel(readl(nfc->regs + NFC_REG_CTL) & ~NFC_RAM_METHOD, in sunxi_nfc_dma_op_prepare()
399 nfc->regs + NFC_REG_CTL); in sunxi_nfc_dma_op_prepare()
411 writel(readl(nfc->regs + NFC_REG_CTL) in sunxi_nfc_dma_op_cleanup()
[all...]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
H A Dsunxi_nand.c33 #define NFC_REG_CTL 0x0000 macro
335 writel(NFC_RESET, nfc->regs + NFC_REG_CTL); in sunxi_nfc_rst()
337 ret = readl_poll_timeout(nfc->regs + NFC_REG_CTL, ctl, in sunxi_nfc_rst()
372 writel(readl(nfc->regs + NFC_REG_CTL) | NFC_RAM_METHOD, in sunxi_nfc_dma_op_prepare()
373 nfc->regs + NFC_REG_CTL); in sunxi_nfc_dma_op_prepare()
388 writel(readl(nfc->regs + NFC_REG_CTL) & ~NFC_RAM_METHOD, in sunxi_nfc_dma_op_prepare()
389 nfc->regs + NFC_REG_CTL); in sunxi_nfc_dma_op_prepare()
401 writel(readl(nfc->regs + NFC_REG_CTL) & ~NFC_RAM_METHOD, in sunxi_nfc_dma_op_cleanup()
402 nfc->regs + NFC_REG_CTL); in sunxi_nfc_dma_op_cleanup()
416 ctl = readl(nfc->regs + NFC_REG_CTL) in sunxi_nfc_select_chip()
[all...]

Completed in 5 milliseconds