Lines Matching defs:nvm_sw
1235 static int iwl_get_sku(const struct iwl_cfg *cfg, const __le16 *nvm_sw,
1239 return le16_to_cpup(nvm_sw + SKU);
1244 static int iwl_get_nvm_version(const struct iwl_cfg *cfg, const __le16 *nvm_sw)
1247 return le16_to_cpup(nvm_sw + NVM_VERSION);
1249 return le32_to_cpup((const __le32 *)(nvm_sw +
1253 static int iwl_get_radio_cfg(const struct iwl_cfg *cfg, const __le16 *nvm_sw,
1257 return le16_to_cpup(nvm_sw + RADIO_CFG);
1263 static int iwl_get_n_hw_addrs(const struct iwl_cfg *cfg, const __le16 *nvm_sw)
1268 return le16_to_cpup(nvm_sw + N_HW_ADDRS);
1270 n_hw_addr = le32_to_cpup((const __le32 *)(nvm_sw + N_HW_ADDRS_FAMILY_8000));
1520 const __be16 *nvm_hw, const __le16 *nvm_sw,
1547 data->nvm_version = iwl_get_nvm_version(cfg, nvm_sw);
1549 radio_cfg = iwl_get_radio_cfg(cfg, nvm_sw, phy_sku);
1556 sku = iwl_get_sku(cfg, nvm_sw, phy_sku);
1566 data->n_hw_addrs = iwl_get_n_hw_addrs(cfg, nvm_sw);
1579 &nvm_sw[NVM_CHANNELS];