Home
last modified time | relevance | path

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

12

/freebsd-13-stable/sys/dev/ath/
HDif_athvar.h1055 #define ath_hal_detach(_ah) \ argument
1056 ((*(_ah)->ah_detach)((_ah)))
1057 #define ath_hal_reset(_ah, _opmode, _chan, _fullreset, _resettype, _pstatus) \ argument
1058 ((*(_ah)->ah_reset)((_ah), (_opmode), (_chan), (_fullreset), \
1060 #define ath_hal_macversion(_ah) \ argument
1061 (((_ah)->ah_macVersion << 4) | ((_ah)->ah_macRev))
1062 #define ath_hal_getratetable(_ah, _mode) \ argument
1063 ((*(_ah)->ah_getRateTable)((_ah), (_mode)))
1064 #define ath_hal_getmac(_ah, _mac) \ argument
1065 ((*(_ah)->ah_getMacAddress)((_ah), (_mac)))
[all …]
HDah_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-13-stable/sys/dev/ath/ath_hal/ar5416/
HDar5416reg.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 …]
HDar5416desc.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)]))
HDar5416_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
HDar5416.h160 #define AH5416(_ah) ((struct ath_hal_5416 *)(_ah)) argument
HDar5416_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-13-stable/sys/dev/ath/ath_hal/
HDah_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 …]
HDah_regdomain.c921 #define isWwrSKU(_ah) \ argument
922 ((getEepromRD((_ah)) & WORLD_SKU_MASK) == WORLD_SKU_PREFIX || \
923 getEepromRD(_ah) == WORLD)
/freebsd-13-stable/sys/contrib/dev/ath/ath_hal/ar9300/
HDar9300reg.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 …]
HDar9300_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
HDar9300phy.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) ? \
HDar9300desc.h472 #define IS_3CHAIN_TX(_ah) (AH9300(_ah)->ah_tx_chainmask == 7) argument
HDar9300.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))))
HDar9300_power.c305 #define WOW_WRITE_NS_IPV6_ADDRESS(_ah, _buf_addr, _p_ipv6_addr) \ argument
311 OS_REG_WRITE((_ah), offset, *p_ipv6_addr); \
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5312/
HDar5312.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-13-stable/tools/tools/ath/common/
HDah_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-13-stable/sys/dev/ath/ath_hal/ar9002/
HDar9280_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
HDar9287.h45 #define AH9287(_ah) ((struct ath_hal_9287 *)(_ah)) argument
HDar9280.h41 #define AH9280(_ah) ((struct ath_hal_9280 *)(_ah)) argument
HDar9285.h35 #define AH9285(_ah) ((struct ath_hal_9285 *)(_ah)) argument
HDar9285_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
HDar9280_attach.c142 #define EEP_MINOR(_ah) \ argument
143 (AH_PRIVATE(_ah)->ah_eeversion & AR5416_EEP_VER_MINOR_MASK)
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5212/
HDar5212.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))) { \
HDar5212_reset.c1615 #define AR_PHY_BIS(_ah, _reg, _mask, _val) \ in ar5212SetBoardValues() argument
1616 OS_REG_WRITE(_ah, AR_PHY(_reg), \ in ar5212SetBoardValues()
1617 (OS_REG_READ(_ah, AR_PHY(_reg)) & _mask) | (_val)); in ar5212SetBoardValues()

12