Lines Matching refs:athn_softc

69 Static void	ar9003_calib_iq(struct athn_softc *);
70 Static int ar9003_calib_tx_iq(struct athn_softc *);
71 Static int ar9003_compute_predistortion(struct athn_softc *,
73 Static void ar9003_disable_ofdm_weak_signal(struct athn_softc *);
74 Static void ar9003_disable_phy(struct athn_softc *);
75 Static int ar9003_dma_alloc(struct athn_softc *);
76 Static void ar9003_dma_free(struct athn_softc *);
77 Static void ar9003_do_calib(struct athn_softc *);
78 Static void ar9003_do_noisefloor_calib(struct athn_softc *);
79 Static void ar9003_enable_antenna_diversity(struct athn_softc *);
80 Static void ar9003_enable_ofdm_weak_signal(struct athn_softc *);
81 Static void ar9003_enable_predistorter(struct athn_softc *, int);
82 Static int ar9003_find_rom(struct athn_softc *);
83 Static void ar9003_force_txgain(struct athn_softc *, uint32_t);
84 Static int ar9003_get_desired_txgain(struct athn_softc *, int, int);
85 Static int ar9003_get_iq_corr(struct athn_softc *, int32_t[6], int32_t[2]);
86 Static void ar9003_gpio_config_input(struct athn_softc *, int);
87 Static void ar9003_gpio_config_output(struct athn_softc *, int, int);
88 Static int ar9003_gpio_read(struct athn_softc *, int);
89 Static void ar9003_gpio_write(struct athn_softc *, int, int);
90 Static void ar9003_hw_init(struct athn_softc *, struct ieee80211_channel *,
92 Static void ar9003_init_baseband(struct athn_softc *);
93 Static void ar9003_init_chains(struct athn_softc *);
94 Static int ar9003_intr_status(struct athn_softc *);
95 Static int ar9003_intr(struct athn_softc *);
96 Static void ar9003_next_calib(struct athn_softc *);
97 Static void ar9003_paprd_enable(struct athn_softc *);
98 Static int ar9003_paprd_tx_tone(struct athn_softc *);
99 Static void ar9003_paprd_tx_tone_done(struct athn_softc *);
100 Static int ar9003_read_eep_data(struct athn_softc *, uint32_t, void *,
102 Static int ar9003_read_eep_word(struct athn_softc *, uint32_t,
104 Static int ar9003_read_otp_data(struct athn_softc *, uint32_t, void *,
106 Static int ar9003_read_otp_word(struct athn_softc *, uint32_t,
108 Static int ar9003_read_rom(struct athn_softc *);
109 Static void ar9003_reset_rx_gain(struct athn_softc *,
111 Static void ar9003_reset_tx_gain(struct athn_softc *,
113 Static int ar9003_restore_rom_block(struct athn_softc *, uint8_t,
115 Static void ar9003_rf_bus_release(struct athn_softc *);
116 Static int ar9003_rf_bus_request(struct athn_softc *);
117 Static void ar9003_rfsilent_init(struct athn_softc *);
118 Static int ar9003_rx_alloc(struct athn_softc *, int, int);
119 Static void ar9003_rx_enable(struct athn_softc *);
120 Static void ar9003_rx_free(struct athn_softc *, int);
121 Static void ar9003_rx_intr(struct athn_softc *, int);
122 Static int ar9003_rx_process(struct athn_softc *, int);
123 Static void ar9003_rx_radiotap(struct athn_softc *, struct mbuf *,
125 Static void ar9003_set_cck_weak_signal(struct athn_softc *, int);
126 Static void ar9003_set_delta_slope(struct athn_softc *,
128 Static void ar9003_set_firstep_level(struct athn_softc *, int);
129 Static void ar9003_set_noise_immunity_level(struct athn_softc *, int);
130 Static void ar9003_set_phy(struct athn_softc *, struct ieee80211_channel *,
132 Static void ar9003_set_rf_mode(struct athn_softc *,
134 Static void ar9003_set_rxchains(struct athn_softc *);
135 Static void ar9003_set_spur_immunity_level(struct athn_softc *, int);
136 Static void ar9003_set_training_gain(struct athn_softc *, int);
137 Static int ar9003_swba_intr(struct athn_softc *);
138 Static int ar9003_tx(struct athn_softc *, struct mbuf *,
140 Static int ar9003_tx_alloc(struct athn_softc *);
141 Static void ar9003_tx_free(struct athn_softc *);
142 Static void ar9003_tx_intr(struct athn_softc *);
143 Static int ar9003_tx_process(struct athn_softc *);
146 Static void ar9003_bb_load_noisefloor(struct athn_softc *);
147 Static void ar9003_get_noisefloor(struct athn_softc *,
149 Static void ar9003_paprd_calib(struct athn_softc *,
151 Static void ar9003_read_noisefloor(struct athn_softc *, int16_t *,
153 Static void ar9003_write_noisefloor(struct athn_softc *, int16_t *,
155 Static void ar9300_noisefloor_calib(struct athn_softc *);
164 MCLGETI(struct athn_softc *sc __unused, int how, in MCLGETI()
182 ar9003_attach(struct athn_softc *sc) in ar9003_attach()
254 ar9003_read_eep_word(struct athn_softc *sc, uint32_t addr, uint16_t *val) in ar9003_read_eep_word()
278 ar9003_read_eep_data(struct athn_softc *sc, uint32_t addr, void *buf, int len) in ar9003_read_eep_data()
316 ar9003_read_otp_word(struct athn_softc *sc, uint32_t addr, uint32_t *val) in ar9003_read_otp_word()
338 ar9003_read_otp_data(struct athn_softc *sc, uint32_t addr, void *buf, int len) in ar9003_read_otp_data()
358 ar9003_find_rom(struct athn_softc *sc) in ar9003_find_rom()
398 ar9003_restore_rom_block(struct athn_softc *sc, uint8_t alg, uint8_t ref, in ar9003_restore_rom_block()
450 ar9003_read_rom(struct athn_softc *sc) in ar9003_read_rom()
524 ar9003_gpio_read(struct athn_softc *sc, int pin) in ar9003_gpio_read()
533 ar9003_gpio_write(struct athn_softc *sc, int pin, int set) in ar9003_gpio_write()
548 ar9003_gpio_config_input(struct athn_softc *sc, int pin) in ar9003_gpio_config_input()
560 ar9003_gpio_config_output(struct athn_softc *sc, int pin, int type) in ar9003_gpio_config_output()
581 ar9003_rfsilent_init(struct athn_softc *sc) in ar9003_rfsilent_init()
600 ar9003_dma_alloc(struct athn_softc *sc) in ar9003_dma_alloc()
620 ar9003_dma_free(struct athn_softc *sc) in ar9003_dma_free()
629 ar9003_tx_alloc(struct athn_softc *sc) in ar9003_tx_alloc()
713 ar9003_tx_free(struct athn_softc *sc) in ar9003_tx_free()
747 ar9003_rx_alloc(struct athn_softc *sc, int qid, int count) in ar9003_rx_alloc()
803 ar9003_rx_free(struct athn_softc *sc, int qid) in ar9003_rx_free()
822 ar9003_reset_txsring(struct athn_softc *sc) in ar9003_reset_txsring()
835 ar9003_rx_enable(struct athn_softc *sc) in ar9003_rx_enable()
875 ar9003_rx_radiotap(struct athn_softc *sc, struct mbuf *m, in ar9003_rx_radiotap()
934 ar9003_rx_process(struct athn_softc *sc, int qid) in ar9003_rx_process()
1090 ar9003_rx_intr(struct athn_softc *sc, int qid) in ar9003_rx_intr()
1098 ar9003_tx_process(struct athn_softc *sc) in ar9003_tx_process()
1187 ar9003_tx_intr(struct athn_softc *sc) in ar9003_tx_intr()
1210 ar9003_swba_intr(struct athn_softc *sc) in ar9003_swba_intr()
1344 ar9003_get_intr_status(struct athn_softc *sc, uint32_t *intrp, uint32_t *syncp) in ar9003_get_intr_status()
1371 ar9003_intr_status(struct athn_softc *sc) in ar9003_intr_status()
1379 ar9003_intr(struct athn_softc *sc) in ar9003_intr()
1457 ar9003_tx(struct athn_softc *sc, struct mbuf *m, struct ieee80211_node *ni, in ar9003_tx()
1857 ar9003_set_rf_mode(struct athn_softc *sc, struct ieee80211_channel *c) in ar9003_set_rf_mode()
1872 ar9003_synth_delay(struct athn_softc *sc) in ar9003_synth_delay()
1885 ar9003_rf_bus_request(struct athn_softc *sc) in ar9003_rf_bus_request()
1901 ar9003_rf_bus_release(struct athn_softc *sc) in ar9003_rf_bus_release()
1912 ar9003_set_phy(struct athn_softc *sc, struct ieee80211_channel *c, in ar9003_set_phy()
1942 ar9003_set_delta_slope(struct athn_softc *sc, struct ieee80211_channel *c, in ar9003_set_delta_slope()
1970 ar9003_enable_antenna_diversity(struct athn_softc *sc) in ar9003_enable_antenna_diversity()
1978 ar9003_init_baseband(struct athn_softc *sc) in ar9003_init_baseband()
1990 ar9003_disable_phy(struct athn_softc *sc) in ar9003_disable_phy()
1997 ar9003_init_chains(struct athn_softc *sc) in ar9003_init_chains()
2019 ar9003_set_rxchains(struct athn_softc *sc) in ar9003_set_rxchains()
2030 ar9003_read_noisefloor(struct athn_softc *sc, int16_t *nf, int16_t *nf_ext) in ar9003_read_noisefloor()
2052 ar9003_write_noisefloor(struct athn_softc *sc, int16_t *nf, int16_t *nf_ext) in ar9003_write_noisefloor()
2072 ar9003_get_noisefloor(struct athn_softc *sc, struct ieee80211_channel *c) in ar9003_get_noisefloor()
2114 ar9003_bb_load_noisefloor(struct athn_softc *sc) in ar9003_bb_load_noisefloor()
2150 ar9300_noisefloor_calib(struct athn_softc *sc) in ar9300_noisefloor_calib()
2160 ar9003_do_noisefloor_calib(struct athn_softc *sc) in ar9003_do_noisefloor_calib()
2167 ar9003_init_calib(struct athn_softc *sc) in ar9003_init_calib()
2212 ar9003_do_calib(struct athn_softc *sc) in ar9003_do_calib()
2234 ar9003_next_calib(struct athn_softc *sc) in ar9003_next_calib()
2246 ar9003_calib_iq(struct athn_softc *sc) in ar9003_calib_iq()
2313 ar9003_get_iq_corr(struct athn_softc *sc, int32_t res[6], int32_t coeff[2]) in ar9003_get_iq_corr()
2433 ar9003_calib_tx_iq(struct athn_softc *sc) in ar9003_calib_tx_iq()
2519 ar9003_paprd_calib(struct athn_softc *sc, struct ieee80211_channel *c) in ar9003_paprd_calib()
2637 ar9003_get_desired_txgain(struct athn_softc *sc, int chain, int pow) in ar9003_get_desired_txgain()
2671 ar9003_force_txgain(struct athn_softc *sc, uint32_t txgain) in ar9003_force_txgain()
2702 ar9003_set_training_gain(struct athn_softc *sc, int chain) in ar9003_set_training_gain()
2720 ar9003_paprd_tx_tone(struct athn_softc *sc) in ar9003_paprd_tx_tone()
2771 ar9003_compute_predistortion(struct athn_softc *sc, const uint32_t *lo, in ar9003_compute_predistortion()
3020 ar9003_enable_predistorter(struct athn_softc *sc, int chain) in ar9003_enable_predistorter()
3048 ar9003_paprd_enable(struct athn_softc *sc) in ar9003_paprd_enable()
3062 ar9003_paprd_tx_tone_done(struct athn_softc *sc) in ar9003_paprd_tx_tone_done()
3100 ar9003_write_txpower(struct athn_softc *sc, int16_t power[ATHN_POWER_COUNT]) in ar9003_write_txpower()
3171 ar9003_reset_rx_gain(struct athn_softc *sc, struct ieee80211_channel *c) in ar9003_reset_rx_gain()
3189 ar9003_reset_tx_gain(struct athn_softc *sc, struct ieee80211_channel *c) in ar9003_reset_tx_gain()
3207 ar9003_hw_init(struct athn_softc *sc, struct ieee80211_channel *c, in ar9003_hw_init()
3303 ar9003_get_lg_tpow(struct athn_softc *sc, struct ieee80211_channel *c, in ar9003_get_lg_tpow()
3335 ar9003_get_ht_tpow(struct athn_softc *sc, struct ieee80211_channel *c, in ar9003_get_ht_tpow()
3370 ar9003_set_noise_immunity_level(struct athn_softc *sc, int level) in ar9003_set_noise_immunity_level()
3391 ar9003_enable_ofdm_weak_signal(struct athn_softc *sc) in ar9003_enable_ofdm_weak_signal()
3420 ar9003_disable_ofdm_weak_signal(struct athn_softc *sc) in ar9003_disable_ofdm_weak_signal()
3449 ar9003_set_cck_weak_signal(struct athn_softc *sc, int high) in ar9003_set_cck_weak_signal()
3460 ar9003_set_firstep_level(struct athn_softc *sc, int level) in ar9003_set_firstep_level()
3471 ar9003_set_spur_immunity_level(struct athn_softc *sc, int level) in ar9003_set_spur_immunity_level()