Searched refs:remaining_lock_bits (Results 1 – 2 of 2) sorted by relevance
618 uint8_t remaining_lock_bits = 0; in phFriNfc_MfUL_UpdateAndWriteLockBits() local629 remaining_lock_bits = phFriNfc_MfUL_CalcRemainingLockBits (NdefSmtCrdFmt); in phFriNfc_MfUL_UpdateAndWriteLockBits()640 if (no_of_bits_left_in_block >= remaining_lock_bits) in phFriNfc_MfUL_UpdateAndWriteLockBits()646 if (remaining_lock_bits % MFUL_BYTE_SIZE_IN_BITS) in phFriNfc_MfUL_UpdateAndWriteLockBits()651 remaining_lock_bytes = ((remaining_lock_bits / in phFriNfc_MfUL_UpdateAndWriteLockBits()656 mod_value = (uint8_t)(remaining_lock_bits % MFUL_BYTE_SIZE_IN_BITS); in phFriNfc_MfUL_UpdateAndWriteLockBits()657 if (remaining_lock_bits > MFUL_BYTE_SIZE_IN_BITS) in phFriNfc_MfUL_UpdateAndWriteLockBits()689 remaining_lock_bytes = (remaining_lock_bits / in phFriNfc_MfUL_UpdateAndWriteLockBits()701 remaining_lock_bits); in phFriNfc_MfUL_UpdateAndWriteLockBits()
933 uint8_t remaining_lock_bits = 0; in phFriNfc_Tpz_H_UpdateAndWriteLockBits() local948 remaining_lock_bits = ps_locktlv_info->LockTlvBuff[1]; in phFriNfc_Tpz_H_UpdateAndWriteLockBits()956 remaining_lock_bits = (uint8_t)(ps_locktlv_info->LockTlvBuff[1] - in phFriNfc_Tpz_H_UpdateAndWriteLockBits()963 if (no_of_bits_left_in_block >= remaining_lock_bits) in phFriNfc_Tpz_H_UpdateAndWriteLockBits()968 mod_value = (uint8_t)(remaining_lock_bits % TOPAZ_BYTES_PER_BLOCK); in phFriNfc_Tpz_H_UpdateAndWriteLockBits()977 (TOPAZ_CONVERT_BITS_TO_BYTES(remaining_lock_bits) - 1)) in phFriNfc_Tpz_H_UpdateAndWriteLockBits()1009 while (lock_byte_index < TOPAZ_CONVERT_BITS_TO_BYTES(remaining_lock_bits)) in phFriNfc_Tpz_H_UpdateAndWriteLockBits()1017 ps_tpz_info->lock_bytes_written = remaining_lock_bits; in phFriNfc_Tpz_H_UpdateAndWriteLockBits()