Home
last modified time | relevance | path

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

/dpdk/drivers/common/sfc_efx/base/
H A Defx_lic.c458 uint16_t tlv_length; in efx_lic_v1v2_find_key() local
466 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() local
499 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()
H A Def10_nvram.c65 tlv_length( in tlv_length() function
113 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()
/dpdk/drivers/net/qede/base/
H A Decore_mng_tlv.c1436 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()
H A Decore_mcp.h92 u8 tlv_length; /* In dwords - not including this header */ member