Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Dsunxi_nand.c45 #define NFC_REG_ST 0x0004 macro
331 status = readl(nfc->regs + NFC_REG_ST); in sunxi_nfc_wait_int()
340 writel(status & flags, nfc->regs + NFC_REG_ST); in sunxi_nfc_wait_int()
353 if (!(readl(nfc->regs + NFC_REG_ST) & NFC_CMD_FIFO_STATUS)) in sunxi_nfc_wait_cmd_fifo_empty()
396 ret = !!(readl(nfc->regs + NFC_REG_ST) & in sunxi_nfc_dev_ready()
402 ret = !!(readl(nfc->regs + NFC_REG_ST) & in sunxi_nfc_dev_ready()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dsunxi_nand.c34 #define NFC_REG_ST 0x0004 macro
260 u32 st = readl(nfc->regs + NFC_REG_ST); in sunxi_nfc_interrupt()
269 writel(st & NFC_INT_MASK, nfc->regs + NFC_REG_ST); in sunxi_nfc_interrupt()
302 ret = readl_poll_timeout(nfc->regs + NFC_REG_ST, status, in sunxi_nfc_wait_events()
307 writel(events & NFC_INT_MASK, nfc->regs + NFC_REG_ST); in sunxi_nfc_wait_events()
320 ret = readl_poll_timeout(nfc->regs + NFC_REG_ST, status, in sunxi_nfc_wait_cmd_fifo_empty()