/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_hwinfo.c | 100 static bool nfp_hwinfo_is_updating(struct nfp_hwinfo *hwinfo) in nfp_hwinfo_is_updating() argument 102 return le32_to_cpu(hwinfo->version) & NFP_HWINFO_VERSION_UPDATING; in nfp_hwinfo_is_updating() 106 hwinfo_db_walk(struct nfp_cpp *cpp, struct nfp_hwinfo *hwinfo, u32 size) in hwinfo_db_walk() argument 108 const char *key, *val, *end = hwinfo->data + size; in hwinfo_db_walk() 110 for (key = hwinfo->data; *key && key < end; in hwinfo_db_walk() 255 const char *nfp_hwinfo_lookup(struct nfp_hwinfo *hwinfo, const char *lookup) in nfp_hwinfo_lookup() argument 259 if (!hwinfo || !lookup) in nfp_hwinfo_lookup() 262 end = hwinfo->data + le32_to_cpu(hwinfo->size) - sizeof(u32); in nfp_hwinfo_lookup() 264 for (key = hwinfo->data; *key && key < end; in nfp_hwinfo_lookup() 276 char *nfp_hwinfo_get_packed_strings(struct nfp_hwinfo *hwinfo) in nfp_hwinfo_get_packed_strings() argument [all …]
|
D | nfp.h | 21 const char *nfp_hwinfo_lookup(struct nfp_hwinfo *hwinfo, const char *lookup); 22 char *nfp_hwinfo_get_packed_strings(struct nfp_hwinfo *hwinfo); 23 u32 nfp_hwinfo_get_packed_str_size(struct nfp_hwinfo *hwinfo);
|
/drivers/net/ethernet/netronome/nfp/ |
D | devlink_param.c | 89 char hwinfo[32]; in nfp_devlink_param_u8_get() local 105 snprintf(hwinfo, sizeof(hwinfo), arg->hwinfo_name); in nfp_devlink_param_u8_get() 106 err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo), in nfp_devlink_param_u8_get() 113 err = kstrtol(hwinfo, 0, &value); in nfp_devlink_param_u8_get() 140 char hwinfo[32]; in nfp_devlink_param_u8_set() local 156 snprintf(hwinfo, sizeof(hwinfo), "%s=%u", in nfp_devlink_param_u8_set() 158 err = nfp_nsp_hwinfo_set(nsp, hwinfo, sizeof(hwinfo)); in nfp_devlink_param_u8_set()
|
D | nfp_main.c | 167 cp = nfp_hwinfo_lookup(pf->hwinfo, "board.state"); in nfp_board_ready() 193 kfree(pf->hwinfo); in nfp_pf_board_state_wait() 194 pf->hwinfo = nfp_hwinfo_read(pf->cpp); in nfp_pf_board_state_wait() 401 fw_model = nfp_hwinfo_lookup(pf->hwinfo, "assembly.partno"); in nfp_net_fw_find() 436 char hwinfo[64]; in nfp_get_fw_policy_value() local 440 snprintf(hwinfo, sizeof(hwinfo), key); in nfp_get_fw_policy_value() 441 err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo), in nfp_get_fw_policy_value() 446 err = kstrtol(hwinfo, 0, &hi_val); in nfp_get_fw_policy_value() 450 hwinfo, key); in nfp_get_fw_policy_value() 473 char hwinfo[64]; in nfp_fw_load() local [all …]
|
D | nfp_devlink.c | 175 const char *hwinfo; member 195 val = nfp_hwinfo_lookup(pf->hwinfo, info->hwinfo); in nfp_devlink_versions_get_hwinfo() 268 vendor = nfp_hwinfo_lookup(pf->hwinfo, "assembly.vendor"); in nfp_devlink_info_get() 269 part = nfp_hwinfo_lookup(pf->hwinfo, "assembly.partno"); in nfp_devlink_info_get() 270 sn = nfp_hwinfo_lookup(pf->hwinfo, "assembly.serial"); in nfp_devlink_info_get()
|
D | nfp_net_debugdump.c | 207 value = nfp_hwinfo_lookup(pf->hwinfo, spec->data); in nfp_calc_hwinfo_field_sz() 284 hwinfo_size = nfp_hwinfo_get_packed_str_size(pf->hwinfo); in nfp_add_tlv_size() 395 char *hwinfo; in nfp_dump_hwinfo() local 398 hwinfo = nfp_hwinfo_get_packed_strings(pf->hwinfo); in nfp_dump_hwinfo() 399 hwinfo_size = nfp_hwinfo_get_packed_str_size(pf->hwinfo); in nfp_dump_hwinfo() 406 memcpy(dump_header->data, hwinfo, hwinfo_size); in nfp_dump_hwinfo() 426 value = nfp_hwinfo_lookup(pf->hwinfo, key); in nfp_dump_hwinfo_field()
|
/drivers/staging/rtl8723bs/include/ |
D | rtl8723b_hal.h | 218 void Hal_EfuseParseIDCode(struct adapter *padapter, u8 *hwinfo); 221 void Hal_EfuseParseBTCoexistInfo_8723B(struct adapter *padapter, u8 *hwinfo, 223 void Hal_EfuseParseEEPROMVer_8723B(struct adapter *padapter, u8 *hwinfo, 225 void Hal_EfuseParseChnlPlan_8723B(struct adapter *padapter, u8 *hwinfo, 227 void Hal_EfuseParseCustomerID_8723B(struct adapter *padapter, u8 *hwinfo, 229 void Hal_EfuseParseAntennaDiversity_8723B(struct adapter *padapter, u8 *hwinfo, 231 void Hal_EfuseParseXtal_8723B(struct adapter *padapter, u8 *hwinfo, 233 void Hal_EfuseParseThermalMeter_8723B(struct adapter *padapter, u8 *hwinfo, 235 void Hal_EfuseParsePackageType_8723B(struct adapter *padapter, u8 *hwinfo, 237 void Hal_EfuseParseVoltage_8723B(struct adapter *padapter, u8 *hwinfo, [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
D | hw.c | 1560 bool autoload_fail, u8 *hwinfo) in read_power_value_fromprom() argument 1567 (eeaddr + 1), hwinfo[eeaddr + 1]); in read_power_value_fromprom() 1568 if (0xFF == hwinfo[eeaddr+1]) /*YJ,add,120316*/ in read_power_value_fromprom() 1585 hwinfo[eeaddr++]; in read_power_value_fromprom() 1592 hwinfo[eeaddr++]; in read_power_value_fromprom() 1598 if (hwinfo[eeaddr] == 0xFF) { in read_power_value_fromprom() 1602 (hwinfo[eeaddr]&0xf0)>>4; in read_power_value_fromprom() 1608 if (hwinfo[eeaddr] == 0xFF) { in read_power_value_fromprom() 1612 (hwinfo[eeaddr]&0x0f); in read_power_value_fromprom() 1620 if (hwinfo[eeaddr] == 0xFF) { in read_power_value_fromprom() [all …]
|
/drivers/staging/rtl8188eu/hal/ |
D | rtl8188e_hal_init.c | 259 void Hal_EfuseParseIDCode88E(struct adapter *padapter, u8 *hwinfo) in Hal_EfuseParseIDCode88E() argument 265 EEPROMId = le16_to_cpu(*((__le16 *)hwinfo)); in Hal_EfuseParseIDCode88E() 391 void Hal_ReadPowerSavingMode88E(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail) in Hal_ReadPowerSavingMode88E() argument 400 padapter->pwrctrlpriv.bHWPowerdown = (hwinfo[EEPROM_RF_FEATURE_OPTION_88E] & BIT(4)); in Hal_ReadPowerSavingMode88E() 406 …padapter->pwrctrlpriv.bSupportRemoteWakeup = (hwinfo[EEPROM_USB_OPTIONAL_FUNCTION0] & BIT(1)) ? tr… in Hal_ReadPowerSavingMode88E() 462 void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter, u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseXtal_8188E() argument 467 pHalData->CrystalCap = hwinfo[EEPROM_XTAL_88E]; in Hal_EfuseParseXtal_8188E() 476 void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseBoardType88E() argument 481 pHalData->BoardType = (hwinfo[EEPROM_RF_BOARD_OPTION_88E] in Hal_EfuseParseBoardType88E() 488 void Hal_EfuseParseEEPROMVer88E(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseEEPROMVer88E() argument [all …]
|
/drivers/staging/rtl8188eu/include/ |
D | rtl8188e_hal.h | 338 void Hal_EfuseParseIDCode88E(struct adapter *padapter, u8 *hwinfo); 339 void Hal_ReadTxPowerInfo88E(struct adapter *padapter, u8 *hwinfo, 342 void Hal_EfuseParseEEPROMVer88E(struct adapter *padapter, u8 *hwinfo, 344 void rtl8188e_EfuseParseChnlPlan(struct adapter *padapter, u8 *hwinfo, 346 void Hal_EfuseParseCustomerID88E(struct adapter *padapter, u8 *hwinfo, 352 void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter, u8 *hwinfo, 354 void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo, 356 void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter, u8 *hwinfo,
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
D | hw.c | 1786 bool autoload_fail, u8 *hwinfo) in _rtl8192ee_read_power_value_fromprom() argument 1793 (addr + 1), hwinfo[addr + 1]); in _rtl8192ee_read_power_value_fromprom() 1794 if (0xFF == hwinfo[addr+1]) /*YJ,add,120316*/ in _rtl8192ee_read_power_value_fromprom() 1845 pwr2g->index_cck_base[rf][group] = hwinfo[addr++]; in _rtl8192ee_read_power_value_fromprom() 1850 pwr2g->index_bw40_base[rf][group] = hwinfo[addr++]; in _rtl8192ee_read_power_value_fromprom() 1857 if (hwinfo[addr] == 0xFF) { in _rtl8192ee_read_power_value_fromprom() 1860 pwr2g->bw20_diff[rf][i] = (hwinfo[addr] in _rtl8192ee_read_power_value_fromprom() 1866 if (hwinfo[addr] == 0xFF) { in _rtl8192ee_read_power_value_fromprom() 1869 pwr2g->ofdm_diff[rf][i] = (hwinfo[addr] in _rtl8192ee_read_power_value_fromprom() 1877 if (hwinfo[addr] == 0xFF) { in _rtl8192ee_read_power_value_fromprom() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
D | hw.c | 2587 u8 *hwinfo) in _rtl8821ae_read_power_value_fromprom() argument 2594 (eeaddr + 1), hwinfo[eeaddr + 1]); in _rtl8821ae_read_power_value_fromprom() 2595 if (hwinfo[eeaddr + 1] == 0xFF) /*YJ,add,120316*/ in _rtl8821ae_read_power_value_fromprom() 2645 pwrinfo24g->index_cck_base[rfpath][group] = hwinfo[eeaddr++]; in _rtl8821ae_read_power_value_fromprom() 2650 pwrinfo24g->index_bw40_base[rfpath][group] = hwinfo[eeaddr++]; in _rtl8821ae_read_power_value_fromprom() 2658 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom() 2662 pwrinfo24g->ofdm_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom() 2669 pwrinfo24g->bw40_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom() 2673 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom() 2679 pwrinfo24g->ofdm_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
D | hw.c | 1748 bool autoload_fail, u8 *hwinfo) in _rtl8723be_read_power_value_fromprom() argument 1755 (addr + 1), hwinfo[addr + 1]); in _rtl8723be_read_power_value_fromprom() 1756 if (0xFF == hwinfo[addr + 1]) /*YJ,add,120316*/ in _rtl8723be_read_power_value_fromprom() 1786 pw2g->index_cck_base[path][group] = hwinfo[addr++]; in _rtl8723be_read_power_value_fromprom() 1792 pw2g->index_bw40_base[path][group] = hwinfo[addr++]; in _rtl8723be_read_power_value_fromprom() 1799 if (hwinfo[addr] == 0xFF) { in _rtl8723be_read_power_value_fromprom() 1803 (hwinfo[addr] & 0xf0) >> 4; in _rtl8723be_read_power_value_fromprom() 1810 if (hwinfo[addr] == 0xFF) { in _rtl8723be_read_power_value_fromprom() 1814 (hwinfo[addr] & 0x0f); in _rtl8723be_read_power_value_fromprom() 1823 if (hwinfo[addr] == 0xFF) { in _rtl8723be_read_power_value_fromprom() [all …]
|
D | hw.h | 35 bool autoload_fail, u8 *hwinfo);
|
/drivers/staging/rtl8723bs/hal/ |
D | sdio_halinit.c | 1217 struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail in Hal_EfuseParseMACAddr_8723BS() argument 1230 memcpy(pEEPROM->mac_addr, &hwinfo[EEPROM_MAC_ADDR_8723BS], ETH_ALEN); in Hal_EfuseParseMACAddr_8723BS() 1250 struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail in Hal_EfuseParseBoardType_8723BS() argument 1256 pHalData->BoardType = (hwinfo[EEPROM_RF_BOARD_OPTION_8723B] & 0xE0) >> 5; in Hal_EfuseParseBoardType_8723BS() 1267 u8 *hwinfo = NULL; in _ReadEfuseInfo8723BS() local 1278 hwinfo = pEEPROM->efuse_eeprom_data; in _ReadEfuseInfo8723BS() 1280 Hal_InitPGData(padapter, hwinfo); in _ReadEfuseInfo8723BS() 1282 Hal_EfuseParseIDCode(padapter, hwinfo); in _ReadEfuseInfo8723BS() 1283 Hal_EfuseParseEEPROMVer_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag); in _ReadEfuseInfo8723BS() 1285 Hal_EfuseParseMACAddr_8723BS(padapter, hwinfo, pEEPROM->bautoload_fail_flag); in _ReadEfuseInfo8723BS() [all …]
|
D | rtl8723b_hal_init.c | 2441 void Hal_EfuseParseIDCode(struct adapter *padapter, u8 *hwinfo) in Hal_EfuseParseIDCode() argument 2449 EEPROMId = le16_to_cpu(*((__le16 *)hwinfo)); in Hal_EfuseParseIDCode() 2632 struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail in Hal_EfuseParseBTCoexistInfo_8723B() argument 2648 tempval = hwinfo[EEPROM_RF_BT_SETTING_8723B]; in Hal_EfuseParseBTCoexistInfo_8723B() 2708 struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail in Hal_EfuseParseEEPROMVer_8723B() argument 2715 pHalData->EEPROMVersion = hwinfo[EEPROM_VERSION_8723B]; in Hal_EfuseParseEEPROMVer_8723B() 2725 struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail in Hal_EfuseParsePackageType_8723B() argument 2762 struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail in Hal_EfuseParseVoltage_8723B() argument 2768 …DBG_871X("%s hwinfo[EEPROM_Voltage_ADDR_8723B] =%02x\n", __func__, hwinfo[EEPROM_Voltage_ADDR_8723… in Hal_EfuseParseVoltage_8723B() 2769 pEEPROM->adjuseVoltageVal = (hwinfo[EEPROM_Voltage_ADDR_8723B] & 0xf0) >> 4; in Hal_EfuseParseVoltage_8723B() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
D | hw.c | 1648 u8 hwinfo[HWSET_MAX_SIZE_92S]; in _rtl92se_read_adapter_info() local 1665 memcpy(hwinfo, &rtlefuse->efuse_map[EFUSE_INIT_MAP][0], in _rtl92se_read_adapter_info() 1669 hwinfo, HWSET_MAX_SIZE_92S); in _rtl92se_read_adapter_info() 1671 eeprom_id = *((u16 *)&hwinfo[0]); in _rtl92se_read_adapter_info() 1688 rtlefuse->eeprom_vid = *(u16 *)&hwinfo[EEPROM_VID]; in _rtl92se_read_adapter_info() 1689 rtlefuse->eeprom_did = *(u16 *)&hwinfo[EEPROM_DID]; in _rtl92se_read_adapter_info() 1690 rtlefuse->eeprom_svid = *(u16 *)&hwinfo[EEPROM_SVID]; in _rtl92se_read_adapter_info() 1691 rtlefuse->eeprom_smid = *(u16 *)&hwinfo[EEPROM_SMID]; in _rtl92se_read_adapter_info() 1692 rtlefuse->eeprom_version = *(u16 *)&hwinfo[EEPROM_VERSION]; in _rtl92se_read_adapter_info() 1706 usvalue = *(u16 *)&hwinfo[EEPROM_MAC_ADDR + i]; in _rtl92se_read_adapter_info() [all …]
|
/drivers/net/ethernet/netronome/nfp/abm/ |
D | main.c | 263 char hwinfo[32]; in nfp_abm_vnic_set_mac() local 272 snprintf(hwinfo, sizeof(hwinfo), "eth%u.mac.pf%u", in nfp_abm_vnic_set_mac() 290 err = nfp_nsp_hwinfo_lookup(nsp, hwinfo, sizeof(hwinfo)); in nfp_abm_vnic_set_mac() 299 if (sscanf(hwinfo, "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx", in nfp_abm_vnic_set_mac() 303 hwinfo); in nfp_abm_vnic_set_mac()
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
D | hw.c | 1422 u8 *hwinfo) in _rtl92ce_read_txpower_info_from_hwpg() argument 1434 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl92ce_read_txpower_info_from_hwpg() 1437 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + in _rtl92ce_read_txpower_info_from_hwpg() 1452 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl92ce_read_txpower_info_from_hwpg() 1523 hwinfo[EEPROM_TXPWR_GROUP + i]; in _rtl92ce_read_txpower_info_from_hwpg() 1525 hwinfo[EEPROM_TXPWR_GROUP + 3 + i]; in _rtl92ce_read_txpower_info_from_hwpg() 1567 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl92ce_read_txpower_info_from_hwpg() 1584 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl92ce_read_txpower_info_from_hwpg() 1614 rtlefuse->eeprom_regulatory = (hwinfo[RF_OPTION1] & 0x7); in _rtl92ce_read_txpower_info_from_hwpg() 1621 rtlefuse->eeprom_tssi[RF90_PATH_A] = hwinfo[EEPROM_TSSI_A]; in _rtl92ce_read_txpower_info_from_hwpg() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | hw.c | 1539 bool autoload_fail, u8 *hwinfo) in _rtl92de_read_txpower_info() argument 1547 _rtl92de_readpowervalue_fromprom(&pwrinfo, hwinfo, autoload_fail); in _rtl92de_read_txpower_info() 1550 rtlefuse->eeprom_regulatory = (hwinfo[EEPROM_RF_OPT1] & 0x7); in _rtl92de_read_txpower_info() 1552 hwinfo[EEPROM_THERMAL_METER] & 0x1f; in _rtl92de_read_txpower_info() 1553 rtlefuse->crystalcap = hwinfo[EEPROM_XTAL_K]; in _rtl92de_read_txpower_info() 1554 tempval[0] = hwinfo[EEPROM_IQK_DELTA] & 0x03; in _rtl92de_read_txpower_info() 1555 tempval[1] = (hwinfo[EEPROM_LCK_DELTA] & 0x0C) >> 2; in _rtl92de_read_txpower_info() 1560 !((hwinfo[EEPROM_TSSI_A_5G] & BIT(6)) >> 6); in _rtl92de_read_txpower_info() 1562 !((hwinfo[EEPROM_TSSI_B_5G] & BIT(6)) >> 6); in _rtl92de_read_txpower_info() 1568 rtlefuse->eeprom_c9 = hwinfo[EEPROM_RF_OPT6]; in _rtl92de_read_txpower_info() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
D | hw.c | 1392 u8 *hwinfo) in _rtl8723e_read_txpower_info_from_hwpg() argument 1403 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl8723e_read_txpower_info_from_hwpg() 1405 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + i]; in _rtl8723e_read_txpower_info_from_hwpg() 1417 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl8723e_read_txpower_info_from_hwpg() 1485 hwinfo[EEPROM_TXPWR_GROUP + i]; in _rtl8723e_read_txpower_info_from_hwpg() 1487 hwinfo[EEPROM_TXPWR_GROUP + 3 + i]; in _rtl8723e_read_txpower_info_from_hwpg() 1525 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl8723e_read_txpower_info_from_hwpg() 1542 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl8723e_read_txpower_info_from_hwpg() 1572 rtlefuse->eeprom_regulatory = (hwinfo[RF_OPTION1] & 0x7); in _rtl8723e_read_txpower_info_from_hwpg() 1579 rtlefuse->eeprom_tssi[RF90_PATH_A] = hwinfo[EEPROM_TSSI_A]; in _rtl8723e_read_txpower_info_from_hwpg() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
D | hw.c | 100 u8 *hwinfo) in _rtl92cu_read_txpower_info_from_hwpg() argument 112 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl92cu_read_txpower_info_from_hwpg() 115 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + in _rtl92cu_read_txpower_info_from_hwpg() 129 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl92cu_read_txpower_info_from_hwpg() 192 hwinfo[EEPROM_TXPWR_GROUP + i]; in _rtl92cu_read_txpower_info_from_hwpg() 194 hwinfo[EEPROM_TXPWR_GROUP + 3 + i]; in _rtl92cu_read_txpower_info_from_hwpg() 231 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl92cu_read_txpower_info_from_hwpg() 243 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl92cu_read_txpower_info_from_hwpg() 269 rtlefuse->eeprom_regulatory = (hwinfo[RF_OPTION1] & 0x7); in _rtl92cu_read_txpower_info_from_hwpg() 275 rtlefuse->eeprom_tssi[RF90_PATH_A] = hwinfo[EEPROM_TSSI_A]; in _rtl92cu_read_txpower_info_from_hwpg() [all …]
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | efuse.c | 1214 int max_size, u8 *hwinfo, int *params) in rtl_get_hwinfo() argument 1236 memcpy(hwinfo, &rtlefuse->efuse_map[EFUSE_INIT_MAP][0], max_size); in rtl_get_hwinfo() 1239 hwinfo, max_size); in rtl_get_hwinfo() 1241 eeprom_id = *((u16 *)&hwinfo[0]); in rtl_get_hwinfo() 1254 rtlefuse->eeprom_vid = *(u16 *)&hwinfo[params[1]]; in rtl_get_hwinfo() 1255 rtlefuse->eeprom_did = *(u16 *)&hwinfo[params[2]]; in rtl_get_hwinfo() 1256 rtlefuse->eeprom_svid = *(u16 *)&hwinfo[params[3]]; in rtl_get_hwinfo() 1257 rtlefuse->eeprom_smid = *(u16 *)&hwinfo[params[4]]; in rtl_get_hwinfo() 1270 usvalue = *(u16 *)&hwinfo[params[5] + i]; in rtl_get_hwinfo() 1275 rtlefuse->eeprom_channelplan = *&hwinfo[params[6]]; in rtl_get_hwinfo() [all …]
|
/drivers/net/ethernet/toshiba/ |
D | ps3_gelic_wireless.c | 569 struct gelic_eurus_scan_info *scan = network->hwinfo; in gelic_wl_translate_scan() 763 pr_debug("bssid=%pM\n", &scan_info->hwinfo->bssid[2]); in scan_list_dump() 764 pr_debug("essid=%s\n", scan_info->hwinfo->essid); in scan_list_dump() 1547 kfree(target->hwinfo); in gelic_wl_scan_complete_event() 1548 target->hwinfo = NULL; in gelic_wl_scan_complete_event() 1575 if (ether_addr_equal(&target->hwinfo->bssid[2], in gelic_wl_scan_complete_event() 1603 kfree(target->hwinfo); in gelic_wl_scan_complete_event() 1604 target->hwinfo = kmemdup(scan_info, in gelic_wl_scan_complete_event() 1607 if (!target->hwinfo) in gelic_wl_scan_complete_event() 1676 if (ether_addr_equal(&scan_info->hwinfo->bssid[2], in gelic_wl_find_best_bss() [all …]
|
/drivers/net/wireless/quantenna/qtnfmac/ |
D | commands.c | 893 struct qtnf_hw_info *hwinfo = &bus->hw_info; in qtnf_cmd_resp_proc_hw_info() local 908 hwinfo->num_mac = resp->num_mac; in qtnf_cmd_resp_proc_hw_info() 909 hwinfo->mac_bitmap = resp->mac_bitmap; in qtnf_cmd_resp_proc_hw_info() 910 hwinfo->fw_ver = le32_to_cpu(resp->fw_ver); in qtnf_cmd_resp_proc_hw_info() 911 hwinfo->total_tx_chain = resp->total_tx_chain; in qtnf_cmd_resp_proc_hw_info() 912 hwinfo->total_rx_chain = resp->total_rx_chain; in qtnf_cmd_resp_proc_hw_info() 945 memcpy(hwinfo->hw_capab, tlv->val, in qtnf_cmd_resp_proc_hw_info() 946 min(sizeof(hwinfo->hw_capab), (size_t)tlv_len)); in qtnf_cmd_resp_proc_hw_info() 978 hwinfo->mac_bitmap, in qtnf_cmd_resp_proc_hw_info() 979 hwinfo->total_rx_chain, hwinfo->total_tx_chain, in qtnf_cmd_resp_proc_hw_info() [all …]
|