Home
last modified time | relevance | path

Searched refs:NDCR (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/mtd/nand/raw/
Dmarvell_nand.c56 #define NDCR 0x00 macro
434 reg = readl_relaxed(nfc->regs + NDCR); in marvell_nfc_disable_int()
435 writel_relaxed(reg | int_mask, nfc->regs + NDCR); in marvell_nfc_disable_int()
443 reg = readl_relaxed(nfc->regs + NDCR); in marvell_nfc_enable_int()
444 writel_relaxed(reg & ~int_mask, nfc->regs + NDCR); in marvell_nfc_enable_int()
467 ndcr = readl_relaxed(nfc->regs + NDCR); in marvell_nfc_force_byte_access()
474 writel_relaxed(ndcr, nfc->regs + NDCR); in marvell_nfc_force_byte_access()
487 ret = readl_relaxed_poll_timeout(nfc->regs + NDCR, val, in marvell_nfc_wait_ndrun()
492 writel_relaxed(readl(nfc->regs + NDCR) & ~NDCR_ND_RUN, in marvell_nfc_wait_ndrun()
493 nfc->regs + NDCR); in marvell_nfc_wait_ndrun()
[all …]
/Linux-v4.19/arch/arm/mach-pxa/
Dpxa3xx.c53 #define NDCR (*(volatile u32 __iomem*)(NAND_VIRT + 0)) macro
484 NDCR = (NDCR & ~NDCR_ND_ARB_EN) | NDCR_ND_ARB_CNTL; in pxa3xx_init()