Lines Matching refs:tlv
37 const struct iwl_ucode_tlv *tlv; in iwl_pnvm_handle_section() local
46 while (len >= sizeof(*tlv)) { in iwl_pnvm_handle_section()
49 len -= sizeof(*tlv); in iwl_pnvm_handle_section()
50 tlv = (const void *)data; in iwl_pnvm_handle_section()
52 tlv_len = le32_to_cpu(tlv->length); in iwl_pnvm_handle_section()
53 tlv_type = le32_to_cpu(tlv->type); in iwl_pnvm_handle_section()
61 data += sizeof(*tlv); in iwl_pnvm_handle_section()
170 const struct iwl_ucode_tlv *tlv; in iwl_pnvm_parse() local
174 while (len >= sizeof(*tlv)) { in iwl_pnvm_parse()
177 len -= sizeof(*tlv); in iwl_pnvm_parse()
178 tlv = (const void *)data; in iwl_pnvm_parse()
180 tlv_len = le32_to_cpu(tlv->length); in iwl_pnvm_parse()
181 tlv_type = le32_to_cpu(tlv->type); in iwl_pnvm_parse()
191 (const void *)(data + sizeof(*tlv)); in iwl_pnvm_parse()
201 data += sizeof(*tlv) + ALIGN(tlv_len, 4); in iwl_pnvm_parse()
217 data += sizeof(*tlv) + ALIGN(tlv_len, 4); in iwl_pnvm_parse()