Searched refs:ah (Results 51 - 75 of 319) sorted by relevance

1234567891011>>

/netbsd-current/sys/external/isc/atheros_hal/dist/ar5211/
H A Dar5211_keycache.c21 #include "ah.h"
38 ar5211GetKeyCacheSize(struct ath_hal *ah) argument
47 ar5211IsKeyCacheEntryValid(struct ath_hal *ah, uint16_t entry) argument
50 uint32_t val = OS_REG_READ(ah, AR_KEYTABLE_MAC1(entry));
61 ar5211ResetKeyCacheEntry(struct ath_hal *ah, uint16_t entry) argument
64 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), 0);
65 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), 0);
66 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), 0);
67 OS_REG_WRITE(ah, AR_KEYTABLE_KEY3(entry), 0);
68 OS_REG_WRITE(ah, AR_KEYTABLE_KEY
81 ar5211SetKeyCacheEntryMac(struct ath_hal *ah, uint16_t entry, const uint8_t *mac) argument
115 ar5211SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry, const HAL_KEYVAL *k, const uint8_t *mac, int xorKey) argument
[all...]
H A Dar5211_reset.c25 #include "ah.h"
107 static HAL_BOOL ar5211SetResetReg(struct ath_hal *ah, uint32_t resetMask);
149 ar5211Reset(struct ath_hal *ah, HAL_OPMODE opmode, argument
155 struct ath_hal_5211 *ahp = AH5211(ah);
168 HALDEBUG(ah, HAL_DEBUG_RESET,
173 OS_MARK(ah, AH_MARK_RESET, bChannelChange);
176 HALDEBUG(ah, HAL_DEBUG_ANY,
182 HALDEBUG(ah, HAL_DEBUG_ANY,
191 ichan = ath_hal_checkchannel(ah, chan);
193 HALDEBUG(ah, HAL_DEBUG_AN
569 ar5211PhyDisable(struct ath_hal *ah) argument
578 ar5211Disable(struct ath_hal *ah) argument
602 ar5211ChipReset(struct ath_hal *ah, uint16_t channelFlags) argument
667 ar5211PerCalibrationN(struct ath_hal *ah, HAL_CHANNEL *chan, u_int chainMask, HAL_BOOL longCal, HAL_BOOL *isCalDone) argument
761 ar5211PerCalibration(struct ath_hal *ah, HAL_CHANNEL *chan, HAL_BOOL *isIQdone) argument
767 ar5211ResetCalValid(struct ath_hal *ah, HAL_CHANNEL *chan) argument
777 ar5211SetResetReg(struct ath_hal *ah, uint32_t resetMask) argument
813 ar5211SetChannel(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan) argument
851 ar5211GetNoiseFloor(struct ath_hal *ah) argument
868 ar5211RunNoiseFloor(struct ath_hal *ah, uint8_t runTime, int16_t startingNF) argument
920 getNoiseFloorThresh(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan, int16_t *nft) argument
948 ar5211IsNfGood(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan) argument
985 ar5211CalNoiseFloor(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan) argument
1027 ar5211GetNfAdjust(struct ath_hal *ah, const HAL_CHANNEL_INTERNAL *c) argument
1059 ar5211SetRf6and7(struct ath_hal *ah, HAL_CHANNEL *chan) argument
1164 ar5211SetAntennaSwitchInternal(struct ath_hal *ah, HAL_ANT_SETTING settings, const HAL_CHANNEL *chan) argument
1228 ar5211SetBoardValues(struct ath_hal *ah, HAL_CHANNEL *chan) argument
1324 ar5211SetTxPowerLimit(struct ath_hal *ah, uint32_t limit) argument
1337 ar5211SetTransmitPower(struct ath_hal *ah, HAL_CHANNEL *chan) argument
1397 ar5211SetPowerTable(struct ath_hal *ah, PCDACS_EEPROM *pSrcStruct, uint16_t channel) argument
1515 ar5211SetRateTable(struct ath_hal *ah, RD_EDGES_POWER *pRdEdgesPower, TRGT_POWER_INFO *pPowerInfo, uint16_t numChannels, HAL_CHANNEL *chan) argument
1929 ar5211InitializeGainValues(struct ath_hal *ah) argument
1943 ar5211InvalidGainReadback(struct ath_hal *ah, GAIN_VALUES *gv) argument
1977 ar5211RequestRfgain(struct ath_hal *ah) argument
1994 ar5211GetRfgain(struct ath_hal *ah) argument
2033 ar5211IsGainAdjustNeeded(struct ath_hal *ah, const GAIN_VALUES *gv) argument
2042 ar5211AdjustGain(struct ath_hal *ah, GAIN_VALUES *gv) argument
2095 ar5211SetRfgain(struct ath_hal *ah, const GAIN_VALUES *gv) argument
2108 ar5211SetOperatingMode(struct ath_hal *ah, int opmode) argument
2137 ar5211SetPCUConfig(struct ath_hal *ah) argument
[all...]
H A Dar5211_xmit.c21 #include "ah.h"
38 ar5211UpdateTxTrigLevel(struct ath_hal *ah, HAL_BOOL bIncTrigLevel) argument
41 HAL_INT ints = ar5211GetInterrupts(ah);
47 ar5211SetInterrupts(ah, ints &~ HAL_INT_GLOBAL);
48 txcfg = OS_REG_READ(ah, AR_TXCFG);
62 ar5211SetInterrupts(ah, ints);
67 OS_REG_WRITE(ah, AR_TXCFG, (txcfg &~ AR_TXCFG_FTRIG_M) |
70 ar5211SetInterrupts(ah, ints);
80 ar5211SetTxQueueProps(struct ath_hal *ah, int q, const HAL_TXQ_INFO *qInfo) argument
82 struct ath_hal_5211 *ahp = AH5211(ah);
96 ar5211GetTxQueueProps(struct ath_hal *ah, int q, HAL_TXQ_INFO *qInfo) argument
112 ar5211SetupTxQueue(struct ath_hal *ah, HAL_TX_QUEUE type, const HAL_TXQ_INFO *qInfo) argument
169 setTxQInterrupts(struct ath_hal *ah, HAL_TX_QUEUE_INFO *qi) argument
199 ar5211ReleaseTxQueue(struct ath_hal *ah, u_int q) argument
233 ar5211ResetTxQueue(struct ath_hal *ah, u_int q) argument
402 ar5211GetTxDP(struct ath_hal *ah, u_int q) argument
412 ar5211SetTxDP(struct ath_hal *ah, u_int q, uint32_t txdp) argument
432 ar5211StartTxDma(struct ath_hal *ah, u_int q) argument
453 ar5211NumTxPending(struct ath_hal *ah, u_int q) argument
475 ar5211StopTxDma(struct ath_hal *ah, u_int q) argument
509 ar5211SetupTxDesc(struct ath_hal *ah, struct ath_desc *ds, u_int pktLen, u_int hdrLen, HAL_PKT_TYPE type, u_int txPower, u_int txRate0, u_int txTries0, u_int keyIx, u_int antMode, u_int flags, u_int rtsctsRate, u_int rtsctsDuration, u_int compicvLen, u_int compivLen, u_int comp) argument
557 ar5211SetupXTxDesc(struct ath_hal *ah, struct ath_desc *ds, u_int txRate1, u_int txTries1, u_int txRate2, u_int txTries2, u_int txRate3, u_int txTries3) argument
570 ar5211IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *ds) argument
578 ar5211FillTxDesc(struct ath_hal *ah, struct ath_desc *ds, u_int segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg, const struct ath_desc *ds0) argument
615 ar5211ProcTxDesc(struct ath_hal *ah, struct ath_desc *ds, struct ath_tx_status *ts) argument
659 ar5211GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) argument
[all...]
/netbsd-current/sys/external/isc/atheros_hal/dist/ar5210/
H A Dar5210_recv.c21 #include "ah.h"
33 ar5210GetRxDP(struct ath_hal *ah) argument
35 return OS_REG_READ(ah, AR_RXDP);
42 ar5210SetRxDP(struct ath_hal *ah, uint32_t rxdp) argument
44 OS_REG_WRITE(ah, AR_RXDP, rxdp);
52 ar5210EnableReceive(struct ath_hal *ah) argument
54 OS_REG_WRITE(ah, AR_CR, AR_CR_RXE);
61 ar5210StopDmaReceive(struct ath_hal *ah) argument
65 OS_REG_WRITE(ah, AR_CR, AR_CR_RXD); /* Set receive disable bit */
67 if ((OS_REG_READ(ah, AR_C
83 ar5210StartPcuReceive(struct ath_hal *ah) argument
93 ar5210StopPcuReceive(struct ath_hal *ah) argument
104 ar5210SetMulticastFilter(struct ath_hal *ah, uint32_t filter0, uint32_t filter1) argument
114 ar5210ClrMulticastFilterIndex(struct ath_hal *ah, uint32_t ix) argument
134 ar5210SetMulticastFilterIndex(struct ath_hal *ah, uint32_t ix) argument
154 ar5210GetRxFilter(struct ath_hal *ah) argument
164 ar5210SetRxFilter(struct ath_hal *ah, uint32_t bits) argument
179 ar5210SetupRxDesc(struct ath_hal *ah, struct ath_desc *ds, uint32_t size, u_int flags) argument
209 ar5210ProcRxDesc(struct ath_hal *ah, struct ath_desc *ds, uint32_t pa, struct ath_desc *nds, uint64_t tsf, struct ath_rx_status *rs) argument
[all...]
H A Dar5210_attach.c21 #include "ah.h"
33 static HAL_BOOL ar5210GetChipPowerLimits(struct ath_hal *ah,
36 static void ar5210ConfigPCIE(struct ath_hal *ah, HAL_BOOL restore);
37 static void ar5210DisablePCIE(struct ath_hal *ah);
172 static HAL_BOOL ar5210FillCapabilityInfo(struct ath_hal *ah);
183 struct ath_hal *ah; local
201 ah = &ahp->ah_priv.h;
204 ah->ah_sc = sc;
205 ah->ah_st = st;
206 ah
293 ar5210Detach(struct ath_hal *ah) argument
308 ar5210GetChannelEdges(struct ath_hal *ah, uint16_t flags, uint16_t *low, uint16_t *high) argument
321 ar5210GetChipPowerLimits(struct ath_hal *ah, HAL_CHANNEL *chans, uint32_t nchans) argument
339 ar5210ConfigPCIE(struct ath_hal *ah, HAL_BOOL restore) argument
344 ar5210DisablePCIE(struct ath_hal *ah) argument
352 ar5210FillCapabilityInfo(struct ath_hal *ah) argument
[all...]
H A Dar5210_keycache.c21 #include "ah.h"
34 ar5210GetKeyCacheSize(struct ath_hal *ah) argument
43 ar5210IsKeyCacheEntryValid(struct ath_hal *ah, uint16_t entry) argument
46 uint32_t val = OS_REG_READ(ah, AR_KEYTABLE_MAC1(entry));
57 ar5210ResetKeyCacheEntry(struct ath_hal *ah, uint16_t entry) argument
60 OS_REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), 0);
61 OS_REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), 0);
62 OS_REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), 0);
63 OS_REG_WRITE(ah, AR_KEYTABLE_KEY3(entry), 0);
64 OS_REG_WRITE(ah, AR_KEYTABLE_KEY
77 ar5210SetKeyCacheEntryMac(struct ath_hal *ah, uint16_t entry, const uint8_t *mac) argument
109 ar5210SetKeyCacheEntry(struct ath_hal *ah, uint16_t entry, const HAL_KEYVAL *k, const uint8_t *mac, int xorKey) argument
[all...]
H A Dar5210_xmit.c21 #include "ah.h"
36 ar5210SetTxQueueProps(struct ath_hal *ah, int q, const HAL_TXQ_INFO *qInfo) argument
38 struct ath_hal_5210 *ahp = AH5210(ah);
41 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: invalid queue num %u\n",
45 return ath_hal_setTxQProps(ah, &ahp->ah_txq[q], qInfo);
52 ar5210GetTxQueueProps(struct ath_hal *ah, int q, HAL_TXQ_INFO *qInfo) argument
54 struct ath_hal_5210 *ahp = AH5210(ah);
57 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: invalid queue num %u\n",
61 return ath_hal_getTxQProps(ah, qInfo, &ahp->ah_txq[q]);
68 ar5210SetupTxQueue(struct ath_hal *ah, HAL_TX_QUEU argument
123 ar5210ReleaseTxQueue(struct ath_hal *ah, u_int q) argument
154 ar5210ResetTxQueue(struct ath_hal *ah, u_int q) argument
257 ar5210GetTxDP(struct ath_hal *ah, u_int q) argument
282 ar5210SetTxDP(struct ath_hal *ah, u_int q, uint32_t txdp) argument
329 ar5210UpdateTxTrigLevel(struct ath_hal *ah, HAL_BOOL bIncTrigLevel) argument
367 ar5210StartTxDma(struct ath_hal *ah, u_int q) argument
400 ar5210NumTxPending(struct ath_hal *ah, u_int q) argument
428 ar5210StopTxDma(struct ath_hal *ah, u_int q) argument
477 ar5210SetupTxDesc(struct ath_hal *ah, struct ath_desc *ds, u_int pktLen, u_int hdrLen, HAL_PKT_TYPE type, u_int txPower, u_int txRate0, u_int txTries0, u_int keyIx, u_int antMode, u_int flags, u_int rtsctsRate, u_int rtsctsDuration, u_int compicvLen, u_int compivLen, u_int comp) argument
527 ar5210SetupXTxDesc(struct ath_hal *ah, struct ath_desc *ds, u_int txRate1, u_int txTries1, u_int txRate2, u_int txTries2, u_int txRate3, u_int txTries3) argument
540 ar5210IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *ds) argument
548 ar5210FillTxDesc(struct ath_hal *ah, struct ath_desc *ds, u_int segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg, const struct ath_desc *ds0) argument
585 ar5210ProcTxDesc(struct ath_hal *ah, struct ath_desc *ds, struct ath_tx_status *ts) argument
620 ar5210GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) argument
[all...]
/netbsd-current/external/lgpl3/gmp/dist/mpn/generic/
H A Dhgcd2_jacobi.c157 mpn_hgcd2_jacobi (mp_limb_t ah, mp_limb_t al, mp_limb_t bh, mp_limb_t bl, argument
163 if (ah < 2 || bh < 2)
166 if (ah > bh || (ah == bh && al > bl))
168 sub_ddmmss (ah, al, ah, al, bh, bl);
169 if (ah < 2)
178 sub_ddmmss (bh, bl, bh, bl, ah, al);
187 if (ah < bh)
192 ASSERT (ah >
[all...]
/netbsd-current/sys/external/isc/atheros_hal/dist/ar5416/
H A Dar5416.h88 #define IS_5416_PCI(ah) ((AH_PRIVATE(ah)->ah_macVersion) == AR_SREV_VERSION_OWL_PCI)
89 #define IS_5416_PCIE(ah) ((AH_PRIVATE(ah)->ah_macVersion) == AR_SREV_VERSION_OWL_PCIE)
91 #define IS_PCIE(ah) (IS_5416_PCIE(ah))
97 extern uint32_t ar5416GetRadioRev(struct ath_hal *ah);
103 extern void ar5416Detach(struct ath_hal *ah);
104 extern void ar5416AttachPCIE(struct ath_hal *ah);
105 extern HAL_BOOL ar5416FillCapabilityInfo(struct ath_hal *ah);
[all...]
H A Dar5416_reset.c21 #include "ah.h"
42 static void ar5416InitDMA(struct ath_hal *ah);
43 static void ar5416InitBB(struct ath_hal *ah, HAL_CHANNEL *chan);
44 static void ar5416InitIMR(struct ath_hal *ah, HAL_OPMODE opmode);
45 static void ar5416InitQoS(struct ath_hal *ah);
46 static void ar5416InitUserSettings(struct ath_hal *ah);
48 static HAL_BOOL _ar5416SetTransmitPower(struct ath_hal *ah,
56 static HAL_BOOL ar5416SetResetPowerOn(struct ath_hal *ah);
57 static HAL_BOOL ar5416SetReset(struct ath_hal *ah, int type);
58 static void ar5416InitPLL(struct ath_hal *ah, HAL_CHANNE
96 ar5416Reset(struct ath_hal *ah, HAL_OPMODE opmode, HAL_CHANNEL *chan, HAL_BOOL bChannelChange, HAL_STATUS *status) argument
483 ar5416InitDMA(struct ath_hal *ah) argument
524 ar5416InitBB(struct ath_hal *ah, HAL_CHANNEL *chan) argument
564 ar5416InitIMR(struct ath_hal *ah, HAL_OPMODE opmode) argument
596 ar5416InitQoS(struct ath_hal *ah) argument
619 ar5416InitUserSettings(struct ath_hal *ah) argument
646 ar5416ChipReset(struct ath_hal *ah, HAL_CHANNEL *chan) argument
697 ar5416GetDeltaSlopeValues(struct ath_hal *ah, uint32_t coef_scaled, uint32_t *coef_mantissa, uint32_t *coef_exponent) argument
726 ar5416SetDeltaSlope(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan) argument
781 ar5416SetTxPowerLimit(struct ath_hal *ah, uint32_t limit) argument
791 ar5416GetChipPowerLimits(struct ath_hal *ah, HAL_CHANNEL *chans, uint32_t nchans) argument
846 _ar5416SetTransmitPower(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan, uint16_t *rfXpdGain) argument
1008 ar5416SetTransmitPower(struct ath_hal *ah, HAL_CHANNEL *chan, uint16_t *rfXpdGain) argument
1020 ar5416GetRfgain(struct ath_hal *ah) argument
1029 ar5416Disable(struct ath_hal *ah) argument
1043 ar5416PhyDisable(struct ath_hal *ah) argument
1052 ar5416SetResetReg(struct ath_hal *ah, uint32_t type) argument
1067 ar5416SetResetPowerOn(struct ath_hal *ah) argument
1105 ar5416SetReset(struct ath_hal *ah, int type) argument
1183 ar5416InitPLL(struct ath_hal *ah, HAL_CHANNEL *chan) argument
1257 ar5416SetBoardValues(struct ath_hal *ah, HAL_CHANNEL *_chan) argument
1386 ar5416SetPowerPerRateTable(struct ath_hal *ah, struct ar5416eeprom *pEepData, HAL_CHANNEL_INTERNAL *chan, int16_t *ratesArray, uint16_t cfgCtl, uint16_t AntennaReduction, uint16_t twiceMaxRegulatoryPower, uint16_t powerLimit) argument
1696 ar5416GetTargetPowers(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan, CAL_TARGET_POWER_HT *powInfo, uint16_t numChannels, CAL_TARGET_POWER_HT *pNewPower, uint16_t numRates, HAL_BOOL isHt40Target) argument
1755 ar5416GetTargetPowersLeg(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan, CAL_TARGET_POWER_LEG *powInfo, uint16_t numChannels, CAL_TARGET_POWER_LEG *pNewPower, uint16_t numRates, HAL_BOOL isExtTarget) argument
1817 ar5416SetPowerCalTable(struct ath_hal *ah, struct ar5416eeprom *pEepData, HAL_CHANNEL_INTERNAL *chan, int16_t *pTxPowerIndexOffset) argument
1941 ar5416GetGainBoundariesAndPdadcs(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan, CAL_DATA_PER_FREQ *pRawDataSet, uint8_t * bChans, uint16_t availPiers, uint16_t tPdGainOverlap, int16_t *pMinCalPower, uint16_t * pPdGainBoundaries, uint8_t * pPDADCValues, uint16_t numXpdGains) argument
2205 ar5416Set11nRegs(struct ath_hal *ah, HAL_CHANNEL *chan) argument
2247 ar5416GetChannelCenters(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan, CHAN_CENTERS *centers) argument
[all...]
H A Dar9280.c24 #include "ah.h"
39 #define AR9280(ah) ((struct ar9280State *) AH5212(ah)->ah_rfHal)
43 int16_t ar9280GetNfAdjust(struct ath_hal *ah, const HAL_CHANNEL_INTERNAL *c);
46 ar9280WriteRegs(struct ath_hal *ah, u_int modesIndex, u_int freqIndex, argument
49 (void) ath_hal_ini_write(ah, &AH5416(ah)->ah_ini_bb_rfgain,
73 ar9280SetChannel(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan) argument
80 OS_MARK(ah, AH_MARK_SETCHANNEL, chan->ic_freq);
82 ar5416GetChannelCenters(ah, cha
146 ar9280GetRfBank(struct ath_hal *ah, int bank) argument
158 ar9280SetRfRegs(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan, uint16_t modesIndex, uint16_t *rfXpdGain) argument
171 ar9280SetPowerTable(struct ath_hal *ah, int16_t *pPowerMin, int16_t *pPowerMax, HAL_CHANNEL_INTERNAL *chan, uint16_t *rfXpdGain) argument
206 ar9280GetChannelMaxMinPower(struct ath_hal *ah, HAL_CHANNEL *chan, int16_t *maxPow, int16_t *minPow) argument
269 ar9280GetNoiseFloor(struct ath_hal *ah, int16_t nfarray[]) argument
307 ar9280GetNfAdjust(struct ath_hal *ah, const HAL_CHANNEL_INTERNAL *c) argument
316 ar9280RfDetach(struct ath_hal *ah) argument
326 ar9280RfAttach(struct ath_hal *ah, HAL_STATUS *status) argument
[all...]
H A Dar2133.c21 #include "ah.h"
45 #define AR2133(ah) ((struct ar2133State *) AH5212(ah)->ah_rfHal)
51 HAL_BOOL ar2133GetChipPowerLimits(struct ath_hal *ah, HAL_CHANNEL
56 int16_t ar2133GetNfAdjust(struct ath_hal *ah, const HAL_CHANNEL_INTERNAL *c);
59 ar2133WriteRegs(struct ath_hal *ah, u_int modesIndex, u_int freqIndex, argument
62 (void) ath_hal_ini_write(ah, &AH5416(ah)->ah_ini_bb_rfgain,
72 ar2133SetChannel(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan) argument
81 OS_MARK(ah, AH_MARK_SETCHANNE
148 ar2133GetRfBank(struct ath_hal *ah, int bank) argument
172 ar2133SetRfRegs(struct ath_hal *ah, HAL_CHANNEL_INTERNAL *chan, uint16_t modesIndex, uint16_t *rfXpdGain) argument
235 ar2133SetPowerTable(struct ath_hal *ah, int16_t *pPowerMin, int16_t *pPowerMax, HAL_CHANNEL_INTERNAL *chan, uint16_t *rfXpdGain) argument
270 ar2133GetChannelMaxMinPower(struct ath_hal *ah, HAL_CHANNEL *chan, int16_t *maxPow, int16_t *minPow) argument
332 ar2133GetNoiseFloor(struct ath_hal *ah, int16_t nfarray[]) argument
394 ar2133GetNfAdjust(struct ath_hal *ah, const HAL_CHANNEL_INTERNAL *c) argument
403 ar2133RfDetach(struct ath_hal *ah) argument
417 ar2133RfAttach(struct ath_hal *ah, HAL_STATUS *status) argument
[all...]
H A Dar5416_cal.h105 HAL_BOOL ar5416InitCal(struct ath_hal *ah, HAL_CHANNEL *chan);
108 HAL_BOOL ar5416PerCalibrationN(struct ath_hal *ah, HAL_CHANNEL *chan,
110 HAL_BOOL ar5416ResetCalValid(struct ath_hal *ah, HAL_CHANNEL *chan);
112 void ar5416IQCalCollect(struct ath_hal *ah);
113 void ar5416IQCalibration(struct ath_hal *ah, uint8_t numChains);
114 void ar5416AdcGainCalCollect(struct ath_hal *ah);
115 void ar5416AdcGainCalibration(struct ath_hal *ah, uint8_t numChains);
116 void ar5416AdcDcCalCollect(struct ath_hal *ah);
117 void ar5416AdcDcCalibration(struct ath_hal *ah, uint8_t numChains);
/netbsd-current/regress/lib/libc/ieeefp/testfloat/arch/i386/
H A Dsystmodes.S75 movb $0,%ah
78 movb $2,%ah
81 movb $3,%ah
84 movb $0,%ah
/netbsd-current/sys/external/isc/atheros_hal/dist/ar5212/
H A Dar5212_rfgain.c21 #include "ah.h"
64 ar5212InitializeGainValues(struct ath_hal *ah) argument
66 struct ath_hal_5212 *ahp = AH5212(ah);
70 if (IS_RAD5112_ANY(ah)) {
123 ar5212InvalidGainReadback(struct ath_hal *ah, GAIN_VALUES *gv) argument
128 if (IS_RAD5112_ANY(ah)) {
129 mixOvr = ar5212GetRfField(ar5212GetRfBank(ah, 7), 1, 36, 0);
140 gStep = ar5212GetRfField(ar5212GetRfBank(ah, 7), 6, 37, 0);
160 ar5212RequestRfgain(struct ath_hal *ah) argument
162 struct ath_hal_5212 *ahp = AH5212(ah);
179 ar5212IsGainAdjustNeeded(struct ath_hal *ah, const GAIN_VALUES *gv) argument
188 ar5212AdjustGain(struct ath_hal *ah, GAIN_VALUES *gv) argument
243 ar5212GetGainFCorrection(struct ath_hal *ah) argument
277 ar5212GetRfgain(struct ath_hal *ah) argument
[all...]
H A Dar5212.h134 void (*rfDetach)(struct ath_hal *ah);
137 uint32_t *(*getRfBank)(struct ath_hal *ah, int bank);
142 HAL_BOOL (*setPowerTable)(struct ath_hal *ah,
145 HAL_BOOL (*getChannelMaxMinPower)(struct ath_hal *ah, HAL_CHANNEL *,
344 #define IS_2317(ah) \
345 ((AH_PRIVATE(ah)->ah_devid == AR5212_AR2317_REV1) || \
346 (AH_PRIVATE(ah)->ah_devid == AR5212_AR2317_REV2))
347 #define IS_2316(ah) \
348 (AH_PRIVATE(ah)->ah_macVersion == AR_SREV_2415)
349 #define IS_2413(ah) \
[all...]
H A Dar5212_xmit.c21 #include "ah.h"
45 ar5212UpdateTxTrigLevel(struct ath_hal *ah, HAL_BOOL bIncTrigLevel) argument
47 struct ath_hal_5212 *ahp = AH5212(ah);
57 omask = ath_hal_setInterrupts(ah, ahp->ah_maskReg &~ HAL_INT_GLOBAL);
59 txcfg = OS_REG_READ(ah, AR_TXCFG);
69 OS_REG_WRITE(ah, AR_TXCFG,
75 ath_hal_setInterrupts(ah, omask);
85 ar5212SetTxQueueProps(struct ath_hal *ah, int q, const HAL_TXQ_INFO *qInfo) argument
87 struct ath_hal_5212 *ahp = AH5212(ah);
88 HAL_CAPABILITIES *pCap = &AH_PRIVATE(ah)
102 ar5212GetTxQueueProps(struct ath_hal *ah, int q, HAL_TXQ_INFO *qInfo) argument
120 ar5212SetupTxQueue(struct ath_hal *ah, HAL_TX_QUEUE type, const HAL_TXQ_INFO *qInfo) argument
204 setTxQInterrupts(struct ath_hal *ah, HAL_TX_QUEUE_INFO *qi) argument
230 ar5212ReleaseTxQueue(struct ath_hal *ah, u_int q) argument
267 ar5212ResetTxQueue(struct ath_hal *ah, u_int q) argument
489 ar5212GetTxDP(struct ath_hal *ah, u_int q) argument
499 ar5212SetTxDP(struct ath_hal *ah, u_int q, uint32_t txdp) argument
519 ar5212StartTxDma(struct ath_hal *ah, u_int q) argument
539 ar5212NumTxPending(struct ath_hal *ah, u_int q) argument
563 ar5212StopTxDma(struct ath_hal *ah, u_int q) argument
663 ar5212SetupTxDesc(struct ath_hal *ah, struct ath_desc *ds, u_int pktLen, u_int hdrLen, HAL_PKT_TYPE type, u_int txPower, u_int txRate0, u_int txTries0, u_int keyIx, u_int antMode, u_int flags, u_int rtsctsRate, u_int rtsctsDuration, u_int compicvLen, u_int compivLen, u_int comp) argument
735 ar5212SetupXTxDesc(struct ath_hal *ah, struct ath_desc *ds, u_int txRate1, u_int txTries1, u_int txRate2, u_int txTries2, u_int txRate3, u_int txTries3) argument
767 ar5212IntrReqTxDesc(struct ath_hal *ah, struct ath_desc *ds) argument
779 ar5212FillTxDesc(struct ath_hal *ah, struct ath_desc *ds, u_int segLen, HAL_BOOL firstSeg, HAL_BOOL lastSeg, const struct ath_desc *ds0) argument
840 ar5212ProcTxDesc(struct ath_hal *ah, struct ath_desc *ds, struct ath_tx_status *ts) argument
920 ar5212GetTxIntrQueue(struct ath_hal *ah, uint32_t *txqs) argument
[all...]
/netbsd-current/external/bsd/tcpdump/dist/
H A Dah.h1 /* NetBSD: ah.h,v 1.12 2000/07/23 05:23:04 itojun Exp */
2 /* $KAME: ah.h,v 1.12 2000/07/20 17:41:01 itojun Exp $ */
58 struct ah { struct
/netbsd-current/sys/external/isc/atheros_hal/dist/
H A Dah_eeprom_v1.c21 #include "ah.h"
26 v1EepromGet(struct ath_hal *ah, int param, void *val) argument
28 HAL_EEPROM_v1 *ee = AH_PRIVATE(ah)->ah_eeprom;
39 if (!ath_hal_eepromRead(ah, AR_EEPROM_MAC(i), &eeval)) {
40 HALDEBUG(ah, HAL_DEBUG_ANY,
50 HALDEBUG(ah, HAL_DEBUG_ANY, "%s: bad mac address %s\n",
72 v1EepromSet(struct ath_hal *ah, int param, int v) argument
78 v1EepromDiag(struct ath_hal *ah, int request, argument
81 HAL_EEPROM_v1 *ee = AH_PRIVATE(ah)->ah_eeprom;
93 v1EepromGetSpurChan(struct ath_hal *ah, in argument
102 v1EepromDetach(struct ath_hal *ah) argument
111 ath_hal_v1EepromAttach(struct ath_hal *ah) argument
[all...]
H A Dah.c17 * $Id: ah.c,v 1.3 2011/03/07 11:25:42 cegger Exp $
21 #include "ah.h"
60 struct ath_hal *ah; local
65 ah = chip->attach(devid, sc, st, sh, error);
66 if (ah != AH_NULL) {
68 ah->ah_devid = AH_PRIVATE(ah)->ah_devid;
69 ah->ah_subvendorid = AH_PRIVATE(ah)->ah_subvendorid;
70 ah
89 ath_hal_rfprobe(struct ath_hal *ah, HAL_STATUS *ecode) argument
108 ath_hal_wait(struct ath_hal *ah, u_int reg, uint32_t mask, uint32_t val) argument
147 ath_hal_computetxtime(struct ath_hal *ah, const HAL_RATE_TABLE *rates, uint32_t frameLen, uint16_t rateix, HAL_BOOL shortPreamble) argument
280 ath_hal_mhz2ieee(struct ath_hal *ah, u_int freq, u_int flags) argument
333 ath_hal_chan2wmode(struct ath_hal *ah, const HAL_CHANNEL *chan) argument
353 ath_hal_mac_clks(struct ath_hal *ah, u_int usecs) argument
373 ath_hal_mac_usec(struct ath_hal *ah, u_int clks) argument
404 ath_hal_setupratetable(struct ath_hal *ah, HAL_RATE_TABLE *rt) argument
437 ath_hal_getcapability(struct ath_hal *ah, HAL_CAPABILITY_TYPE type, uint32_t capability, uint32_t *result) argument
539 ath_hal_setcapability(struct ath_hal *ah, HAL_CAPABILITY_TYPE type, uint32_t capability, uint32_t setting, HAL_STATUS *status) argument
588 ath_hal_getregdump(struct ath_hal *ah, const HAL_REGRANGE *regs, void *dstbuf, int space) argument
609 ath_hal_getdiagstate(struct ath_hal *ah, int request, const void *args, uint32_t argsize, void **result, uint32_t *resultsize) argument
675 ath_hal_setTxQProps(struct ath_hal *ah, HAL_TX_QUEUE_INFO *qi, const HAL_TXQ_INFO *qInfo) argument
736 ath_hal_getTxQProps(struct ath_hal *ah, HAL_TXQ_INFO *qInfo, const HAL_TX_QUEUE_INFO *qi) argument
774 ath_hal_getChanNoise(struct ath_hal *ah, HAL_CHANNEL *chan) argument
801 ath_hal_process_noisefloor(struct ath_hal *ah) argument
859 ath_hal_ini_write(struct ath_hal *ah, const HAL_INI_ARRAY *ia, int col, int regWr) argument
882 ath_hal_ini_bank_write(struct ath_hal *ah, const HAL_INI_ARRAY *ia, const uint32_t data[], int regWr) argument
[all...]
/netbsd-current/sys/external/isc/atheros_hal/dist/ar5312/
H A Dar5312_eeprom.c24 #include "ah.h"
35 ar5312EepromRead(struct ath_hal *ah, u_int off, uint16_t *dataIn) argument
38 const char *eepromAddr = AR5312_RADIOCONFIG(ah);
/netbsd-current/external/lgpl3/gmp/dist/tune/
H A Dhgcd2.c40 mpn_hgcd2 (mp_limb_t ah, mp_limb_t al, mp_limb_t bh, mp_limb_t bl, argument
43 return hgcd2_func(ah, al, bh, bl, M);
/netbsd-current/sys/lib/libsa/
H A Darp.c102 struct ether_arp *ah; local
136 ah = &wbuf.data.arp;
137 ah->arp_hrd = htons(ARPHRD_ETHER);
138 ah->arp_pro = htons(ETHERTYPE_IP);
139 ah->arp_hln = sizeof(ah->arp_sha); /* hardware address length */
140 ah->arp_pln = sizeof(ah->arp_spa); /* protocol address length */
141 ah->arp_op = htons(ARPOP_REQUEST);
142 MACPY(d->myea, ah
193 struct ether_arp *ah; local
[all...]
/netbsd-current/sys/arch/i386/stand/lib/
H A Dbiosdelay.S41 * Call with %ah = 0x86
62 movb $0x86, %ah
64 setnc %ah
66 movb %ah, %bl # real_to_prot uses %eax
/netbsd-current/sys/net/
H A Dif_arcsubr.c117 struct arc_header *ah; local
274 ah = mtod(m, struct arc_header *);
275 ah->arc_type = atype;
276 ah->arc_dhost = adst;
277 ah->arc_shost = myself;
278 ah->arc_flag = rsflag;
279 ah->arc_seqid = ac->ac_seqid;
301 ah = mtod(m, struct arc_header *);
302 ah->arc_flag = 0xFF;
303 ah
347 struct arc_header *ah, *ah1; local
509 struct arc_header *ah; local
[all...]

Completed in 208 milliseconds

1234567891011>>