Searched refs:T2T_BLOCK_LEN (Results 1 – 3 of 3) sorted by relevance
384 block = (UINT16) (lock_offset / T2T_BLOCK_LEN); in rw_t2t_handle_lock_read_rsp()399 if (NFC_STATUS_OK != rw_t2t_read ((UINT16) (lock_offset / T2T_BLOCK_LEN))) in rw_t2t_handle_lock_read_rsp()444 p_t2t->work_offset = T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN; 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()860 block = (UINT16) (offset / T2T_BLOCK_LEN); in rw_t2t_read_locks()921 …= (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()1402 memcpy (p_t2t->terminator_tlv_block, p_write_block, T2T_BLOCK_LEN); in rw_t2t_update_cb()1498 …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()1551 p_t2t->terminator_tlv_block[p_t2t->terminator_byte_index%T2T_BLOCK_LEN] = TAG_TERMINATOR_TLV; in rw_t2t_add_terminator_tlv()1554 block = p_t2t->terminator_byte_index/T2T_BLOCK_LEN; in rw_t2t_add_terminator_tlv()[all …]
329 …UINT8 ndef_first_block[T2T_BLOCK_LEN]; /* NDEF TLV Header block …330 …UINT8 ndef_read_block[T2T_BLOCK_LEN]; /* Buffer to hold read before write block …331 …UINT8 ndef_last_block[T2T_BLOCK_LEN]; /* Terminator TLV block after NDEF Write o…332 …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)