Searched refs:NFI_CON (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/mtd/nand/raw/ |
H A D | mtk_nand.c | 39 #define NFI_CON (0x08) macro 265 nfi_writel(nfc, CON_FIFO_FLUSH | CON_NFI_RST, NFI_CON); in mtk_nfc_hw_reset() 276 nfi_writel(nfc, CON_FIFO_FLUSH | CON_NFI_RST, NFI_CON); in mtk_nfc_hw_reset() 417 nfi_writel(nfc, reg, NFI_CON); in mtk_nfc_read_byte() 448 nfi_writel(nfc, reg, NFI_CON); in mtk_nfc_write_byte() 793 nfi_writel(nfc, chip->ecc.steps << CON_SEC_SHIFT, NFI_CON); in mtk_nfc_do_write_page() 799 reg = nfi_readl(nfc, NFI_CON) | CON_BWR; in mtk_nfc_do_write_page() 800 nfi_writel(nfc, reg, NFI_CON); in mtk_nfc_do_write_page() 820 nfi_writel(nfc, 0, NFI_CON); in mtk_nfc_do_write_page() 997 nfi_writel(nfc, sectors << CON_SEC_SHIFT, NFI_CON); in mtk_nfc_read_subpage() [all …]
|
/linux/drivers/spi/ |
H A D | spi-mtk-snfi.c | 109 #define NFI_CON 0x008 macro 383 nfi_write32(snf, NFI_CON, CON_FIFO_FLUSH | CON_NFI_RST); in mtk_nfi_reset() 934 nfi_write32(snf, NFI_CON, (snf->nfi_cfg.nsectors << CON_SEC_NUM_S)); in mtk_snand_read_page_cache() 957 nfi_rmw32(snf, NFI_CON, 0, CON_BRD); in mtk_snand_read_page_cache() 1039 nfi_write32(snf, NFI_CON, 0); in mtk_snand_read_page_cache() 1125 nfi_write32(snf, NFI_CON, (snf->nfi_cfg.nsectors << CON_SEC_NUM_S)); in mtk_snand_write_page_cache() 1148 nfi_rmw32(snf, NFI_CON, 0, CON_BWR); in mtk_snand_write_page_cache() 1172 nfi_write32(snf, NFI_CON, 0); in mtk_snand_write_page_cache()
|