HomeSort by: relevance | last modified time | path
    Searched refs:ahp (Results 1 - 25 of 52) sorted by relevancy

1 2 3

  /src/sys/external/isc/atheros_hal/dist/ar5416/
ar5416_keycache.c 41 struct ath_hal_5416 *ahp = AH5416(ah); local
44 ahp->ah_keytype[entry] = keyType[HAL_CIPHER_CLR];
59 struct ath_hal_5416 *ahp = AH5416(ah); local
62 ahp->ah_keytype[entry] = keyType[k->kv_type];
ar5416_ani.c 40 #define BEACON_RSSI(ahp) \
41 HAL_EP_RND(ahp->ah_stats.ast_nodestats.ns_avgbrssi, \
73 struct ath_hal_5212 *ahp = AH5212(ah); local
87 ar5212UpdateMibCounters(ah, &ahp->ah_mibStats); /* save+clear counters*/
94 struct ath_hal_5212 *ahp = AH5212(ah); local
98 ar5212UpdateMibCounters(ah, &ahp->ah_mibStats); /* save stats */
116 struct ath_hal_5212 *ahp = AH5212(ah); local
119 for (i = 0; i < N(ahp->ah_ani); i++) {
120 struct ar5212AniState *asp = &ahp->ah_ani[i];
129 asp->params = &ahp->ah_aniParams24
171 struct ath_hal_5212 *ahp = AH5212(ah); local
211 struct ath_hal_5212 *ahp = AH5212(ah); local
376 struct ath_hal_5212 *ahp = AH5212(ah); local
462 struct ath_hal_5212 *ahp = AH5212(ah); local
509 struct ath_hal_5212 *ahp = AH5212(ah); local
542 struct ath_hal_5212 *ahp = AH5212(ah); local
614 struct ath_hal_5212 *ahp = AH5212(ah); local
685 struct ath_hal_5212 *ahp = AH5212(ah); local
758 struct ath_hal_5212 *ahp = AH5212(ah); local
794 struct ath_hal_5212 *ahp = AH5212(ah); local
836 struct ath_hal_5212 *ahp = AH5212(ah); local
    [all...]
ar9285_attach.c 85 struct ath_hal_5212 *ahp; local
102 ahp = AH5212(ahp9285);
103 ah = &ahp->ah_priv.h;
125 ahp->ah_maxTxTrigLev = MAX_TX_FIFO_THRESHOLD >> 1;
155 HAL_INI_INIT(&ahp->ah_ini_modes, ar9285Modes_v2, 6);
156 HAL_INI_INIT(&ahp->ah_ini_common, ar9285Common_v2, 2);
160 HAL_INI_INIT(&ahp->ah_ini_modes, ar9285Modes, 6);
161 HAL_INI_INIT(&ahp->ah_ini_common, ar9285Common, 2);
246 ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr);
263 if (ahp->ah_miscMode != 0
372 struct ath_hal_5416 *ahp = AH5416(ah); local
    [all...]
ar5416_misc.c 133 struct ath_hal_5416 *ahp = AH5416(ah); local
141 if (ahp->ah_cycleCount == 0 || ahp->ah_cycleCount > cycleCount) {
152 uint32_t cycleDelta = cycleCount - ahp->ah_cycleCount;
153 uint32_t ctlBusyDelta = ctlBusy - ahp->ah_ctlBusy;
154 uint32_t extBusyDelta = extBusy - ahp->ah_extBusy;
189 ahp->ah_cycleCount = cycleCount;
190 ahp->ah_ctlBusy = ctlBusy;
191 ahp->ah_extBusy = extBusy;
302 struct ath_hal_5416 *ahp = AH5416(ah) local
    [all...]
ar5416_interrupts.c 83 struct ath_hal_5212 *ahp = AH5212(ah); local
117 ahp->ah_intrTxqs |= MS(isr0, AR_ISR_S0_QCU_TXOK);
118 ahp->ah_intrTxqs |= MS(isr0, AR_ISR_S0_QCU_TXDESC);
120 ahp->ah_intrTxqs |= MS(isr1, AR_ISR_S1_QCU_TXERR);
121 ahp->ah_intrTxqs |= MS(isr1, AR_ISR_S1_QCU_TXEOL);
176 struct ath_hal_5212 *ahp = AH5212(ah); local
177 uint32_t omask = ahp->ah_maskReg;
199 if (ahp->ah_txOkInterruptMask)
201 if (ahp->ah_txErrInterruptMask)
203 if (ahp->ah_txDescInterruptMask
    [all...]
ar9160_attach.c 98 struct ath_hal_5212 *ahp; local
116 ahp = &ahp5416->ah_5212;
117 ah = &ahp->ah_priv.h;
156 HAL_INI_INIT(&ahp->ah_ini_modes, ar9160Modes, 6);
157 HAL_INI_INIT(&ahp->ah_ini_common, ar9160Common, 2);
237 ecode = ath_hal_eepromGet(ah, AR_EEP_MACADDR, ahp->ah_macaddr);
254 if (ahp->ah_miscMode != 0)
255 OS_REG_WRITE(ah, AR_MISC_MODE, ahp->ah_miscMode);
264 if (ahp)
265 ar9160Detach((struct ath_hal *) ahp);
    [all...]
ar9280.c 211 struct ath_hal_5212 *ahp = AH5212(ah);
219 powerArray = ahp->ah_modePowerArray5112;
224 powerArray = ahp->ah_modePowerArray5112;
228 powerArray = ahp->ah_modePowerArray5112;
318 struct ath_hal_5212 *ahp = AH5212(ah); local
320 HALASSERT(ahp->ah_rfHal != AH_NULL);
321 ath_hal_free(ahp->ah_rfHal);
322 ahp->ah_rfHal = AH_NULL;
328 struct ath_hal_5212 *ahp = AH5212(ah); local
333 HALASSERT(ahp->ah_rfHal == AH_NULL)
    [all...]
  /src/sys/external/isc/atheros_hal/dist/ar5210/
ar5210_interrupts.c 46 struct ath_hal_5210 *ahp = AH5210(ah); local
62 *masked = (isr & (HAL_INT_COMMON - HAL_INT_BNR)) & ahp->ah_maskReg;
91 struct ath_hal_5210 *ahp = AH5210(ah); local
92 uint32_t omask = ahp->ah_maskReg;
112 if (ahp->ah_txOkInterruptMask)
114 if (ahp->ah_txErrInterruptMask)
116 if (ahp->ah_txDescInterruptMask)
118 if (ahp->ah_txEolInterruptMask)
125 ahp->ah_maskReg = ints;
ar5210_xmit.c 38 struct ath_hal_5210 *ahp = AH5210(ah); local
45 return ath_hal_setTxQProps(ah, &ahp->ah_txq[q], qInfo);
54 struct ath_hal_5210 *ahp = AH5210(ah); local
61 return ath_hal_getTxQProps(ah, qInfo, &ahp->ah_txq[q]);
71 struct ath_hal_5210 *ahp = AH5210(ah); local
93 qi = &ahp->ah_txq[q];
125 struct ath_hal_5210 *ahp = AH5210(ah); local
133 qi = &ahp->ah_txq[q];
143 ahp->ah_txOkInterruptMask &= ~(1 << q);
144 ahp->ah_txErrInterruptMask &= ~(1 << q)
156 struct ath_hal_5210 *ahp = AH5210(ah); local
259 struct ath_hal_5210 *ahp = AH5210(ah); local
284 struct ath_hal_5210 *ahp = AH5210(ah); local
369 struct ath_hal_5210 *ahp = AH5210(ah); local
402 struct ath_hal_5210 *ahp = AH5210(ah); local
430 struct ath_hal_5210 *ahp = AH5210(ah); local
    [all...]
ar5210_misc.c 36 struct ath_hal_5210 *ahp = AH5210(ah); local
38 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN);
44 struct ath_hal_5210 *ahp = AH5210(ah); local
46 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN);
314 struct ath_hal_5210 *ahp = AH5210(ah); local
317 OS_MEMCPY(ahp->ah_bssid, bssid, IEEE80211_ADDR_LEN);
318 OS_REG_WRITE(ah, AR_BSS_ID0, LE_READ_4(ahp->ah_bssid));
319 OS_REG_WRITE(ah, AR_BSS_ID1, LE_READ_2(ahp->ah_bssid+4) |
421 struct ath_hal_5210 *ahp = AH5210(ah); local
426 ahp->ah_sifstime = (u_int) -1; /* restore default handling *
447 struct ath_hal_5210 *ahp = AH5210(ah); local
472 struct ath_hal_5210 *ahp = AH5210(ah); local
504 struct ath_hal_5210 *ahp = AH5210(ah); local
519 struct ath_hal_5210 *ahp = AH5210(ah); local
    [all...]
ar5210_attach.c 182 struct ath_hal_5210 *ahp; local
194 ahp = ath_hal_malloc(sizeof (struct ath_hal_5210));
195 if (ahp == AH_NULL) {
201 ah = &ahp->ah_priv.h;
203 OS_MEMCPY(&ahp->ah_priv, &ar5210hal, sizeof(struct ath_hal_private));
215 ahp->ah_powerMode = HAL_PM_UNDEFINED;
216 ahp->ah_staId1Defaults = 0;
217 ahp->ah_rssiThr = INIT_RSSI_THR;
218 ahp->ah_sifstime = (u_int) -1;
219 ahp->ah_slottime = (u_int) -1
    [all...]
ar5210_power.c 96 struct ath_hal_5210 *ahp = AH5210(ah); local
108 modes[ahp->ah_powerMode], modes[mode],
125 ahp->ah_powerMode = mode;
  /src/sys/external/isc/atheros_hal/dist/ar5312/
ar5312_attach.c 66 struct ath_hal_5212 *ahp = AH_NULL; local
77 ahp = ath_hal_malloc(sizeof (struct ath_hal_5212));
78 if (ahp == AH_NULL) {
84 ar5212InitState(ahp, devid, sc, st, sh, status);
85 ah = &ahp->ah_priv.h;
96 ahp->ah_priv.ah_eepromRead = ar5312EepromRead;
98 ahp->ah_priv.ah_eepromWrite = ar5312EepromWrite;
102 ahp->ah_priv.ah_gpioCfgOutput = ar5315GpioCfgOutput;
103 ahp->ah_priv.ah_gpioCfgInput = ar5315GpioCfgInput;
104 ahp->ah_priv.ah_gpioGet = ar5315GpioGet
    [all...]
ar5312_power.c 74 struct ath_hal_5212 *ahp = AH5212(ah); local
86 modes[ahp->ah_powerMode], modes[mode],
103 ahp->ah_powerMode = mode;
ar5312_reset.c 88 struct ath_hal_5212 *ahp = AH5212(ah); local
141 HALASSERT(ahp->ah_eeversion >= AR_EEPROM_VER3);
252 regWrites = ath_hal_ini_write(ah, &ahp->ah_ini_modes, modesIndex, 0);
253 regWrites = write_common(ah, &ahp->ah_ini_common, bChannelChange,
255 ahp->ah_rfHal->writeRegs(ah, modesIndex, freqIndex, regWrites);
344 if (!ahp->ah_rfHal->setRfRegs(ah, ichan, modesIndex, rfXpdGain)) {
371 OS_REG_WRITE(ah, AR_STA_ID0, LE_READ_4(ahp->ah_macaddr));
372 OS_REG_WRITE(ah, AR_STA_ID1, LE_READ_2(ahp->ah_macaddr + 4)
375 | ahp->ah_staId1Defaults
380 OS_REG_WRITE(ah, AR_BSSMSKL, LE_READ_4(ahp->ah_bssidmask))
    [all...]
  /src/sys/external/isc/atheros_hal/dist/ar5212/
ar5212_ani.c 36 #define BEACON_RSSI(ahp) \
37 HAL_EP_RND(ahp->ah_stats.ast_nodestats.ns_avgbrssi, \
69 struct ath_hal_5212 *ahp = AH5212(ah); local
83 ar5212UpdateMibCounters(ah, &ahp->ah_mibStats); /* save+clear counters*/
90 struct ath_hal_5212 *ahp = AH5212(ah); local
94 ar5212UpdateMibCounters(ah, &ahp->ah_mibStats); /* save stats */
112 struct ath_hal_5212 *ahp = AH5212(ah); local
115 for (i = 0; i < N(ahp->ah_ani); i++) {
116 struct ar5212AniState *asp = &ahp->ah_ani[i];
125 asp->params = &ahp->ah_aniParams24
153 struct ath_hal_5212 *ahp = AH5212(ah); local
190 struct ath_hal_5212 *ahp = AH5212(ah); local
221 struct ath_hal_5212 *ahp = AH5212(ah); local
246 struct ath_hal_5212 *ahp = AH5212(ah); local
260 struct ath_hal_5212 *ahp = AH5212(ah); local
421 struct ath_hal_5212 *ahp = AH5212(ah); local
532 struct ath_hal_5212 *ahp = AH5212(ah); local
590 struct ath_hal_5212 *ahp = AH5212(ah); local
622 struct ath_hal_5212 *ahp = AH5212(ah); local
694 struct ath_hal_5212 *ahp = AH5212(ah); local
763 struct ath_hal_5212 *ahp = AH5212(ah); local
791 struct ath_hal_5212 *ahp = AH5212(ah); local
876 struct ath_hal_5212 *ahp = AH5212(ah); local
912 struct ath_hal_5212 *ahp = AH5212(ah); local
956 struct ath_hal_5212 *ahp = AH5212(ah); local
    [all...]
ar5212_interrupts.c 59 struct ath_hal_5212 *ahp = AH5212(ah); local
92 ahp->ah_intrTxqs |= MS(isr0, AR_ISR_S0_QCU_TXOK);
93 ahp->ah_intrTxqs |= MS(isr0, AR_ISR_S0_QCU_TXDESC);
95 ahp->ah_intrTxqs |= MS(isr1, AR_ISR_S1_QCU_TXERR);
96 ahp->ah_intrTxqs |= MS(isr1, AR_ISR_S1_QCU_TXEOL);
141 struct ath_hal_5212 *ahp = AH5212(ah); local
142 uint32_t omask = ahp->ah_maskReg;
157 if (ahp->ah_txOkInterruptMask)
159 if (ahp->ah_txErrInterruptMask)
161 if (ahp->ah_txDescInterruptMask
    [all...]
ar5212_misc.c 42 struct ath_hal_5212 *ahp = AH5212(ah); local
44 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN);
50 struct ath_hal_5212 *ahp = AH5212(ah); local
52 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN);
59 struct ath_hal_5212 *ahp = AH5212(ah); local
61 OS_MEMCPY(mask, ahp->ah_bssidmask, IEEE80211_ADDR_LEN);
67 struct ath_hal_5212 *ahp = AH5212(ah); local
70 OS_MEMCPY(ahp->ah_bssidmask, mask, IEEE80211_ADDR_LEN);
72 OS_REG_WRITE(ah, AR_BSSMSKL, LE_READ_4(ahp->ah_bssidmask));
73 OS_REG_WRITE(ah, AR_BSSMSKU, LE_READ_2(ahp->ah_bssidmask + 4))
223 struct ath_hal_5212 *ahp = AH5212(ah); local
425 struct ath_hal_5212 *ahp = AH5212(ah); local
446 struct ath_hal_5212 *ahp = AH5212(ah); local
471 struct ath_hal_5212 *ahp = AH5212(ah); local
496 struct ath_hal_5212 *ahp = AH5212(ah); local
528 struct ath_hal_5212 *ahp = AH5212(ah); local
543 struct ath_hal_5212 *ahp = AH5212(ah); local
570 struct ath_hal_5212 *ahp = AH5212(ah); local
648 struct ath_hal_5212 *ahp = AH5212(ah); local
779 struct ath_hal_5212 *ahp = AH5212(ah); local
912 struct ath_hal_5212 *ahp = AH5212(ah); local
1012 struct ath_hal_5212 *ahp = AH5212(ah); local
    [all...]
ar5212_rfgain.c 66 struct ath_hal_5212 *ahp = AH5212(ah); local
67 GAIN_VALUES *gv = &ahp->ah_gainValues;
162 struct ath_hal_5212 *ahp = AH5212(ah); local
166 probePowerIndex = ahp->ah_ofdmTxPower + ahp->ah_txPowerIndexOffset;
171 ahp->ah_rfgainState = HAL_RFGAIN_READ_REQUESTED;
245 struct ath_hal_5212 *ahp = AH5212(ah); local
246 GAIN_VALUES *gv = &ahp->ah_gainValues;
279 struct ath_hal_5212 *ahp = AH5212(ah); local
280 GAIN_VALUES *gv = &ahp->ah_gainValues
    [all...]
ar5212_xmit.c 47 struct ath_hal_5212 *ahp = AH5212(ah); local
51 if (ahp->ah_txTrigLev >= ahp->ah_maxTxTrigLev)
57 omask = ath_hal_setInterrupts(ah, ahp->ah_maskReg &~ HAL_INT_GLOBAL);
63 if (curLevel < ahp->ah_maxTxTrigLev)
72 ahp->ah_txTrigLev = newLevel;
87 struct ath_hal_5212 *ahp = AH5212(ah); local
95 return ath_hal_setTxQProps(ah, &ahp->ah_txq[q], qInfo);
104 struct ath_hal_5212 *ahp = AH5212(ah); local
113 return ath_hal_getTxQProps(ah, qInfo, &ahp->ah_txq[q])
123 struct ath_hal_5212 *ahp = AH5212(ah); local
206 struct ath_hal_5212 *ahp = AH5212(ah); local
232 struct ath_hal_5212 *ahp = AH5212(ah); local
269 struct ath_hal_5212 *ahp = AH5212(ah); local
680 struct ath_hal_5212 *ahp = AH5212(ah); local
922 struct ath_hal_5212 *ahp = AH5212(ah); local
    [all...]
ar5212_reset.c 104 struct ath_hal_5212 *ahp = AH5212(ah); local
293 regWrites = ath_hal_ini_write(ah, &ahp->ah_ini_modes, modesIndex, 0);
294 regWrites = write_common(ah, &ahp->ah_ini_common, bChannelChange,
296 ahp->ah_rfHal->writeRegs(ah, modesIndex, freqIndex, regWrites);
384 if (!ahp->ah_rfHal->setRfRegs(ah, ichan, modesIndex, rfXpdGain)) {
411 OS_REG_WRITE(ah, AR_STA_ID0, LE_READ_4(ahp->ah_macaddr));
412 OS_REG_WRITE(ah, AR_STA_ID1, LE_READ_2(ahp->ah_macaddr + 4)
415 | ahp->ah_staId1Defaults
420 OS_REG_WRITE(ah, AR_BSSMSKL, LE_READ_4(ahp->ah_bssidmask));
421 OS_REG_WRITE(ah, AR_BSSMSKU, LE_READ_2(ahp->ah_bssidmask + 4))
708 struct ath_hal_5212 *ahp = AH5212(ah); local
979 struct ath_hal_5212 *ahp = AH5212(ah); local
1215 struct ath_hal_5212 *ahp = AH5212(ah); local
1265 struct ath_hal_5212 *ahp = AH5212(ah); local
1354 struct ath_hal_5212 *ahp = AH5212(ah); local
1386 struct ath_hal_5212 *ahp = AH5212(ah); local
1484 struct ath_hal_5212 *ahp = AH5212(ah); local
1877 struct ath_hal_5212 *ahp = AH5212(ah); local
2001 struct ath_hal_5212 *ahp = AH5212(ah); local
2216 struct ath_hal_5212 *ahp = AH5212(ah); local
2289 struct ath_hal_5212 *ahp = AH5212(ah); local
    [all...]
  /src/sys/external/isc/atheros_hal/dist/ar5211/
ar5211_interrupts.c 108 struct ath_hal_5211 *ahp = AH5211(ah); local
109 uint32_t omask = ahp->ah_maskReg;
129 if (ahp->ah_txOkInterruptMask)
131 if (ahp->ah_txErrInterruptMask)
133 if (ahp->ah_txDescInterruptMask)
135 if (ahp->ah_txEolInterruptMask)
151 ahp->ah_maskReg = ints;
ar5211_xmit.c 82 struct ath_hal_5211 *ahp = AH5211(ah); local
89 return ath_hal_setTxQProps(ah, &ahp->ah_txq[q], qInfo);
98 struct ath_hal_5211 *ahp = AH5211(ah); local
105 return ath_hal_getTxQProps(ah, qInfo, &ahp->ah_txq[q]);
115 struct ath_hal_5211 *ahp = AH5211(ah); local
128 if (ahp->ah_txq[q].tqi_type != HAL_TX_QUEUE_INACTIVE)
139 qi = &ahp->ah_txq[q];
171 struct ath_hal_5211 *ahp = AH5211(ah); local
175 , ahp->ah_txOkInterruptMask
176 , ahp->ah_txErrInterruptMas
201 struct ath_hal_5211 *ahp = AH5211(ah); local
235 struct ath_hal_5211 *ahp = AH5211(ah); local
    [all...]
ar5211_misc.c 36 struct ath_hal_5211 *ahp = AH5211(ah); local
38 OS_MEMCPY(mac, ahp->ah_macaddr, IEEE80211_ADDR_LEN);
44 struct ath_hal_5211 *ahp = AH5211(ah); local
46 OS_MEMCPY(ahp->ah_macaddr, mac, IEEE80211_ADDR_LEN);
315 struct ath_hal_5211 *ahp = AH5211(ah); local
318 OS_MEMCPY(ahp->ah_bssid, bssid, IEEE80211_ADDR_LEN);
319 OS_REG_WRITE(ah, AR_BSS_ID0, LE_READ_4(ahp->ah_bssid));
320 OS_REG_WRITE(ah, AR_BSS_ID1, LE_READ_2(ahp->ah_bssid+4) |
425 struct ath_hal_5211 *ahp = AH5211(ah); local
430 ahp->ah_sifstime = (u_int) -1; /* restore default handling *
450 struct ath_hal_5211 *ahp = AH5211(ah); local
475 struct ath_hal_5211 *ahp = AH5211(ah); local
507 struct ath_hal_5211 *ahp = AH5211(ah); local
522 struct ath_hal_5211 *ahp = AH5211(ah); local
665 struct ath_hal_5211 *ahp = AH5211(ah); local
    [all...]
ar5211_power.c 98 struct ath_hal_5211 *ahp = AH5211(ah); local
110 modes[ahp->ah_powerMode], modes[mode],
127 ahp->ah_powerMode = mode;

Completed in 28 milliseconds

1 2 3