Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dsunxi_nand.c44 #define NFC_REG_ST 0x0004 macro
330 status = readl(nfc->regs + NFC_REG_ST); in sunxi_nfc_wait_int()
339 writel(status & flags, nfc->regs + NFC_REG_ST); in sunxi_nfc_wait_int()
352 if (!(readl(nfc->regs + NFC_REG_ST) & NFC_CMD_FIFO_STATUS)) in sunxi_nfc_wait_cmd_fifo_empty()
395 ret = !!(readl(nfc->regs + NFC_REG_ST) & in sunxi_nfc_dev_ready()
401 ret = !!(readl(nfc->regs + NFC_REG_ST) & in sunxi_nfc_dev_ready()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dsunxi_nand.c33 #define NFC_REG_ST 0x0004 macro
263 u32 st = readl(nfc->regs + NFC_REG_ST); in sunxi_nfc_interrupt()
272 writel(st & NFC_INT_MASK, nfc->regs + NFC_REG_ST); in sunxi_nfc_interrupt()
305 ret = readl_poll_timeout(nfc->regs + NFC_REG_ST, status, in sunxi_nfc_wait_events()
310 writel(events & NFC_INT_MASK, nfc->regs + NFC_REG_ST); in sunxi_nfc_wait_events()
323 ret = readl_poll_timeout(nfc->regs + NFC_REG_ST, status, in sunxi_nfc_wait_cmd_fifo_empty()