Home
last modified time | relevance | path

Searched refs:_ah (Results 1 – 25 of 30) sorted by relevance

12

/freebsd/sys/dev/ath/
H A Dif_athvar.h1058 ((*(_ah)->ah_detach)((_ah)))
1099 ((*(_ah)->ah_getRxFilter)((_ah)))
1113 ((*(_ah)->ah_getTsf64)((_ah)))
1117 ((*(_ah)->ah_resetTsf)((_ah)))
1149 ((*(_ah)->ah_getNextTBTT)((_ah)))
1153 ((*(_ah)->ah_phyDisable)((_ah)))
1184 ((*(_ah)->ah_getRfGain)((_ah)))
1198 ((*(_ah)->ah_getSlotTime)((_ah)))
1465 ((*(_ah)->ah_disablePCIE)((_ah)))
1495 ((*(_ah)->ah_getNav)((_ah)))
[all …]
H A Dah_osdep.h105 #define OS_REG_WRITE_BUFFER_ENABLE(_ah) \ argument
107 #define OS_REG_WRITE_BUFFER_DISABLE(_ah) \ argument
109 #define OS_REG_WRITE_BUFFER_FLUSH(_ah) \ argument
127 #define OS_BUS_BARRIER(_ah, _start, _len, _t) \ argument
128 bus_space_barrier((bus_space_tag_t)(_ah)->ah_st, \
129 (bus_space_handle_t)(_ah)->ah_sh, (_start), (_len), (_t))
130 #define OS_BUS_BARRIER_REG(_ah, _reg, _t) \ argument
131 OS_BUS_BARRIER((_ah), (_reg), 4, (_t))
137 #define OS_REG_WRITE(_ah, _reg, _val) ath_hal_reg_write(_ah, _reg, _val) argument
138 #define OS_REG_READ(_ah, _reg) ath_hal_reg_read(_ah, _reg) argument
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416reg.h646 #define IS_5416V1(_ah) (AR_SREV_OWL((_ah)) && AH_PRIVATE((_ah))->ah_macRev == AR_SREV_REVISION_OWL_… argument
647 #define IS_5416V2(_ah) (AR_SREV_OWL((_ah)) && AH_PRIVATE((_ah))->ah_macRev >= AR_SREV_REVISION_OWL_… argument
648 #define IS_5416V2_2(_ah) (AR_SREV_OWL((_ah)) && AH_PRIVATE((_ah))->ah_macRev == AR_SREV_REVISION_OW… argument
651 #define AR_SREV_5416_V20_OR_LATER(_ah) (AR_SREV_HOWL((_ah)) || AR_SREV_OWL_20_OR_LATER(_ah)) argument
652 #define AR_SREV_5416_V22_OR_LATER(_ah) (AR_SREV_HOWL((_ah)) || AR_SREV_OWL_22_OR_LATER(_ah)) argument
720 #define AR_SREV_9100(_ah) AR_SREV_HOWL(_ah) argument
731 (AR_SREV_SOWL(_ah) && \
789 (AR_SREV_KIWI(_ah) && \
793 (AR_SREV_KIWI(_ah) && \
797 (AR_SREV_KIWI(_ah) && \
[all …]
H A Dar5416desc.h29 #define _get_index(_ah) ( IS_5416V1(_ah) ? -4 : 0 ) argument
30 #define AR5416_DS_TXSTATUS(_ah, _ads) \ argument
31 ((uint32_t*)(&(_ads)->u.tx.status[_get_index(_ah)]))
32 #define AR5416_DS_TXSTATUS_CONST(_ah, _ads) \ argument
33 ((const uint32_t*)(&(_ads)->u.tx.status[_get_index(_ah)]))
H A Dar5416_xmit.c229 #define EEP_MINOR(_ah) \ in ar5416GetTxRatePower() argument
230 (AH_PRIVATE(_ah)->ah_eeversion & AR5416_EEP_VER_MINOR_MASK) in ar5416GetTxRatePower()
231 #define IS_EEP_MINOR_V2(_ah) (EEP_MINOR(_ah) >= AR5416_EEP_MINOR_VER_2) in ar5416GetTxRatePower() argument
H A Dar5416.h160 #define AH5416(_ah) ((struct ath_hal_5416 *)(_ah)) argument
H A Dar5416_reset.c32 #define EEP_MINOR(_ah) \ argument
33 (AH_PRIVATE(_ah)->ah_eeversion & AR5416_EEP_VER_MINOR_MASK)
34 #define IS_EEP_MINOR_V2(_ah) (EEP_MINOR(_ah) >= AR5416_EEP_MINOR_VER_2) argument
35 #define IS_EEP_MINOR_V3(_ah) (EEP_MINOR(_ah) >= AR5416_EEP_MINOR_VER_3) argument
/freebsd/sys/dev/ath/ath_hal/
H A Dah_internal.h445 AH_PRIVATE(_ah)->ah_getWirelessModes(_ah)
451 (_ah)->ah_gpioCfgOutput(_ah, _gpio, _type)
453 (_ah)->ah_gpioCfgInput(_ah, _gpio)
455 (_ah)->ah_gpioGet(_ah, _gpio)
457 (_ah)->ah_gpioSet(_ah, _gpio, _val)
459 (_ah)->ah_gpioSetIntr(_ah, _gpio, _ilevel)
463 AH_PRIVATE(_ah)->ah_getNfAdjust(_ah, _c)
467 (_ah)->ah_configPCIE(_ah, _reset, _poweroff)
469 (_ah)->ah_disablePCIE(_ah)
471 (_ah)->ah_setInterrupts(_ah, _mask)
[all …]
H A Dah_regdomain.c921 #define isWwrSKU(_ah) \ argument
922 ((getEepromRD((_ah)) & WORLD_SKU_MASK) == WORLD_SKU_PREFIX || \
923 getEepromRD(_ah) == WORLD)
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300reg.h727 #define AR_HOSTIF_REG(_ah, _reg) (AH9300(_ah)->ah_hostifregs._reg) argument
3013 #define AR_SREV_OSPREY(_ah) \ argument
3028 #define AR_SREV_AR9580(_ah) \ argument
3038 (AR_SREV_AR9580(_ah) || AR_SREV_SCORPION(_ah) || AR_SREV_HONEYBEE(_ah))
3040 #define AR_SREV_JUPITER(_ah) \ argument
3083 #define AR_SREV_HORNET(_ah) \ argument
3084 ( AR_SREV_HORNET_10(_ah) || AR_SREV_HORNET_11(_ah) || AR_SREV_HORNET_12(_ah) )
3093 #define AR_SREV_WASP(_ah) \ argument
3114 #define AR_SREV_WASP_10(_ah) \ argument
3118 #define AR_SREV_WASP_11(_ah) \ argument
[all …]
H A Dar9300_spectral.c304 #define ar9300_noise_floor_get(_ah,_f,_ich) ar9300_noise_floor_cal_or_power_get((_ah), (_f… argument
305 #define ar9300_noise_floor_power_get(_ah,_f,_ich) ar9300_noise_floor_cal_or_power_get((_ah), (_f… argument
H A Dar9300phy.h805 #define AR_PHY_TX_IQCAL_CONTROL_0(_ah) \ argument
806 (AR_SREV_POSEIDON(_ah) ? \
810 #define AR_PHY_TX_IQCAL_CONTROL_1(_ah) \ argument
811 (AR_SREV_POSEIDON(_ah) ? \
815 #define AR_PHY_TX_IQCAL_START(_ah) \ argument
816 (AR_SREV_POSEIDON(_ah) ? \
820 #define AR_PHY_TX_IQCAL_STATUS_B0(_ah) \ argument
821 (AR_SREV_POSEIDON(_ah) ? \
H A Dar9300desc.h472 #define IS_3CHAIN_TX(_ah) (AH9300(_ah)->ah_tx_chainmask == 7) argument
H A Dar9300.h893 #define AH9300(_ah) ((struct ath_hal_9300 *)(_ah)) argument
898 #define ar9300_eep_data_in_flash(_ah) \ argument
899 (!(AH_PRIVATE(_ah)->ah_flags & AH_USE_EEPROM))
904 ((ar9300_eeprom_get(AH9300(_ah), EEP_MINOR_REV) <= AR9300_EEP_MINOR_VER_16) || \
905 (ar9300_eeprom_get(AH9300(_ah), EEP_FSTCLK_5G))))
/freebsd/sys/dev/ath/ath_hal/ar5312/
H A Dar5312.h25 #define AR5312_UNIT(_ah) \ argument
26 (((const struct ar531x_config *)((_ah)->ah_st))->unit)
27 #define AR5312_BOARDCONFIG(_ah) \ argument
28 (((const struct ar531x_config *)((_ah)->ah_st))->board)
29 #define AR5312_RADIOCONFIG(_ah) \ argument
30 (((const struct ar531x_config *)((_ah)->ah_st))->radio)
/freebsd/tools/tools/ath/common/
H A Dah_osdep.h58 #define OS_GETUPTIME(_ah) 0 argument
59 #define OS_REG_WRITE(_ah, _reg, _val) argument
60 #define OS_REG_READ(_ah, _reg) 0 argument
61 #define OS_MARK(_ah, _id, _v) argument
/freebsd/sys/dev/ath/ath_hal/ar9002/
H A Dar9280_olc.c266 #define EEP_MINOR(_ah) \ argument
267 (AH_PRIVATE(_ah)->ah_eeversion & AR5416_EEP_VER_MINOR_MASK)
268 #define IS_EEP_MINOR_V2(_ah) (EEP_MINOR(_ah) >= AR5416_EEP_MINOR_VER_2) argument
269 #define IS_EEP_MINOR_V3(_ah) (EEP_MINOR(_ah) >= AR5416_EEP_MINOR_VER_3) argument
H A Dar9287.h45 #define AH9287(_ah) ((struct ath_hal_9287 *)(_ah)) argument
H A Dar9280.h41 #define AH9280(_ah) ((struct ath_hal_9280 *)(_ah)) argument
H A Dar9285.h35 #define AH9285(_ah) ((struct ath_hal_9285 *)(_ah)) argument
H A Dar9285_reset.c44 #define EEP_MINOR(_ah) \ argument
45 (AH_PRIVATE(_ah)->ah_eeversion & AR5416_EEP_VER_MINOR_MASK)
46 #define IS_EEP_MINOR_V2(_ah) (EEP_MINOR(_ah) >= AR5416_EEP_MINOR_VER_2) argument
47 #define IS_EEP_MINOR_V3(_ah) (EEP_MINOR(_ah) >= AR5416_EEP_MINOR_VER_3) argument
H A Dar9280_attach.c142 #define EEP_MINOR(_ah) \ argument
143 (AH_PRIVATE(_ah)->ah_eeversion & AR5416_EEP_VER_MINOR_MASK)
/freebsd/sys/contrib/dev/athk/
H A Dhw.c24 #define REG_WRITE(_ah, _reg, _val) (common->ops->write)(_ah, _val, _reg) argument
H A Dkey.c26 #define REG_WRITE(_ah, _reg, _val) (common->ops->write)(_ah, _val, _reg) argument
27 #define ENABLE_REGWRITE_BUFFER(_ah) \ argument
29 common->ops->enable_write_buffer((_ah));
31 #define REGWRITE_BUFFER_FLUSH(_ah) \ argument
33 common->ops->write_flush((_ah));
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212.h352 #define AH5212(_ah) ((struct ath_hal_5212 *)(_ah)) argument
414 #define SAVE_CCK(_ah, _chan, _flag) do { \ argument
415 if ((IS_2425(_ah) || IS_2417(_ah)) && \
423 #define RESTORE_CCK(_ah, _chan, _flag) do { \ argument
424 if ((_flag) && (IS_2425(_ah) || IS_2417(_ah))) { \

12