Searched refs:T2T_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance
372 offset = (UINT8) (lock_offset - (p_t2t->block_read * T2T_BLOCK_SIZE)); in rw_t2t_handle_lock_read_rsp()480 index = (offset % T2T_BLOCK_SIZE); in rw_t2t_handle_tlv_detect_rsp()513 index = (offset % T2T_BLOCK_SIZE); in rw_t2t_handle_tlv_detect_rsp()989 p_t2t->ndef_last_block_num = (UINT16) ((last_ndef_byte_offset - 1) / T2T_BLOCK_SIZE); in rw_t2t_read_ndef_last_block()1038 block = p_t2t->terminator_byte_index / T2T_BLOCK_SIZE; in rw_t2t_read_terminator_tlv_block()1100 if (block == p_t2t->ndef_header_offset / T2T_BLOCK_SIZE) in rw_t2t_is_read_before_write_block()1104 memcpy (p_t2t->ndef_read_block,p_t2t->ndef_first_block,T2T_BLOCK_SIZE); in rw_t2t_is_read_before_write_block()1110 memcpy (p_t2t->ndef_read_block,p_t2t->ndef_last_block,T2T_BLOCK_SIZE); in rw_t2t_is_read_before_write_block()1112 else if (block == p_t2t->terminator_byte_index / T2T_BLOCK_SIZE) in rw_t2t_is_read_before_write_block()1116 memcpy (p_t2t->ndef_read_block,p_t2t->terminator_tlv_block,T2T_BLOCK_SIZE); in rw_t2t_is_read_before_write_block()[all …]
138 #define T2T_BLOCK_SIZE 4 macro
325 …UINT8 ndef_final_block[T2T_BLOCK_SIZE]; /* Buffer for ndef last block …