Lines Matching defs:sections
221 struct iwl_nvm_section *sections = mvm->nvm_sections;
228 /* Checking for required sections */
232 IWL_ERR(mvm, "Can't parse empty OTP/NVM sections\n");
241 /* SW and REGULATORY sections are mandatory */
245 "Can't parse empty family 8000 OTP/NVM sections\n");
252 "Can't parse mac_address, empty sections\n");
260 "Can't parse phy_sku in B0, empty sections\n");
265 hw = (const __be16 *)sections[mvm->cfg->nvm_hw_section_num].data;
266 sw = (const __le16 *)sections[NVM_SECTION_TYPE_SW].data;
267 calib = (const __le16 *)sections[NVM_SECTION_TYPE_CALIBRATION].data;
269 (const __le16 *)sections[NVM_SECTION_TYPE_MAC_OVERRIDE].data;
270 phy_sku = (const __le16 *)sections[NVM_SECTION_TYPE_PHY_SKU].data;
273 (const __le16 *)sections[NVM_SECTION_TYPE_REGULATORY_SDP].data :
274 (const __le16 *)sections[NVM_SECTION_TYPE_REGULATORY].data;
291 struct iwl_nvm_section *sections = mvm->nvm_sections;
298 ret = iwl_nvm_write_section(mvm, i, sections[i].data,
299 sections[i].length);
406 /* parse the relevant nvm sections */