Home
last modified time | relevance | path

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

/drivers/net/ethernet/intel/fm10k/
Dfm10k_tlv.c399 const struct fm10k_tlv_attr *tlv_attr) in fm10k_tlv_attr_validate() argument
409 while (tlv_attr->id < attr_id) in fm10k_tlv_attr_validate()
410 tlv_attr++; in fm10k_tlv_attr_validate()
413 if (tlv_attr->id != attr_id) in fm10k_tlv_attr_validate()
419 switch (tlv_attr->type) { in fm10k_tlv_attr_validate()
424 if (len > tlv_attr->len) in fm10k_tlv_attr_validate()
437 if (len != tlv_attr->len) in fm10k_tlv_attr_validate()
442 if ((len % 4) || len != tlv_attr->len) in fm10k_tlv_attr_validate()
472 const struct fm10k_tlv_attr *tlv_attr) in fm10k_tlv_attr_parse() argument
494 if (!tlv_attr) { in fm10k_tlv_attr_parse()
[all …]