Home
last modified time | relevance | path

Searched refs:work_offset (Results 1 – 3 of 3) sorted by relevance

/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc361 if (p_t1t->work_offset < (T1T_BLOCK_SIZE - 1)) { in rw_t1t_handle_write_rsp()
362 p_t1t->work_offset++; in rw_t1t_handle_write_rsp()
364 RW_T1T_BLD_ADD((addr), 1, (uint8_t)p_t1t->work_offset); in rw_t1t_handle_write_rsp()
368 p_t1t->ndef_first_block[(uint8_t)p_t1t->work_offset]); in rw_t1t_handle_write_rsp()
934 p_t1t->ndef_header_offset = offset + p_t1t->work_offset; in rw_t1t_handle_tlv_detect_rsp()
1005 p_t1t->ndef_msg_offset = offset + p_t1t->work_offset; in rw_t1t_handle_tlv_detect_rsp()
1118 p_t1t->work_offset += bytes_read; in rw_t1t_handle_tlv_detect_rsp()
1159 p_t1t->work_offset = 0; in rw_t1t_handle_ndef_rall_rsp()
1162 while (count < T1T_STATIC_SIZE && p_t1t->work_offset < p_t1t->ndef_msg_len) { in rw_t1t_handle_ndef_rall_rsp()
1164 p_t1t->p_ndef_buffer[p_t1t->work_offset] = p_t1t->mem[count]; in rw_t1t_handle_ndef_rall_rsp()
[all …]
Drw_t2t_ndef.cc413 if (p_t2t->work_offset == 0) { in rw_t2t_handle_tlv_detect_rsp()
415 p_t2t->work_offset = T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN; in rw_t2t_handle_tlv_detect_rsp()
423 if (rw_t2t_is_lock_res_byte((uint16_t)(p_t2t->work_offset + offset)) == in rw_t2t_handle_tlv_detect_rsp()
505 p_t2t->ndef_header_offset = offset + p_t2t->work_offset; in rw_t2t_handle_tlv_detect_rsp()
581 p_t2t->ndef_msg_offset = offset + p_t2t->work_offset; in rw_t2t_handle_tlv_detect_rsp()
688 p_t2t->work_offset += T2T_READ_DATA_LEN; in rw_t2t_handle_tlv_detect_rsp()
694 if (p_t2t->work_offset >= in rw_t2t_handle_tlv_detect_rsp()
703 if (rw_t2t_read((uint16_t)((p_t2t->work_offset / T2T_BLOCK_LEN) + in rw_t2t_handle_tlv_detect_rsp()
1074 p_t2t->work_offset = 0; in rw_t2t_write_ndef_first_block()
1102 while (p_t2t->work_offset == 0 && block < total_blocks) { in rw_t2t_write_ndef_first_block()
[all …]
/system/nfc/src/nfc/include/
Drw_int.h192 uint16_t work_offset; /* Working byte offset */ member
444 uint16_t work_offset; /* Working byte offset */ member