Home
last modified time | relevance | path

Searched refs:lock_index (Results 1 – 2 of 2) sorted by relevance

/external/libnfc-nxp/src/
DphFriNfc_MifULFormat.c534 uint8_t lock_index = 0; in phFriNfc_MfUL_GetLockBytesInfo() local
537 page_address = (uint8_t)(ps_type2_info->DynLockBytes[lock_index] >> MFUL_NIBBLE_SIZE); in phFriNfc_MfUL_GetLockBytesInfo()
538 bytes_offset = (uint8_t)(ps_type2_info->DynLockBytes[lock_index] & MFUL_NIBBLE_MASK); in phFriNfc_MfUL_GetLockBytesInfo()
540 lock_index = (lock_index + 1); in phFriNfc_MfUL_GetLockBytesInfo()
541 ps_type2_info->NoOfLockBits = ps_type2_info->DynLockBytes[lock_index]; in phFriNfc_MfUL_GetLockBytesInfo()
543 lock_index = (lock_index + 1); in phFriNfc_MfUL_GetLockBytesInfo()
545 (ps_type2_info->DynLockBytes[lock_index] & MFUL_NIBBLE_MASK); in phFriNfc_MfUL_GetLockBytesInfo()
547 (ps_type2_info->DynLockBytes[lock_index] >> MFUL_NIBBLE_SIZE); in phFriNfc_MfUL_GetLockBytesInfo()
DphFriNfc_TopazDynamicMap.c4148 uint8_t lock_index = 0; in phFriNfc_Tpz_H_GetLockBytesInfo() local
4152 page_address = (uint8_t)(p_lock_info[lock_index] >> NIBBLE_SIZE); in phFriNfc_Tpz_H_GetLockBytesInfo()
4153 bytes_offset = (uint8_t)(p_lock_info[lock_index] & TOPAZ_NIBBLE_MASK); in phFriNfc_Tpz_H_GetLockBytesInfo()
4155 lock_index = (lock_index + 1); in phFriNfc_Tpz_H_GetLockBytesInfo()
4157 (((p_lock_info[lock_index] % TOPAZ_BYTE_SIZE_IN_BITS) > 0)? in phFriNfc_Tpz_H_GetLockBytesInfo()
4158 ((p_lock_info[lock_index] / TOPAZ_BYTE_SIZE_IN_BITS) + 1) : in phFriNfc_Tpz_H_GetLockBytesInfo()
4159 (p_lock_info[lock_index] / TOPAZ_BYTE_SIZE_IN_BITS)); in phFriNfc_Tpz_H_GetLockBytesInfo()
4161 lock_index = (lock_index + 1); in phFriNfc_Tpz_H_GetLockBytesInfo()
4163 (p_lock_info[lock_index] & TOPAZ_NIBBLE_MASK); in phFriNfc_Tpz_H_GetLockBytesInfo()
4165 (p_lock_info[lock_index] >> NIBBLE_SIZE); in phFriNfc_Tpz_H_GetLockBytesInfo()