Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfc/tags/
Drw_t1t_ndef.c388 if (p_t1t->work_offset < (T1T_BLOCK_SIZE - 1)) in rw_t1t_handle_write_rsp()
390 p_t1t->work_offset++; in rw_t1t_handle_write_rsp()
392 RW_T1T_BLD_ADD ((addr), 1, (UINT8) p_t1t->work_offset); in rw_t1t_handle_write_rsp()
394 …tic_cmd (T1T_CMD_WRITE_E, addr, p_t1t->ndef_first_block[(UINT8) p_t1t->work_offset])) != NFC_STATU… in rw_t1t_handle_write_rsp()
997 p_t1t->ndef_header_offset = offset + p_t1t->work_offset; in rw_t1t_handle_tlv_detect_rsp()
1080 p_t1t->ndef_msg_offset = offset + p_t1t->work_offset; in rw_t1t_handle_tlv_detect_rsp()
1204 p_t1t->work_offset += bytes_read; in rw_t1t_handle_tlv_detect_rsp()
1249 p_t1t->work_offset = 0; in rw_t1t_handle_ndef_rall_rsp()
1252 while (count < T1T_STATIC_SIZE && p_t1t->work_offset < p_t1t->ndef_msg_len) in rw_t1t_handle_ndef_rall_rsp()
1256 p_t1t->p_ndef_buffer[p_t1t->work_offset] = p_t1t->mem[count]; in rw_t1t_handle_ndef_rall_rsp()
[all …]
Drw_t2t_ndef.c441 if (p_t2t->work_offset == 0) in rw_t2t_handle_tlv_detect_rsp()
444 p_t2t->work_offset = T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN; in rw_t2t_handle_tlv_detect_rsp()
453 if (rw_t2t_is_lock_res_byte ((UINT16) (p_t2t->work_offset + offset)) == TRUE) in rw_t2t_handle_tlv_detect_rsp()
539 p_t2t->ndef_header_offset = offset + p_t2t->work_offset; in rw_t2t_handle_tlv_detect_rsp()
630 p_t2t->ndef_msg_offset = offset + p_t2t->work_offset; in rw_t2t_handle_tlv_detect_rsp()
748 p_t2t->work_offset += T2T_READ_DATA_LEN; in rw_t2t_handle_tlv_detect_rsp()
756 if (p_t2t->work_offset >= (p_t2t->tag_hdr[T2T_CC2_TMS_BYTE] * T2T_TMS_TAG_FACTOR)) in rw_t2t_handle_tlv_detect_rsp()
770 …if (rw_t2t_read ((UINT16) ((p_t2t->work_offset / T2T_BLOCK_LEN) + T2T_FIRST_DATA_BLOCK)) != NFC_ST… in rw_t2t_handle_tlv_detect_rsp()
1169 p_t2t->work_offset = 0; in rw_t2t_write_ndef_first_block()
1201 while (p_t2t->work_offset == 0 && block < total_blocks) in rw_t2t_write_ndef_first_block()
[all …]
/external/libnfc-nci/src/nfc/int/
Drw_int.h153 …UINT16 work_offset; /* Working byte offset … member
337 …UINT16 work_offset; /* Working byte offset … member