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,
182 ar9003_attach(struct athn_softc *sc)
254 ar9003_read_eep_word(struct athn_softc *sc, uint32_t addr, uint16_t *val)
278 ar9003_read_eep_data(struct athn_softc *sc, uint32_t addr, void *buf, int len)
316 ar9003_read_otp_word(struct athn_softc *sc, uint32_t addr, uint32_t *val)
338 ar9003_read_otp_data(struct athn_softc *sc, uint32_t addr, void *buf, int len)
358 ar9003_find_rom(struct athn_softc *sc)
398 ar9003_restore_rom_block(struct athn_softc *sc, uint8_t alg, uint8_t ref,
450 ar9003_read_rom(struct athn_softc *sc)
524 ar9003_gpio_read(struct athn_softc *sc, int pin)
533 ar9003_gpio_write(struct athn_softc *sc, int pin, int set)
548 ar9003_gpio_config_input(struct athn_softc
560 ar9003_gpio_config_output(struct athn_softc *sc, int pin, int type)
581 ar9003_rfsilent_init(struct athn_softc *sc)
600 ar9003_dma_alloc(struct athn_softc *sc)
620 ar9003_dma_free(struct athn_softc *sc)
629 ar9003_tx_alloc(struct athn_softc *sc)
713 ar9003_tx_free(struct athn_softc *sc)
747 ar9003_rx_alloc(struct athn_softc *sc, int qid, int count)
803 ar9003_rx_free(struct athn_softc *sc, int qid)
822 ar9003_reset_txsring(struct athn_softc *sc)
835 ar9003_rx_enable(struct athn_softc *sc)
875 ar9003_rx_radiotap(struct athn_softc *sc, struct mbuf *m,
934 ar9003_rx_process(struct athn_softc *sc, int qid)
1090 ar9003_rx_intr(struct athn_softc *sc, int qid)
1098 ar9003_tx_process(struct athn_softc *sc)
1187 ar9003_tx_intr(struct athn_softc *sc)
1210 ar9003_swba_intr(struct athn_softc *sc)
1344 ar9003_get_intr_status(struct athn_softc *sc, uint32_t *intrp, uint32_t *syncp)
1371 ar9003_intr_status(struct athn_softc *sc)
1379 ar9003_intr(struct athn_softc *sc)
1457 ar9003_tx(struct athn_softc *sc, struct mbuf *m, struct ieee80211_node *ni,
1857 ar9003_set_rf_mode(struct athn_softc *sc, struct ieee80211_channel *c)
1872 ar9003_synth_delay(struct athn_softc *sc)
1885 ar9003_rf_bus_request(struct athn_softc *sc)
1901 ar9003_rf_bus_release(struct athn_softc *sc)
1912 ar9003_set_phy(struct athn_softc *sc, struct ieee80211_channel *c,
1942 ar9003_set_delta_slope(struct athn_softc *sc, struct ieee80211_channel *c,
1970 ar9003_enable_antenna_diversity(struct athn_softc *sc)
1978 ar9003_init_baseband(struct athn_softc *sc)
1990 ar9003_disable_phy(struct athn_softc *sc)
1997 ar9003_init_chains(struct athn_softc *sc)
2019 ar9003_set_rxchains(struct athn_softc *sc)
2030 ar9003_read_noisefloor(struct athn_softc *sc, int16_t *nf, int16_t *nf_ext)
2052 ar9003_write_noisefloor(struct athn_softc *sc, int16_t *nf, int16_t *nf_ext)
2072 ar9003_get_noisefloor(struct athn_softc *sc, struct ieee80211_channel *c)
2114 ar9003_bb_load_noisefloor(struct athn_softc *sc)
2150 ar9300_noisefloor_calib(struct athn_softc *sc)
2160 ar9003_do_noisefloor_calib(struct athn_softc *sc)
2167 ar9003_init_calib(struct athn_softc *sc)
2212 ar9003_do_calib(struct athn_softc *sc)
2234 ar9003_next_calib(struct athn_softc *sc)
2246 ar9003_calib_iq(struct athn_softc *sc)
2313 ar9003_get_iq_corr(struct athn_softc *sc, int32_t res[6], int32_t coeff[2])
2433 ar9003_calib_tx_iq(struct athn_softc *sc)
2519 ar9003_paprd_calib(struct athn_softc *sc, struct ieee80211_channel *c)
2637 ar9003_get_desired_txgain(struct athn_softc *sc, int chain, int pow)
2671 ar9003_force_txgain(struct athn_softc *sc, uint32_t txgain)
2702 ar9003_set_training_gain(struct athn_softc *sc, int chain)
2720 ar9003_paprd_tx_tone(struct athn_softc *sc)
2771 ar9003_compute_predistortion(struct athn_softc *sc, const uint32_t *lo,
3020 ar9003_enable_predistorter(struct athn_softc *sc, int chain)
3048 ar9003_paprd_enable(struct athn_softc *sc)
3062 ar9003_paprd_tx_tone_done(struct athn_softc *sc)
3100 ar9003_write_txpower(struct athn_softc *sc, int16_t power[ATHN_POWER_COUNT])
3171 ar9003_reset_rx_gain(struct athn_softc *sc, struct ieee80211_channel *c)
3189 ar9003_reset_tx_gain(struct athn_softc *sc, struct ieee80211_channel *c)
3207 ar9003_hw_init(struct athn_softc *sc, struct ieee80211_channel *c,
3303 ar9003_get_lg_tpow(struct athn_softc *sc, struct ieee80211_channel *c,
3335 ar9003_get_ht_tpow(struct athn_softc *sc, struct ieee80211_channel *c,
3370 ar9003_set_noise_immunity_level(struct athn_softc *sc, int level)
3391 ar9003_enable_ofdm_weak_signal(struct athn_softc *sc)
3420 ar9003_disable_ofdm_weak_signal(struct athn_softc *sc)
3449 ar9003_set_cck_weak_signal(struct athn_softc *sc, int high)
3460 ar9003_set_firstep_level(struct athn_softc *sc, int level)
3471 ar9003_set_spur_immunity_level(struct athn_softc *sc, int level)