Home
last modified time | relevance | path

Searched refs:block_read (Results 1 – 4 of 4) sorted by relevance

/external/libnfc-nci/src/nfc/tags/
Drw_t1t_ndef.c199 start = p_t1t->block_read * T1T_BLOCK_SIZE; in rw_t1t_extract_lock_bytes()
322 p_t1t->block_read = (UINT8) (offset/T1T_BLOCK_SIZE); in rw_t1t_read_locks()
323 … if ((status = rw_t1t_send_dyn_cmd (T1T_CMD_READ8, p_t1t->block_read, NULL)) == NFC_STATUS_OK) in rw_t1t_read_locks()
1270 p_t1t->block_read = T1T_STATIC_BLOCKS + 1; in rw_t1t_handle_ndef_rall_rsp()
1275 … if ((status = rw_t1t_send_dyn_cmd (T1T_CMD_READ8, p_t1t->block_read, NULL)) == NFC_STATUS_OK) in rw_t1t_handle_ndef_rall_rsp()
1338 p_t1t->segment = (p_t1t->block_read * T1T_BLOCK_SIZE)/T1T_SEGMENT_SIZE; in rw_t1t_handle_ndef_read_rsp()
1341 …if (rw_t1t_is_lock_reserved_otp_byte ((UINT16) ((p_t1t->block_read * T1T_BLOCK_SIZE) + index)) == … in rw_t1t_handle_ndef_read_rsp()
1359 p_t1t->block_read = ((p_t1t->segment + 1) * T1T_BLOCKS_PER_SEGMENT) - 1; in rw_t1t_handle_ndef_read_rsp()
1381 p_t1t->block_read++; in rw_t1t_handle_ndef_read_rsp()
1382 …if ((ndef_status = rw_t1t_send_dyn_cmd (T1T_CMD_READ8, (UINT8) (p_t1t->block_read), NULL)) == NFC_… in rw_t1t_handle_ndef_read_rsp()
[all …]
Drw_t2t_ndef.c365 offset = (UINT8) (lock_offset - (p_t2t->block_read * T2T_BLOCK_SIZE)); in rw_t2t_handle_lock_read_rsp()
1585 offset = (p_t2t->ndef_msg_offset - (p_t2t->block_read * T2T_BLOCK_SIZE)); in rw_t2t_handle_ndef_read_rsp()
1593 … if (rw_t2t_is_lock_res_byte ((UINT16) (offset + p_t2t->block_read * T2T_BLOCK_LEN)) == FALSE) in rw_t2t_handle_ndef_read_rsp()
1610 if (rw_t2t_read ((UINT16) (p_t2t->block_read + T2T_READ_BLOCKS)) != NFC_STATUS_OK) in rw_t2t_handle_ndef_read_rsp()
1654 offset = (UINT8) (p_t2t->ndef_last_block_num - p_t2t->block_read) * T2T_BLOCK_SIZE; in rw_t2t_handle_ndef_write_rsp()
1679 …offset = (UINT8) (((p_t2t->terminator_byte_index / T2T_BLOCK_SIZE) - p_t2t->block_read) * T2T_BLOC… in rw_t2t_handle_ndef_write_rsp()
1690 offset = (UINT8) (p_t2t->ndef_read_block_num - p_t2t->block_read) * T2T_BLOCK_SIZE; in rw_t2t_handle_ndef_write_rsp()
1751 …if (rw_t2t_write_ndef_next_block (p_t2t->block_read, p_t2t->new_ndef_msg_len, TRUE) == NFC_STATUS… in rw_t2t_handle_ndef_write_rsp()
1752 p_t2t->ndef_write_block = p_t2t->block_read + 1; in rw_t2t_handle_ndef_write_rsp()
3024 p_t2t->block_read = T2T_FIRST_DATA_BLOCK; in RW_T2tReadNDef()
[all …]
Drw_t2t.c190 if (p_t2t->block_read == 0) in rw_t2t_proc_data()
776 p_t2t->block_read = block; in rw_t2t_read()
789 p_t2t->block_read = block; in rw_t2t_read()
/external/libnfc-nci/src/nfc/int/
Drw_int.h158 …UINT8 block_read; /* Last read Block … member
305 …UINT16 block_read; /* Read block … member