Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dvf610_nfc.c197 static inline u32 vf610_nfc_read(struct mtd_info *mtd, uint reg) in vf610_nfc_read() function
213 vf610_nfc_write(mtd, reg, vf610_nfc_read(mtd, reg) | bits); in vf610_nfc_set()
218 vf610_nfc_write(mtd, reg, vf610_nfc_read(mtd, reg) & ~bits); in vf610_nfc_clear()
225 (vf610_nfc_read(mtd, reg) & (~mask)) | val << shift); in vf610_nfc_set_field()
267 while (!(vf610_nfc_read(mtd, NFC_IRQ_STATUS) & IDLE_IRQ_BIT)) { in vf610_nfc_done()
281 flash_id = vf610_nfc_read(mtd, NFC_FLASH_STATUS1); in vf610_nfc_get_id()
284 flash_id = vf610_nfc_read(mtd, NFC_FLASH_STATUS2); in vf610_nfc_get_id()
293 return vf610_nfc_read(mtd, NFC_FLASH_STATUS2) & STATUS_BYTE1_MASK; in vf610_nfc_get_status()
525 u32 tmp = vf610_nfc_read(mtd, NFC_ROW_ADDR); in vf610_nfc_select_chip()
562 ecc_status = vf610_nfc_read(mtd, ecc_status_off) & 0xff; in vf610_nfc_correct_data()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dvf610_nfc.c173 static inline u32 vf610_nfc_read(struct vf610_nfc *nfc, uint reg) in vf610_nfc_read() function
185 vf610_nfc_write(nfc, reg, vf610_nfc_read(nfc, reg) | bits); in vf610_nfc_set()
190 vf610_nfc_write(nfc, reg, vf610_nfc_read(nfc, reg) & ~bits); in vf610_nfc_clear()
197 (vf610_nfc_read(nfc, reg) & (~mask)) | val << shift); in vf610_nfc_set_field()
283 u32 tmp = vf610_nfc_read(nfc, NFC_IRQ_STATUS); in vf610_nfc_clear_status()
488 tmp = vf610_nfc_read(nfc, NFC_ROW_ADDR); in vf610_nfc_select_target()
517 ecc_status = vf610_nfc_read(nfc, ecc_status_off) & 0xff; in vf610_nfc_correct_data()