/src/sys/external/isc/atheros_hal/dist/ar5416/ |
ar5416_keycache.c | 41 struct ath_hal_5416 *ahp = AH5416(ah); local in function:ar5416ResetKeyCacheEntry 44 ahp->ah_keytype[entry] = keyType[HAL_CIPHER_CLR]; 59 struct ath_hal_5416 *ahp = AH5416(ah); local in function:ar5416SetKeyCacheEntry 62 ahp->ah_keytype[entry] = keyType[k->kv_type];
|
ar5416_recv.c | 35 struct ath_hal_private *ahp = AH_PRIVATE(ah); local in function:ar5416StartPcuReceive 40 ar5416AniReset(ah, ahp->ah_curchan, ahp->ah_opmode, AH_TRUE);
|
ar5416_interrupts.c | 83 struct ath_hal_5212 *ahp = AH5212(ah); local in function:ar5416GetPendingInterrupts 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 in function:ar5416SetInterrupts 177 uint32_t omask = ahp->ah_maskReg; 199 if (ahp->ah_txOkInterruptMask) 201 if (ahp->ah_txErrInterruptMask) 203 if (ahp->ah_txDescInterruptMask [all...] |
ar5416_power.c | 118 struct ath_hal_5212 *ahp = AH5212(ah); local in function:ar5416SetPowerMode 132 modes[ahp->ah_powerMode], modes[mode], setChip ? "set chip " : ""); 148 ahp->ah_powerMode = mode;
|
ar9160_attach.c | 98 struct ath_hal_5212 *ahp; local in function:ar9160Attach 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...] |
ar5416_xmit.c | 173 struct ath_hal_5416 *ahp = AH5416(ah); local in function:ar5416SetupTxDesc 204 ads->ds_ctl7 = SM(ahp->ah_tx_chainmask, AR_ChainSel0) 205 | SM(ahp->ah_tx_chainmask, AR_ChainSel1) 206 | SM(ahp->ah_tx_chainmask, AR_ChainSel2) 207 | SM(ahp->ah_tx_chainmask, AR_ChainSel3) 217 ads->ds_ctl6 |= SM(ahp->ah_keytype[keyIx], AR_EncrType); 383 struct ath_hal_5212 *ahp = AH5212(ah); 390 txPower = (txPower + ahp->ah_txPowerIndexOffset ); 584 struct ath_hal_5416 *ahp = AH5416(ah); 590 ahp->ah_globaltxtimeout = (u_int) -1 [all...] |
ar9285_attach.c | 85 struct ath_hal_5212 *ahp; local in function:ar9285Attach 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 in function:ar9285SetAntennaSwitch [all...] |
/src/sys/external/isc/atheros_hal/dist/ar5210/ |
ar5210_beacon.c | 107 struct ath_hal_5210 *ahp = AH5210(ah); local in function:ar5210SetStaBeaconTimers 185 ahp->ah_rssiThr = (ahp->ah_rssiThr &~ AR_RSSI_THR_BM_THR) 189 OS_REG_WRITE(ah, AR_RSSI_THR, ahp->ah_rssiThr);
|
ar5210_interrupts.c | 46 struct ath_hal_5210 *ahp = AH5210(ah); local in function:ar5210GetPendingInterrupts 62 *masked = (isr & (HAL_INT_COMMON - HAL_INT_BNR)) & ahp->ah_maskReg; 91 struct ath_hal_5210 *ahp = AH5210(ah); local in function:ar5210SetInterrupts 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_power.c | 96 struct ath_hal_5210 *ahp = AH5210(ah); local in function:ar5210SetPowerMode 108 modes[ahp->ah_powerMode], modes[mode], 125 ahp->ah_powerMode = mode;
|
ar5210_attach.c | 182 struct ath_hal_5210 *ahp; local in function:ar5210Attach 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_xmit.c | 38 struct ath_hal_5210 *ahp = AH5210(ah); local in function:ar5210SetTxQueueProps 45 return ath_hal_setTxQProps(ah, &ahp->ah_txq[q], qInfo); 54 struct ath_hal_5210 *ahp = AH5210(ah); local in function:ar5210GetTxQueueProps 61 return ath_hal_getTxQProps(ah, qInfo, &ahp->ah_txq[q]); 71 struct ath_hal_5210 *ahp = AH5210(ah); local in function:ar5210SetupTxQueue 93 qi = &ahp->ah_txq[q]; 125 struct ath_hal_5210 *ahp = AH5210(ah); local in function:ar5210ReleaseTxQueue 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 in function:ar5210ResetTxQueue 259 struct ath_hal_5210 *ahp = AH5210(ah); local in function:ar5210GetTxDP 284 struct ath_hal_5210 *ahp = AH5210(ah); local in function:ar5210SetTxDP 369 struct ath_hal_5210 *ahp = AH5210(ah); local in function:ar5210StartTxDma 402 struct ath_hal_5210 *ahp = AH5210(ah); local in function:ar5210NumTxPending 430 struct ath_hal_5210 *ahp = AH5210(ah); local in function:ar5210StopTxDma [all...] |
/src/sys/external/isc/atheros_hal/dist/ar5211/ |
ar5211_beacon.c | 115 struct ath_hal_5211 *ahp = AH5211(ah); local in function:ar5211SetStaBeaconTimers 164 ahp->ah_rssiThr = (ahp->ah_rssiThr &~ AR_RSSI_THR_BM_THR) 166 OS_REG_WRITE(ah, AR_RSSI_THR, ahp->ah_rssiThr);
|
ar5211_interrupts.c | 108 struct ath_hal_5211 *ahp = AH5211(ah); local in function:ar5211SetInterrupts 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_power.c | 98 struct ath_hal_5211 *ahp = AH5211(ah); local in function:ar5211SetPowerMode 110 modes[ahp->ah_powerMode], modes[mode], 127 ahp->ah_powerMode = mode;
|
ar5211_attach.c | 201 struct ath_hal_5211 *ahp; local in function:ar5211Attach 211 ahp = ath_hal_malloc(sizeof (struct ath_hal_5211)); 212 if (ahp == AH_NULL) { 218 ah = &ahp->ah_priv.h; 220 OS_MEMCPY(&ahp->ah_priv, &ar5211hal, sizeof(struct ath_hal_private)); 232 ahp->ah_diversityControl = HAL_ANT_VARIABLE; 233 ahp->ah_staId1Defaults = 0; 234 ahp->ah_rssiThr = INIT_RSSI_THR; 235 ahp->ah_sifstime = (u_int) -1; 236 ahp->ah_slottime = (u_int) -1 [all...] |
ar5211_xmit.c | 82 struct ath_hal_5211 *ahp = AH5211(ah); local in function:ar5211SetTxQueueProps 89 return ath_hal_setTxQProps(ah, &ahp->ah_txq[q], qInfo); 98 struct ath_hal_5211 *ahp = AH5211(ah); local in function:ar5211GetTxQueueProps 105 return ath_hal_getTxQProps(ah, qInfo, &ahp->ah_txq[q]); 115 struct ath_hal_5211 *ahp = AH5211(ah); local in function:ar5211SetupTxQueue 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 in function:setTxQInterrupts 175 , ahp->ah_txOkInterruptMask 176 , ahp->ah_txErrInterruptMas 201 struct ath_hal_5211 *ahp = AH5211(ah); local in function:ar5211ReleaseTxQueue 235 struct ath_hal_5211 *ahp = AH5211(ah); local in function:ar5211ResetTxQueue [all...] |
/src/sys/external/isc/atheros_hal/dist/ar5312/ |
ar5312_power.c | 74 struct ath_hal_5212 *ahp = AH5212(ah); local in function:ar5312SetPowerMode 86 modes[ahp->ah_powerMode], modes[mode], 103 ahp->ah_powerMode = mode;
|
ar5312_attach.c | 66 struct ath_hal_5212 *ahp = AH_NULL; local in function:ar5312Attach 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...] |
/src/sys/external/isc/atheros_hal/dist/ar5212/ |
ar5212_beacon.c | 126 struct ath_hal_5212 *ahp = AH5212(ah); local in function:ar5212SetStaBeaconTimers 174 ahp->ah_rssiThr = (ahp->ah_rssiThr &~ AR_RSSI_THR_BM_THR) 176 OS_REG_WRITE(ah, AR_RSSI_THR, ahp->ah_rssiThr);
|
ar5212_interrupts.c | 59 struct ath_hal_5212 *ahp = AH5212(ah); local in function:ar5212GetPendingInterrupts 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 in function:ar5212SetInterrupts 142 uint32_t omask = ahp->ah_maskReg; 157 if (ahp->ah_txOkInterruptMask) 159 if (ahp->ah_txErrInterruptMask) 161 if (ahp->ah_txDescInterruptMask [all...] |
ar5212_power.c | 122 struct ath_hal_5212 *ahp = AH5212(ah); local in function:ar5212SetPowerMode 134 modes[ahp->ah_powerMode], modes[mode], 151 ahp->ah_powerMode = mode;
|
ar5212_recv.c | 83 struct ath_hal_private *ahp = AH_PRIVATE(ah); local in function:ar5212StartPcuReceive 89 ar5212AniReset(ah, ahp->ah_curchan, ahp->ah_opmode, AH_TRUE); 178 struct ath_hal_5212 *ahp = AH5212(ah); local in function:ar5212SetRxFilter 199 ahp->ah_miscMode |= AR_MISC_MODE_BSSID_MATCH_FORCE; 201 ahp->ah_miscMode &= ~AR_MISC_MODE_BSSID_MATCH_FORCE; 202 OS_REG_WRITE(ah, AR_MISC_MODE, ahp->ah_miscMode);
|
ar5212_keycache.c | 141 struct ath_hal_5212 *ahp = AH5212(ah); local in function:ar5212SetKeyCacheEntry 239 if (ahp->ah_miscMode & AR_MISC_MODE_MIC_NEW_LOC_ENABLE) {
|
ar5212_rfgain.c | 66 struct ath_hal_5212 *ahp = AH5212(ah); local in function:ar5212InitializeGainValues 67 GAIN_VALUES *gv = &ahp->ah_gainValues; 162 struct ath_hal_5212 *ahp = AH5212(ah); local in function:ar5212RequestRfgain 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 in function:ar5212GetGainFCorrection 246 GAIN_VALUES *gv = &ahp->ah_gainValues; 279 struct ath_hal_5212 *ahp = AH5212(ah); local in function:ar5212GetRfgain 280 GAIN_VALUES *gv = &ahp->ah_gainValues [all...] |