Home
last modified time | relevance | path

Searched refs:ii (Results 1 – 25 of 92) sorted by relevance

1234

/drivers/staging/vt6655/
Dchannel.c424 unsigned int ii; in init_channel_table() local
426 for(ii = 1 ; ii<=CARD_MAX_CHANNEL_TBL ; ii++) { in init_channel_table()
427 sChannelTbl[ii].bValid = false; in init_channel_table()
449 for(ii = 0 ; ii<CARD_MAX_CHANNEL_TBL ; ii++) { in init_channel_table()
450 sChannelTbl[ii+1].bValid = true; in init_channel_table()
451 pDevice->abyRegPwr[ii+1] = pDevice->abyOFDMDefaultPwr[ii+1]; in init_channel_table()
452 pDevice->abyLocalPwr[ii+1] = pDevice->abyOFDMDefaultPwr[ii+1]; in init_channel_table()
454 for(ii = 0 ; ii<CHANNEL_MAX_24G ; ii++) { in init_channel_table()
455 pDevice->abyRegPwr[ii+1] = pDevice->abyCCKDefaultPwr[ii+1]; in init_channel_table()
456 pDevice->abyLocalPwr[ii+1] = pDevice->abyCCKDefaultPwr[ii+1]; in init_channel_table()
[all …]
Ddatarate.c78 unsigned char ii; in s_vResetCounter() local
81 for(ii=0;ii<=MAX_RATE;ii++) { in s_vResetCounter()
82 psNodeDBTable->uTxOk[ii] = 0; in s_vResetCounter()
83 psNodeDBTable->uTxFail[ii] = 0; in s_vResetCounter()
112 unsigned char ii; in DATARATEbyGetRateIdx() local
117 for (ii = 0; ii < MAX_RATE; ii ++) { in DATARATEbyGetRateIdx()
118 if (acbyIERate[ii] == byRate) in DATARATEbyGetRateIdx()
119 return ii; in DATARATEbyGetRateIdx()
166 unsigned short ii; in wGetRateIdx() local
171 for (ii = 0; ii < MAX_RATE; ii ++) { in wGetRateIdx()
[all …]
Dbssdb.c142 unsigned int ii = 0; in BSSpSearchBSSList() local
161 for (ii = 0; ii <MAX_BSS_NUM; ii++) { in BSSpSearchBSSList()
162 pCurrBSS = &(pMgmt->sBSSList[ii]); in BSSpSearchBSSList()
194 for (ii = 0; ii <MAX_BSS_NUM; ii++) { in BSSpSearchBSSList()
195 pCurrBSS = &(pMgmt->sBSSList[ii]); in BSSpSearchBSSList()
292 unsigned int ii; in BSSvClearBSSList() local
294 for (ii = 0; ii < MAX_BSS_NUM; ii++) { in BSSvClearBSSList()
296 if (pMgmt->sBSSList[ii].bActive && in BSSvClearBSSList()
297 !compare_ether_addr(pMgmt->sBSSList[ii].abyBSSID, pMgmt->abyCurrBSSID)) { in BSSvClearBSSList()
303 if ((pMgmt->sBSSList[ii].bActive) && (pMgmt->sBSSList[ii].uClearCount < BSS_CLEAR_COUNT)) { in BSSvClearBSSList()
[all …]
Dbaseband.c2152 int ii; in BBbVT3253Init() local
2159 for (ii = 0; ii < CB_VT3253_INIT_FOR_RFMD; ii++) { in BBbVT3253Init()
2160 … bResult &= BBbWriteEmbeded(dwIoBase,byVT3253InitTab_RFMD[ii][0],byVT3253InitTab_RFMD[ii][1]); in BBbVT3253Init()
2163 for (ii = 0; ii < CB_VT3253B0_INIT_FOR_RFMD; ii++) { in BBbVT3253Init()
2164 bResult &= BBbWriteEmbeded(dwIoBase,byVT3253B0_RFMD[ii][0],byVT3253B0_RFMD[ii][1]); in BBbVT3253Init()
2166 for (ii = 0; ii < CB_VT3253B0_AGC_FOR_RFMD2959; ii++) { in BBbVT3253Init()
2167 …esult &= BBbWriteEmbeded(dwIoBase,byVT3253B0_AGC4_RFMD2959[ii][0],byVT3253B0_AGC4_RFMD2959[ii][1]); in BBbVT3253Init()
2181 for (ii = 0; ii < CB_VT3253B0_INIT_FOR_AIROHA2230; ii++) { in BBbVT3253Init()
2182 … bResult &= BBbWriteEmbeded(dwIoBase,byVT3253B0_AIROHA2230[ii][0],byVT3253B0_AIROHA2230[ii][1]); in BBbVT3253Init()
2184 for (ii = 0; ii < CB_VT3253B0_AGC; ii++) { in BBbVT3253Init()
[all …]
Dsrom.c271 int ii; in SROMvReadAllContents() local
274 for (ii = 0; ii < EEP_MAX_CONTEXT_SIZE; ii++) { in SROMvReadAllContents()
275 *pbyEepromRegs = SROMbyReadEmbedded(dwIoBase,(unsigned char) ii); in SROMvReadAllContents()
296 int ii; in SROMvWriteAllContents() local
299 for (ii = 0; ii < EEP_MAX_CONTEXT_SIZE; ii++) { in SROMvWriteAllContents()
300 SROMbWriteEmbedded(dwIoBase,(unsigned char) ii, *pbyEepromRegs); in SROMvWriteAllContents()
320 unsigned char ii; in SROMvReadEtherAddress() local
323 for (ii = 0; ii < ETH_ALEN; ii++) { in SROMvReadEtherAddress()
324 *pbyEtherAddress = SROMbyReadEmbedded(dwIoBase, ii); in SROMvReadEtherAddress()
345 unsigned char ii; in SROMvWriteEtherAddress() local
[all …]
Dmac.c108 int ii; in MACvReadAllRegs() local
111 for (ii = 0; ii < MAC_MAX_CONTEXT_SIZE_PAGE0; ii++) { in MACvReadAllRegs()
112 VNSvInPortB(dwIoBase + ii, pbyMacRegs); in MACvReadAllRegs()
119 for (ii = 0; ii < MAC_MAX_CONTEXT_SIZE_PAGE1; ii++) { in MACvReadAllRegs()
120 VNSvInPortB(dwIoBase + ii, pbyMacRegs); in MACvReadAllRegs()
648 int ii; in MACvSaveContext() local
651 for (ii = 0; ii < MAC_MAX_CONTEXT_SIZE_PAGE0; ii++) { in MACvSaveContext()
652 VNSvInPortB((dwIoBase + ii), (pbyCxtBuf + ii)); in MACvSaveContext()
658 for (ii = 0; ii < MAC_MAX_CONTEXT_SIZE_PAGE1; ii++) { in MACvSaveContext()
659 VNSvInPortB((dwIoBase + ii), (pbyCxtBuf + MAC_MAX_CONTEXT_SIZE_PAGE0 + ii)); in MACvSaveContext()
[all …]
Dwctl.c72 unsigned int ii; in WCTLbIsDuplicate() local
78 for (ii = 0; ii < DUPLICATE_RX_CACHE_LENGTH; ii++) { in WCTLbIsDuplicate()
113 unsigned int ii; in WCTLuSearchDFCB() local
115 for(ii=0;ii<pDevice->cbDFCB;ii++) { in WCTLuSearchDFCB()
116 if ((pDevice->sRxDFCB[ii].bInUse == true) && in WCTLuSearchDFCB()
117 (!compare_ether_addr(&(pDevice->sRxDFCB[ii].abyAddr2[0]), &(pMACHeader->abyAddr2[0]))) in WCTLuSearchDFCB()
120 return(ii); in WCTLuSearchDFCB()
143 unsigned int ii; in WCTLuInsertDFCB() local
147 for(ii=0;ii<pDevice->cbDFCB;ii++) { in WCTLuInsertDFCB()
148 if (pDevice->sRxDFCB[ii].bInUse == false) { in WCTLuInsertDFCB()
[all …]
Dvntwifi.c213 unsigned int ii = 0; in VNTWIFIbyGetMaxSupportRate() local
216 for (ii = 0; ii < pSupportRateIEs->len; ii++) { in VNTWIFIbyGetMaxSupportRate()
217 bySupportRate = DATARATEbyGetRateIdx(pSupportRateIEs->abyRates[ii]); in VNTWIFIbyGetMaxSupportRate()
224 for (ii = 0; ii < pExtSupportRateIEs->len; ii++) { in VNTWIFIbyGetMaxSupportRate()
225 bySupportRate = DATARATEbyGetRateIdx(pExtSupportRateIEs->abyRates[ii]); in VNTWIFIbyGetMaxSupportRate()
260 unsigned int ii; in VNTWIFIbyGetACKTxRate() local
269 for (ii = 0; ii < pSupportRateIEs->len; ii++) { in VNTWIFIbyGetACKTxRate()
270 if (pSupportRateIEs->abyRates[ii] & 0x80) { in VNTWIFIbyGetACKTxRate()
271 byBasicRate = DATARATEbyGetRateIdx(pSupportRateIEs->abyRates[ii]); in VNTWIFIbyGetACKTxRate()
280 for (ii = 0; ii < pExtSupportRateIEs->len; ii++) { in VNTWIFIbyGetACKTxRate()
[all …]
Dwpa.c76 int ii; in WPA_ClearRSN() local
78 for (ii=0; ii < 4; ii ++) in WPA_ClearRSN()
79 pBSSList->abyPKType[ii] = WPA_TKIP; in WPA_ClearRSN()
81 for (ii=0; ii < 4; ii ++) in WPA_ClearRSN()
82 pBSSList->abyAuthType[ii] = WPA_AUTH_IEEE802_1X; in WPA_ClearRSN()
247 int ii; in WPA_SearchRSN() local
260 for (ii = 0; ii < pBSSList->wPKCount; ii ++) { in WPA_SearchRSN()
261 if (pBSSList->abyPKType[ii] == WPA_AESCCMP) in WPA_SearchRSN()
263 else if ((pBSSList->abyPKType[ii] == WPA_TKIP) && (byPKType != WPA_AESCCMP)) in WPA_SearchRSN()
265 …else if ((pBSSList->abyPKType[ii] == WPA_WEP40) && (byPKType != WPA_AESCCMP) && (byPKType != WPA_T… in WPA_SearchRSN()
[all …]
Dkey.c205 unsigned int ii; in KeybSetKey() local
271 for (ii = 0; ii < pKey->uKeyLength; ii++) { in KeybSetKey()
272 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "%02x ", pKey->abyKey[ii]); in KeybSetKey()
336 for (ii = 0; ii < pKey->uKeyLength; ii++) { in KeybSetKey()
337 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "%02x ", pKey->abyKey[ii]); in KeybSetKey()
527 int i, ii; in KeybGetTransmitKey() local
541 for (ii = 0; ii < 6; ii++) { in KeybGetTransmitKey()
542 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"%x ", pTable->KeyTable[i].abyBSSID[ii]); in KeybGetTransmitKey()
564 for (ii = 0; ii < 6; ii++) { in KeybGetTransmitKey()
565 … DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"%x ", pTable->KeyTable[i].abyBSSID[ii]); in KeybGetTransmitKey()
[all …]
Dioctl.c66 unsigned int ii, jj; in private_ioctl() local
225 for (ii = 0; ii < WLAN_WEP_NKEYS; ii++) { in private_ioctl()
226 if (sWEPCmd.bWepKeyAvailable[ii]) { in private_ioctl()
227 if (ii == sWEPCmd.byKeyIndex) in private_ioctl()
228 dwKeyIndex = ii | (1 << 31); in private_ioctl()
230 dwKeyIndex = ii; in private_ioctl()
234 sWEPCmd.auWepKeyLength[ii], in private_ioctl()
236 (unsigned char *)&sWEPCmd.abyWepKey[ii][0], in private_ioctl()
284 for (ii = 0; ii < MAX_BSS_NUM; ii++) { in private_ioctl()
285 pBSS = &(pMgmt->sBSSList[ii]); in private_ioctl()
[all …]
Ddpc.c164 int ii; in s_vProcessRxMACHeader() local
225 for(ii=0;ii<ETH_ALEN;ii++) in s_vProcessRxMACHeader()
226 *pbyRxBuffer++ = pDevice->sRxEthHeader.abyDstAddr[ii]; in s_vProcessRxMACHeader()
227 for(ii=0;ii<ETH_ALEN;ii++) in s_vProcessRxMACHeader()
228 *pbyRxBuffer++ = pDevice->sRxEthHeader.abySrcAddr[ii]; in s_vProcessRxMACHeader()
254 int ii; in s_vGetDASA() local
260 for(ii=0;ii<ETH_ALEN;ii++) { in s_vGetDASA()
261 psEthHeader->abyDstAddr[ii] = pMACHeader->abyAddr1[ii]; in s_vGetDASA()
262 psEthHeader->abySrcAddr[ii] = pMACHeader->abyAddr3[ii]; in s_vGetDASA()
267 for(ii=0;ii<ETH_ALEN;ii++) { in s_vGetDASA()
[all …]
Drf.c479 int ii; in s_bAL7230Init() local
491 for (ii = 0; ii < CB_AL7230_INIT_SEQ; ii++) in s_bAL7230Init()
492 bResult &= IFRFbWriteEmbeded(dwIoBase, dwAL7230InitTable[ii]); in s_bAL7230Init()
689 int ii; in RFbAL2230Init() local
711 for (ii = 0; ii < CB_AL2230_INIT_SEQ; ii++) in RFbAL2230Init()
712 bResult &= IFRFbWriteEmbeded(dwIoBase, dwAL2230InitTable[ii]); in RFbAL2230Init()
916 int ii; in RFvWriteWakeProgSyn() local
934 for (ii = 0; ii < CB_AL2230_INIT_SEQ; ii++ ) { in RFvWriteWakeProgSyn()
935 … MACvSetMISCFifo(dwIoBase, (unsigned short)(MISCFIFO_SYNDATA_IDX + ii), dwAL2230InitTable[ii]); in RFvWriteWakeProgSyn()
937 …MACvSetMISCFifo(dwIoBase, (unsigned short)(MISCFIFO_SYNDATA_IDX + ii), dwAL2230ChannelTable0[uChan… in RFvWriteWakeProgSyn()
[all …]
Dwpa2.c80 int ii; in WPA2_ClearRSN() local
85 for (ii=0; ii < 4; ii ++) in WPA2_ClearRSN()
86 pBSSNode->abyCSSPK[ii] = WLAN_11i_CSS_CCMP; in WPA2_ClearRSN()
88 for (ii=0; ii < 4; ii ++) in WPA2_ClearRSN()
89 pBSSNode->abyAKMSSAuthType[ii] = WLAN_11i_AKMSS_802_1X; in WPA2_ClearRSN()
272 unsigned int ii = 0; in WPA2uSetIEs() local
348 for (ii = 0; ii < pMgmt->gsPMKIDCache.BSSIDInfoCount; ii++) { in WPA2uSetIEs()
349 … if ( !memcmp(&pMgmt->gsPMKIDCache.BSSIDInfo[ii].abyBSSID[0], pMgmt->abyCurrBSSID, ETH_ALEN)) { in WPA2uSetIEs()
351 memcpy(pbyBuffer, pMgmt->gsPMKIDCache.BSSIDInfo[ii].abyPMKID, 16); in WPA2uSetIEs()
/drivers/staging/vt6656/
Ddatarate.c72 BYTE ii; in s_vResetCounter() local
75 for (ii = 0; ii <= MAX_RATE; ii++) { in s_vResetCounter()
76 psNodeDBTable->uTxOk[ii] = 0; in s_vResetCounter()
77 psNodeDBTable->uTxFail[ii] = 0; in s_vResetCounter()
106 BYTE ii; in DATARATEbyGetRateIdx() local
111 for (ii = 0; ii < MAX_RATE; ii ++) { in DATARATEbyGetRateIdx()
112 if (acbyIERate[ii] == byRate) in DATARATEbyGetRateIdx()
113 return ii; in DATARATEbyGetRateIdx()
160 WORD ii; in RATEwGetRateIdx() local
165 for (ii = 0; ii < MAX_RATE; ii ++) { in RATEwGetRateIdx()
[all …]
Dchannel.c445 unsigned int ii; in CHvInitChannelTable() local
447 for (ii = 1; ii <= CB_MAX_CHANNEL; ii++) in CHvInitChannelTable()
448 sChannelTbl[ii].bValid = FALSE; in CHvInitChannelTable()
467 for (ii = 0; ii < CB_MAX_CHANNEL; ii++) { in CHvInitChannelTable()
468 sChannelTbl[ii+1].bValid = TRUE; in CHvInitChannelTable()
472 for (ii = 0; ii < CB_MAX_CHANNEL_24G; ii++) { in CHvInitChannelTable()
477 for (ii = 0; ii < CB_MAX_CHANNEL_24G; ii++) { in CHvInitChannelTable()
478 sChannelTbl[ii+1].bValid = TRUE; in CHvInitChannelTable()
485 for (ii = 0; ii < CB_MAX_CHANNEL; ii++) { in CHvInitChannelTable()
486 if (ChannelRuleTab[pDevice->byZoneType].bChannelIdxList[ii] != 0) { in CHvInitChannelTable()
[all …]
Dbssdb.c129 unsigned int ii = 0; in BSSpSearchBSSList() local
148 for (ii = 0; ii <MAX_BSS_NUM; ii++) { in BSSpSearchBSSList()
149 pCurrBSS = &(pMgmt->sBSSList[ii]); in BSSpSearchBSSList()
183 for (ii = 0; ii <MAX_BSS_NUM; ii++) { in BSSpSearchBSSList()
184 pCurrBSS = &(pMgmt->sBSSList[ii]); in BSSpSearchBSSList()
269 unsigned int ii; in BSSvClearBSSList() local
271 for (ii = 0; ii < MAX_BSS_NUM; ii++) { in BSSvClearBSSList()
273 if (pMgmt->sBSSList[ii].bActive && in BSSvClearBSSList()
274 !compare_ether_addr(pMgmt->sBSSList[ii].abyBSSID, in BSSvClearBSSList()
284 pMgmt->sBSSList[ii].bActive = FALSE; in BSSvClearBSSList()
[all …]
Dwctl.c73 unsigned int ii; in WCTLbIsDuplicate() local
79 for (ii = 0; ii < DUPLICATE_RX_CACHE_LENGTH; ii++) { in WCTLbIsDuplicate()
118 unsigned int ii; in WCTLuSearchDFCB() local
120 for (ii = 0; ii < pDevice->cbDFCB; ii++) { in WCTLuSearchDFCB()
121 if ((pDevice->sRxDFCB[ii].bInUse == TRUE) && in WCTLuSearchDFCB()
122 (!compare_ether_addr(&(pDevice->sRxDFCB[ii].abyAddr2[0]), in WCTLuSearchDFCB()
124 return ii; in WCTLuSearchDFCB()
146 unsigned int ii; in WCTLuInsertDFCB() local
150 for (ii = 0; ii < pDevice->cbDFCB; ii++) { in WCTLuInsertDFCB()
151 if (pDevice->sRxDFCB[ii].bInUse == FALSE) { in WCTLuInsertDFCB()
[all …]
Dwpa.c76 int ii; in WPA_ClearRSN() local
78 for (ii=0; ii < 4; ii ++) in WPA_ClearRSN()
79 pBSSList->abyPKType[ii] = WPA_TKIP; in WPA_ClearRSN()
81 for (ii=0; ii < 4; ii ++) in WPA_ClearRSN()
82 pBSSList->abyAuthType[ii] = WPA_AUTH_IEEE802_1X; in WPA_ClearRSN()
249 int ii; in WPA_SearchRSN() local
262 for (ii = 0; ii < pBSSList->wPKCount; ii ++) { in WPA_SearchRSN()
263 if (pBSSList->abyPKType[ii] == WPA_AESCCMP) in WPA_SearchRSN()
265 else if ((pBSSList->abyPKType[ii] == WPA_TKIP) && (byPKType != WPA_AESCCMP)) in WPA_SearchRSN()
267 …else if ((pBSSList->abyPKType[ii] == WPA_WEP40) && (byPKType != WPA_AESCCMP) && (byPKType != WPA_T… in WPA_SearchRSN()
[all …]
Dioctl.c66 unsigned int ii, jj; in private_ioctl() local
220 for (ii = 0; ii < WLAN_WEP_NKEYS; ii++) { in private_ioctl()
221 if (sWEPCmd.bWepKeyAvailable[ii]) { in private_ioctl()
222 if (ii == sWEPCmd.byKeyIndex) in private_ioctl()
223 dwKeyIndex = ii | (1 << 31); in private_ioctl()
225 dwKeyIndex = ii; in private_ioctl()
229 sWEPCmd.auWepKeyLength[ii], in private_ioctl()
231 (PBYTE)&sWEPCmd.abyWepKey[ii][0], in private_ioctl()
279 for (ii = 0; ii < MAX_BSS_NUM; ii++) { in private_ioctl()
280 pBSS = &(pMgmt->sBSSList[ii]); in private_ioctl()
[all …]
Dkey.c234 unsigned int ii; in KeybSetKey() local
303 for (ii = 0; ii < pKey->uKeyLength; ii++) { in KeybSetKey()
304 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "%02x ", pKey->abyKey[ii]); in KeybSetKey()
373 for (ii = 0; ii < pKey->uKeyLength; ii++) { in KeybSetKey()
374 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO "%02x ", pKey->abyKey[ii]); in KeybSetKey()
569 int i, ii; in KeybGetTransmitKey() local
583 for (ii = 0; ii < 6; ii++) { in KeybGetTransmitKey()
584 DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"%x ", pTable->KeyTable[i].abyBSSID[ii]); in KeybGetTransmitKey()
606 for (ii = 0; ii < 6; ii++) { in KeybGetTransmitKey()
607 … DBG_PRT(MSG_LEVEL_DEBUG, KERN_INFO"%x ", pTable->KeyTable[i].abyBSSID[ii]); in KeybGetTransmitKey()
[all …]
Dmain_usb.c366 unsigned int ii; in device_init_registers() local
409 for (ii = 0; ii < 6; ii++) in device_init_registers()
410 sInitCmd.bySWNetAddr[ii] = pDevice->abyCurrentNetAddr[ii]; in device_init_registers()
475 for (ii=0;ii<14;ii++) { in device_init_registers()
476 pDevice->abyCCKPwrTbl[ii] = pDevice->abyEEPROM[ii + EEP_OFS_CCK_PWR_TBL]; in device_init_registers()
477 if (pDevice->abyCCKPwrTbl[ii] == 0) in device_init_registers()
478 pDevice->abyCCKPwrTbl[ii] = pDevice->byCCKPwr; in device_init_registers()
479 pDevice->abyOFDMPwrTbl[ii] = pDevice->abyEEPROM[ii + EEP_OFS_OFDM_PWR_TBL]; in device_init_registers()
480 if (pDevice->abyOFDMPwrTbl[ii] == 0) in device_init_registers()
481 pDevice->abyOFDMPwrTbl[ii] = pDevice->byOFDMPwrG; in device_init_registers()
[all …]
Dwpa2.c79 int ii; in WPA2_ClearRSN() local
84 for (ii=0; ii < 4; ii ++) in WPA2_ClearRSN()
85 pBSSNode->abyCSSPK[ii] = WLAN_11i_CSS_CCMP; in WPA2_ClearRSN()
87 for (ii=0; ii < 4; ii ++) in WPA2_ClearRSN()
88 pBSSNode->abyAKMSSAuthType[ii] = WLAN_11i_AKMSS_802_1X; in WPA2_ClearRSN()
270 unsigned int ii = 0; in WPA2uSetIEs() local
346 for (ii = 0; ii < pMgmt->gsPMKIDCache.BSSIDInfoCount; ii++) { in WPA2uSetIEs()
348 gsPMKIDCache.BSSIDInfo[ii].abyBSSID[0], in WPA2uSetIEs()
353 pMgmt->gsPMKIDCache.BSSIDInfo[ii].abyPMKID, in WPA2uSetIEs()
Dcard.c504 unsigned int ii = 0; in vUpdateIFS() local
516 for (ii = 0; ii < pItemRates->len; ii++) { in vUpdateIFS()
517 byRate = (BYTE)(pItemRates->abyRates[ii]&0x7F); in vUpdateIFS()
525 for (ii = 0; ii < pItemRates->len; ii++) { in vUpdateIFS()
526 byRate = (BYTE)(pItemRates->abyRates[ii]&0x7F); in vUpdateIFS()
569 BYTE ii; in CARDvUpdateBasicTopRate() local
572 for (ii = RATE_54M; ii >= RATE_6M; ii --) { in CARDvUpdateBasicTopRate()
573 if ( (pDevice->wBasicRate) & ((WORD)(1<<ii)) ) { in CARDvUpdateBasicTopRate()
574 byTopOFDM = ii; in CARDvUpdateBasicTopRate()
580 for (ii = RATE_11M;; ii --) { in CARDvUpdateBasicTopRate()
[all …]
/drivers/input/misc/
Dgpio_event.c36 struct gpio_event_info **ii; in gpio_input_event() local
47 for (i = 0, ii = ip->info->info; i < ip->info->info_count; i++, ii++) { in gpio_input_event()
48 if ((*ii)->event) { in gpio_input_event()
49 tmp_ret = (*ii)->event(ip->input_devs, *ii, in gpio_input_event()
63 struct gpio_event_info **ii; in gpio_event_call_all_func() local
66 ii = ip->info->info; in gpio_event_call_all_func()
67 for (i = 0; i < ip->info->info_count; i++, ii++) { in gpio_event_call_all_func()
68 if ((*ii)->func == NULL) { in gpio_event_call_all_func()
74 if (func == GPIO_EVENT_FUNC_RESUME && (*ii)->no_suspend) in gpio_event_call_all_func()
76 ret = (*ii)->func(ip->input_devs, *ii, &ip->state[i], in gpio_event_call_all_func()
[all …]

1234