/kernel/linux/linux-6.6/sound/firewire/fireworks/ |
H A D | fireworks.c | 75 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 in get_hardware_info() [all...] |
H A D | fireworks_proc.c | 32 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 in proc_read_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) in snd_efw_command_get_hwinfo() 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 in snd_efw_command_get_hwinfo() 211 snd_efw_command_get_hwinfo(struct snd_efw *efw, struct snd_efw_hwinfo *hwinfo) snd_efw_command_get_hwinfo() argument [all...] |
/kernel/linux/linux-5.10/sound/firewire/fireworks/ |
H A D | fireworks_proc.c | 32 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 in proc_read_hwinfo() [all...] |
H A D | fireworks.c | 75 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 in get_hardware_info() [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) in snd_efw_command_get_hwinfo() 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 in snd_efw_command_get_hwinfo() 211 snd_efw_command_get_hwinfo(struct snd_efw *efw, struct snd_efw_hwinfo *hwinfo) snd_efw_command_get_hwinfo() argument [all...] |
/kernel/linux/linux-5.10/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) 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() 135 nfp_err(cpp, "Unsupported hwinfo size %u > %u\n", size, len); in hwinfo_db_validate() 142 nfp_err(cpp, "Corrupt hwinfo table (CRC mismatch), calculated 0x%x, expected 0x%x\n", in hwinfo_db_validate() 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) nfp_hwinfo_get_packed_strings() argument 281 nfp_hwinfo_get_packed_str_size(struct nfp_hwinfo *hwinfo) nfp_hwinfo_get_packed_str_size() 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);
|
/kernel/linux/linux-6.6/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) 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() 135 nfp_err(cpp, "Unsupported hwinfo size %u > %u\n", size, len); in hwinfo_db_validate() 142 nfp_err(cpp, "Corrupt hwinfo table (CRC mismatch), calculated 0x%x, expected 0x%x\n", in hwinfo_db_validate() 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) nfp_hwinfo_get_packed_strings() argument 281 nfp_hwinfo_get_packed_str_size(struct nfp_hwinfo *hwinfo) nfp_hwinfo_get_packed_str_size() 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);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
H A D | devlink_param.c | 17 * @dl_to_hi: Devlink to hwinfo value mapping 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), " in nfp_devlink_param_u8_set() [all...] |
H A D | nfp_main.c | 188 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() 487 char hwinfo[64]; nfp_fw_load() local 722 char hwinfo[32]; nfp_pf_cfg_hwinfo() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
H A D | devlink_param.c | 17 * @dl_to_hi: Devlink to hwinfo value mapping 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), " in nfp_devlink_param_u8_set() [all...] |
H A 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, in nfp_get_fw_policy_value() 473 char hwinfo[64]; nfp_fw_load() local [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
H A 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...] |
/kernel/linux/linux-6.6/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...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/hal/ |
H A 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)) ? true : false; 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, boo argument 504 rtl8188e_EfuseParseChnlPlan(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail) rtl8188e_EfuseParseChnlPlan() argument 514 Hal_EfuseParseCustomerID88E(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail) Hal_EfuseParseCustomerID88E() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | hw.c | 1560 bool autoload_fail, u8 *hwinfo) in read_power_value_fromprom() 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[eeadd in read_power_value_fromprom() 1557 read_power_value_fromprom(struct ieee80211_hw *hw, struct txpower_info_2g *pwrinfo24g, struct txpower_info_5g *pwrinfo5g, bool autoload_fail, u8 *hwinfo) read_power_value_fromprom() argument 1747 _rtl88ee_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) _rtl88ee_read_txpower_info_from_hwpg() argument 1820 u8 *hwinfo; _rtl88ee_read_adapter_info() local 2440 rtl8188ee_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) rtl8188ee_read_bt_coexist_info_from_hwpg() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
H A D | hw.c | 1559 bool autoload_fail, u8 *hwinfo) in read_power_value_fromprom() 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[eeadd in read_power_value_fromprom() 1556 read_power_value_fromprom(struct ieee80211_hw *hw, struct txpower_info_2g *pwrinfo24g, struct txpower_info_5g *pwrinfo5g, bool autoload_fail, u8 *hwinfo) read_power_value_fromprom() argument 1746 _rtl88ee_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) _rtl88ee_read_txpower_info_from_hwpg() argument 1819 u8 *hwinfo; _rtl88ee_read_adapter_info() local 2439 rtl8188ee_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) rtl8188ee_read_bt_coexist_info_from_hwpg() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | hw.c | 1786 bool autoload_fail, u8 *hwinfo) in _rtl8192ee_read_power_value_fromprom() 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[add in _rtl8192ee_read_power_value_fromprom() 1783 _rtl8192ee_read_power_value_fromprom(struct ieee80211_hw *hw, struct txpower_info_2g *pwr2g, struct txpower_info_5g *pwr5g, bool autoload_fail, u8 *hwinfo) _rtl8192ee_read_power_value_fromprom() argument 2013 _rtl92ee_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) _rtl92ee_read_txpower_info_from_hwpg() argument 2104 u8 *hwinfo; _rtl92ee_read_adapter_info() local 2541 rtl92ee_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) rtl92ee_read_bt_coexist_info_from_hwpg() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | hw.c | 1786 bool autoload_fail, u8 *hwinfo) in _rtl8192ee_read_power_value_fromprom() 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[add in _rtl8192ee_read_power_value_fromprom() 1783 _rtl8192ee_read_power_value_fromprom(struct ieee80211_hw *hw, struct txpower_info_2g *pwr2g, struct txpower_info_5g *pwr5g, bool autoload_fail, u8 *hwinfo) _rtl8192ee_read_power_value_fromprom() argument 2013 _rtl92ee_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) _rtl92ee_read_txpower_info_from_hwpg() argument 2104 u8 *hwinfo; _rtl92ee_read_adapter_info() local 2541 rtl92ee_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) rtl92ee_read_bt_coexist_info_from_hwpg() argument [all...] |
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/include/ |
H A 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,
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | hw.c | 1748 bool autoload_fail, u8 *hwinfo) in _rtl8723be_read_power_value_fromprom() 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[add in _rtl8723be_read_power_value_fromprom() 1745 _rtl8723be_read_power_value_fromprom(struct ieee80211_hw *hw, struct txpower_info_2g *pw2g, struct txpower_info_5g *pw5g, bool autoload_fail, u8 *hwinfo) _rtl8723be_read_power_value_fromprom() argument 1944 _rtl8723be_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) _rtl8723be_read_txpower_info_from_hwpg() argument 2053 u8 *hwinfo; _rtl8723be_read_adapter_info() local 2665 rtl8723be_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) rtl8723be_read_bt_coexist_info_from_hwpg() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | hw.c | 1748 bool autoload_fail, u8 *hwinfo) in _rtl8723be_read_power_value_fromprom() 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[add in _rtl8723be_read_power_value_fromprom() 1745 _rtl8723be_read_power_value_fromprom(struct ieee80211_hw *hw, struct txpower_info_2g *pw2g, struct txpower_info_5g *pw5g, bool autoload_fail, u8 *hwinfo) _rtl8723be_read_power_value_fromprom() argument 1944 _rtl8723be_read_txpower_info_from_hwpg(struct ieee80211_hw *hw, bool autoload_fail, u8 *hwinfo) _rtl8723be_read_txpower_info_from_hwpg() argument 2053 u8 *hwinfo; _rtl8723be_read_adapter_info() local 2665 rtl8723be_read_bt_coexist_info_from_hwpg(struct ieee80211_hw *hw, bool auto_load_fail, u8 *hwinfo) rtl8723be_read_bt_coexist_info_from_hwpg() argument [all...] |
/kernel/linux/linux-6.6/drivers/staging/rtl8723bs/hal/ |
H A D | sdio_halinit.c | 1025 struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail in Hal_EfuseParseMACAddr_8723BS() 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() 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, pEEPRO in _ReadEfuseInfo8723BS() 1024 Hal_EfuseParseMACAddr_8723BS( struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail ) Hal_EfuseParseMACAddr_8723BS() argument 1042 Hal_EfuseParseBoardType_8723BS( struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail ) Hal_EfuseParseBoardType_8723BS() argument [all...] |