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.h1057 #define ath_hal_detach(_ah) \ argument
1058 ((*(_ah)->ah_detach)((_ah)))
1059 #define ath_hal_reset(_ah, _opmode, _chan, _fullreset, _resettype, _pstatus) \ argument
1060 ((*(_ah)->ah_reset)((_ah), (_opmode), (_chan), (_fullreset), \
1062 #define ath_hal_macversion(_ah) \ argument
1063 (((_ah)->ah_macVersion << 4) | ((_ah)->ah_macRev))
1064 #define ath_hal_getratetable(_ah, _mode) \ argument
1065 ((*(_ah)->ah_getRateTable)((_ah), (_mode)))
1066 #define ath_hal_getmac(_ah, _mac) \ argument
1067 ((*(_ah)->ah_getMacAddress)((_ah), (_mac)))
[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
701 #define AR_SREV_OWL(_ah) \ argument
702 ((AH_PRIVATE((_ah))->ah_macVersion == AR_XSREV_VERSION_OWL_PCI) || \
703 (AH_PRIVATE((_ah))->ah_macVersion == AR_XSREV_VERSION_OWL_PCIE))
705 #define AR_SREV_OWL_20_OR_LATER(_ah) \ argument
706 ((AR_SREV_OWL(_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.h440 #define AH_PRIVATE(_ah) ((struct ath_hal_private *)(_ah)) argument
442 #define ath_hal_getChannelEdges(_ah, _cf, _lc, _hc) \ argument
443 AH_PRIVATE(_ah)->ah_getChannelEdges(_ah, _cf, _lc, _hc)
444 #define ath_hal_getWirelessModes(_ah) \ argument
445 AH_PRIVATE(_ah)->ah_getWirelessModes(_ah)
446 #define ath_hal_eepromRead(_ah, _off, _data) \ argument
447 AH_PRIVATE(_ah)->ah_eepromRead(_ah, _off, _data)
448 #define ath_hal_eepromWrite(_ah, _off, _data) \ argument
449 AH_PRIVATE(_ah)->ah_eepromWrite(_ah, _off, _data)
450 #define ath_hal_gpioCfgOutput(_ah, _gpio, _type) \ argument
[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
2946 #define AR_GLB_SCRATCH(_ah) \ argument
2947 (AR_SREV_APHRODITE(_ah)? \
2949 (AR_SREV_JUPITER_20(_ah) ? \
3013 #define AR_SREV_OSPREY(_ah) \ argument
3014 ((AH_PRIVATE((_ah))->ah_macVersion == AR_SREV_VERSION_OSPREY))
3016 #define AR_SREV_OSPREY_22(_ah) \ argument
3017 ((AH_PRIVATE((_ah))->ah_macVersion == AR_SREV_VERSION_OSPREY) && \
3018 (AH_PRIVATE((_ah))->ah_macRev == AR_SREV_REVISION_OSPREY_22))
3020 #define AR_SREV_OSPREY(_ah) 0 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 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))))
H A Dar9300desc.h472 #define IS_3CHAIN_TX(_ah) (AH9300(_ah)->ah_tx_chainmask == 7) argument
/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 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));
H A Dhw.c24 #define REG_WRITE(_ah, _reg, _val) (common->ops->write)(_ah, _val, _reg) argument
/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