Searched refs:pDevice (Results 1 – 5 of 5) sorted by relevance
/linux-4.1.27/drivers/staging/vt6655/ |
D | card.c | 206 bool CARDbSetPhyParameter(struct vnt_private *pDevice, u8 bb_type) in CARDbSetPhyParameter() argument 217 if (pDevice->byRFType == RF_AIROHA7230) { in CARDbSetPhyParameter() 219 MACvSetBBType(pDevice->PortOffset, BB_TYPE_11G); in CARDbSetPhyParameter() 220 pDevice->abyBBVGA[0] = 0x20; in CARDbSetPhyParameter() 221 pDevice->abyBBVGA[2] = 0x10; in CARDbSetPhyParameter() 222 pDevice->abyBBVGA[3] = 0x10; in CARDbSetPhyParameter() 223 BBbReadEmbedded(pDevice, 0xE7, &byData); in CARDbSetPhyParameter() 225 BBbWriteEmbedded(pDevice, 0xE7, pDevice->abyBBVGA[0]); in CARDbSetPhyParameter() 227 } else if (pDevice->byRFType == RF_UW2452) { in CARDbSetPhyParameter() 228 MACvSetBBType(pDevice->PortOffset, BB_TYPE_11A); in CARDbSetPhyParameter() [all …]
|
D | device_main.c | 148 static void device_free_info(struct vnt_private *pDevice); 150 static void device_print_info(struct vnt_private *pDevice); 162 static void device_init_rd0_ring(struct vnt_private *pDevice); 163 static void device_init_rd1_ring(struct vnt_private *pDevice); 164 static void device_init_td0_ring(struct vnt_private *pDevice); 165 static void device_init_td1_ring(struct vnt_private *pDevice); 167 static int device_rx_srv(struct vnt_private *pDevice, unsigned int uIdx); 168 static int device_tx_srv(struct vnt_private *pDevice, unsigned int uIdx); 169 static bool device_alloc_rx_buf(struct vnt_private *pDevice, PSRxDesc pDesc); 170 static void device_init_registers(struct vnt_private *pDevice); [all …]
|
D | power.c | 71 struct vnt_private *pDevice = hDeviceContext; in PSvEnablePowerSaving() local 72 u16 wAID = pDevice->current_aid | BIT(14) | BIT(15); in PSvEnablePowerSaving() 75 VNSvOutPortW(pDevice->PortOffset + MAC_REG_PWBT, C_PWBT); in PSvEnablePowerSaving() 76 if (pDevice->op_mode != NL80211_IFTYPE_ADHOC) { in PSvEnablePowerSaving() 78 VNSvOutPortW(pDevice->PortOffset + MAC_REG_AIDATIM, wAID); in PSvEnablePowerSaving() 82 MACvWriteATIMW(pDevice->PortOffset, pMgmt->wCurrATIMWindow); in PSvEnablePowerSaving() 86 MACvRegBitsOn(pDevice->PortOffset, MAC_REG_PSCFG, PSCFG_AUTOSLEEP); in PSvEnablePowerSaving() 88 MACvRegBitsOn(pDevice->PortOffset, MAC_REG_TFTCTL, TFTCTL_HWUTSF); in PSvEnablePowerSaving() 92 MACvRegBitsOff(pDevice->PortOffset, MAC_REG_PSCTL, PSCTL_ALBCN); in PSvEnablePowerSaving() 94 MACvRegBitsOn(pDevice->PortOffset, MAC_REG_PSCTL, PSCTL_LNBCN); in PSvEnablePowerSaving() [all …]
|
D | rxtx.c | 103 struct vnt_private *pDevice, 117 struct vnt_private *pDevice, 131 s_cbFillTxBufHead(struct vnt_private *pDevice, unsigned char byPktType, 139 struct vnt_private *pDevice, 169 struct vnt_private *pDevice, in s_uGetTxRsvTime() argument 178 uDataTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, cbFrameLength, wRate); in s_uGetTxRsvTime() 180 …uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, (unsigned short)pDevice->byTopC… in s_uGetTxRsvTime() 182 …uAckTime = BBuGetFrameTime(pDevice->byPreambleType, byPktType, 14, (unsigned short)pDevice->byTopO… in s_uGetTxRsvTime() 185 return uDataTime + pDevice->uSIFS + uAckTime; in s_uGetTxRsvTime() 201 struct vnt_private *pDevice, in s_uGetRTSCTSRsvTime() argument [all …]
|
D | channel.c | 179 struct vnt_private *pDevice = pDeviceHandler; in set_channel() local 182 if (pDevice->byCurrentCh == ch->hw_value) in set_channel() 186 if (pDevice->bUpdateBBVGA && in set_channel() 187 pDevice->byBBVGACurrent != pDevice->abyBBVGA[0]) { in set_channel() 188 pDevice->byBBVGACurrent = pDevice->abyBBVGA[0]; in set_channel() 190 BBvSetVGAGainOffset(pDevice, pDevice->byBBVGACurrent); in set_channel() 194 MACvRegBitsOn(pDevice->PortOffset, MAC_REG_MACCR, MACCR_CLRNAV); in set_channel() 199 if (pDevice->byRFType == RF_AIROHA7230) in set_channel() 200 RFbAL7230SelectChannelPostProcess(pDevice, pDevice->byCurrentCh, in set_channel() 203 pDevice->byCurrentCh = ch->hw_value; in set_channel() [all …]
|