Searched refs:NFC_MAIN_AREA (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/mtd/nand/
H A Dvf610_nfc.c58 #define NFC_MAIN_AREA(n) ((n) * 0x1000) macro
459 vf610_nfc_memcpy(buf, nfc->regs + NFC_MAIN_AREA(0) + c, len); vf610_nfc_read_buf()
472 vf610_nfc_memcpy(nfc->regs + NFC_MAIN_AREA(0) + c, buf, l); vf610_nfc_write_buf()
498 tmp = *((u8 *)(nfc->regs + NFC_MAIN_AREA(0) + c)); vf610_nfc_read_byte()
561 u32 ecc_status_off = NFC_MAIN_AREA(0) + ECC_SRAM_ADDR + ECC_STATUS; vf610_nfc_correct_data()
H A Dmpc5121_nfc.c46 #define NFC_MAIN_AREA(n) ((n) * 0x200) macro
485 memcpy_toio(prv->regs + NFC_MAIN_AREA(0) + c, buf, l); mpc5121_nfc_buf_copy()
487 memcpy_fromio(buf, prv->regs + NFC_MAIN_AREA(0) + c, l); mpc5121_nfc_buf_copy()

Completed in 292 milliseconds