/drivers/scsi/pm8001/ |
H A D | pm8001_hwi.h | 661 __le32 nvm_data[12]; member in struct:get_nvm_data_resp
|
H A D | pm80xx_hwi.h | 920 __le32 nvm_data[12]; member in struct:get_nvm_data_resp
|
/drivers/net/ethernet/intel/e1000e/ |
H A D | mac.c | 162 u16 offset, nvm_alt_mac_addr_offset, nvm_data; local 165 ret_val = e1000_read_nvm(hw, NVM_COMPAT, 1, &nvm_data); 189 ret_val = e1000_read_nvm(hw, offset, 1, &nvm_data); 195 alt_mac_addr[i] = (u8)(nvm_data & 0xFF); 196 alt_mac_addr[i + 1] = (u8)(nvm_data >> 8); 649 u16 nvm_data; local 659 ret_val = e1000_read_nvm(hw, NVM_INIT_CONTROL2_REG, 1, &nvm_data); 666 if (!(nvm_data & NVM_WORD0F_PAUSE_MASK)) 668 else if ((nvm_data & NVM_WORD0F_PAUSE_MASK) == NVM_WORD0F_ASM_DIR)
|
H A D | nvm.c | 433 u16 nvm_data; local 443 ret_val = e1000_read_nvm(hw, NVM_PBA_OFFSET_0, 1, &nvm_data); 455 /* if nvm_data is not ptr guard the PBA must be in legacy format which 459 if (nvm_data != NVM_PBA_PTR_GUARD) { 469 pba_num[0] = (nvm_data >> 12) & 0xF; 470 pba_num[1] = (nvm_data >> 8) & 0xF; 471 pba_num[2] = (nvm_data >> 4) & 0xF; 472 pba_num[3] = nvm_data & 0xF; 515 ret_val = e1000_read_nvm(hw, pba_ptr + offset, 1, &nvm_data); 520 pba_num[offset * 2] = (u8)(nvm_data >> 568 u16 i, nvm_data; local 599 u16 i, nvm_data; local [all...] |
/drivers/net/ethernet/intel/igb/ |
H A D | e1000_82575.c | 2177 u16 nvm_data = 0; local 2186 &nvm_data); 2193 if (nvm_data & NVM_WORD24_EXT_MDIO) 2195 if (nvm_data & NVM_WORD24_COM_MDIO) 2325 u16 i, nvm_data; local 2328 ret_val = hw->nvm.ops.read(hw, i, 1, &nvm_data); 2333 checksum += nvm_data; 2360 u16 i, nvm_data; local 2363 ret_val = hw->nvm.ops.read(hw, i, 1, &nvm_data); 2368 checksum += nvm_data; 2392 u16 j, nvm_data; local 2431 u16 j, nvm_data; local [all...] |
H A D | e1000_i210.c | 596 u16 i, nvm_data; local 602 ret_val = igb_read_nvm_eerd(hw, 0, 1, &nvm_data); 615 ret_val = igb_read_nvm_eerd(hw, i, 1, &nvm_data); 621 checksum += nvm_data;
|
H A D | e1000_mac.c | 237 u16 offset, nvm_alt_mac_addr_offset, nvm_data; local 267 ret_val = hw->nvm.ops.read(hw, offset, 1, &nvm_data); 273 alt_mac_addr[i] = (u8)(nvm_data & 0xFF); 274 alt_mac_addr[i + 1] = (u8)(nvm_data >> 8); 712 u16 nvm_data; local 725 + lan_offset, 1, &nvm_data); 728 1, &nvm_data); 736 if ((nvm_data & NVM_WORD0F_PAUSE_MASK) == 0) 738 else if ((nvm_data & NVM_WORD0F_PAUSE_MASK) ==
|
H A D | e1000_nvm.c | 508 u16 nvm_data; local 519 ret_val = hw->nvm.ops.read(hw, NVM_PBA_OFFSET_0, 1, &nvm_data); 531 /* if nvm_data is not ptr guard the PBA must be in legacy format which 535 if (nvm_data != NVM_PBA_PTR_GUARD) { 545 part_num[0] = (nvm_data >> 12) & 0xF; 546 part_num[1] = (nvm_data >> 8) & 0xF; 547 part_num[2] = (nvm_data >> 4) & 0xF; 548 part_num[3] = nvm_data & 0xF; 593 ret_val = hw->nvm.ops.read(hw, pointer + offset, 1, &nvm_data); 598 part_num[offset * 2] = (u8)(nvm_data >> 647 u16 i, nvm_data; local 680 u16 i, nvm_data; local [all...] |
/drivers/net/wireless/iwlwifi/dvm/ |
H A D | calib.c | 835 active_chains &= priv->nvm_data->valid_rx_ant; 842 if (!(priv->nvm_data->valid_tx_ant & ant_msk)) 856 find_first_chain(priv->nvm_data->valid_tx_ant); 866 if (active_chains != priv->nvm_data->valid_rx_ant && 872 priv->nvm_data->valid_rx_ant); 1057 data->active_chains = priv->nvm_data->valid_rx_ant; 1088 find_first_chain(priv->nvm_data->valid_rx_ant));
|
H A D | debugfs.c | 309 nvm_ver = priv->nvm_data->nvm_version; 1321 if ((priv->nvm_data->valid_tx_ant & ANT_A) && 1326 if ((priv->nvm_data->valid_tx_ant & ANT_B) && 1331 if ((priv->nvm_data->valid_tx_ant & ANT_C) &&
|
H A D | dev.h | 878 struct iwl_nvm_data *nvm_data; member in struct:iwl_priv
|
H A D | devices.c | 351 temperature = le16_to_cpu(priv->nvm_data->kelvin_temperature); 352 voltage = le16_to_cpu(priv->nvm_data->kelvin_voltage); 513 if (priv->nvm_data->calib_version >= 6) 519 if (priv->nvm_data->calib_version >= 6)
|
H A D | lib.c | 61 if (tx_power_cmd.global_lmt > priv->nvm_data->max_tx_pwr_half_dbm) { 74 priv->nvm_data->max_tx_pwr_half_dbm; 160 if (priv->nvm_data->sku_cap_11n_enable) 829 active_chains = priv->nvm_data->valid_rx_ant;
|
H A D | mac80211.c | 127 if (priv->nvm_data->sku_cap_11n_enable) 201 if (priv->nvm_data->bands[IEEE80211_BAND_2GHZ].n_channels) 203 &priv->nvm_data->bands[IEEE80211_BAND_2GHZ]; 204 if (priv->nvm_data->bands[IEEE80211_BAND_5GHZ].n_channels) 206 &priv->nvm_data->bands[IEEE80211_BAND_5GHZ]; 730 if (!(priv->nvm_data->sku_cap_11n_enable))
|
H A D | main.c | 187 priv->nvm_data->valid_tx_ant); 771 iwlagn_send_tx_ant_config(priv, priv->nvm_data->valid_tx_ant); 1125 struct iwl_nvm_data *data = priv->nvm_data; 1317 priv->nvm_data = iwl_parse_eeprom_data(priv->trans->dev, priv->cfg, 1320 if (!priv->nvm_data) 1323 if (iwl_nvm_check_version(priv->nvm_data, priv->trans)) 1330 memcpy(priv->addresses[0].addr, priv->nvm_data->hw_addr, ETH_ALEN); 1334 num_mac = priv->nvm_data->n_hw_addrs; 1347 if (!(priv->nvm_data->sku_cap_ipan_enable)) { 1426 iwl_free_nvm_data(priv->nvm_data); [all...] |
H A D | rs.c | 812 first_antenna(priv->nvm_data->valid_tx_ant); 1432 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; 1450 first_antenna(priv->nvm_data->valid_tx_ant); 1474 first_antenna(priv->nvm_data->valid_tx_ant); 1608 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; 1626 first_antenna(priv->nvm_data->valid_tx_ant); 1644 first_antenna(priv->nvm_data->valid_tx_ant); 1780 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; 1950 u8 valid_tx_ant = priv->nvm_data->valid_tx_ant; 2684 valid_tx_ant = priv->nvm_data [all...] |
H A D | rxon.c | 424 if (tx_power > DIV_ROUND_UP(priv->nvm_data->max_tx_pwr_half_dbm, 2)) { 427 tx_power, priv->nvm_data->max_tx_pwr_half_dbm);
|
H A D | scan.c | 650 u8 rx_ant = priv->nvm_data->valid_rx_ant; 655 u8 scan_tx_antennas = priv->nvm_data->valid_tx_ant; 860 priv->nvm_data->valid_rx_ant << RXON_RX_CHAIN_VALID_POS; 936 u8 ant_idx = fls(priv->nvm_data->valid_tx_ant) - 1;
|
H A D | sta.c | 625 rate_flags |= first_antenna(priv->nvm_data->valid_tx_ant) << 632 first_antenna(priv->nvm_data->valid_tx_ant); 635 priv->nvm_data->valid_tx_ant & 636 ~first_antenna(priv->nvm_data->valid_tx_ant); 639 } else if (num_of_ant(priv->nvm_data->valid_tx_ant) == 2) { 641 priv->nvm_data->valid_tx_ant;
|
H A D | tx.c | 178 &priv->nvm_data->bands[info->band], sta); 197 first_antenna(priv->nvm_data->valid_tx_ant)); 201 priv->nvm_data->valid_tx_ant);
|
H A D | ucode.c | 63 __le16 *xtal_calib = priv->nvm_data->xtal_calib; 77 cmd.radio_sensor_offset = priv->nvm_data->raw_temperature; 92 cmd.radio_sensor_offset_high = priv->nvm_data->kelvin_temperature; 93 cmd.radio_sensor_offset_low = priv->nvm_data->raw_temperature; 99 cmd.burntVoltageRef = priv->nvm_data->calib_voltage; 259 priv->nvm_data->sku_cap_ipan_enable) {
|
/drivers/net/wireless/iwlwifi/mvm/ |
H A D | fw.c | 322 ret = iwl_nvm_check_version(mvm->nvm_data, mvm->trans); 374 if (iwlmvm_mod_params.init_dbg && !mvm->nvm_data) { 376 mvm->nvm_data = kzalloc(sizeof(struct iwl_nvm_data) + 380 if (!mvm->nvm_data) 382 mvm->nvm_data->bands[0].channels = mvm->nvm_data->channels; 383 mvm->nvm_data->bands[0].n_channels = 1; 384 mvm->nvm_data->bands[0].n_bitrates = 1; 385 mvm->nvm_data->bands[0].bitrates = 386 (void *)mvm->nvm_data [all...] |
H A D | mac80211.c | 357 memcpy(mvm->addresses[0].addr, mvm->nvm_data->hw_addr, ETH_ALEN); 362 num_mac = (mvm->nvm_data->n_hw_addrs > 1) ? 363 min(IWL_MVM_MAX_ADDRESSES, mvm->nvm_data->n_hw_addrs) : 1; 378 if (mvm->nvm_data->bands[IEEE80211_BAND_2GHZ].n_channels) 380 &mvm->nvm_data->bands[IEEE80211_BAND_2GHZ]; 381 if (mvm->nvm_data->bands[IEEE80211_BAND_5GHZ].n_channels) 383 &mvm->nvm_data->bands[IEEE80211_BAND_5GHZ]; 587 if (!(mvm->nvm_data->sku_cap_11n_enable))
|
H A D | mvm.h | 568 struct iwl_nvm_data *nvm_data; member in struct:iwl_mvm
|
H A D | nvm.c | 550 mvm->nvm_data = iwl_parse_nvm_sections(mvm); 551 if (!mvm->nvm_data)
|