Home
last modified time | relevance | path

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

/external/libnfc-nci/src/nfc/tags/
Drw_t2t_ndef.c359 …lock_offset = p_t2t->lock_tlv[p_t2t->lockbyte[num_locks].tlv_index].offset + p_t2t->lockbyte[num_l… in rw_t2t_handle_lock_read_rsp()
658 … p_t2t->lock_tlv[p_t2t->num_lock_tlvs].offset = (p_t2t->tlv_value[0] >> 4) & 0x0F; in rw_t2t_handle_tlv_detect_rsp()
659 … p_t2t->lock_tlv[p_t2t->num_lock_tlvs].offset *= (UINT8) tags_pow (2, p_t2t->tlv_value[2] & 0x0F); in rw_t2t_handle_tlv_detect_rsp()
660 p_t2t->lock_tlv[p_t2t->num_lock_tlvs].offset += p_t2t->tlv_value[0] & 0x0F; in rw_t2t_handle_tlv_detect_rsp()
661 …p_t2t->lock_tlv[p_t2t->num_lock_tlvs].bytes_locked_per_bit = (UINT8) tags_pow (2, ((p_t2t->tlv_val… in rw_t2t_handle_tlv_detect_rsp()
662 p_t2t->lock_tlv[p_t2t->num_lock_tlvs].num_bits = p_t2t->tlv_value[1]; in rw_t2t_handle_tlv_detect_rsp()
857 …offset = p_t2t->lock_tlv[p_t2t->lockbyte[num_locks].tlv_index].offset + p_t2t->lockbyte[num_locks]… in rw_t2t_read_locks()
921 …p_t2t->lock_tlv[p_t2t->num_lock_tlvs].offset = (p_t2t->tag_hdr[T2T_CC2_TMS_BYTE] * … in rw_t2t_extract_default_locks_info()
922 p_t2t->lock_tlv[p_t2t->num_lock_tlvs].bytes_locked_per_bit = bytes_locked_per_lock_bit; in rw_t2t_extract_default_locks_info()
923 p_t2t->lock_tlv[p_t2t->num_lock_tlvs].num_bits = num_dynamic_lock_bits; in rw_t2t_extract_default_locks_info()
[all …]
Drw_t1t_ndef.c216 …offset = p_t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].offset + p_t1t->lockbyte[num_locks]… in rw_t1t_extract_lock_bytes()
313 …offset = p_t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].offset + p_t1t->lockbyte[num_locks]… in rw_t1t_read_locks()
474 …offset = p_t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].offset + p_t1t->lockbyte[num_locks]… in rw_t1t_handle_write_rsp()
475 …_locks].byte_index + 1)* 8 <= p_t1t->lock_tlv[p_t1t->lockbyte[num_locks].tlv_index].num_bits) ? 8 … in rw_t1t_handle_write_rsp()
485 …next_offset = p_t1t->lock_tlv[p_t1t->lockbyte[lock_count].tlv_index].offset + p_t1t->lockbyte[lock… in rw_t1t_handle_write_rsp()
486 …_count].byte_index + 1)* 8 <= p_t1t->lock_tlv[p_t1t->lockbyte[lock_count].tlv_index].num_bits) ? 8… in rw_t1t_handle_write_rsp()
1113 … p_t1t->lock_tlv[p_t1t->num_lock_tlvs].offset = (tlv_value[0] >> 4) & 0x0F; in rw_t1t_handle_tlv_detect_rsp()
1114 … p_t1t->lock_tlv[p_t1t->num_lock_tlvs].offset *= (UINT8) tags_pow (2, tlv_value[2] & 0x0F); in rw_t1t_handle_tlv_detect_rsp()
1115 p_t1t->lock_tlv[p_t1t->num_lock_tlvs].offset += tlv_value[0] & 0x0F; in rw_t1t_handle_tlv_detect_rsp()
1116 …p_t1t->lock_tlv[p_t1t->num_lock_tlvs].bytes_locked_per_bit = (UINT8) tags_pow (2, ((tlv_value[2] &… in rw_t1t_handle_tlv_detect_rsp()
[all …]
/external/libnfc-nci/src/nfc/int/
Dtags_int.h47 UINT8 lock_tlv[3]; member
Drw_int.h168 …tRW_T1T_LOCK_INFO lock_tlv[RW_T1T_MAX_LOCK_TLVS]; /* Information retrieved from lock control… member
345 …tRW_T2T_LOCK_INFO lock_tlv[RW_T2T_MAX_LOCK_TLVS]; /* Information retrieved from lock control… member