Lines Matching refs:section

131 	const struct rtw89_fw_hdr_section *section;
160 /* jump to section header */
163 section = &fw_hdr->sections[i];
165 le32_get_bits(section->w1, FWSECTION_HDR_W1_SECTIONTYPE);
168 le32_get_bits(section->w2, FWSECTION_HDR_W2_MSSC);
174 section_info->len = le32_get_bits(section->w1, FWSECTION_HDR_W1_SEC_SIZE);
175 if (le32_get_bits(section->w1, FWSECTION_HDR_W1_CHECKSUM))
177 section_info->redl = le32_get_bits(section->w1, FWSECTION_HDR_W1_REDL);
179 le32_get_bits(section->w0, FWSECTION_HDR_W0_DL_ADDR) & 0x1fffffff;
240 const struct rtw89_fw_hdr_section_v1 *section,
323 const struct rtw89_fw_hdr_section_v1 *section,
330 le32_get_bits(section->w2, FWSECTION_HDR_V1_W2_MSSC);
334 section, content, mssc_len);
354 const struct rtw89_fw_hdr_section_v1 *section;
382 /* jump to section header */
385 section = &fw_hdr->sections[i];
388 le32_get_bits(section->w1, FWSECTION_HDR_V1_W1_SECTIONTYPE);
390 le32_get_bits(section->w1, FWSECTION_HDR_V1_W1_SEC_SIZE);
391 if (le32_get_bits(section->w1, FWSECTION_HDR_V1_W1_CHECKSUM))
393 section_info->redl = le32_get_bits(section->w1, FWSECTION_HDR_V1_W1_REDL);
395 le32_get_bits(section->w0, FWSECTION_HDR_V1_W0_DL_ADDR);
400 section, bin, &mssc_len);
409 "section[%d] type=%d len=0x%-6x mssc=%d mssc_len=%d addr=%tx\n",
429 rtw89_warn(rtwdev, "no firmware secure section\n");
1142 struct rtw89_fw_hdr_section_v1 *section;
1151 section = &fw_hdr->sections[sec_idx];
1157 fw_hdr->sections[dst_sec_idx] = *section;
1164 return (info->section_num - dst_sec_idx) * sizeof(*section);
1253 const u8 *section = info->addr;
1281 skb_put_data(skb, section, pkt_len);
1294 section += pkt_len;