Lines Matching refs:tlv
61 const struct iwl_ucode_tlv *tlv; in iwl_uefi_reduce_power_section() local
67 while (len >= sizeof(*tlv)) { in iwl_uefi_reduce_power_section()
70 len -= sizeof(*tlv); in iwl_uefi_reduce_power_section()
71 tlv = (const void *)data; in iwl_uefi_reduce_power_section()
73 tlv_len = le32_to_cpu(tlv->length); in iwl_uefi_reduce_power_section()
74 tlv_type = le32_to_cpu(tlv->type); in iwl_uefi_reduce_power_section()
84 data += sizeof(*tlv); in iwl_uefi_reduce_power_section()
146 const struct iwl_ucode_tlv *tlv; in iwl_uefi_reduce_power_parse() local
151 while (len >= sizeof(*tlv)) { in iwl_uefi_reduce_power_parse()
154 len -= sizeof(*tlv); in iwl_uefi_reduce_power_parse()
155 tlv = (const void *)data; in iwl_uefi_reduce_power_parse()
157 tlv_len = le32_to_cpu(tlv->length); in iwl_uefi_reduce_power_parse()
158 tlv_type = le32_to_cpu(tlv->type); in iwl_uefi_reduce_power_parse()
168 (const void *)(data + sizeof(*tlv)); in iwl_uefi_reduce_power_parse()
178 data += sizeof(*tlv) + ALIGN(tlv_len, 4); in iwl_uefi_reduce_power_parse()
193 data += sizeof(*tlv) + ALIGN(tlv_len, 4); in iwl_uefi_reduce_power_parse()