Lines Matching defs:sections
220 struct iwl_nvm_section *sections = mvm->nvm_sections;
227 /* Checking for required sections */
231 IWL_ERR(mvm, "Can't parse empty OTP/NVM sections\n");
240 /* SW and REGULATORY sections are mandatory */
244 "Can't parse empty family 8000 OTP/NVM sections\n");
251 "Can't parse mac_address, empty sections\n");
259 "Can't parse phy_sku in B0, empty sections\n");
264 hw = (const __be16 *)sections[mvm->cfg->nvm_hw_section_num].data;
265 sw = (const __le16 *)sections[NVM_SECTION_TYPE_SW].data;
266 calib = (const __le16 *)sections[NVM_SECTION_TYPE_CALIBRATION].data;
268 (const __le16 *)sections[NVM_SECTION_TYPE_MAC_OVERRIDE].data;
269 phy_sku = (const __le16 *)sections[NVM_SECTION_TYPE_PHY_SKU].data;
272 (const __le16 *)sections[NVM_SECTION_TYPE_REGULATORY_SDP].data :
273 (const __le16 *)sections[NVM_SECTION_TYPE_REGULATORY].data;
290 struct iwl_nvm_section *sections = mvm->nvm_sections;
297 ret = iwl_nvm_write_section(mvm, i, sections[i].data,
298 sections[i].length);
405 /* parse the relevant nvm sections */