Searched refs:tlv_length (Results 1 – 4 of 4) sorted by relevance
458 uint16_t tlv_length; in efx_lic_v1v2_find_key() local466 tlv_length = __LE_TO_CPU_16(((uint16_t *)&bufferp[offset])[1]); in efx_lic_v1v2_find_key()467 if ((tlv_length > EFX_LICENSE_V1V2_PAYLOAD_LENGTH_MAX) || in efx_lic_v1v2_find_key()468 (tlv_type == 0 && tlv_length == 0)) { in efx_lic_v1v2_find_key()472 *lengthp = tlv_length + EFX_LICENSE_V1V2_HEADER_LENGTH; in efx_lic_v1v2_find_key()490 uint16_t tlv_length; in efx_lic_v1v2_validate_key() local499 tlv_length = __LE_TO_CPU_16(((uint16_t *)keyp)[1]); in efx_lic_v1v2_validate_key()501 if (tlv_length > EFX_LICENSE_V1V2_PAYLOAD_LENGTH_MAX) { in efx_lic_v1v2_validate_key()507 if ((tlv_length + EFX_LICENSE_V1V2_HEADER_LENGTH) != length) { in efx_lic_v1v2_validate_key()
65 tlv_length( in tlv_length() function113 length = tlv_length(cursor); in tlv_next_item_ptr()448 delta = TLV_DWORD_COUNT(tlv_length(cursor)); in tlv_delete()502 old_ndwords = TLV_DWORD_COUNT(tlv_length(cursor)); in tlv_modify()1047 value_length = tlv_length(&cursor); in ef10_nvram_buffer_get_item()1380 length = tlv_length(&cursor); in ef10_nvram_buf_read_tlv()
1436 tlv.tlv_length = TLV_LENGTH(p_temp); in ecore_mfw_update_tlvs()1439 tlv.tlv_type, tlv.tlv_length, tlv.tlv_flags); in ecore_mfw_update_tlvs()1456 OSAL_WARN(len > 4 * tlv.tlv_length, in ecore_mfw_update_tlvs()1458 len = OSAL_MIN_T(int, len, 4 * tlv.tlv_length); in ecore_mfw_update_tlvs()1465 offset += sizeof(u32) * tlv.tlv_length; in ecore_mfw_update_tlvs()1510 offset += sizeof(tlv) + sizeof(u32) * tlv.tlv_length) { in ecore_mfw_process_tlv_req()1513 tlv.tlv_length = TLV_LENGTH(p_temp); in ecore_mfw_process_tlv_req()
92 u8 tlv_length; /* In dwords - not including this header */ member