haldata 543 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c struct hal_data_8188e *haldata = adapt->HalData; haldata 560 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c haldata->RegCR_1 |= BIT(0); haldata 561 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c usb_write8(adapt, REG_CR+1, haldata->RegCR_1); haldata 569 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c if (haldata->RegFwHwTxQCtrl & BIT(6)) { haldata 575 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c usb_write8(adapt, REG_FWHW_TXQ_CTRL+2, (haldata->RegFwHwTxQCtrl&(~BIT(6)))); haldata 576 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c haldata->RegFwHwTxQCtrl &= (~BIT(6)); haldata 618 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c usb_write8(adapt, REG_FWHW_TXQ_CTRL+2, (haldata->RegFwHwTxQCtrl | BIT(6))); haldata 619 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c haldata->RegFwHwTxQCtrl |= BIT(6); haldata 630 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c haldata->RegCR_1 &= (~BIT(0)); haldata 631 drivers/staging/rtl8188eu/hal/rtl8188e_cmd.c usb_write8(adapt, REG_CR+1, haldata->RegCR_1); haldata 20 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = adapt->HalData; haldata 24 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->OutEpQueueSel = TX_SELE_HQ | TX_SELE_LQ | TX_SELE_NQ; haldata 25 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->OutEpNumber = 3; haldata 28 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->OutEpQueueSel = TX_SELE_HQ | TX_SELE_NQ; haldata 29 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->OutEpNumber = 2; haldata 32 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->OutEpQueueSel = TX_SELE_HQ; haldata 33 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->OutEpNumber = 1; haldata 38 drivers/staging/rtl8188eu/hal/usb_halinit.c DBG_88E("%s OutEpQueueSel(0x%02x), OutEpNumber(%d)\n", __func__, haldata->OutEpQueueSel, haldata->OutEpNumber); haldata 62 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = adapt->HalData; haldata 66 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->UsbBulkOutSize = USB_HIGH_SPEED_BULK_SIZE;/* 512 bytes */ haldata 68 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->UsbBulkOutSize = USB_FULL_SPEED_BULK_SIZE;/* 64 bytes */ haldata 70 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->interfaceIndex = pdvobjpriv->InterfaceNumber; haldata 72 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->UsbTxAggMode = 1; haldata 73 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->UsbTxAggDescNum = 0x6; /* only 4 bits */ haldata 75 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->UsbRxAggMode = USB_RX_AGG_DMA;/* USB_RX_AGG_DMA; */ haldata 76 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->UsbRxAggBlockCount = 8; /* unit : 512b */ haldata 77 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->UsbRxAggBlockTimeout = 0x6; haldata 78 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->UsbRxAggPageCount = 48; /* uint :128 b 0x0A; 10 = MAX_RX_DMA_BUFFER_SIZE/2/haldata->UsbBulkOutSize */ haldata 79 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->UsbRxAggPageTimeout = 0x4; /* 6, absolute time = 34ms/(2^6) */ haldata 342 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = Adapter->HalData; haldata 344 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->ReceiveConfig = RCR_AAP | RCR_APM | RCR_AM | RCR_AB | haldata 350 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write32(Adapter, REG_RCR, haldata->ReceiveConfig); haldata 441 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = Adapter->HalData; haldata 445 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->UsbTxAggMode = false; haldata 447 drivers/staging/rtl8188eu/hal/usb_halinit.c if (haldata->UsbTxAggMode) { haldata 450 drivers/staging/rtl8188eu/hal/usb_halinit.c value32 |= ((haldata->UsbTxAggDescNum & BLK_DESC_NUM_MASK) << BLK_DESC_NUM_SHIFT); haldata 474 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = Adapter->HalData; haldata 481 drivers/staging/rtl8188eu/hal/usb_halinit.c switch (haldata->UsbRxAggMode) { haldata 504 drivers/staging/rtl8188eu/hal/usb_halinit.c switch (haldata->UsbRxAggMode) { haldata 506 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_RXDMA_AGG_PG_TH, haldata->UsbRxAggPageCount); haldata 507 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_RXDMA_AGG_PG_TH + 1, haldata->UsbRxAggPageTimeout); haldata 510 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_USB_AGG_TH, haldata->UsbRxAggBlockCount); haldata 511 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_USB_AGG_TO, haldata->UsbRxAggBlockTimeout); haldata 514 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_RXDMA_AGG_PG_TH, haldata->UsbRxAggPageCount); haldata 515 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_RXDMA_AGG_PG_TH + 1, (haldata->UsbRxAggPageTimeout & 0x1F));/* 0x280[12:8] */ haldata 516 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_USB_AGG_TH, haldata->UsbRxAggBlockCount); haldata 517 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(Adapter, REG_USB_AGG_TO, haldata->UsbRxAggBlockTimeout); haldata 527 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->HwRxPageSize = 128; haldata 530 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->HwRxPageSize = 64; haldata 533 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->HwRxPageSize = 256; haldata 536 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->HwRxPageSize = 512; haldata 539 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->HwRxPageSize = 1024; haldata 557 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = Adapter->HalData; haldata 570 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->RegBcnCtrlVal = usb_read8(Adapter, REG_BCN_CTRL); haldata 571 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->RegTxPause = usb_read8(Adapter, REG_TXPAUSE); haldata 572 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->RegFwHwTxQCtrl = usb_read8(Adapter, REG_FWHW_TXQ_CTRL + 2); haldata 573 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->RegReg542 = usb_read8(Adapter, REG_TBTT_PROHIBIT + 2); haldata 574 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->RegCR_1 = usb_read8(Adapter, REG_CR + 1); haldata 594 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = Adapter->HalData; haldata 596 drivers/staging/rtl8188eu/hal/usb_halinit.c if (haldata->AntDivCfg == 0) haldata 604 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->CurAntenna = Antenna_A; haldata 606 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->CurAntenna = Antenna_B; haldata 607 drivers/staging/rtl8188eu/hal/usb_halinit.c DBG_88E("%s,Cur_ant:(%x)%s\n", __func__, haldata->CurAntenna, (haldata->CurAntenna == Antenna_A) ? "Antenna_A" : "Antenna_B"); haldata 650 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = Adapter->HalData; haldata 660 drivers/staging/rtl8188eu/hal/usb_halinit.c if (haldata->odmpriv.RFCalibrateInfo.bIQKInitialized) { haldata 664 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->odmpriv.RFCalibrateInfo.bIQKInitialized = true; haldata 667 drivers/staging/rtl8188eu/hal/usb_halinit.c ODM_TXPowerTrackingCheck(&haldata->odmpriv); haldata 681 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->CurrentChannel = 6;/* default set to 6 */ haldata 765 drivers/staging/rtl8188eu/hal/usb_halinit.c if (haldata->bRDGEnable) haldata 783 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->RfRegChnlVal[0] = rtw_hal_read_rfreg(Adapter, (enum rf_radio_path)0, RF_CHNLBW, bRFRegOffsetMask); haldata 784 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->RfRegChnlVal[1] = rtw_hal_read_rfreg(Adapter, (enum rf_radio_path)1, RF_CHNLBW, bRFRegOffsetMask); haldata 794 drivers/staging/rtl8188eu/hal/usb_halinit.c phy_set_tx_power_level(Adapter, haldata->CurrentChannel); haldata 844 drivers/staging/rtl8188eu/hal/usb_halinit.c if (haldata->odmpriv.RFCalibrateInfo.bIQKInitialized) { haldata 848 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->odmpriv.RFCalibrateInfo.bIQKInitialized = true; haldata 853 drivers/staging/rtl8188eu/hal/usb_halinit.c ODM_TXPowerTrackingCheck(&haldata->odmpriv); haldata 1004 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = adapt->HalData; haldata 1008 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->EEPROMVID = EF2BYTE(*(__le16 *)&hwinfo[EEPROM_VID_88EU]); haldata 1009 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->EEPROMPID = EF2BYTE(*(__le16 *)&hwinfo[EEPROM_PID_88EU]); haldata 1012 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->EEPROMCustomerID = *(u8 *)&hwinfo[EEPROM_CUSTOMERID_88E]; haldata 1013 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->EEPROMSubCustomerID = EEPROM_Default_SubCustomerID; haldata 1015 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->EEPROMVID = EEPROM_Default_VID; haldata 1016 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->EEPROMPID = EEPROM_Default_PID; haldata 1019 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->EEPROMCustomerID = EEPROM_Default_CustomerID; haldata 1020 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->EEPROMSubCustomerID = EEPROM_Default_SubCustomerID; haldata 1023 drivers/staging/rtl8188eu/hal/usb_halinit.c DBG_88E("VID = 0x%04X, PID = 0x%04X\n", haldata->EEPROMVID, haldata->EEPROMPID); haldata 1024 drivers/staging/rtl8188eu/hal/usb_halinit.c DBG_88E("Customer ID: 0x%02X, SubCustomer ID: 0x%02X\n", haldata->EEPROMCustomerID, haldata->EEPROMSubCustomerID); haldata 1101 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = adapt->HalData; haldata 1106 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(adapt, REG_FWHW_TXQ_CTRL + 2, (haldata->RegFwHwTxQCtrl) | BIT(6)); haldata 1107 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->RegFwHwTxQCtrl |= BIT(6); haldata 1109 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->RegReg542 |= BIT(0); haldata 1110 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(adapt, REG_TBTT_PROHIBIT + 2, haldata->RegReg542); haldata 1115 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = adapt->HalData; haldata 1120 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(adapt, REG_FWHW_TXQ_CTRL + 2, (haldata->RegFwHwTxQCtrl) & (~BIT(6))); haldata 1121 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->RegFwHwTxQCtrl &= (~BIT(6)); haldata 1123 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->RegReg542 &= ~(BIT(0)); haldata 1124 drivers/staging/rtl8188eu/hal/usb_halinit.c usb_write8(adapt, REG_TBTT_PROHIBIT + 2, haldata->RegReg542); haldata 1222 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = Adapter->HalData; haldata 1223 drivers/staging/rtl8188eu/hal/usb_halinit.c struct dm_priv *pdmpriv = &haldata->dmpriv; haldata 1224 drivers/staging/rtl8188eu/hal/usb_halinit.c struct odm_dm_struct *podmpriv = &haldata->odmpriv; haldata 1272 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->BasicRateSet = BrateCfg; haldata 1388 drivers/staging/rtl8188eu/hal/usb_halinit.c RetryLimit = (haldata->CustomerID == RT_CID_CCX) ? 7 : 48; haldata 1445 drivers/staging/rtl8188eu/hal/usb_halinit.c regTmp = (haldata->nCur40MhzPrimeSC) << 5; haldata 1517 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->AcParam_BE = ((u32 *)(val))[0]; haldata 1609 drivers/staging/rtl8188eu/hal/usb_halinit.c threshold = haldata->UsbRxAggPageCount; haldata 1661 drivers/staging/rtl8188eu/hal/usb_halinit.c if (haldata->CurAntenna != Optimum_antenna) { haldata 1663 drivers/staging/rtl8188eu/hal/usb_halinit.c rtl88eu_dm_update_rx_idle_ant(&haldata->odmpriv, Ant); haldata 1665 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->CurAntenna = Optimum_antenna; haldata 1670 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->EfuseUsedBytes = *((u16 *)val); haldata 1703 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->bMacPwrCtrlOn = *val; haldata 1704 drivers/staging/rtl8188eu/hal/usb_halinit.c DBG_88E("%s: bMacPwrCtrlOn=%d\n", __func__, haldata->bMacPwrCtrlOn); haldata 1782 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = Adapter->HalData; haldata 1798 drivers/staging/rtl8188eu/hal/usb_halinit.c *((u8 *)pValue) = (haldata->AntDivCfg == 0) ? false : true; haldata 1801 drivers/staging/rtl8188eu/hal/usb_halinit.c *((u8 *)pValue) = haldata->CurAntenna; haldata 1813 drivers/staging/rtl8188eu/hal/usb_halinit.c *((u32 *)pValue) = haldata->odmpriv.SupportAbility; haldata 1819 drivers/staging/rtl8188eu/hal/usb_halinit.c *((u8 *)pValue) = ODM_RA_GetDecisionRate_8188E(&haldata->odmpriv, MacID); haldata 1826 drivers/staging/rtl8188eu/hal/usb_halinit.c *((u8 *)pValue) = ODM_RA_GetShortGI_8188E(&haldata->odmpriv, MacID); haldata 1833 drivers/staging/rtl8188eu/hal/usb_halinit.c *((u8 *)pValue) = ODM_RA_GetHwPwrStatus_8188E(&haldata->odmpriv, MacID); haldata 1847 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->odmpriv.RAInfo[entry_id].RateID, haldata 1848 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->odmpriv.RAInfo[entry_id].RAUseRate, haldata 1849 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->odmpriv.RAInfo[entry_id].RateSGI, haldata 1850 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->odmpriv.RAInfo[entry_id].DecisionRate, haldata 1851 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->odmpriv.RAInfo[entry_id].PTStage); haldata 1857 drivers/staging/rtl8188eu/hal/usb_halinit.c struct odm_dm_struct *dm_ocm = &haldata->odmpriv; haldata 1863 drivers/staging/rtl8188eu/hal/usb_halinit.c *((u8 *)pValue) = haldata->bDumpRxPkt; haldata 1866 drivers/staging/rtl8188eu/hal/usb_halinit.c *((u8 *)pValue) = haldata->bDumpTxPkt; haldata 1974 drivers/staging/rtl8188eu/hal/usb_halinit.c struct hal_data_8188e *haldata = adapt->HalData; haldata 1982 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->LastHMEBoxNum = 0; haldata 1985 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->odmpriv.RFCalibrateInfo.bIQKInitialized = false; haldata 1986 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->odmpriv.RFCalibrateInfo.TM_Trigger = 0;/* for IQK */ haldata 1987 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->pwrGroupCnt = 0; haldata 1988 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->PGMaxGroup = 13; haldata 1989 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->odmpriv.RFCalibrateInfo.ThermalValue_HP_index = 0; haldata 1991 drivers/staging/rtl8188eu/hal/usb_halinit.c haldata->odmpriv.RFCalibrateInfo.ThermalValue_HP[i] = 0; haldata 15 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c struct hal_data_8188e *haldata = adapt->HalData; haldata 23 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c memcpy(&haldata->IntArray[0], &pbuf[USB_INTR_CONTENT_HISR_OFFSET], 4); haldata 24 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c memcpy(&haldata->IntArray[1], &pbuf[USB_INTR_CONTENT_HISRE_OFFSET], 4); haldata 28 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c memcpy(&haldata->C2hArray[0], haldata 44 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c struct hal_data_8188e *haldata = adapt->HalData; haldata 133 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c switch (haldata->UsbRxAggMode) { haldata 158 drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c ODM_RA_TxRPT2Handle_8188E(&haldata->odmpriv, haldata 750 drivers/staging/rtl8723bs/hal/sdio_ops.c struct hal_com_data *haldata; haldata 753 drivers/staging/rtl8723bs/hal/sdio_ops.c haldata = GET_HAL_DATA(adapter); haldata 754 drivers/staging/rtl8723bs/hal/sdio_ops.c haldata->sdio_himr = (u32)( \ haldata 784 drivers/staging/rtl8723bs/hal/sdio_ops.c struct hal_com_data *haldata; haldata 787 drivers/staging/rtl8723bs/hal/sdio_ops.c haldata = GET_HAL_DATA(adapter); haldata 789 drivers/staging/rtl8723bs/hal/sdio_ops.c haldata->SysIntrMask = ( \ haldata 810 drivers/staging/rtl8723bs/hal/sdio_ops.c struct hal_com_data *haldata; haldata 814 drivers/staging/rtl8723bs/hal/sdio_ops.c haldata = GET_HAL_DATA(adapter); haldata 816 drivers/staging/rtl8723bs/hal/sdio_ops.c himr = cpu_to_le32(haldata->sdio_himr); haldata 825 drivers/staging/rtl8723bs/hal/sdio_ops.c haldata->sdio_himr haldata 831 drivers/staging/rtl8723bs/hal/sdio_ops.c rtw_write32(adapter, REG_HSIMR, tmp | haldata->SysIntrMask); haldata 839 drivers/staging/rtl8723bs/hal/sdio_ops.c haldata->SysIntrMask haldata 1163 drivers/staging/rtl8723bs/hal/sdio_ops.c struct hal_com_data *haldata = GET_HAL_DATA(adapter); haldata 1165 drivers/staging/rtl8723bs/hal/sdio_ops.c haldata->SdioTxOQTFreeSpace = SdioLocalCmd52Read1Byte(adapter, SDIO_REG_OQT_FREE_PG);