Searched refs:NFI_STA (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/mtd/nand/raw/ |
H A D | mtk_nand.c | 62 #define NFI_STA (0x60) macro 288 ret = readl_poll_timeout_atomic(nfc->regs + NFI_STA, val, in mtk_nfc_send_command() 308 ret = readl_poll_timeout_atomic(nfc->regs + NFI_STA, val, in mtk_nfc_send_address() 406 reg = nfi_readl(nfc, NFI_STA) & NFI_FSM_MASK; in mtk_nfc_read_byte() 441 reg = nfi_readl(nfc, NFI_STA) & NFI_FSM_MASK; in mtk_nfc_write_byte() 489 return readl_poll_timeout(nfc->regs + NFI_STA, status, in mtk_nfc_exec_instr() 924 rc = nfi_readl(nfc, NFI_STA) & STA_EMP_PAGE; in mtk_nfc_update_ecc_stats()
|
/linux/drivers/spi/ |
H A D | spi-mtk-snfi.c | 129 #define NFI_STA 0x060 macro 393 ret = readl_poll_timeout(snf->nfi_base + NFI_STA, val, in mtk_nfi_reset() 1007 if (nfi_read32(snf, NFI_STA) & READ_EMPTY) { in mtk_snand_read_page_cache()
|