Searched refs:T2T_BLOCK_LEN (Results 1 – 3 of 3) sorted by relevance
359 block = (uint16_t)(lock_offset / T2T_BLOCK_LEN); in rw_t2t_handle_lock_read_rsp()373 rw_t2t_read((uint16_t)(lock_offset / T2T_BLOCK_LEN))) { in rw_t2t_handle_lock_read_rsp()416 p_t2t->work_offset = T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN; in rw_t2t_handle_tlv_detect_rsp()730 … (p_t2t->tag_hdr[T2T_CC2_TMS_BYTE] * T2T_TMS_TAG_FACTOR + T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN)) { 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()815 block = (uint16_t)(offset / T2T_BLOCK_LEN); in rw_t2t_read_locks()884 (T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN); in rw_t2t_extract_default_locks_info()1335 memcpy(p_t2t->terminator_tlv_block, p_write_block, T2T_BLOCK_LEN); in rw_t2t_update_cb()1416 (T2T_FIRST_DATA_BLOCK * T2T_BLOCK_LEN) + in rw_t2t_get_ndef_max_size()1471 p_t2t->terminator_tlv_block[p_t2t->terminator_byte_index % T2T_BLOCK_LEN] = in rw_t2t_add_terminator_tlv()[all …]
223 #define T2T_BLOCK_LEN 4 macro224 #define T2T_READ_DATA_LEN (T2T_BLOCK_LEN * T2T_READ_BLOCKS)
429 uint8_t ndef_first_block[T2T_BLOCK_LEN]; /* NDEF TLV Header block */430 uint8_t ndef_read_block[T2T_BLOCK_LEN]; /* Buffer to hold read before write432 uint8_t ndef_last_block[T2T_BLOCK_LEN]; /* Terminator TLV block after NDEF434 uint8_t terminator_tlv_block[T2T_BLOCK_LEN]; /* Terminator TLV Block */