/linux-master/sound/firewire/fireworks/ |
H A D | fireworks.c | 75 struct snd_efw_hwinfo *hwinfo; local 79 hwinfo = kzalloc(sizeof(struct snd_efw_hwinfo), GFP_KERNEL); 80 if (hwinfo == NULL) 83 err = snd_efw_command_get_hwinfo(efw, hwinfo); 89 (hwinfo->arm_version >> 24) & 0xff, 90 (hwinfo->arm_version >> 16) & 0xff); 91 efw->firmware_version = hwinfo->arm_version; 94 strcpy(efw->card->shortname, hwinfo->model_name); 95 strcpy(efw->card->mixername, hwinfo->model_name); 98 hwinfo [all...] |
H A D | fireworks_proc.c | 32 struct snd_efw_hwinfo *hwinfo; local 34 hwinfo = kmalloc(sizeof(struct snd_efw_hwinfo), GFP_KERNEL); 35 if (hwinfo == NULL) 38 if (snd_efw_command_get_hwinfo(efw, hwinfo) < 0) 41 snd_iprintf(buffer, "guid_hi: 0x%X\n", hwinfo->guid_hi); 42 snd_iprintf(buffer, "guid_lo: 0x%X\n", hwinfo->guid_lo); 43 snd_iprintf(buffer, "type: 0x%X\n", hwinfo->type); 44 snd_iprintf(buffer, "version: 0x%X\n", hwinfo->version); 45 snd_iprintf(buffer, "vendor_name: %s\n", hwinfo->vendor_name); 46 snd_iprintf(buffer, "model_name: %s\n", hwinfo [all...] |
H A D | fireworks_command.c | 178 * device supports. struct hwinfo.flags includes its flag. The default is 212 struct snd_efw_hwinfo *hwinfo) 218 NULL, 0, (__be32 *)hwinfo, sizeof(*hwinfo)); 222 be32_to_cpus(&hwinfo->flags); 223 be32_to_cpus(&hwinfo->guid_hi); 224 be32_to_cpus(&hwinfo->guid_lo); 225 be32_to_cpus(&hwinfo->type); 226 be32_to_cpus(&hwinfo->version); 227 be32_to_cpus(&hwinfo 211 snd_efw_command_get_hwinfo(struct snd_efw *efw, struct snd_efw_hwinfo *hwinfo) argument [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_hwinfo.c | 4 /* Parse the hwinfo table that the ARM firmware builds in the ARM scratch SRAM 100 static bool nfp_hwinfo_is_updating(struct nfp_hwinfo *hwinfo) argument 102 return le32_to_cpu(hwinfo->version) & NFP_HWINFO_VERSION_UPDATING; 106 hwinfo_db_walk(struct nfp_cpp *cpp, struct nfp_hwinfo *hwinfo, u32 size) argument 108 const char *key, *val, *end = hwinfo->data + size; 110 for (key = hwinfo->data; *key && key < end; 135 nfp_err(cpp, "Unsupported hwinfo size %u > %u\n", size, len); 142 nfp_err(cpp, "Corrupt hwinfo table (CRC mismatch), calculated 0x%x, expected 0x%x\n", 250 * @hwinfo: NFP HWinfo table 255 const char *nfp_hwinfo_lookup(struct nfp_hwinfo *hwinfo, cons argument 276 nfp_hwinfo_get_packed_strings(struct nfp_hwinfo *hwinfo) argument 281 nfp_hwinfo_get_packed_str_size(struct nfp_hwinfo *hwinfo) argument [all...] |
H A 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);
|
/linux-master/drivers/staging/rtl8723bs/include/ |
H A D | rtl8723b_hal.h | 203 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...] |
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | devlink_param.c | 17 * @dl_to_hi: Devlink to hwinfo value mapping 89 char hwinfo[32]; local 105 snprintf(hwinfo, sizeof(hwinfo), arg->hwinfo_name); 106 err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo), 113 err = kstrtol(hwinfo, 0, &value); 140 char hwinfo[32]; local 156 snprintf(hwinfo, sizeof(hwinfo), " [all...] |
H A D | nfp_main.c | 188 cp = nfp_hwinfo_lookup(pf->hwinfo, "board.state"); 214 kfree(pf->hwinfo); 215 pf->hwinfo = nfp_hwinfo_read(pf->cpp); 413 fw_model = nfp_hwinfo_lookup(pf->hwinfo, "nffw.partno"); 415 fw_model = nfp_hwinfo_lookup(pf->hwinfo, "assembly.partno"); 450 char hwinfo[64]; local 454 snprintf(hwinfo, sizeof(hwinfo), key); 455 err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo), 487 char hwinfo[64]; local 722 char hwinfo[32]; local [all...] |
H A D | nfp_devlink.c | 157 const char *hwinfo; member in struct:nfp_devlink_versions_simple 177 val = nfp_hwinfo_lookup(pf->hwinfo, info->hwinfo); 246 vendor = nfp_hwinfo_lookup(pf->hwinfo, "assembly.vendor"); 247 part = nfp_hwinfo_lookup(pf->hwinfo, "assembly.partno"); 248 sn = nfp_hwinfo_lookup(pf->hwinfo, "assembly.serial");
|
/linux-master/drivers/s390/crypto/ |
H A D | ap_queue.c | 27 return aq->card->hwinfo.ep11 || aq->card->hwinfo.accel; 32 return aq->card->hwinfo.ep11; 266 if (aq->queue_count < aq->card->hwinfo.qd) { 347 struct ap_tapq_hwinfo hwinfo; local 351 status = ap_test_queue(aq->qid, 1, &hwinfo); 355 aq->se_bstate = hwinfo.bs; 427 struct ap_tapq_hwinfo hwinfo; local 429 status = ap_test_queue(aq->qid, 1, &hwinfo); 449 aq->se_bstate = hwinfo 696 struct ap_tapq_hwinfo hwinfo; local 849 struct ap_tapq_hwinfo hwinfo; local 882 struct ap_tapq_hwinfo hwinfo; local 977 struct ap_tapq_hwinfo hwinfo; local 1017 struct ap_tapq_hwinfo hwinfo; local [all...] |
H A D | ap_card.c | 37 return sysfs_emit(buf, "%d\n", ac->hwinfo.at); 47 return sysfs_emit(buf, "%d\n", ac->hwinfo.qd); 57 return sysfs_emit(buf, "0x%08X\n", ac->hwinfo.fac); 232 struct ap_card *ap_card_create(int id, struct ap_tapq_hwinfo hwinfo, argument 243 ac->hwinfo = hwinfo; 245 ac->maxmsgsize = hwinfo.ml > 0 ? 246 hwinfo.ml * AP_TAPQ_ML_FIELD_CHUNK_SIZE : AP_DEFAULT_MAX_MSG_SIZE;
|
H A D | zcrypt_cex4.c | 480 if (ac->hwinfo.accel) { 509 if (ac->hwinfo.mex4k && ac->hwinfo.crt4k) { 518 } else if (ac->hwinfo.cca) { 558 } else if (ac->hwinfo.ep11) { 601 if (ac->hwinfo.cca) { 608 } else if (ac->hwinfo.ep11) { 629 if (ac->hwinfo.cca) 631 else if (ac->hwinfo.ep11) 656 if (aq->card->hwinfo [all...] |
H A D | ap_bus.c | 362 static int ap_queue_info(ap_qid_t qid, struct ap_tapq_hwinfo *hwinfo, argument 367 hwinfo->value = 0; 375 status = ap_test_queue(qid, ap_apft_available(), hwinfo); 393 if (WARN_ON_ONCE(!hwinfo->value)) 642 if (ac->hwinfo.accel) 644 else if (ac->hwinfo.cca) 646 else if (ac->hwinfo.ep11) 654 if (aq->card->hwinfo.accel) 656 else if (aq->card->hwinfo.cca) 658 else if (aq->card->hwinfo 1830 struct ap_tapq_hwinfo hwinfo; local 1988 struct ap_tapq_hwinfo hwinfo; local [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | hw.c | 1554 bool autoload_fail, u8 *hwinfo) 1561 (eeaddr + 1), hwinfo[eeaddr + 1]); 1562 if (0xFF == hwinfo[eeaddr+1]) /*YJ,add,120316*/ 1579 hwinfo[eeaddr++]; 1586 hwinfo[eeaddr++]; 1592 if (hwinfo[eeaddr] == 0xFF) { 1596 (hwinfo[eeaddr]&0xf0)>>4; 1602 if (hwinfo[eeaddr] == 0xFF) { 1606 (hwinfo[eeaddr]&0x0f); 1614 if (hwinfo[eeadd 1551 read_power_value_fromprom(struct ieee80211_hw *hw, struct txpower_info_2g *pwrinfo24g, struct txpower_info_5g *pwrinfo5g, bool autoload_fail, u8 *hwinfo) argument 1741 _rtl88ee_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) argument 1814 u8 *hwinfo; local 2434 rtl8188ee_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) argument [all...] |
H A D | hw.h | 34 bool autoload_fail, u8 *hwinfo);
|
/linux-master/drivers/staging/rtl8723bs/hal/ |
H A D | sdio_halinit.c | 1025 struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail 1038 memcpy(pEEPROM->mac_addr, &hwinfo[EEPROM_MAC_ADDR_8723BS], ETH_ALEN); 1043 struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail 1049 pHalData->BoardType = (hwinfo[EEPROM_RF_BOARD_OPTION_8723B] & 0xE0) >> 5; 1059 u8 *hwinfo = NULL; local 1065 hwinfo = pEEPROM->efuse_eeprom_data; 1067 Hal_InitPGData(padapter, hwinfo); 1069 Hal_EfuseParseIDCode(padapter, hwinfo); 1070 Hal_EfuseParseEEPROMVer_8723B(padapter, hwinfo, pEEPROM->bautoload_fail_flag); 1072 Hal_EfuseParseMACAddr_8723BS(padapter, hwinfo, pEEPRO 1024 Hal_EfuseParseMACAddr_8723BS( struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail ) argument 1042 Hal_EfuseParseBoardType_8723BS( struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail ) argument [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | hw.c | 1785 bool autoload_fail, u8 *hwinfo) 1792 (addr + 1), hwinfo[addr + 1]); 1793 if (0xFF == hwinfo[addr+1]) /*YJ,add,120316*/ 1844 pwr2g->index_cck_base[rf][group] = hwinfo[addr++]; 1849 pwr2g->index_bw40_base[rf][group] = hwinfo[addr++]; 1856 if (hwinfo[addr] == 0xFF) { 1859 pwr2g->bw20_diff[rf][i] = (hwinfo[addr] 1865 if (hwinfo[addr] == 0xFF) { 1868 pwr2g->ofdm_diff[rf][i] = (hwinfo[addr] 1876 if (hwinfo[add 1782 _rtl8192ee_read_power_value_fromprom(struct ieee80211_hw *hw, struct txpower_info_2g *pwr2g, struct txpower_info_5g *pwr5g, bool autoload_fail, u8 *hwinfo) argument 2012 _rtl92ee_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) argument 2103 u8 *hwinfo; local 2540 rtl92ee_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) argument [all...] |
H A D | hw.h | 33 bool autoload_fail, u8 *hwinfo);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
H A D | hw.c | 2542 u8 *hwinfo) 2548 "hal_ReadPowerValueFromPROM8821ae(): hwinfo[0x%x]=0x%x\n", 2549 (eeaddr + 1), hwinfo[eeaddr + 1]); 2550 if (hwinfo[eeaddr + 1] == 0xFF) /*YJ,add,120316*/ 2600 pwrinfo24g->index_cck_base[rfpath][group] = hwinfo[eeaddr++]; 2605 pwrinfo24g->index_bw40_base[rfpath][group] = hwinfo[eeaddr++]; 2613 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; 2617 pwrinfo24g->ofdm_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); 2624 pwrinfo24g->bw40_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; 2628 pwrinfo24g->bw20_diff[rfpath][txcount] = (hwinfo[eeadd 2538 _rtl8821ae_read_power_value_fromprom(struct ieee80211_hw *hw, struct txpower_info_2g *pwrinfo24g, struct txpower_info_5g *pwrinfo5g, bool autoload_fail, u8 *hwinfo) argument 2785 _rtl8821ae_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) argument 2862 _rtl8812ae_read_pa_type(struct ieee80211_hw *hw, u8 *hwinfo, bool autoload_fail) argument 2902 _rtl8812ae_read_amplifier_type(struct ieee80211_hw *hw, u8 *hwinfo, bool autoload_fail) argument 2940 _rtl8821ae_read_pa_type(struct ieee80211_hw *hw, u8 *hwinfo, bool autoload_fail) argument 2972 _rtl8821ae_read_rfe_type(struct ieee80211_hw *hw, u8 *hwinfo, bool autoload_fail) argument 3013 _rtl8812ae_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) argument 3037 _rtl8821ae_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) argument 3071 u8 *hwinfo; local [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | hw.c | 1742 bool autoload_fail, u8 *hwinfo) 1749 (addr + 1), hwinfo[addr + 1]); 1750 if (0xFF == hwinfo[addr + 1]) /*YJ,add,120316*/ 1780 pw2g->index_cck_base[path][group] = hwinfo[addr++]; 1786 pw2g->index_bw40_base[path][group] = hwinfo[addr++]; 1793 if (hwinfo[addr] == 0xFF) { 1797 (hwinfo[addr] & 0xf0) >> 4; 1804 if (hwinfo[addr] == 0xFF) { 1808 (hwinfo[addr] & 0x0f); 1817 if (hwinfo[add 1739 _rtl8723be_read_power_value_fromprom(struct ieee80211_hw *hw, struct txpower_info_2g *pw2g, struct txpower_info_5g *pw5g, bool autoload_fail, u8 *hwinfo) argument 1938 _rtl8723be_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) argument 2047 u8 *hwinfo; local 2659 rtl8723be_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) argument [all...] |
H A D | hw.h | 35 bool autoload_fail, u8 *hwinfo);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
H A D | hw.h | 40 bool autoload_fail, u8 *hwinfo);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
H A D | hw.h | 47 bool autoload_fail, u8 *hwinfo);
|
H A D | hw.c | 1417 u8 *hwinfo) 1427 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i] != 0xff && 1428 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + i] != 0xff) { 1431 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; 1434 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + 1449 hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i] != 0xff) 1450 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; 1520 hwinfo[EEPROM_TXPWR_GROUP + i] != 0xff && 1521 hwinfo[EEPROM_TXPWR_GROUP + 3 + i] != 0xff) { 1523 hwinfo[EEPROM_TXPWR_GROU 1415 _rtl92ce_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) argument 1658 u8 *hwinfo; local 2254 rtl8192ce_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) argument [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | main.c | 263 char hwinfo[32]; local 272 snprintf(hwinfo, sizeof(hwinfo), "eth%u.mac.pf%u", 290 err = nfp_nsp_hwinfo_lookup(nsp, hwinfo, sizeof(hwinfo)); 299 if (sscanf(hwinfo, "%02hhx:%02hhx:%02hhx:%02hhx:%02hhx:%02hhx", 303 hwinfo);
|