Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/mtd/nand/raw/
Dmtk_nand.c23 #define NFI_CNFG (0x00) macro
409 reg = nfi_readw(nfc, NFI_CNFG); in mtk_nfc_read_byte()
411 nfi_writew(nfc, reg, NFI_CNFG); in mtk_nfc_read_byte()
445 reg = nfi_readw(nfc, NFI_CNFG) | CNFG_BYTE_RW; in mtk_nfc_write_byte()
446 nfi_writew(nfc, reg, NFI_CNFG); in mtk_nfc_write_byte()
522 nfi_writew(nfc, CNFG_OP_CUST, NFI_CNFG); in mtk_nfc_exec_op()
791 reg = nfi_readw(nfc, NFI_CNFG) | CNFG_AHB | CNFG_DMA_BURST_EN; in mtk_nfc_do_write_page()
792 nfi_writew(nfc, reg, NFI_CNFG); in mtk_nfc_do_write_page()
841 reg = nfi_readw(nfc, NFI_CNFG) | CNFG_AUTO_FMT_EN; in mtk_nfc_write_page()
842 nfi_writew(nfc, reg | CNFG_HW_ECC_EN, NFI_CNFG); in mtk_nfc_write_page()
[all …]
/linux-6.1.9/drivers/spi/
Dspi-mtk-snfi.c86 #define NFI_CNFG 0x000 macro
899 nfi_write16(snf, NFI_CNFG, in mtk_snand_read_page_cache()
1009 nfi_write16(snf, NFI_CNFG, 0); in mtk_snand_read_page_cache()
1090 nfi_write16(snf, NFI_CNFG, in mtk_snand_write_page_cache()
1142 nfi_write16(snf, NFI_CNFG, 0); in mtk_snand_write_page_cache()