Home
last modified time | relevance | path

Searched refs:T1T_BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance

/system/nfc/src/nfc/tags/
Drw_t1t_ndef.cc200 start = p_t1t->block_read * T1T_BLOCK_SIZE; in rw_t1t_extract_lock_bytes()
201 end = start + T1T_BLOCK_SIZE; in rw_t1t_extract_lock_bytes()
222 lock_offset = (offset % T1T_BLOCK_SIZE); in rw_t1t_extract_lock_bytes()
299 } else if (offset < (p_t1t->mem[T1T_CC_TMS_BYTE] + 1) * T1T_BLOCK_SIZE) { in rw_t1t_read_locks()
301 p_t1t->block_read = (uint8_t)(offset / T1T_BLOCK_SIZE); in rw_t1t_read_locks()
342 uint8_t write_block[T1T_BLOCK_SIZE]; in rw_t1t_handle_write_rsp()
361 if (p_t1t->work_offset < (T1T_BLOCK_SIZE - 1)) { in rw_t1t_handle_write_rsp()
396 memset(write_block, 0, T1T_BLOCK_SIZE); in rw_t1t_handle_write_rsp()
457 memset(write_block, 0, T1T_BLOCK_SIZE); in rw_t1t_handle_write_rsp()
459 write_block[(uint8_t)(offset % T1T_BLOCK_SIZE)] |= in rw_t1t_handle_write_rsp()
[all …]
Drw_t1t.cc856 if ((block >= T1T_STATIC_BLOCKS) || (byte >= T1T_BLOCK_SIZE)) { in RW_T1tWriteErase()
904 if ((block >= T1T_STATIC_BLOCKS) || (byte >= T1T_BLOCK_SIZE)) { in RW_T1tWriteNoErase()
/system/nfc/src/nfc/include/
Dtags_defs.h67 #define T1T_BLOCK_SIZE 0x08 macro
70 T1T_STATIC_BLOCKS* T1T_BLOCK_SIZE /* Static Tag size */
Drw_int.h193 uint8_t ndef_first_block[T1T_BLOCK_SIZE]; /* Buffer for ndef first block */
194 uint8_t ndef_final_block[T1T_BLOCK_SIZE]; /* Buffer for ndef last block */