Searched refs:NFC_MAIN_AREA (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | vf610_nfc.c | 53 #define NFC_MAIN_AREA(n) ((n) * 0x1000) macro 409 vf610_nfc_wr_to_sram(nfc->regs + NFC_MAIN_AREA(0) + offset, in vf610_nfc_cmd() 451 nfc->regs + NFC_MAIN_AREA(0) + offset, in vf610_nfc_cmd() 512 u32 ecc_status_off = NFC_MAIN_AREA(0) + ECC_SRAM_ADDR + ECC_STATUS; in vf610_nfc_correct_data() 577 vf610_nfc_rd_from_sram(buf, nfc->regs + NFC_MAIN_AREA(0), in vf610_nfc_read_page() 581 nfc->regs + NFC_MAIN_AREA(0) + in vf610_nfc_read_page() 620 vf610_nfc_wr_to_sram(nfc->regs + NFC_MAIN_AREA(0), buf, in vf610_nfc_write_page()
|
H A D | mpc5121_nfc.c | 32 #define NFC_MAIN_AREA(n) ((n) * 0x200) macro 472 memcpy_toio(prv->regs + NFC_MAIN_AREA(0) + c, buf, l); in mpc5121_nfc_buf_copy() 474 memcpy_fromio(buf, prv->regs + NFC_MAIN_AREA(0) + c, l); in mpc5121_nfc_buf_copy()
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | vf610_nfc.c | 54 #define NFC_MAIN_AREA(n) ((n) * 0x1000) macro 455 vf610_nfc_memcpy(buf, nfc->regs + NFC_MAIN_AREA(0) + c, len); in vf610_nfc_read_buf() 469 vf610_nfc_memcpy(nfc->regs + NFC_MAIN_AREA(0) + c, buf, l); in vf610_nfc_write_buf() 496 tmp = *((u8 *)(nfc->regs + NFC_MAIN_AREA(0) + c)); in vf610_nfc_read_byte() 556 u32 ecc_status_off = NFC_MAIN_AREA(0) + ECC_SRAM_ADDR + ECC_STATUS; in vf610_nfc_correct_data()
|