Lines Matching refs:tlv
36 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()
62 data += sizeof(*tlv); in iwl_pnvm_handle_section()
176 const struct iwl_ucode_tlv *tlv; in iwl_pnvm_parse() local
180 while (len >= sizeof(*tlv)) { in iwl_pnvm_parse()
183 len -= sizeof(*tlv); in iwl_pnvm_parse()
184 tlv = (const void *)data; in iwl_pnvm_parse()
186 tlv_len = le32_to_cpu(tlv->length); in iwl_pnvm_parse()
187 tlv_type = le32_to_cpu(tlv->type); in iwl_pnvm_parse()
197 (const void *)(data + sizeof(*tlv)); in iwl_pnvm_parse()
207 data += sizeof(*tlv) + ALIGN(tlv_len, 4); in iwl_pnvm_parse()
222 data += sizeof(*tlv) + ALIGN(tlv_len, 4); in iwl_pnvm_parse()