Searched refs:tlv (Results 1 – 3 of 3) sorted by relevance
1199 struct iwx_ucode_tlv tlv; in iwx_read_firmware() local1249 while (len >= sizeof(tlv)) { in iwx_read_firmware()1253 memcpy(&tlv, data, sizeof(tlv)); in iwx_read_firmware()1254 tlv_len = le32toh(tlv.length); in iwx_read_firmware()1255 tlv_type = le32toh(tlv.type); in iwx_read_firmware()1257 len -= sizeof(tlv); in iwx_read_firmware()1258 data += sizeof(tlv); in iwx_read_firmware()4054 const struct iwx_ucode_tlv *tlv; in iwx_pnvm_handle_section() local4062 while (len >= sizeof(*tlv)) { in iwx_pnvm_handle_section()4065 len -= sizeof(*tlv); in iwx_pnvm_handle_section()[all …]
8353 const struct iwn_fw_tlv *tlv; in iwn_read_firmware_tlv() local8386 while (ptr + sizeof (*tlv) <= end) { in iwn_read_firmware_tlv()8387 tlv = (const struct iwn_fw_tlv *)ptr; in iwn_read_firmware_tlv()8388 len = le32toh(tlv->len); in iwn_read_firmware_tlv()8390 ptr += sizeof (*tlv); in iwn_read_firmware_tlv()8398 if (tlv->alt != 0 && tlv->alt != htole16(alt)) in iwn_read_firmware_tlv()8401 switch (le16toh(tlv->type)) { in iwn_read_firmware_tlv()8460 le16toh(tlv->type)); in iwn_read_firmware_tlv()8464 "TLV type %d not handled\n", le16toh(tlv->type)); in iwn_read_firmware_tlv()
712 struct iwm_ucode_tlv tlv; in iwm_read_firmware() local761 while (len >= sizeof(tlv)) { in iwm_read_firmware()765 memcpy(&tlv, data, sizeof(tlv)); in iwm_read_firmware()766 tlv_len = le32toh(tlv.length); in iwm_read_firmware()767 tlv_type = le32toh(tlv.type); in iwm_read_firmware()769 len -= sizeof(tlv); in iwm_read_firmware()770 data += sizeof(tlv); in iwm_read_firmware()