Home | History | Annotate | Download | only in pci

Lines Matching defs:tlv

5883  * Extract text and data sections from a TLV firmware image.
5890 const struct iwn_fw_tlv *tlv;
5923 while (ptr + sizeof (*tlv) <= end) {
5924 tlv = (const struct iwn_fw_tlv *)ptr;
5925 len = le32toh(tlv->len);
5927 ptr += sizeof (*tlv);
5934 if (tlv->alt != 0 && tlv->alt != htole16(alt))
5937 switch (le16toh(tlv->type)) {
5961 "TLV type %d has invalid size %u\n",
5962 le16toh(tlv->type), len);
5970 "TLV type %d has invalid size %u\n",
5971 le16toh(tlv->type), len);
5988 DPRINTF(("TLV type %d not handled\n",
5989 le16toh(tlv->type)));
5992 next: /* TLV fields are 32-bit aligned. */