Lines Matching refs:vf610_nfc_read
204 static inline u32 vf610_nfc_read(struct vf610_nfc *nfc, uint reg) in vf610_nfc_read() function
216 vf610_nfc_write(nfc, reg, vf610_nfc_read(nfc, reg) | bits); in vf610_nfc_set()
221 vf610_nfc_write(nfc, reg, vf610_nfc_read(nfc, reg) & ~bits); in vf610_nfc_clear()
228 (vf610_nfc_read(nfc, reg) & (~mask)) | val << shift); in vf610_nfc_set_field()
248 u32 tmp = vf610_nfc_read(nfc, NFC_IRQ_STATUS); in vf610_nfc_clear_status()
279 flash_id = vf610_nfc_read(nfc, NFC_FLASH_STATUS1); in vf610_nfc_get_id()
282 flash_id = vf610_nfc_read(nfc, NFC_FLASH_STATUS2); in vf610_nfc_get_id()
291 return vf610_nfc_read(nfc, NFC_FLASH_STATUS2) & STATUS_BYTE1_MASK; in vf610_nfc_get_status()
301 tmp = vf610_nfc_read(nfc, NFC_FLASH_CMD2); in vf610_nfc_send_command()
315 tmp = vf610_nfc_read(nfc, NFC_FLASH_CMD1); in vf610_nfc_send_commands()
526 u32 tmp = vf610_nfc_read(nfc, NFC_ROW_ADDR); in vf610_nfc_select_chip()
566 ecc_status = vf610_nfc_read(nfc, ecc_status_off) & 0xff; in vf610_nfc_correct_data()