Lines Matching refs:nvm_sw
718 static int iwl_get_sku(const struct iwl_cfg *cfg, const __le16 *nvm_sw, in iwl_get_sku() argument
722 return le16_to_cpup(nvm_sw + SKU); in iwl_get_sku()
727 static int iwl_get_nvm_version(const struct iwl_cfg *cfg, const __le16 *nvm_sw) in iwl_get_nvm_version() argument
730 return le16_to_cpup(nvm_sw + NVM_VERSION); in iwl_get_nvm_version()
732 return le32_to_cpup((__le32 *)(nvm_sw + in iwl_get_nvm_version()
736 static int iwl_get_radio_cfg(const struct iwl_cfg *cfg, const __le16 *nvm_sw, in iwl_get_radio_cfg() argument
740 return le16_to_cpup(nvm_sw + RADIO_CFG); in iwl_get_radio_cfg()
746 static int iwl_get_n_hw_addrs(const struct iwl_cfg *cfg, const __le16 *nvm_sw) in iwl_get_n_hw_addrs() argument
751 return le16_to_cpup(nvm_sw + N_HW_ADDRS); in iwl_get_n_hw_addrs()
753 n_hw_addr = le32_to_cpup((__le32 *)(nvm_sw + N_HW_ADDRS_FAMILY_8000)); in iwl_get_n_hw_addrs()
935 const __be16 *nvm_hw, const __le16 *nvm_sw, in iwl_parse_nvm_data() argument
962 data->nvm_version = iwl_get_nvm_version(cfg, nvm_sw); in iwl_parse_nvm_data()
964 radio_cfg = iwl_get_radio_cfg(cfg, nvm_sw, phy_sku); in iwl_parse_nvm_data()
971 sku = iwl_get_sku(cfg, nvm_sw, phy_sku); in iwl_parse_nvm_data()
981 data->n_hw_addrs = iwl_get_n_hw_addrs(cfg, nvm_sw); in iwl_parse_nvm_data()
994 &nvm_sw[NVM_CHANNELS]; in iwl_parse_nvm_data()