Lines Matching refs:nvm_sw
1235 static int iwl_get_sku(const struct iwl_cfg *cfg, const __le16 *nvm_sw, in iwl_get_sku() argument
1239 return le16_to_cpup(nvm_sw + SKU); in iwl_get_sku()
1244 static int iwl_get_nvm_version(const struct iwl_cfg *cfg, const __le16 *nvm_sw) in iwl_get_nvm_version() argument
1247 return le16_to_cpup(nvm_sw + NVM_VERSION); in iwl_get_nvm_version()
1249 return le32_to_cpup((const __le32 *)(nvm_sw + in iwl_get_nvm_version()
1253 static int iwl_get_radio_cfg(const struct iwl_cfg *cfg, const __le16 *nvm_sw, in iwl_get_radio_cfg() argument
1257 return le16_to_cpup(nvm_sw + RADIO_CFG); in iwl_get_radio_cfg()
1263 static int iwl_get_n_hw_addrs(const struct iwl_cfg *cfg, const __le16 *nvm_sw) in iwl_get_n_hw_addrs() argument
1268 return le16_to_cpup(nvm_sw + N_HW_ADDRS); in iwl_get_n_hw_addrs()
1270 n_hw_addr = le32_to_cpup((const __le32 *)(nvm_sw + N_HW_ADDRS_FAMILY_8000)); in iwl_get_n_hw_addrs()
1515 const __be16 *nvm_hw, const __le16 *nvm_sw, in iwl_parse_nvm_data() argument
1542 data->nvm_version = iwl_get_nvm_version(cfg, nvm_sw); in iwl_parse_nvm_data()
1544 radio_cfg = iwl_get_radio_cfg(cfg, nvm_sw, phy_sku); in iwl_parse_nvm_data()
1551 sku = iwl_get_sku(cfg, nvm_sw, phy_sku); in iwl_parse_nvm_data()
1561 data->n_hw_addrs = iwl_get_n_hw_addrs(cfg, nvm_sw); in iwl_parse_nvm_data()
1574 &nvm_sw[NVM_CHANNELS]; in iwl_parse_nvm_data()