Home
last modified time | relevance | path

Searched refs:hwinfo (Results 1 – 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/sound/firewire/fireworks/
Dfireworks.c75 struct snd_efw_hwinfo *hwinfo; in get_hardware_info() local
79 hwinfo = kzalloc(sizeof(struct snd_efw_hwinfo), GFP_KERNEL); in get_hardware_info()
80 if (hwinfo == NULL) in get_hardware_info()
83 err = snd_efw_command_get_hwinfo(efw, hwinfo); in get_hardware_info()
89 (hwinfo->arm_version >> 24) & 0xff, in get_hardware_info()
90 (hwinfo->arm_version >> 16) & 0xff); in get_hardware_info()
91 efw->firmware_version = hwinfo->arm_version; in get_hardware_info()
94 strcpy(efw->card->shortname, hwinfo->model_name); in get_hardware_info()
95 strcpy(efw->card->mixername, hwinfo->model_name); in get_hardware_info()
98 hwinfo->vendor_name, hwinfo->model_name, version, in get_hardware_info()
[all …]
Dfireworks_proc.c32 struct snd_efw_hwinfo *hwinfo; in proc_read_hwinfo() local
34 hwinfo = kmalloc(sizeof(struct snd_efw_hwinfo), GFP_KERNEL); in proc_read_hwinfo()
35 if (hwinfo == NULL) in proc_read_hwinfo()
38 if (snd_efw_command_get_hwinfo(efw, hwinfo) < 0) in proc_read_hwinfo()
41 snd_iprintf(buffer, "guid_hi: 0x%X\n", hwinfo->guid_hi); in proc_read_hwinfo()
42 snd_iprintf(buffer, "guid_lo: 0x%X\n", hwinfo->guid_lo); in proc_read_hwinfo()
43 snd_iprintf(buffer, "type: 0x%X\n", hwinfo->type); in proc_read_hwinfo()
44 snd_iprintf(buffer, "version: 0x%X\n", hwinfo->version); in proc_read_hwinfo()
45 snd_iprintf(buffer, "vendor_name: %s\n", hwinfo->vendor_name); in proc_read_hwinfo()
46 snd_iprintf(buffer, "model_name: %s\n", hwinfo->model_name); in proc_read_hwinfo()
[all …]
Dfireworks_command.c212 struct snd_efw_hwinfo *hwinfo) in snd_efw_command_get_hwinfo() argument
218 NULL, 0, (__be32 *)hwinfo, sizeof(*hwinfo)); in snd_efw_command_get_hwinfo()
222 be32_to_cpus(&hwinfo->flags); in snd_efw_command_get_hwinfo()
223 be32_to_cpus(&hwinfo->guid_hi); in snd_efw_command_get_hwinfo()
224 be32_to_cpus(&hwinfo->guid_lo); in snd_efw_command_get_hwinfo()
225 be32_to_cpus(&hwinfo->type); in snd_efw_command_get_hwinfo()
226 be32_to_cpus(&hwinfo->version); in snd_efw_command_get_hwinfo()
227 be32_to_cpus(&hwinfo->supported_clocks); in snd_efw_command_get_hwinfo()
228 be32_to_cpus(&hwinfo->amdtp_rx_pcm_channels); in snd_efw_command_get_hwinfo()
229 be32_to_cpus(&hwinfo->amdtp_tx_pcm_channels); in snd_efw_command_get_hwinfo()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_hwinfo.c100 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 …]
Dnfp.h21 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);
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
Ddevlink_param.c89 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()
Dnfp_main.c167 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 …]
Dnfp_devlink.c175 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()
Dnfp_net_debugdump.c207 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()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Drtl8723b_hal.h218 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 …]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/
Drtl8188e_hal_init.c259 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dhw.c1556 bool autoload_fail, u8 *hwinfo) in read_power_value_fromprom() argument
1563 (eeaddr + 1), hwinfo[eeaddr + 1]); in read_power_value_fromprom()
1564 if (0xFF == hwinfo[eeaddr+1]) /*YJ,add,120316*/ in read_power_value_fromprom()
1581 hwinfo[eeaddr++]; in read_power_value_fromprom()
1588 hwinfo[eeaddr++]; in read_power_value_fromprom()
1594 if (hwinfo[eeaddr] == 0xFF) { in read_power_value_fromprom()
1598 (hwinfo[eeaddr]&0xf0)>>4; in read_power_value_fromprom()
1604 if (hwinfo[eeaddr] == 0xFF) { in read_power_value_fromprom()
1608 (hwinfo[eeaddr]&0x0f); in read_power_value_fromprom()
1616 if (hwinfo[eeaddr] == 0xFF) { in read_power_value_fromprom()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/
Drtl8188e_hal.h338 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,
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dhw.c1786 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dhw.c2583 u8 *hwinfo) in _rtl8821ae_read_power_value_fromprom() argument
2590 (eeaddr + 1), hwinfo[eeaddr + 1]); in _rtl8821ae_read_power_value_fromprom()
2591 if (hwinfo[eeaddr + 1] == 0xFF) /*YJ,add,120316*/ in _rtl8821ae_read_power_value_fromprom()
2641 pwrinfo24g->index_cck_base[rfpath][group] = hwinfo[eeaddr++]; in _rtl8821ae_read_power_value_fromprom()
2646 pwrinfo24g->index_bw40_base[rfpath][group] = hwinfo[eeaddr++]; in _rtl8821ae_read_power_value_fromprom()
2654 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2658 pwrinfo24g->ofdm_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2665 pwrinfo24g->bw40_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2669 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2675 pwrinfo24g->ofdm_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dhw.c1744 bool autoload_fail, u8 *hwinfo) in _rtl8723be_read_power_value_fromprom() argument
1751 (addr + 1), hwinfo[addr + 1]); in _rtl8723be_read_power_value_fromprom()
1752 if (0xFF == hwinfo[addr + 1]) /*YJ,add,120316*/ in _rtl8723be_read_power_value_fromprom()
1782 pw2g->index_cck_base[path][group] = hwinfo[addr++]; in _rtl8723be_read_power_value_fromprom()
1788 pw2g->index_bw40_base[path][group] = hwinfo[addr++]; in _rtl8723be_read_power_value_fromprom()
1795 if (hwinfo[addr] == 0xFF) { in _rtl8723be_read_power_value_fromprom()
1799 (hwinfo[addr] & 0xf0) >> 4; in _rtl8723be_read_power_value_fromprom()
1806 if (hwinfo[addr] == 0xFF) { in _rtl8723be_read_power_value_fromprom()
1810 (hwinfo[addr] & 0x0f); in _rtl8723be_read_power_value_fromprom()
1819 if (hwinfo[addr] == 0xFF) { in _rtl8723be_read_power_value_fromprom()
[all …]
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/hal/
Dsdio_halinit.c1217 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dhw.c1648 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c263 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()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dhw.c1422 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dhw.c1539 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dhw.c1392 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dhw.c100 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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/
Defuse.c1214 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c569 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 …]

12