Home
last modified time | relevance | path

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

12

/openbmc/linux/sound/firewire/fireworks/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A 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 …]
H A 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);
/openbmc/linux/drivers/staging/rtl8723bs/include/
H A Drtl8723b_hal.h203 void Hal_EfuseParseIDCode(struct adapter *padapter, u8 *hwinfo);
206 void Hal_EfuseParseBTCoexistInfo_8723B(struct adapter *padapter, u8 *hwinfo,
208 void Hal_EfuseParseEEPROMVer_8723B(struct adapter *padapter, u8 *hwinfo,
210 void Hal_EfuseParseChnlPlan_8723B(struct adapter *padapter, u8 *hwinfo,
212 void Hal_EfuseParseCustomerID_8723B(struct adapter *padapter, u8 *hwinfo,
214 void Hal_EfuseParseAntennaDiversity_8723B(struct adapter *padapter, u8 *hwinfo,
216 void Hal_EfuseParseXtal_8723B(struct adapter *padapter, u8 *hwinfo,
218 void Hal_EfuseParseThermalMeter_8723B(struct adapter *padapter, u8 *hwinfo,
220 void Hal_EfuseParsePackageType_8723B(struct adapter *padapter, u8 *hwinfo,
222 void Hal_EfuseParseVoltage_8723B(struct adapter *padapter, u8 *hwinfo,
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A 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()
H A Dnfp_main.c188 cp = nfp_hwinfo_lookup(pf->hwinfo, "board.state"); in nfp_board_ready()
214 kfree(pf->hwinfo); in nfp_pf_board_state_wait()
215 pf->hwinfo = nfp_hwinfo_read(pf->cpp); in nfp_pf_board_state_wait()
413 fw_model = nfp_hwinfo_lookup(pf->hwinfo, "nffw.partno"); in nfp_net_fw_find()
415 fw_model = nfp_hwinfo_lookup(pf->hwinfo, "assembly.partno"); in nfp_net_fw_find()
450 char hwinfo[64]; in nfp_get_fw_policy_value() local
454 snprintf(hwinfo, sizeof(hwinfo), key); in nfp_get_fw_policy_value()
455 err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo), in nfp_get_fw_policy_value()
460 err = kstrtol(hwinfo, 0, &hi_val); in nfp_get_fw_policy_value()
464 hwinfo, key); in nfp_get_fw_policy_value()
[all …]
H A Dnfp_devlink.c153 const char *hwinfo; member
173 val = nfp_hwinfo_lookup(pf->hwinfo, info->hwinfo); in nfp_devlink_versions_get_hwinfo()
242 vendor = nfp_hwinfo_lookup(pf->hwinfo, "assembly.vendor"); in nfp_devlink_info_get()
243 part = nfp_hwinfo_lookup(pf->hwinfo, "assembly.partno"); in nfp_devlink_info_get()
244 sn = nfp_hwinfo_lookup(pf->hwinfo, "assembly.serial"); in nfp_devlink_info_get()
H A 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()
H A Dnfp_net_ethtool.c1972 char hwinfo[32] = {}; in nfp_net_get_port_mac_by_hwinfo() local
1981 snprintf(hwinfo, sizeof(hwinfo), "eth%u.mac", index); in nfp_net_get_port_mac_by_hwinfo()
1982 err = nfp_nsp_hwinfo_lookup(nsp, hwinfo, sizeof(hwinfo)); in nfp_net_get_port_mac_by_hwinfo()
1990 if (sscanf(hwinfo, "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx", in nfp_net_get_port_mac_by_hwinfo()
1994 hwinfo); in nfp_net_get_port_mac_by_hwinfo()
2005 char hwinfo[32] = {}; in nfp_net_set_port_mac_by_hwinfo() local
2014 snprintf(hwinfo, sizeof(hwinfo), in nfp_net_set_port_mac_by_hwinfo()
2019 err = nfp_nsp_hwinfo_set(nsp, hwinfo, sizeof(hwinfo)); in nfp_net_set_port_mac_by_hwinfo()
2023 err, hwinfo); in nfp_net_set_port_mac_by_hwinfo()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dhw.c1559 bool autoload_fail, u8 *hwinfo) in read_power_value_fromprom() argument
1566 (eeaddr + 1), hwinfo[eeaddr + 1]); in read_power_value_fromprom()
1567 if (0xFF == hwinfo[eeaddr+1]) /*YJ,add,120316*/ in read_power_value_fromprom()
1584 hwinfo[eeaddr++]; in read_power_value_fromprom()
1591 hwinfo[eeaddr++]; in read_power_value_fromprom()
1597 if (hwinfo[eeaddr] == 0xFF) { in read_power_value_fromprom()
1601 (hwinfo[eeaddr]&0xf0)>>4; in read_power_value_fromprom()
1607 if (hwinfo[eeaddr] == 0xFF) { in read_power_value_fromprom()
1611 (hwinfo[eeaddr]&0x0f); in read_power_value_fromprom()
1619 if (hwinfo[eeaddr] == 0xFF) { in read_power_value_fromprom()
[all …]
/openbmc/linux/drivers/staging/rtl8723bs/hal/
H A Dsdio_halinit.c1025 struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail in Hal_EfuseParseMACAddr_8723BS() argument
1038 memcpy(pEEPROM->mac_addr, &hwinfo[EEPROM_MAC_ADDR_8723BS], ETH_ALEN); in Hal_EfuseParseMACAddr_8723BS()
1043 struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail in Hal_EfuseParseBoardType_8723BS() argument
1049 pHalData->BoardType = (hwinfo[EEPROM_RF_BOARD_OPTION_8723B] & 0xE0) >> 5; in Hal_EfuseParseBoardType_8723BS()
1059 u8 *hwinfo = NULL; in _ReadEfuseInfo8723BS() local
1065 hwinfo = pEEPROM->efuse_eeprom_data; in _ReadEfuseInfo8723BS()
1067 Hal_InitPGData(padapter, hwinfo); in _ReadEfuseInfo8723BS()
1069 Hal_EfuseParseIDCode(padapter, hwinfo); in _ReadEfuseInfo8723BS()
1070 Hal_EfuseParseEEPROMVer_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag); in _ReadEfuseInfo8723BS()
1072 Hal_EfuseParseMACAddr_8723BS(padapter, hwinfo, pEEPROM->bautoload_fail_flag); in _ReadEfuseInfo8723BS()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
H A 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 …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Dhw.c2587 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 …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Dhw.c1748 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 …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Dhw.c1422 u8 *hwinfo) in _rtl92ce_read_txpower_info_from_hwpg() argument
1432 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i] != 0xff && in _rtl92ce_read_txpower_info_from_hwpg()
1433 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + i] != 0xff) { in _rtl92ce_read_txpower_info_from_hwpg()
1436 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl92ce_read_txpower_info_from_hwpg()
1439 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + in _rtl92ce_read_txpower_info_from_hwpg()
1454 hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i] != 0xff) in _rtl92ce_read_txpower_info_from_hwpg()
1455 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl92ce_read_txpower_info_from_hwpg()
1525 hwinfo[EEPROM_TXPWR_GROUP + i] != 0xff && in _rtl92ce_read_txpower_info_from_hwpg()
1526 hwinfo[EEPROM_TXPWR_GROUP + 3 + i] != 0xff) { in _rtl92ce_read_txpower_info_from_hwpg()
1528 hwinfo[EEPROM_TXPWR_GROUP + i]; in _rtl92ce_read_txpower_info_from_hwpg()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
H A Dhw.c1639 u8 hwinfo[HWSET_MAX_SIZE_92S]; in _rtl92se_read_adapter_info() local
1656 memcpy(hwinfo, &rtlefuse->efuse_map[EFUSE_INIT_MAP][0], in _rtl92se_read_adapter_info()
1660 hwinfo, HWSET_MAX_SIZE_92S); in _rtl92se_read_adapter_info()
1662 eeprom_id = *((u16 *)&hwinfo[0]); in _rtl92se_read_adapter_info()
1679 rtlefuse->eeprom_vid = *(u16 *)&hwinfo[EEPROM_VID]; in _rtl92se_read_adapter_info()
1680 rtlefuse->eeprom_did = *(u16 *)&hwinfo[EEPROM_DID]; in _rtl92se_read_adapter_info()
1681 rtlefuse->eeprom_svid = *(u16 *)&hwinfo[EEPROM_SVID]; in _rtl92se_read_adapter_info()
1682 rtlefuse->eeprom_smid = *(u16 *)&hwinfo[EEPROM_SMID]; in _rtl92se_read_adapter_info()
1683 rtlefuse->eeprom_version = *(u16 *)&hwinfo[EEPROM_VERSION]; in _rtl92se_read_adapter_info()
1697 usvalue = *(u16 *)&hwinfo[EEPROM_MAC_ADDR + i]; in _rtl92se_read_adapter_info()
[all …]
/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/
H A 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()
/openbmc/u-boot/arch/arm/include/asm/
H A Dehci-omap.h76 u32 hwinfo; /* 0x04 */ member
90 u32 hwinfo; /* 0x04 */ member
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
H A Dhw.c1533 bool autoload_fail, u8 *hwinfo) in _rtl92de_read_txpower_info() argument
1541 _rtl92de_readpowervalue_fromprom(&pwrinfo, hwinfo, autoload_fail); in _rtl92de_read_txpower_info()
1544 rtlefuse->eeprom_regulatory = (hwinfo[EEPROM_RF_OPT1] & 0x7); in _rtl92de_read_txpower_info()
1546 hwinfo[EEPROM_THERMAL_METER] & 0x1f; in _rtl92de_read_txpower_info()
1547 rtlefuse->crystalcap = hwinfo[EEPROM_XTAL_K]; in _rtl92de_read_txpower_info()
1548 tempval[0] = hwinfo[EEPROM_IQK_DELTA] & 0x03; in _rtl92de_read_txpower_info()
1549 tempval[1] = (hwinfo[EEPROM_LCK_DELTA] & 0x0C) >> 2; in _rtl92de_read_txpower_info()
1554 !((hwinfo[EEPROM_TSSI_A_5G] & BIT(6)) >> 6); in _rtl92de_read_txpower_info()
1556 !((hwinfo[EEPROM_TSSI_B_5G] & BIT(6)) >> 6); in _rtl92de_read_txpower_info()
1562 rtlefuse->eeprom_c9 = hwinfo[EEPROM_RF_OPT6]; in _rtl92de_read_txpower_info()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Dhw.c1391 u8 *hwinfo) in _rtl8723e_read_txpower_info_from_hwpg() argument
1402 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl8723e_read_txpower_info_from_hwpg()
1404 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + i]; in _rtl8723e_read_txpower_info_from_hwpg()
1416 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl8723e_read_txpower_info_from_hwpg()
1484 hwinfo[EEPROM_TXPWR_GROUP + i]; in _rtl8723e_read_txpower_info_from_hwpg()
1486 hwinfo[EEPROM_TXPWR_GROUP + 3 + i]; in _rtl8723e_read_txpower_info_from_hwpg()
1524 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl8723e_read_txpower_info_from_hwpg()
1541 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl8723e_read_txpower_info_from_hwpg()
1571 rtlefuse->eeprom_regulatory = (hwinfo[RF_OPTION1] & 0x7); in _rtl8723e_read_txpower_info_from_hwpg()
1578 rtlefuse->eeprom_tssi[RF90_PATH_A] = hwinfo[EEPROM_TSSI_A]; in _rtl8723e_read_txpower_info_from_hwpg()
[all …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
H A 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 …]
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/
H A Defuse.c1223 int max_size, u8 *hwinfo, int *params) in rtl_get_hwinfo() argument
1245 memcpy(hwinfo, &rtlefuse->efuse_map[EFUSE_INIT_MAP][0], max_size); in rtl_get_hwinfo()
1248 hwinfo, max_size); in rtl_get_hwinfo()
1250 eeprom_id = *((u16 *)&hwinfo[0]); in rtl_get_hwinfo()
1263 rtlefuse->eeprom_vid = *(u16 *)&hwinfo[params[1]]; in rtl_get_hwinfo()
1264 rtlefuse->eeprom_did = *(u16 *)&hwinfo[params[2]]; in rtl_get_hwinfo()
1265 rtlefuse->eeprom_svid = *(u16 *)&hwinfo[params[3]]; in rtl_get_hwinfo()
1266 rtlefuse->eeprom_smid = *(u16 *)&hwinfo[params[4]]; in rtl_get_hwinfo()
1279 usvalue = *(u16 *)&hwinfo[params[5] + i]; in rtl_get_hwinfo()
1284 rtlefuse->eeprom_channelplan = *&hwinfo[params[6]]; in rtl_get_hwinfo()
[all …]
/openbmc/linux/drivers/net/ethernet/toshiba/
H A 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