Lines Matching refs:ath_hal
90 struct ath_hal *(*attach)(uint16_t devid, HAL_SOFTC,
110 HAL_BOOL (*probe)(struct ath_hal *ah);
111 HAL_BOOL (*attach)(struct ath_hal *ah, HAL_STATUS *ecode);
123 struct ath_hal_rf *ath_hal_rfprobe(struct ath_hal *ah, HAL_STATUS *ecode);
217 * When declaring a device-specific ath_hal data structure this structure
230 struct ath_hal h; /* public area */
233 HAL_BOOL (*ah_getChannelEdges)(struct ath_hal*,
236 u_int (*ah_getWirelessModes)(struct ath_hal*);
237 HAL_BOOL (*ah_eepromRead)(struct ath_hal *, u_int off,
239 HAL_BOOL (*ah_eepromWrite)(struct ath_hal *, u_int off,
241 HAL_BOOL (*ah_gpioCfgOutput)(struct ath_hal *,
243 HAL_BOOL (*ah_gpioCfgInput)(struct ath_hal *, uint32_t gpio);
244 uint32_t (*ah_gpioGet)(struct ath_hal *, uint32_t gpio);
245 HAL_BOOL (*ah_gpioSet)(struct ath_hal *,
247 void (*ah_gpioSetIntr)(struct ath_hal*, u_int, uint32_t);
248 HAL_BOOL (*ah_getChipPowerLimits)(struct ath_hal *,
250 int16_t (*ah_getNfAdjust)(struct ath_hal *,
252 void (*ah_getNoiseFloor)(struct ath_hal *,
257 void (*ah_eepromDetach)(struct ath_hal *);
258 HAL_STATUS (*ah_eepromGet)(struct ath_hal *, int, void *);
259 HAL_BOOL (*ah_eepromSet)(struct ath_hal *, int, int);
260 uint16_t (*ah_getSpurChan)(struct ath_hal *, int, HAL_BOOL);
261 HAL_BOOL (*ah_eepromDiag)(struct ath_hal *, int request,
420 extern HAL_BOOL ath_hal_setTxQProps(struct ath_hal *ah,
422 extern HAL_BOOL ath_hal_getTxQProps(struct ath_hal *ah,
525 extern u_int ath_hal_getantennareduction(struct ath_hal *,
531 extern u_int ath_hal_getctl(struct ath_hal *, HAL_CHANNEL *);
537 extern HAL_BOOL ath_hal_getnfcheckrequired(struct ath_hal *, HAL_CHANNEL *);
545 extern HAL_CHANNEL_INTERNAL *ath_hal_checkchannel(struct ath_hal *,
554 extern HAL_BOOL ath_hal_wait(struct ath_hal *, u_int reg,
561 extern void ath_hal_printf(struct ath_hal *, const char*, ...)
563 extern void ath_hal_vprintf(struct ath_hal *, const char*, va_list)
575 extern void HALDEBUG(struct ath_hal *ah, u_int mask, const char* fmt, ...)
612 ath_hal_gethwchannel(struct ath_hal *ah, const HAL_CHANNEL_INTERNAL *c)
620 extern u_int ath_hal_mac_clks(struct ath_hal *ah, u_int usecs);
621 extern u_int ath_hal_mac_usec(struct ath_hal *ah, u_int clks);
627 extern HAL_STATUS ath_hal_getcapability(struct ath_hal *ah,
630 extern HAL_BOOL ath_hal_setcapability(struct ath_hal *ah,
763 extern HAL_BOOL ath_hal_getdiagstate(struct ath_hal *ah, int request,
770 extern void ath_hal_setupratetable(struct ath_hal *ah, HAL_RATE_TABLE *rt);
775 extern int16_t ath_hal_getChanNoise(struct ath_hal *ah, HAL_CHANNEL *chan);
818 extern int ath_hal_ini_write(struct ath_hal *ah, const HAL_INI_ARRAY *ia,
822 extern int ath_hal_ini_bank_write(struct ath_hal *ah, const HAL_INI_ARRAY *ia,