/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_stub_funcs.h | 4 extern uint32_t ar9300_Stub_GetRadioRev(struct ath_hal *ah); 10 extern void ar9300_Stub_Detach(struct ath_hal *ah); 11 extern HAL_BOOL ar9300_Stub_ChipTest(struct ath_hal *ah); 12 extern HAL_BOOL ar9300_Stub_GetChannelEdges(struct ath_hal *ah, 14 extern HAL_BOOL ar9300_Stub_FillCapabilityInfo(struct ath_hal *ah); 16 extern void ar9300_Stub_SetBeaconTimers(struct ath_hal *ah, 18 extern void ar9300_Stub_BeaconInit(struct ath_hal *ah, 20 extern void ar9300_Stub_ResetStaBeaconTimers(struct ath_hal *ah); 21 extern void ar9300_Stub_SetStaBeaconTimers(struct ath_hal *ah, 23 extern uint64_t ar9300_Stub_GetNextTBTT(struct ath_hal *); [all …]
|
H A D | ar9300.h | 128 HAL_BOOL (*set_channel)(struct ath_hal *, struct ieee80211_channel *); 129 HAL_BOOL (*get_chip_power_lim)(struct ath_hal *ah, 365 void (*cal_collect)(struct ath_hal *, u_int8_t); // Accumulator func 366 void (*cal_post_proc)(struct ath_hal *, u_int8_t); // Post-processing func 1188 extern HAL_BOOL ar9300_rf_attach(struct ath_hal *, HAL_STATUS *); 1190 struct ath_hal; 1196 extern struct ath_hal * ar9300_attach(u_int16_t devid, 1199 extern void ar9300_detach(struct ath_hal *ah); 1200 extern void ar9300_read_revisions(struct ath_hal *ah); 1201 extern HAL_BOOL ar9300_chip_test(struct ath_hal *ah); [all …]
|
H A D | ar9300_stub_funcs.c | 33 ar9300_Stub_GetRadioRev(struct ath_hal *ah) in ar9300_Stub_GetRadioRev() 53 ar9300_Stub_Detach(struct ath_hal *ah) in ar9300_Stub_Detach() 61 ar9300_Stub_ChipTest(struct ath_hal *ah) in ar9300_Stub_ChipTest() 69 ar9300_Stub_GetChannelEdges(struct ath_hal *ah, uint16_t flags, in ar9300_Stub_GetChannelEdges() 78 ar9300_Stub_FillCapabilityInfo(struct ath_hal *ah) in ar9300_Stub_FillCapabilityInfo() 86 ar9300_Stub_SetBeaconTimers(struct ath_hal *ah, in ar9300_Stub_SetBeaconTimers() 94 ar9300_Stub_BeaconInit(struct ath_hal *ah, uint32_t next_beacon, in ar9300_Stub_BeaconInit() 102 ar9300_Stub_ResetStaBeaconTimers(struct ath_hal *ah) in ar9300_Stub_ResetStaBeaconTimers() 109 ar9300_Stub_SetStaBeaconTimers(struct ath_hal *ah, const HAL_BEACON_STATE *bs) in ar9300_Stub_SetStaBeaconTimers() 116 ar9300_Stub_GetNextTBTT(struct ath_hal *ah) in ar9300_Stub_GetNextTBTT() [all …]
|
H A D | ar9300desc.h | 492 extern HAL_BOOL ar9300_update_tx_trig_level(struct ath_hal *, 494 extern u_int16_t ar9300_get_tx_trig_level(struct ath_hal *); 495 extern HAL_BOOL ar9300_set_tx_queue_props(struct ath_hal *ah, int q, 497 extern HAL_BOOL ar9300_get_tx_queue_props(struct ath_hal *ah, int q, 499 extern int ar9300_setup_tx_queue(struct ath_hal *ah, HAL_TX_QUEUE type, 501 extern HAL_BOOL ar9300_release_tx_queue(struct ath_hal *ah, u_int q); 502 extern HAL_BOOL ar9300_reset_tx_queue(struct ath_hal *ah, u_int q); 503 extern u_int32_t ar9300_get_tx_dp(struct ath_hal *ah, u_int q); 504 extern HAL_BOOL ar9300_set_tx_dp(struct ath_hal *ah, u_int q, u_int32_t txdp); 505 extern HAL_BOOL ar9300_start_tx_dma(struct ath_hal *ah, u_int q); [all …]
|
H A D | ar9300_freebsd.h | 4 extern void ar9300_attach_freebsd_ops(struct ath_hal *ah); 5 extern HAL_BOOL ar9300_reset_freebsd(struct ath_hal *ah, HAL_OPMODE opmode, 8 extern void ar9300_config_pcie_freebsd(struct ath_hal *, HAL_BOOL, HAL_BOOL); 9 extern HAL_STATUS ar9300_eeprom_get_freebsd(struct ath_hal *, int param, 11 extern HAL_BOOL ar9300_stop_tx_dma_freebsd(struct ath_hal *ah, u_int q); 12 extern void ar9300_ani_poll_freebsd(struct ath_hal *ah, 14 extern void ar9300_config_defaults_freebsd(struct ath_hal *ah, 16 extern HAL_BOOL ar9300_stop_dma_receive_freebsd(struct ath_hal *ah); 17 extern HAL_BOOL ar9300_get_pending_interrupts_freebsd(struct ath_hal *ah, 19 extern HAL_INT ar9300_set_interrupts_freebsd(struct ath_hal *ah, [all …]
|
H A D | ar9300eep.h | 622 extern HAL_BOOL ar9300_eeprom_restore(struct ath_hal *ah); 623 extern int ar9300_eeprom_restore_internal(struct ath_hal *ah, ar9300_eeprom_t *mptr, int /*msize*/); 624 extern int ar9300_eeprom_base_address(struct ath_hal *ah); 625 extern int ar9300_eeprom_volatile(struct ath_hal *ah); 626 extern int ar9300_eeprom_low_limit(struct ath_hal *ah); 638 extern int ar9300_power_control_override(struct ath_hal *ah, int frequency, int *correction, int *v… 642 extern void ar9300_set_target_power_from_eeprom(struct ath_hal *ah, u_int16_t freq, 644 extern HAL_BOOL ar9300_eeprom_set_power_per_rate_table(struct ath_hal *ah, 653 extern int ar9300_transmit_power_reg_write(struct ath_hal *ah, u_int8_t *p_pwr_array); 655 extern u_int8_t ar9300_eeprom_get_legacy_trgt_pwr(struct ath_hal *ah, u_int16_t rate_index, u_int16… [all …]
|
H A D | ar9300paprd.h | 26 extern int ar9300_paprd_init_table(struct ath_hal *ah, struct ieee80211_channel *chan); 27 extern HAL_STATUS ar9300_paprd_setup_gain_table(struct ath_hal *ah, int chain_num); 28 extern HAL_STATUS ar9300_paprd_create_curve(struct ath_hal *ah, struct ieee80211_channel *chan, int… 29 extern int ar9300_paprd_is_done(struct ath_hal *ah); 30 extern void ar9300_enable_paprd(struct ath_hal *ah, HAL_BOOL enable_flag, struct ieee80211_channel … 31 extern void ar9300_swizzle_paprd_entries(struct ath_hal *ah, unsigned int txchain); 32 extern void ar9300_populate_paprd_single_table(struct ath_hal *ah, struct ieee80211_channel *chan, … 33 extern void ar9300_paprd_dec_tx_pwr(struct ath_hal *ah); 34 extern int ar9300_paprd_thermal_send(struct ath_hal *ah);
|
H A D | ar9300_freebsd.c | 36 static HAL_BOOL ar9300ClrMulticastFilterIndex(struct ath_hal *ah, uint32_t ix); 37 static HAL_BOOL ar9300SetMulticastFilterIndex(struct ath_hal *ah, uint32_t ix); 39 static void ar9300_beacon_set_beacon_timers(struct ath_hal *ah, 43 ar9300SetChainMasks(struct ath_hal *ah, uint32_t tx_chainmask, in ar9300SetChainMasks() 53 ar9300GetSlotTime(struct ath_hal *ah) in ar9300GetSlotTime() 60 ar9300_freebsd_set_tx_power_limit(struct ath_hal *ah, uint32_t limit) in ar9300_freebsd_set_tx_power_limit() 66 ar9300_get_next_tbtt(struct ath_hal *ah) in ar9300_get_next_tbtt() 72 ar9300_get_nav(struct ath_hal *ah) in ar9300_get_nav() 83 ar9300_set_nav(struct ath_hal *ah, u_int nav) in ar9300_set_nav() 96 ar9300_freebsd_get_antenna_switch(struct ath_hal *ah) in ar9300_freebsd_get_antenna_switch() [all …]
|
H A D | ar9300_spectral.c | 50 void ar9300_disable_cck(struct ath_hal *ah); 51 void ar9300_disable_radar(struct ath_hal *ah); 52 void ar9300_disable_restart(struct ath_hal *ah); 53 void ar9300_set_radar_dc_thresh(struct ath_hal *ah); 54 void ar9300_disable_weak_signal(struct ath_hal *ah); 55 void ar9300_disable_strong_signal(struct ath_hal *ah); 56 void ar9300_prep_spectral_scan(struct ath_hal *ah); 57 void ar9300_disable_dc_offset(struct ath_hal *ah); 58 void ar9300_enable_cck_detect(struct ath_hal *ah); 61 ar9300_disable_cck(struct ath_hal *ah) in ar9300_disable_cck() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210.h | 128 struct ath_hal; 130 extern void ar5210Detach(struct ath_hal *ah); 131 extern HAL_BOOL ar5210Reset(struct ath_hal *, HAL_OPMODE, 134 extern void ar5210SetPCUConfig(struct ath_hal *); 135 extern HAL_BOOL ar5210PhyDisable(struct ath_hal *); 136 extern HAL_BOOL ar5210Disable(struct ath_hal *); 137 extern HAL_BOOL ar5210ChipReset(struct ath_hal *, struct ieee80211_channel *); 138 extern HAL_BOOL ar5210PerCalibration(struct ath_hal *, struct ieee80211_channel *, HAL_BOOL *); 139 extern HAL_BOOL ar5210PerCalibrationN(struct ath_hal *ah, struct ieee80211_channel *chan, 141 extern HAL_BOOL ar5210ResetCalValid(struct ath_hal *ah, const struct ieee80211_channel *); [all …]
|
H A D | ar5210_misc.c | 34 ar5210GetMacAddress(struct ath_hal *ah, uint8_t *mac) in ar5210GetMacAddress() 42 ar5210SetMacAddress(struct ath_hal *ah, const uint8_t *mac) in ar5210SetMacAddress() 51 ar5210GetBssIdMask(struct ath_hal *ah, uint8_t *mask) in ar5210GetBssIdMask() 59 ar5210SetBssIdMask(struct ath_hal *ah, const uint8_t *mask) in ar5210SetBssIdMask() 68 ar5210EepromRead(struct ath_hal *ah, u_int off, uint16_t *data) in ar5210EepromRead() 86 ar5210EepromWrite(struct ath_hal *ah, u_int off, uint16_t data) in ar5210EepromWrite() 96 ar5210SetRegulatoryDomain(struct ath_hal *ah, in ar5210SetRegulatoryDomain() 129 ar5210GetWirelessModes(struct ath_hal *ah) in ar5210GetWirelessModes() 140 ar5210EnableRfKill(struct ath_hal *ah) in ar5210EnableRfKill() 161 ar5210GpioCfgOutput(struct ath_hal *ah, uint32_t gpio, HAL_GPIO_MUX_TYPE type) in ar5210GpioCfgOutput() [all …]
|
H A D | ar5210_recv.c | 33 ar5210GetRxDP(struct ath_hal *ah, HAL_RX_QUEUE qtype) in ar5210GetRxDP() 44 ar5210SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype) in ar5210SetRxDP() 55 ar5210EnableReceive(struct ath_hal *ah) in ar5210EnableReceive() 64 ar5210StopDmaReceive(struct ath_hal *ah) in ar5210StopDmaReceive() 86 ar5210StartPcuReceive(struct ath_hal *ah, HAL_BOOL is_scanning) in ar5210StartPcuReceive() 96 ar5210StopPcuReceive(struct ath_hal *ah) in ar5210StopPcuReceive() 107 ar5210SetMulticastFilter(struct ath_hal *ah, uint32_t filter0, uint32_t filter1) in ar5210SetMulticastFilter() 117 ar5210ClrMulticastFilterIndex(struct ath_hal *ah, uint32_t ix) in ar5210ClrMulticastFilterIndex() 137 ar5210SetMulticastFilterIndex(struct ath_hal *ah, uint32_t ix) in ar5210SetMulticastFilterIndex() 157 ar5210GetRxFilter(struct ath_hal *ah) in ar5210GetRxFilter() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211.h | 144 struct ath_hal; 146 extern void ar5211Detach(struct ath_hal *); 148 extern HAL_BOOL ar5211Reset(struct ath_hal *, HAL_OPMODE, 152 extern HAL_BOOL ar5211PhyDisable(struct ath_hal *); 153 extern HAL_BOOL ar5211Disable(struct ath_hal *); 154 extern HAL_BOOL ar5211ChipReset(struct ath_hal *, 156 extern HAL_BOOL ar5211PerCalibration(struct ath_hal *, struct ieee80211_channel *, HAL_BOOL *); 157 extern HAL_BOOL ar5211PerCalibrationN(struct ath_hal *ah, struct ieee80211_channel *chan, 159 extern HAL_BOOL ar5211ResetCalValid(struct ath_hal *ah, const struct ieee80211_channel *); 160 extern HAL_BOOL ar5211SetTxPowerLimit(struct ath_hal *, uint32_t limit); [all …]
|
H A D | ar5211_misc.c | 34 ar5211GetMacAddress(struct ath_hal *ah, uint8_t *mac) in ar5211GetMacAddress() 42 ar5211SetMacAddress(struct ath_hal *ah, const uint8_t *mac) in ar5211SetMacAddress() 51 ar5211GetBssIdMask(struct ath_hal *ah, uint8_t *mask) in ar5211GetBssIdMask() 59 ar5211SetBssIdMask(struct ath_hal *ah, const uint8_t *mask) in ar5211SetBssIdMask() 68 ar5211EepromRead(struct ath_hal *ah, u_int off, uint16_t *data) in ar5211EepromRead() 89 ar5211EepromWrite(struct ath_hal *ah, u_int off, uint16_t data) in ar5211EepromWrite() 99 ar5211SetRegulatoryDomain(struct ath_hal *ah, in ar5211SetRegulatoryDomain() 141 ar5211GetWirelessModes(struct ath_hal *ah) in ar5211GetWirelessModes() 157 ar5211GetTurboDisable(struct ath_hal *ah) 168 ar5211EnableRfKill(struct ath_hal *ah) in ar5211EnableRfKill() [all …]
|
H A D | ar5211_recv.c | 33 ar5211GetRxDP(struct ath_hal *ah, HAL_RX_QUEUE qtype) in ar5211GetRxDP() 44 ar5211SetRxDP(struct ath_hal *ah, uint32_t rxdp, HAL_RX_QUEUE qtype) in ar5211SetRxDP() 56 ar5211EnableReceive(struct ath_hal *ah) in ar5211EnableReceive() 65 ar5211StopDmaReceive(struct ath_hal *ah) in ar5211StopDmaReceive() 87 ar5211StartPcuReceive(struct ath_hal *ah, HAL_BOOL is_scanning) in ar5211StartPcuReceive() 97 ar5211StopPcuReceive(struct ath_hal *ah) in ar5211StopPcuReceive() 108 ar5211SetMulticastFilter(struct ath_hal *ah, uint32_t filter0, uint32_t filter1) in ar5211SetMulticastFilter() 118 ar5211ClrMulticastFilterIndex(struct ath_hal *ah, uint32_t ix) in ar5211ClrMulticastFilterIndex() 138 ar5211SetMulticastFilterIndex(struct ath_hal *ah, uint32_t ix) in ar5211SetMulticastFilterIndex() 158 ar5211GetRxFilter(struct ath_hal *ah) in ar5211GetRxFilter() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416.h | 79 void (*ah_writeIni)(struct ath_hal *, 81 void (*ah_spurMitigate)(struct ath_hal *, 85 HAL_BOOL (*ah_cal_initcal)(struct ath_hal *, 87 void (*ah_cal_pacal)(struct ath_hal *, 91 void (*ah_olcInit)(struct ath_hal *); 92 void (*ah_olcTempCompensation)(struct ath_hal *); 95 HAL_BOOL (*ah_setPowerCalTable) (struct ath_hal *ah, 101 void (*ah_initPLL) (struct ath_hal *ah, 105 void (*ah_btCoexSetDiversity)(struct ath_hal *ah); 167 extern HAL_BOOL ar2133RfAttach(struct ath_hal *, HAL_STATUS *); [all …]
|
H A D | ar5416_cal.h | 54 void (*calCollect)(struct ath_hal *); /* Accumulator function */ 56 void (*calPostProc)(struct ath_hal *, uint8_t); 105 HAL_BOOL ar5416InitCalHardware(struct ath_hal *ah, const struct ieee80211_channel *chan); 106 HAL_BOOL ar5416InitCal(struct ath_hal *, const struct ieee80211_channel *); 107 HAL_BOOL ar5416PerCalibration(struct ath_hal *, struct ieee80211_channel *, 109 HAL_BOOL ar5416PerCalibrationN(struct ath_hal *, struct ieee80211_channel *, 111 HAL_BOOL ar5416ResetCalValid(struct ath_hal *, 114 void ar5416IQCalCollect(struct ath_hal *ah); 115 void ar5416IQCalibration(struct ath_hal *ah, uint8_t numChains); 116 void ar5416AdcGainCalCollect(struct ath_hal *ah); [all …]
|
H A D | ar5416_spectral.c | 44 static void ar5416DisableRadar(struct ath_hal *ah); 45 static void ar5416PrepSpectralScan(struct ath_hal *ah); 48 ar5416DisableRadar(struct ath_hal *ah) in ar5416DisableRadar() 76 ar5416PrepSpectralScan(struct ath_hal *ah) in ar5416PrepSpectralScan() 84 ar5416ConfigureSpectralScan(struct ath_hal *ah, HAL_SPECTRAL_PARAM *ss) in ar5416ConfigureSpectralScan() 151 ar5416GetSpectralParams(struct ath_hal *ah, HAL_SPECTRAL_PARAM *ss) in ar5416GetSpectralParams() 171 ar5416IsSpectralActive(struct ath_hal *ah) in ar5416IsSpectralActive() 180 ar5416IsSpectralEnabled(struct ath_hal *ah) in ar5416IsSpectralEnabled() 189 ar5416StartSpectralScan(struct ath_hal *ah) in ar5416StartSpectralScan() 206 ar5416StopSpectralScan(struct ath_hal *ah) in ar5416StopSpectralScan() [all …]
|
H A D | ar5416_misc.c | 40 ar5416GetWirelessModes(struct ath_hal *ah) in ar5416GetWirelessModes() 66 ar5416SetLedState(struct ath_hal *ah, HAL_LED_STATE state) in ar5416SetLedState() 107 ar5416GetTsf64(struct ath_hal *ah) in ar5416GetTsf64() 144 ar5416SetTsf64(struct ath_hal *ah, uint64_t tsf64) in ar5416SetTsf64() 169 ar5416ResetTsf(struct ath_hal *ah) in ar5416ResetTsf() 184 ar5416GetCurRssi(struct ath_hal *ah) in ar5416GetCurRssi() 192 ar5416SetAntennaSwitch(struct ath_hal *ah, HAL_ANT_SETTING settings) in ar5416SetAntennaSwitch() 199 ar5416SetDecompMask(struct ath_hal *ah, uint16_t keyidx, int en) in ar5416SetDecompMask() 206 ar5416SetCoverageClass(struct ath_hal *ah, uint8_t coverageclass, int now) in ar5416SetCoverageClass() 216 ar5416GetMibCycleCounts(struct ath_hal *ah, HAL_SURVEY_SAMPLE *hsample) in ar5416GetMibCycleCounts() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212.h | 133 void (*rfDetach)(struct ath_hal *ah); 134 void (*writeRegs)(struct ath_hal *, 136 uint32_t *(*getRfBank)(struct ath_hal *ah, int bank); 137 HAL_BOOL (*setChannel)(struct ath_hal *, 139 HAL_BOOL (*setRfRegs)(struct ath_hal *, 142 HAL_BOOL (*setPowerTable)(struct ath_hal *ah, 145 HAL_BOOL (*getChannelMaxMinPower)(struct ath_hal *ah, 148 int16_t (*getNfAdjust)(struct ath_hal *, const HAL_CHANNEL_INTERNAL*); 326 HAL_BOOL (*ah_aniControl) (struct ath_hal *, HAL_ANI_CMD cmd, int param); 430 struct ath_hal; [all …]
|
H A D | ar5212_misc.c | 36 ar5212GetMacAddress(struct ath_hal *ah, uint8_t *mac) in ar5212GetMacAddress() 44 ar5212SetMacAddress(struct ath_hal *ah, const uint8_t *mac) in ar5212SetMacAddress() 53 ar5212GetBssIdMask(struct ath_hal *ah, uint8_t *mask) in ar5212GetBssIdMask() 61 ar5212SetBssIdMask(struct ath_hal *ah, const uint8_t *mask) in ar5212SetBssIdMask() 77 ar5212SetRegulatoryDomain(struct ath_hal *ah, in ar5212SetRegulatoryDomain() 113 ar5212GetWirelessModes(struct ath_hal *ah) in ar5212GetWirelessModes() 147 ar5212EnableRfKill(struct ath_hal *ah) in ar5212EnableRfKill() 175 ar5212SetLedState(struct ath_hal *ah, HAL_LED_STATE state) in ar5212SetLedState() 217 ar5212WriteAssocid(struct ath_hal *ah, const uint8_t *bssid, uint16_t assocId) in ar5212WriteAssocid() 233 ar5212GetTsf64(struct ath_hal *ah) in ar5212GetTsf64() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ |
H A D | ah.h | 1217 struct ath_hal { struct 1242 const HAL_RATE_TABLE *__ahdecl(*ah_getRateTable)(struct ath_hal *, argument 1244 void __ahdecl(*ah_detach)(struct ath_hal*); argument 1247 HAL_BOOL __ahdecl(*ah_reset)(struct ath_hal *, HAL_OPMODE, argument 1252 HAL_BOOL __ahdecl(*ah_phyDisable)(struct ath_hal *); argument 1253 HAL_BOOL __ahdecl(*ah_disable)(struct ath_hal *); argument 1254 void __ahdecl(*ah_configPCIE)(struct ath_hal *, HAL_BOOL restore, argument 1256 void __ahdecl(*ah_disablePCIE)(struct ath_hal *); argument 1257 void __ahdecl(*ah_setPCUConfig)(struct ath_hal *); argument 1258 HAL_BOOL __ahdecl(*ah_perCalibration)(struct ath_hal*, argument [all …]
|
H A D | ah_internal.h | 93 struct ath_hal *(*attach)(uint16_t devid, HAL_SOFTC, 121 HAL_BOOL (*probe)(struct ath_hal *ah); 122 HAL_BOOL (*attach)(struct ath_hal *ah, HAL_STATUS *ecode); 135 struct ath_hal_rf *ath_hal_rfprobe(struct ath_hal *ah, HAL_STATUS *ecode); 356 struct ath_hal h; /* public area */ 359 HAL_BOOL (*ah_getChannelEdges)(struct ath_hal*, 362 u_int (*ah_getWirelessModes)(struct ath_hal*); 363 HAL_BOOL (*ah_eepromRead)(struct ath_hal *, u_int off, 365 HAL_BOOL (*ah_eepromWrite)(struct ath_hal *, u_int off, 367 HAL_BOOL (*ah_getChipPowerLimits)(struct ath_hal *, [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5312/ |
H A D | ar5312.h | 41 extern HAL_BOOL ar5312IsInterruptPending(struct ath_hal *ah); 44 extern HAL_BOOL ar5312GpioCfgOutput(struct ath_hal *, uint32_t gpio, 46 extern HAL_BOOL ar5312GpioCfgInput(struct ath_hal *, uint32_t gpio); 47 extern HAL_BOOL ar5312GpioSet(struct ath_hal *, uint32_t gpio, uint32_t val); 48 extern uint32_t ar5312GpioGet(struct ath_hal *ah, uint32_t gpio); 49 extern void ar5312GpioSetIntr(struct ath_hal *ah, u_int, uint32_t ilevel); 52 extern HAL_BOOL ar5315GpioCfgOutput(struct ath_hal *, uint32_t gpio, 54 extern HAL_BOOL ar5315GpioCfgInput(struct ath_hal *, uint32_t gpio); 55 extern HAL_BOOL ar5315GpioSet(struct ath_hal *, uint32_t gpio, uint32_t val); 56 extern uint32_t ar5315GpioGet(struct ath_hal *ah, uint32_t gpio); [all …]
|
/freebsd/sys/dev/ath/ |
H A D | ah_osdep.c | 78 extern void ath_hal_printf(struct ath_hal *, const char*, ...) 80 extern void ath_hal_vprintf(struct ath_hal *, const char*, __va_list) 90 extern void DO_HALDEBUG(struct ath_hal *ah, u_int mask, const char* fmt, ...); 120 ath_hal_vprintf(struct ath_hal *ah, const char* fmt, va_list ap) in ath_hal_vprintf() 126 ath_hal_printf(struct ath_hal *ah, const char* fmt, ...) in ath_hal_printf() 148 ath_hal_reg_whilst_asleep(struct ath_hal *ah, uint32_t reg) in ath_hal_reg_whilst_asleep() 161 DO_HALDEBUG(struct ath_hal *ah, u_int mask, const char* fmt, ...) in DO_HALDEBUG() 248 ath_hal_alq_get(struct ath_hal *ah) in ath_hal_alq_get() 272 ath_hal_reg_write(struct ath_hal *ah, u_int32_t reg, u_int32_t val) in ath_hal_reg_write() 306 ath_hal_reg_read(struct ath_hal *ah, u_int32_t reg) in ath_hal_reg_read() [all …]
|