Home
last modified time | relevance | path

Searched refs:ath5k_hw (Results 1 – 15 of 15) sorted by relevance

/external/syslinux/gpxe/src/drivers/net/ath5k/
Dath5k.h955 struct ath5k_hw { struct
1056 int (*ah_setup_rx_desc)(struct ath5k_hw *ah, struct ath5k_desc *desc, argument
1058 int (*ah_setup_tx_desc)(struct ath5k_hw *, struct ath5k_desc *, argument
1062 int (*ah_proc_tx_desc)(struct ath5k_hw *, struct ath5k_desc *, argument
1064 int (*ah_proc_rx_desc)(struct ath5k_hw *, struct ath5k_desc *, argument
1075 extern int ath5k_hw_attach(struct ath5k_softc *sc, u8 mac_version, struct ath5k_hw **ah);
1076 extern void ath5k_hw_detach(struct ath5k_hw *ah);
1085 extern int ath5k_hw_nic_wakeup(struct ath5k_hw *ah, int flags, int initial);
1086 extern int ath5k_hw_reset(struct ath5k_hw *ah, struct net80211_channel *channel, int change_channel…
1088 extern int ath5k_hw_set_power(struct ath5k_hw *ah, enum ath5k_power_mode mode, int set_chip, u16 sl…
[all …]
Dath5k_pcu.c48 int ath5k_hw_set_opmode(struct ath5k_hw *ah) in ath5k_hw_set_opmode()
95 void ath5k_hw_set_ack_bitrate_high(struct ath5k_hw *ah, int high) in ath5k_hw_set_ack_bitrate_high()
118 unsigned int ath5k_hw_get_ack_timeout(struct ath5k_hw *ah) in ath5k_hw_get_ack_timeout()
130 int ath5k_hw_set_ack_timeout(struct ath5k_hw *ah, unsigned int timeout) in ath5k_hw_set_ack_timeout()
147 unsigned int ath5k_hw_get_cts_timeout(struct ath5k_hw *ah) in ath5k_hw_get_cts_timeout()
159 int ath5k_hw_set_cts_timeout(struct ath5k_hw *ah, unsigned int timeout) in ath5k_hw_set_cts_timeout()
187 void ath5k_hw_get_lladdr(struct ath5k_hw *ah, u8 *mac) in ath5k_hw_get_lladdr()
200 int ath5k_hw_set_lladdr(struct ath5k_hw *ah, const u8 *mac) in ath5k_hw_set_lladdr()
228 void ath5k_hw_set_associd(struct ath5k_hw *ah, const u8 *bssid, u16 assoc_id) in ath5k_hw_set_associd()
348 int ath5k_hw_set_bssid_mask(struct ath5k_hw *ah, const u8 *mask) in ath5k_hw_set_bssid_mask()
[all …]
Dath5k_dma.c54 void ath5k_hw_start_rx_dma(struct ath5k_hw *ah) in ath5k_hw_start_rx_dma()
65 int ath5k_hw_stop_rx_dma(struct ath5k_hw *ah) in ath5k_hw_stop_rx_dma()
89 u32 ath5k_hw_get_rxdp(struct ath5k_hw *ah) in ath5k_hw_get_rxdp()
102 void ath5k_hw_set_rxdp(struct ath5k_hw *ah, u32 phys_addr) in ath5k_hw_set_rxdp()
127 int ath5k_hw_start_tx_dma(struct ath5k_hw *ah, unsigned int queue) in ath5k_hw_start_tx_dma()
167 int ath5k_hw_stop_tx_dma(struct ath5k_hw *ah, unsigned int queue) in ath5k_hw_stop_tx_dma()
261 u32 ath5k_hw_get_txdp(struct ath5k_hw *ah, unsigned int queue) in ath5k_hw_get_txdp()
292 int ath5k_hw_set_txdp(struct ath5k_hw *ah, unsigned int queue, u32 phys_addr) in ath5k_hw_set_txdp()
339 int ath5k_hw_update_tx_triglevel(struct ath5k_hw *ah, int increase) in ath5k_hw_update_tx_triglevel()
391 int ath5k_hw_is_intr_pending(struct ath5k_hw *ah) in ath5k_hw_is_intr_pending()
[all …]
Dath5k_gpio.c34 int ath5k_hw_set_gpio_input(struct ath5k_hw *ah, u32 gpio) in ath5k_hw_set_gpio_input()
49 int ath5k_hw_set_gpio_output(struct ath5k_hw *ah, u32 gpio) in ath5k_hw_set_gpio_output()
64 u32 ath5k_hw_get_gpio(struct ath5k_hw *ah, u32 gpio) in ath5k_hw_get_gpio()
77 int ath5k_hw_set_gpio(struct ath5k_hw *ah, u32 gpio, u32 val) in ath5k_hw_set_gpio()
98 void ath5k_hw_set_gpio_intr(struct ath5k_hw *ah, unsigned int gpio, in ath5k_hw_set_gpio_intr()
Dath5k_phy.c51 static unsigned int ath5k_hw_rfb_op(struct ath5k_hw *ah, in ath5k_hw_rfb_op()
158 int ath5k_hw_rfgain_opt_init(struct ath5k_hw *ah) in ath5k_hw_rfgain_opt_init()
194 static void ath5k_hw_request_rfgain_probe(struct ath5k_hw *ah) in ath5k_hw_request_rfgain_probe()
214 static u32 ath5k_hw_rf_gainf_corr(struct ath5k_hw *ah) in ath5k_hw_rf_gainf_corr()
271 static int ath5k_hw_rf_check_gainf_readback(struct ath5k_hw *ah) in ath5k_hw_rf_check_gainf_readback()
325 static s8 ath5k_hw_rf_gainf_adjust(struct ath5k_hw *ah) in ath5k_hw_rf_gainf_adjust()
394 enum ath5k_rfgain ath5k_hw_gainf_calibrate(struct ath5k_hw *ah) in ath5k_hw_gainf_calibrate()
457 int ath5k_hw_rfgain_init(struct ath5k_hw *ah, unsigned int freq) in ath5k_hw_rfgain_init()
519 int ath5k_hw_rfregs_init(struct ath5k_hw *ah, struct net80211_channel *channel, in ath5k_hw_rfregs_init()
835 int ath5k_channel_ok(struct ath5k_hw *ah, u16 freq, unsigned int flags) in ath5k_channel_ok()
[all …]
Dath5k_desc.c42 ath5k_hw_setup_2word_tx_desc(struct ath5k_hw *ah, struct ath5k_desc *desc, in ath5k_hw_setup_2word_tx_desc()
153 static int ath5k_hw_setup_4word_tx_desc(struct ath5k_hw *ah, in ath5k_hw_setup_4word_tx_desc()
249 static int ath5k_hw_proc_2word_tx_status(struct ath5k_hw *ah __unused, in ath5k_hw_proc_2word_tx_status()
301 static int ath5k_hw_proc_4word_tx_status(struct ath5k_hw *ah __unused, in ath5k_hw_proc_4word_tx_status()
361 static int ath5k_hw_setup_rx_desc(struct ath5k_hw *ah __unused, in ath5k_hw_setup_rx_desc()
392 static int ath5k_hw_proc_5210_rx_status(struct ath5k_hw *ah __unused, in ath5k_hw_proc_5210_rx_status()
454 static int ath5k_hw_proc_5212_rx_status(struct ath5k_hw *ah __unused, in ath5k_hw_proc_5212_rx_status()
519 int ath5k_hw_init_desc_functions(struct ath5k_hw *ah) in ath5k_hw_init_desc_functions()
Dath5k_eeprom.c38 static int ath5k_hw_eeprom_read(struct ath5k_hw *ah, u32 offset, u16 *data) in ath5k_hw_eeprom_read()
100 ath5k_eeprom_init_header(struct ath5k_hw *ah) in ath5k_eeprom_init_header()
167 static int ath5k_eeprom_read_ants(struct ath5k_hw *ah, u32 *offset, in ath5k_eeprom_read_ants()
227 static int ath5k_eeprom_read_modes(struct ath5k_hw *ah, u32 *offset, in ath5k_eeprom_read_modes()
408 ath5k_eeprom_read_turbo_modes(struct ath5k_hw *ah, in ath5k_eeprom_read_turbo_modes()
459 ath5k_eeprom_init_modes(struct ath5k_hw *ah) in ath5k_eeprom_init_modes()
506 ath5k_eeprom_read_freq_list(struct ath5k_hw *ah, int *offset, int max, in ath5k_eeprom_read_freq_list()
545 ath5k_eeprom_init_11a_pcal_freq(struct ath5k_hw *ah, int offset) in ath5k_eeprom_init_11a_pcal_freq()
598 ath5k_eeprom_init_11bg_2413(struct ath5k_hw *ah, unsigned int mode, int offset) in ath5k_eeprom_init_11bg_2413()
642 ath5k_get_pcdac_intercepts(struct ath5k_hw *ah, u8 min, u8 max, u8 *vp) in ath5k_get_pcdac_intercepts()
[all …]
Dath5k_rfkill.c61 struct ath5k_hw *ah = sc->ah; in ath5k_rfkill_set_intr()
80 ath5k_rfkill_hw_start(struct ath5k_hw *ah) in ath5k_rfkill_hw_start()
97 ath5k_rfkill_hw_stop(struct ath5k_hw *ah) in ath5k_rfkill_hw_stop()
Dath5k.c201 static unsigned int ath5k_copy_channels(struct ath5k_hw *ah,
466 struct ath5k_hw *ah = sc->ah; in ath5k_attach()
566 ath5k_copy_channels(struct ath5k_hw *ah, in ath5k_copy_channels()
630 struct ath5k_hw *ah = sc->ah; in ath5k_setup_bands()
730 struct ath5k_hw *ah = sc->ah; in ath5k_mode_setup()
814 struct ath5k_hw *ah = sc->ah; in ath5k_rxbuf_setup()
859 struct ath5k_hw *ah = sc->ah; in ath5k_txbuf_setup()
994 struct ath5k_hw *ah = sc->ah; in ath5k_txq_setup()
1055 struct ath5k_hw *ah = sc->ah; in ath5k_txq_cleanup()
1094 struct ath5k_hw *ah = sc->ah; in ath5k_rx_start()
[all …]
Dath5k_attach.c40 static int ath5k_hw_post(struct ath5k_hw *ah) in ath5k_hw_post()
113 struct ath5k_hw **hw) in ath5k_hw_attach()
115 struct ath5k_hw *ah; in ath5k_hw_attach()
120 ah = zalloc(sizeof(struct ath5k_hw)); in ath5k_hw_attach()
335 void ath5k_hw_detach(struct ath5k_hw *ah) in ath5k_hw_detach()
Dath5k_qcu.c34 int ath5k_hw_set_tx_queueprops(struct ath5k_hw *ah, in ath5k_hw_set_tx_queueprops()
55 int ath5k_hw_setup_tx_queue(struct ath5k_hw *ah, enum ath5k_tx_queue queue_type, in ath5k_hw_setup_tx_queue()
90 void ath5k_hw_release_tx_queue(struct ath5k_hw *ah) in ath5k_hw_release_tx_queue()
101 int ath5k_hw_reset_tx_queue(struct ath5k_hw *ah) in ath5k_hw_reset_tx_queue()
381 int ath5k_hw_set_slot_time(struct ath5k_hw *ah, unsigned int slot_time) in ath5k_hw_set_slot_time()
Dath5k_reset.c85 static int ath5k_hw_write_ofdm_timings(struct ath5k_hw *ah, in ath5k_hw_write_ofdm_timings()
164 static inline void ath5k_hw_write_rate_duration(struct ath5k_hw *ah, in ath5k_hw_write_rate_duration()
206 static int ath5k_hw_nic_reset(struct ath5k_hw *ah, u32 val) in ath5k_hw_nic_reset()
248 int ath5k_hw_wake(struct ath5k_hw *ah) in ath5k_hw_wake()
290 int ath5k_hw_nic_wakeup(struct ath5k_hw *ah, int flags, int initial __unused) in ath5k_hw_nic_wakeup()
422 static int ath5k_hw_chan_has_spur_noise(struct ath5k_hw *ah, in ath5k_hw_chan_has_spur_noise()
443 static void ath5k_hw_tweak_initval_settings(struct ath5k_hw *ah, in ath5k_hw_tweak_initval_settings()
545 static void ath5k_hw_commit_eeprom_settings(struct ath5k_hw *ah, in ath5k_hw_commit_eeprom_settings()
698 int ath5k_hw_reset(struct ath5k_hw *ah, in ath5k_hw_reset()
Dath5k_caps.c36 int ath5k_hw_set_capabilities(struct ath5k_hw *ah) in ath5k_hw_set_capabilities()
115 int ath5k_hw_get_capability(struct ath5k_hw *ah, in ath5k_hw_get_capability()
Dbase.h92 struct ath5k_hw *ah; /* Atheros HW */
Dath5k_initvals.c1377 static void ath5k_hw_ini_registers(struct ath5k_hw *ah, unsigned int size, in ath5k_hw_ini_registers()
1405 static void ath5k_hw_ini_mode_registers(struct ath5k_hw *ah, in ath5k_hw_ini_mode_registers()
1418 int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, int change_channel) in ath5k_hw_write_initvals()