Searched refs:T2T_BLOCK_LEN (Results 1 – 3 of 3) sorted by relevance
392 block = (UINT16) (lock_offset / T2T_BLOCK_LEN); in rw_t2t_handle_lock_read_rsp()407 if (NFC_STATUS_OK != rw_t2t_read ((UINT16) (lock_offset / T2T_BLOCK_LEN))) in rw_t2t_handle_lock_read_rsp()452 p_t2t->work_offset = T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN; in rw_t2t_handle_tlv_detect_rsp()778 …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()870 block = (UINT16) (offset / T2T_BLOCK_LEN); in rw_t2t_read_locks()931 …= (p_t2t->tag_hdr[T2T_CC2_TMS_BYTE] * T2T_TMS_TAG_FACTOR) + (T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN); in rw_t2t_extract_default_locks_info()1412 memcpy (p_t2t->terminator_tlv_block, p_write_block, T2T_BLOCK_LEN); in rw_t2t_update_cb()1508 …hdr[T2T_CC2_TMS_BYTE] * T2T_TMS_TAG_FACTOR) + (T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN) + p_t2t->num_… in rw_t2t_get_ndef_max_size()1561 p_t2t->terminator_tlv_block[p_t2t->terminator_byte_index%T2T_BLOCK_LEN] = TAG_TERMINATOR_TLV; in rw_t2t_add_terminator_tlv()1564 block = p_t2t->terminator_byte_index/T2T_BLOCK_LEN; in rw_t2t_add_terminator_tlv()[all …]
332 …UINT8 ndef_first_block[T2T_BLOCK_LEN]; /* NDEF TLV Header block …333 …UINT8 ndef_read_block[T2T_BLOCK_LEN]; /* Buffer to hold read before write block …334 …UINT8 ndef_last_block[T2T_BLOCK_LEN]; /* Terminator TLV block after NDEF Write o…335 …UINT8 terminator_tlv_block[T2T_BLOCK_LEN];/* Terminator TLV Block …
188 #define T2T_BLOCK_LEN 4 macro189 #define T2T_READ_DATA_LEN (T2T_BLOCK_LEN * T2T_READ_BLOCKS)