Searched refs:work_offset (Results 1 – 4 of 4) sorted by relevance
361 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 …]
414 if (p_t2t->work_offset == 0) { in rw_t2t_handle_tlv_detect_rsp()416 p_t2t->work_offset = T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN; in rw_t2t_handle_tlv_detect_rsp()424 if (rw_t2t_is_lock_res_byte((uint16_t)(p_t2t->work_offset + offset)) == in rw_t2t_handle_tlv_detect_rsp()506 p_t2t->ndef_header_offset = offset + p_t2t->work_offset; in rw_t2t_handle_tlv_detect_rsp()582 p_t2t->ndef_msg_offset = offset + p_t2t->work_offset; in rw_t2t_handle_tlv_detect_rsp()723 p_t2t->work_offset += T2T_READ_DATA_LEN; in rw_t2t_handle_tlv_detect_rsp()729 if (p_t2t->work_offset >= in rw_t2t_handle_tlv_detect_rsp()738 if (rw_t2t_read((uint16_t)(p_t2t->work_offset / T2T_BLOCK_LEN) ) != NFC_STATUS_OK) in rw_t2t_handle_tlv_detect_rsp()1116 p_t2t->work_offset = 0; in rw_t2t_write_ndef_first_block()1144 while (p_t2t->work_offset == 0 && block < total_blocks) { in rw_t2t_write_ndef_first_block()[all …]
336 p_mfc->work_offset = 0; in RW_MfcWriteNDef()391 if (p_mfc->work_offset == 0) { in rw_mfc_writeBlock()405 if (p_mfc->work_offset == p_mfc->ndef_length) { in rw_mfc_writeBlock()410 if (p_mfc->work_offset > p_mfc->ndef_length) { in rw_mfc_writeBlock()413 UINT8_TO_BE_STREAM(p, p_mfc->p_ndef_buffer[p_mfc->work_offset]); in rw_mfc_writeBlock()415 p_mfc->work_offset++; in rw_mfc_writeBlock()476 if (p_mfc->work_offset >= p_mfc->ndef_length) { in rw_mfc_handle_write_op()777 p_mfc->work_offset = 0; in rw_MfcLocateTlv()1029 if (p_mfc->work_offset == 0) { in rw_mfc_handle_read_op()1040 while ((offset < len) && (p_mfc->work_offset < p_mfc->ndef_length)) in rw_mfc_handle_read_op()[all …]
192 uint16_t work_offset; /* Working byte offset */ member444 uint16_t work_offset; /* Working byte offset */ member641 uint16_t work_offset; /* Working byte offset */ member