Lines Matching refs:tlv
39 const struct iwl_ucode_tlv *tlv; in iwl_pnvm_handle_section() local
48 while (len >= sizeof(*tlv)) { in iwl_pnvm_handle_section()
51 len -= sizeof(*tlv); in iwl_pnvm_handle_section()
52 tlv = (const void *)data; in iwl_pnvm_handle_section()
54 tlv_len = le32_to_cpu(tlv->length); in iwl_pnvm_handle_section()
55 tlv_type = le32_to_cpu(tlv->type); in iwl_pnvm_handle_section()
63 data += sizeof(*tlv); in iwl_pnvm_handle_section()
172 const struct iwl_ucode_tlv *tlv; in iwl_pnvm_parse() local
176 while (len >= sizeof(*tlv)) { in iwl_pnvm_parse()
180 len -= sizeof(*tlv); in iwl_pnvm_parse()
181 tlv = (const void *)data; in iwl_pnvm_parse()
183 tlv_len = le32_to_cpu(tlv->length); in iwl_pnvm_parse()
184 tlv_type = le32_to_cpu(tlv->type); in iwl_pnvm_parse()
194 (const void *)(data + sizeof(*tlv)); in iwl_pnvm_parse()
204 data += sizeof(*tlv) + ALIGN(tlv_len, 4); in iwl_pnvm_parse()
230 data += sizeof(*tlv) + ALIGN(tlv_len, 4); in iwl_pnvm_parse()