Searched refs:NFI_CNFG (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/drivers/mtd/nand/raw/ |
D | mtk_nand.c | 22 #define NFI_CNFG (0x00) macro 408 reg = nfi_readw(nfc, NFI_CNFG); in mtk_nfc_read_byte() 410 nfi_writew(nfc, reg, NFI_CNFG); in mtk_nfc_read_byte() 444 reg = nfi_readw(nfc, NFI_CNFG) | CNFG_BYTE_RW; in mtk_nfc_write_byte() 445 nfi_writew(nfc, reg, NFI_CNFG); in mtk_nfc_write_byte() 521 nfi_writew(nfc, CNFG_OP_CUST, NFI_CNFG); in mtk_nfc_exec_op() 790 reg = nfi_readw(nfc, NFI_CNFG) | CNFG_AHB | CNFG_DMA_BURST_EN; in mtk_nfc_do_write_page() 791 nfi_writew(nfc, reg, NFI_CNFG); in mtk_nfc_do_write_page() 840 reg = nfi_readw(nfc, NFI_CNFG) | CNFG_AUTO_FMT_EN; in mtk_nfc_write_page() 841 nfi_writew(nfc, reg | CNFG_HW_ECC_EN, NFI_CNFG); in mtk_nfc_write_page() [all …]
|
/linux-6.12.1/drivers/spi/ |
D | spi-mtk-snfi.c | 87 #define NFI_CNFG 0x000 macro 930 nfi_write16(snf, NFI_CNFG, in mtk_snand_read_page_cache() 1040 nfi_write16(snf, NFI_CNFG, 0); in mtk_snand_read_page_cache() 1121 nfi_write16(snf, NFI_CNFG, in mtk_snand_write_page_cache() 1173 nfi_write16(snf, NFI_CNFG, 0); in mtk_snand_write_page_cache()
|