Home
last modified time | relevance | path

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

/drivers/net/wireless/rtlwifi/rtl8188ee/
Dhw.c1581 bool autoload_fail, u8 *hwinfo) in read_power_value_fromprom() argument
1588 (eeaddr+1), hwinfo[eeaddr+1]); in read_power_value_fromprom()
1589 if (0xFF == hwinfo[eeaddr+1]) /*YJ,add,120316*/ in read_power_value_fromprom()
1606 hwinfo[eeaddr++]; in read_power_value_fromprom()
1613 hwinfo[eeaddr++]; in read_power_value_fromprom()
1619 if (hwinfo[eeaddr] == 0xFF) { in read_power_value_fromprom()
1623 (hwinfo[eeaddr]&0xf0)>>4; in read_power_value_fromprom()
1629 if (hwinfo[eeaddr] == 0xFF) { in read_power_value_fromprom()
1633 (hwinfo[eeaddr]&0x0f); in read_power_value_fromprom()
1641 if (hwinfo[eeaddr] == 0xFF) { in read_power_value_fromprom()
[all …]
Dhw.h59 bool autoload_fail, u8 *hwinfo);
/drivers/net/wireless/rtlwifi/rtl8192ee/
Dhw.c1787 bool autoload_fail, u8 *hwinfo) in _rtl8192ee_read_power_value_fromprom() argument
1794 (addr + 1), hwinfo[addr + 1]); in _rtl8192ee_read_power_value_fromprom()
1795 if (0xFF == hwinfo[addr+1]) /*YJ,add,120316*/ in _rtl8192ee_read_power_value_fromprom()
1846 pwr2g->index_cck_base[rf][group] = hwinfo[addr++]; in _rtl8192ee_read_power_value_fromprom()
1851 pwr2g->index_bw40_base[rf][group] = hwinfo[addr++]; in _rtl8192ee_read_power_value_fromprom()
1858 if (hwinfo[addr] == 0xFF) { in _rtl8192ee_read_power_value_fromprom()
1861 pwr2g->bw20_diff[rf][i] = (hwinfo[addr] in _rtl8192ee_read_power_value_fromprom()
1867 if (hwinfo[addr] == 0xFF) { in _rtl8192ee_read_power_value_fromprom()
1870 pwr2g->ofdm_diff[rf][i] = (hwinfo[addr] in _rtl8192ee_read_power_value_fromprom()
1878 if (hwinfo[addr] == 0xFF) { in _rtl8192ee_read_power_value_fromprom()
[all …]
Dhw.h54 bool autoload_fail, u8 *hwinfo);
/drivers/staging/rtl8188eu/hal/
Drtl8188e_hal_init.c348 u8 *hwinfo in Hal_EfuseParseIDCode88E() argument
355 EEPROMId = le16_to_cpu(*((__le16 *)hwinfo)); in Hal_EfuseParseIDCode88E()
517 void Hal_ReadPowerSavingMode88E(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail) in Hal_ReadPowerSavingMode88E() argument
526 padapter->pwrctrlpriv.bHWPowerdown = (hwinfo[EEPROM_RF_FEATURE_OPTION_88E] & BIT4); in Hal_ReadPowerSavingMode88E()
532 …padapter->pwrctrlpriv.bSupportRemoteWakeup = (hwinfo[EEPROM_USB_OPTIONAL_FUNCTION0] & BIT1) ? true… in Hal_ReadPowerSavingMode88E()
593 void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter, u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseXtal_8188E() argument
598 pHalData->CrystalCap = hwinfo[EEPROM_XTAL_88E]; in Hal_EfuseParseXtal_8188E()
607 void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseBoardType88E() argument
612 pHalData->BoardType = ((hwinfo[EEPROM_RF_BOARD_OPTION_88E]&0xE0)>>5); in Hal_EfuseParseBoardType88E()
618 void Hal_EfuseParseEEPROMVer88E(struct adapter *padapter, u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseEEPROMVer88E() argument
[all …]
Dusb_halinit.c1060 static void Hal_EfuseParsePIDVID_8188EU(struct adapter *adapt, u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParsePIDVID_8188EU() argument
1066 haldata->EEPROMVID = EF2BYTE(*(__le16 *)&hwinfo[EEPROM_VID_88EU]); in Hal_EfuseParsePIDVID_8188EU()
1067 haldata->EEPROMPID = EF2BYTE(*(__le16 *)&hwinfo[EEPROM_PID_88EU]); in Hal_EfuseParsePIDVID_8188EU()
1070 haldata->EEPROMCustomerID = *(u8 *)&hwinfo[EEPROM_CUSTOMERID_88E]; in Hal_EfuseParsePIDVID_8188EU()
1085 static void Hal_EfuseParseMACAddr_8188EU(struct adapter *adapt, u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseMACAddr_8188EU() argument
1096 memcpy(eeprom->mac_addr, &hwinfo[EEPROM_MAC_ADDR_88EU], ETH_ALEN); in Hal_EfuseParseMACAddr_8188EU()
/drivers/net/wireless/rtlwifi/rtl8723be/
Dhw.c1759 bool autoload_fail, u8 *hwinfo) in _rtl8723be_read_power_value_fromprom() argument
1766 (addr + 1), hwinfo[addr + 1]); in _rtl8723be_read_power_value_fromprom()
1767 if (0xFF == hwinfo[addr + 1]) /*YJ,add,120316*/ in _rtl8723be_read_power_value_fromprom()
1797 pw2g->index_cck_base[path][group] = hwinfo[addr++]; in _rtl8723be_read_power_value_fromprom()
1803 pw2g->index_bw40_base[path][group] = hwinfo[addr++]; in _rtl8723be_read_power_value_fromprom()
1810 if (hwinfo[addr] == 0xFF) { in _rtl8723be_read_power_value_fromprom()
1814 (hwinfo[addr] & 0xf0) >> 4; in _rtl8723be_read_power_value_fromprom()
1821 if (hwinfo[addr] == 0xFF) { in _rtl8723be_read_power_value_fromprom()
1825 (hwinfo[addr] & 0x0f); in _rtl8723be_read_power_value_fromprom()
1834 if (hwinfo[addr] == 0xFF) { in _rtl8723be_read_power_value_fromprom()
[all …]
Dhw.h57 bool autoload_fail, u8 *hwinfo);
/drivers/staging/rtl8188eu/include/
Drtl8188e_hal.h396 void Hal_EfuseParseIDCode88E(struct adapter *padapter, u8 *hwinfo);
397 void Hal_ReadTxPowerInfo88E(struct adapter *padapter, u8 *hwinfo,
400 void Hal_EfuseParseEEPROMVer88E(struct adapter *padapter, u8 *hwinfo,
402 void rtl8188e_EfuseParseChnlPlan(struct adapter *padapter, u8 *hwinfo,
404 void Hal_EfuseParseCustomerID88E(struct adapter *padapter, u8 *hwinfo,
410 void Hal_EfuseParseXtal_8188E(struct adapter *pAdapter, u8 *hwinfo,
412 void Hal_EfuseParseBoardType88E(struct adapter *pAdapter, u8 *hwinfo,
414 void Hal_ReadPowerSavingMode88E(struct adapter *pAdapter, u8 *hwinfo,
/drivers/staging/rtl8723au/include/
Drtl8723a_hal.h510 void Hal_EfuseParseIDCode(struct rtw_adapter *padapter, u8 *hwinfo);
512 void Hal_EfuseParseBTCoexistInfo_8723A(struct rtw_adapter *padapter, u8 *hwinfo, bool AutoLoadFail);
513 void Hal_EfuseParseEEPROMVer(struct rtw_adapter *padapter, u8 *hwinfo, bool AutoLoadFail);
514 void rtl8723a_EfuseParseChnlPlan(struct rtw_adapter *padapter, u8 *hwinfo, bool AutoLoadFail);
515 void Hal_EfuseParseCustomerID(struct rtw_adapter *padapter, u8 *hwinfo, bool AutoLoadFail);
516 void Hal_EfuseParseAntennaDiversity(struct rtw_adapter *padapter, u8 *hwinfo, bool AutoLoadFail);
517 void Hal_EfuseParseRateIndicationOption(struct rtw_adapter *padapter, u8 *hwinfo, bool AutoLoadFail…
518 void Hal_EfuseParseXtal_8723A(struct rtw_adapter *pAdapter, u8 *hwinfo, u8 AutoLoadFail);
519 void Hal_EfuseParseThermalMeter_8723A(struct rtw_adapter *padapter, u8 *hwinfo, bool AutoLoadFail);
/drivers/net/wireless/rtlwifi/rtl8821ae/
Dhw.c2599 u8 *hwinfo) in _rtl8821ae_read_power_value_fromprom() argument
2606 (eeAddr+1), hwinfo[eeAddr+1]); in _rtl8821ae_read_power_value_fromprom()
2607 if (0xFF == hwinfo[eeAddr+1]) /*YJ,add,120316*/ in _rtl8821ae_read_power_value_fromprom()
2657 pwrinfo24g->index_cck_base[rfPath][group] = hwinfo[eeAddr++]; in _rtl8821ae_read_power_value_fromprom()
2662 pwrinfo24g->index_bw40_base[rfPath][group] = hwinfo[eeAddr++]; in _rtl8821ae_read_power_value_fromprom()
2670 pwrinfo24g->bw20_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2674 pwrinfo24g->ofdm_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2681 pwrinfo24g->bw40_diff[rfPath][TxCount] = (hwinfo[eeAddr]&0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2685 pwrinfo24g->bw20_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2691 pwrinfo24g->ofdm_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
[all …]
/drivers/staging/rtl8723au/hal/
Dusb_halinit.c1221 u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseMACAddr_8723AU() argument
1232 memcpy(pEEPROM->mac_addr, &hwinfo[EEPROM_MAC_ADDR_8723AU], in Hal_EfuseParseMACAddr_8723AU()
1248 u8 hwinfo[HWSET_MAX_SIZE]; in readAdapterInfo() local
1250 Hal_InitPGData(padapter, hwinfo); in readAdapterInfo()
1251 Hal_EfuseParseIDCode(padapter, hwinfo); in readAdapterInfo()
1252 Hal_EfuseParseEEPROMVer(padapter, hwinfo, in readAdapterInfo()
1254 Hal_EfuseParseMACAddr_8723AU(padapter, hwinfo, in readAdapterInfo()
1256 Hal_EfuseParsetxpowerinfo_8723A(padapter, hwinfo, in readAdapterInfo()
1258 _ReadBoardType(padapter, hwinfo, pEEPROM->bautoload_fail_flag); in readAdapterInfo()
1259 Hal_EfuseParseBTCoexistInfo_8723A(padapter, hwinfo, in readAdapterInfo()
[all …]
Drtl8723a_hal_init.c1603 void Hal_EfuseParseIDCode(struct rtw_adapter *padapter, u8 *hwinfo) in Hal_EfuseParseIDCode() argument
1610 EEPROMId = le16_to_cpu(*((u16 *) hwinfo)); in Hal_EfuseParseIDCode()
1827 u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseBTCoexistInfo_8723A() argument
1843 tempval = hwinfo[RF_OPTION4_8723A]; in Hal_EfuseParseBTCoexistInfo_8723A()
1860 u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseEEPROMVer() argument
1865 pHalData->EEPROMVersion = hwinfo[EEPROM_VERSION_8723A]; in Hal_EfuseParseEEPROMVer()
1875 u8 *hwinfo, bool AutoLoadFail) in rtl8723a_EfuseParseChnlPlan() argument
1878 hal_com_get_channel_plan23a(padapter, hwinfo ? in rtl8723a_EfuseParseChnlPlan()
1879 hwinfo[EEPROM_ChannelPlan_8723A]:0xFF, in rtl8723a_EfuseParseChnlPlan()
1890 u8 *hwinfo, bool AutoLoadFail) in Hal_EfuseParseCustomerID() argument
[all …]
/drivers/net/wireless/rtlwifi/rtl8192ce/
Dhw.c1439 u8 *hwinfo) in _rtl92ce_read_txpower_info_from_hwpg() argument
1451 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl92ce_read_txpower_info_from_hwpg()
1454 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + in _rtl92ce_read_txpower_info_from_hwpg()
1469 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl92ce_read_txpower_info_from_hwpg()
1540 hwinfo[EEPROM_TXPWR_GROUP + i]; in _rtl92ce_read_txpower_info_from_hwpg()
1542 hwinfo[EEPROM_TXPWR_GROUP + 3 + i]; in _rtl92ce_read_txpower_info_from_hwpg()
1584 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl92ce_read_txpower_info_from_hwpg()
1601 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl92ce_read_txpower_info_from_hwpg()
1631 rtlefuse->eeprom_regulatory = (hwinfo[RF_OPTION1] & 0x7); in _rtl92ce_read_txpower_info_from_hwpg()
1638 rtlefuse->eeprom_tssi[RF90_PATH_A] = hwinfo[EEPROM_TSSI_A]; in _rtl92ce_read_txpower_info_from_hwpg()
[all …]
Dhw.h74 bool autoload_fail, u8 *hwinfo);
/drivers/net/wireless/rtlwifi/rtl8192se/
Dhw.c1679 u8 hwinfo[HWSET_MAX_SIZE_92S]; in _rtl92se_read_adapter_info() local
1688 memcpy((void *)hwinfo, (void *) in _rtl92se_read_adapter_info()
1694 hwinfo, HWSET_MAX_SIZE_92S); in _rtl92se_read_adapter_info()
1696 eeprom_id = *((u16 *)&hwinfo[0]); in _rtl92se_read_adapter_info()
1713 rtlefuse->eeprom_vid = *(u16 *)&hwinfo[EEPROM_VID]; in _rtl92se_read_adapter_info()
1714 rtlefuse->eeprom_did = *(u16 *)&hwinfo[EEPROM_DID]; in _rtl92se_read_adapter_info()
1715 rtlefuse->eeprom_svid = *(u16 *)&hwinfo[EEPROM_SVID]; in _rtl92se_read_adapter_info()
1716 rtlefuse->eeprom_smid = *(u16 *)&hwinfo[EEPROM_SMID]; in _rtl92se_read_adapter_info()
1717 rtlefuse->eeprom_version = *(u16 *)&hwinfo[EEPROM_VERSION]; in _rtl92se_read_adapter_info()
1731 usvalue = *(u16 *)&hwinfo[EEPROM_MAC_ADDR + i]; in _rtl92se_read_adapter_info()
[all …]
/drivers/net/wireless/rtlwifi/rtl8723ae/
Dhw.c1417 u8 *hwinfo) in _rtl8723e_read_txpower_info_from_hwpg() argument
1428 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl8723e_read_txpower_info_from_hwpg()
1430 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + i]; in _rtl8723e_read_txpower_info_from_hwpg()
1442 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl8723e_read_txpower_info_from_hwpg()
1510 hwinfo[EEPROM_TXPWR_GROUP + i]; in _rtl8723e_read_txpower_info_from_hwpg()
1512 hwinfo[EEPROM_TXPWR_GROUP + 3 + i]; in _rtl8723e_read_txpower_info_from_hwpg()
1550 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl8723e_read_txpower_info_from_hwpg()
1567 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl8723e_read_txpower_info_from_hwpg()
1597 rtlefuse->eeprom_regulatory = (hwinfo[RF_OPTION1] & 0x7); in _rtl8723e_read_txpower_info_from_hwpg()
1604 rtlefuse->eeprom_tssi[RF90_PATH_A] = hwinfo[EEPROM_TSSI_A]; in _rtl8723e_read_txpower_info_from_hwpg()
[all …]
Dhw.h61 bool autoload_fail, u8 *hwinfo);
/drivers/net/wireless/rtlwifi/rtl8192de/
Dhw.c1573 bool autoload_fail, u8 *hwinfo) in _rtl92de_read_txpower_info() argument
1581 _rtl92de_readpowervalue_fromprom(&pwrinfo, hwinfo, autoload_fail); in _rtl92de_read_txpower_info()
1584 rtlefuse->eeprom_regulatory = (hwinfo[EEPROM_RF_OPT1] & 0x7); in _rtl92de_read_txpower_info()
1586 hwinfo[EEPROM_THERMAL_METER] & 0x1f; in _rtl92de_read_txpower_info()
1587 rtlefuse->crystalcap = hwinfo[EEPROM_XTAL_K]; in _rtl92de_read_txpower_info()
1588 tempval[0] = hwinfo[EEPROM_IQK_DELTA] & 0x03; in _rtl92de_read_txpower_info()
1589 tempval[1] = (hwinfo[EEPROM_LCK_DELTA] & 0x0C) >> 2; in _rtl92de_read_txpower_info()
1594 !((hwinfo[EEPROM_TSSI_A_5G] & BIT(6)) >> 6); in _rtl92de_read_txpower_info()
1596 !((hwinfo[EEPROM_TSSI_B_5G] & BIT(6)) >> 6); in _rtl92de_read_txpower_info()
1602 rtlefuse->eeprom_c9 = hwinfo[EEPROM_RF_OPT6]; in _rtl92de_read_txpower_info()
[all …]
/drivers/net/wireless/rtlwifi/rtl8192cu/
Dhw.c126 u8 *hwinfo) in _rtl92cu_read_txpower_info_from_hwpg() argument
138 hwinfo[EEPROM_TXPOWERCCK + rf_path * 3 + i]; in _rtl92cu_read_txpower_info_from_hwpg()
141 hwinfo[EEPROM_TXPOWERHT40_1S + rf_path * 3 + in _rtl92cu_read_txpower_info_from_hwpg()
155 tempval = hwinfo[EEPROM_TXPOWERHT40_2SDIFF + i]; in _rtl92cu_read_txpower_info_from_hwpg()
218 hwinfo[EEPROM_TXPWR_GROUP + i]; in _rtl92cu_read_txpower_info_from_hwpg()
220 hwinfo[EEPROM_TXPWR_GROUP + 3 + i]; in _rtl92cu_read_txpower_info_from_hwpg()
257 tempval = hwinfo[EEPROM_TXPOWERHT20DIFF + index]; in _rtl92cu_read_txpower_info_from_hwpg()
269 tempval = hwinfo[EEPROM_TXPOWER_OFDMDIFF + index]; in _rtl92cu_read_txpower_info_from_hwpg()
295 rtlefuse->eeprom_regulatory = (hwinfo[RF_OPTION1] & 0x7); in _rtl92cu_read_txpower_info_from_hwpg()
301 rtlefuse->eeprom_tssi[RF90_PATH_A] = hwinfo[EEPROM_TSSI_A]; in _rtl92cu_read_txpower_info_from_hwpg()
[all …]
/drivers/net/ethernet/toshiba/
Dps3_gelic_wireless.c581 struct gelic_eurus_scan_info *scan = network->hwinfo; in gelic_wl_translate_scan()
775 pr_debug("bssid=%pM\n", &scan_info->hwinfo->bssid[2]); in scan_list_dump()
776 pr_debug("essid=%s\n", scan_info->hwinfo->essid); in scan_list_dump()
1562 kfree(target->hwinfo); in gelic_wl_scan_complete_event()
1563 target->hwinfo = NULL; in gelic_wl_scan_complete_event()
1590 if (ether_addr_equal(&target->hwinfo->bssid[2], in gelic_wl_scan_complete_event()
1618 kfree(target->hwinfo); in gelic_wl_scan_complete_event()
1619 target->hwinfo = kzalloc(be16_to_cpu(scan_info->size), in gelic_wl_scan_complete_event()
1621 if (!target->hwinfo) in gelic_wl_scan_complete_event()
1625 memcpy(target->hwinfo, scan_info, scan_info->size); in gelic_wl_scan_complete_event()
[all …]
Dps3_gelic_wireless.h180 struct gelic_eurus_scan_info *hwinfo; member
/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c582 u32 hwinfo, pat_geom; in omap_dmm_probe() local
617 hwinfo = readl(omap_dmm->base + DMM_PAT_HWINFO); in omap_dmm_probe()
618 omap_dmm->num_engines = (hwinfo >> 24) & 0x1F; in omap_dmm_probe()
619 omap_dmm->num_lut = (hwinfo >> 16) & 0x1F; in omap_dmm_probe()