Searched refs:NFC_MAIN_AREA (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/mtd/nand/raw/ |
D | vf610_nfc.c | 57 #define NFC_MAIN_AREA(n) ((n) * 0x1000) macro 423 vf610_nfc_wr_to_sram(nfc->regs + NFC_MAIN_AREA(0) + offset, in vf610_nfc_cmd() 465 nfc->regs + NFC_MAIN_AREA(0) + offset, in vf610_nfc_cmd() 524 u32 ecc_status_off = NFC_MAIN_AREA(0) + ECC_SRAM_ADDR + ECC_STATUS; in vf610_nfc_correct_data() 586 vf610_nfc_rd_from_sram(buf, nfc->regs + NFC_MAIN_AREA(0), in vf610_nfc_read_page() 590 nfc->regs + NFC_MAIN_AREA(0) + in vf610_nfc_read_page() 626 vf610_nfc_wr_to_sram(nfc->regs + NFC_MAIN_AREA(0), buf, in vf610_nfc_write_page()
|
D | mpc5121_nfc.c | 45 #define NFC_MAIN_AREA(n) ((n) * 0x200) macro 483 memcpy_toio(prv->regs + NFC_MAIN_AREA(0) + c, buf, l); in mpc5121_nfc_buf_copy() 485 memcpy_fromio(buf, prv->regs + NFC_MAIN_AREA(0) + c, l); in mpc5121_nfc_buf_copy()
|