Home
last modified time | relevance | path

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

/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc200 start = p_t1t->block_read * T1T_BLOCK_SIZE; in rw_t1t_extract_lock_bytes()
301 p_t1t->block_read = (uint8_t)(offset / T1T_BLOCK_SIZE); in rw_t1t_read_locks()
302 status = rw_t1t_send_dyn_cmd(T1T_CMD_READ8, p_t1t->block_read, nullptr); in rw_t1t_read_locks()
1175 p_t1t->block_read = T1T_STATIC_BLOCKS + 1; in rw_t1t_handle_ndef_rall_rsp()
1179 status = rw_t1t_send_dyn_cmd(T1T_CMD_READ8, p_t1t->block_read, nullptr); in rw_t1t_handle_ndef_rall_rsp()
1234 p_t1t->segment = (p_t1t->block_read * T1T_BLOCK_SIZE) / T1T_SEGMENT_SIZE; in rw_t1t_handle_ndef_read_rsp()
1238 (p_t1t->block_read * T1T_BLOCK_SIZE) + index)) == false) { in rw_t1t_handle_ndef_read_rsp()
1252 p_t1t->block_read = ((p_t1t->segment + 1) * T1T_BLOCKS_PER_SEGMENT) - 1; in rw_t1t_handle_ndef_read_rsp()
1270 p_t1t->block_read++; in rw_t1t_handle_ndef_read_rsp()
1272 (uint8_t)(p_t1t->block_read), nullptr); in rw_t1t_handle_ndef_read_rsp()
[all …]
Drw_t2t_ndef.cc344 offset = (uint8_t)(lock_offset - (p_t2t->block_read * T2T_BLOCK_SIZE)); in rw_t2t_handle_lock_read_rsp()
1504 offset = (p_t2t->ndef_msg_offset - (p_t2t->block_read * T2T_BLOCK_SIZE)); in rw_t2t_handle_ndef_read_rsp()
1512 (uint16_t)(offset + p_t2t->block_read * T2T_BLOCK_LEN)) == false) { in rw_t2t_handle_ndef_read_rsp()
1525 if (rw_t2t_read((uint16_t)(p_t2t->block_read + T2T_READ_BLOCKS)) != in rw_t2t_handle_ndef_read_rsp()
1569 offset = (uint8_t)(p_t2t->ndef_last_block_num - p_t2t->block_read) * in rw_t2t_handle_ndef_write_rsp()
1593 p_t2t->block_read) * in rw_t2t_handle_ndef_write_rsp()
1605 offset = (uint8_t)(p_t2t->ndef_read_block_num - p_t2t->block_read) * in rw_t2t_handle_ndef_write_rsp()
1666 if (rw_t2t_write_ndef_next_block(p_t2t->block_read, in rw_t2t_handle_ndef_write_rsp()
1669 p_t2t->ndef_write_block = p_t2t->block_read + 1; in rw_t2t_handle_ndef_write_rsp()
2944 p_t2t->block_read = T2T_FIRST_DATA_BLOCK; in RW_T2tReadNDef()
[all …]
Drw_t2t.cc178 if (p_t2t->block_read == 0) { in rw_t2t_proc_data()
728 p_t2t->block_read = block; in rw_t2t_read()
742 p_t2t->block_read = block; in rw_t2t_read()
/system/nfc/src/nfc/include/
Drw_int.h197 uint8_t block_read; /* Last read Block */ member
399 uint16_t block_read; /* Read block */ member