Home
last modified time | relevance | path

Searched refs:ah (Results 1 - 25 of 510) sorted by relevance

12345678910>>...21

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dhw-ops.h24 static inline void ath9k_hw_configpcipowersave(struct ath_hw *ah, in ath9k_hw_configpcipowersave() argument
27 if (!ah->aspm_enabled) in ath9k_hw_configpcipowersave()
30 ath9k_hw_ops(ah)->config_pci_powersave(ah, power_off); in ath9k_hw_configpcipowersave()
33 static inline void ath9k_hw_rxena(struct ath_hw *ah) in ath9k_hw_rxena() argument
35 ath9k_hw_ops(ah)->rx_enable(ah); in ath9k_hw_rxena()
38 static inline void ath9k_hw_set_desc_link(struct ath_hw *ah, void *ds, in ath9k_hw_set_desc_link() argument
41 ath9k_hw_ops(ah)->set_desc_link(ds, link); in ath9k_hw_set_desc_link()
44 static inline int ath9k_hw_calibrate(struct ath_hw *ah, in ath9k_hw_calibrate() argument
51 ath9k_hw_getisr(struct ath_hw *ah, enum ath9k_int *masked, u32 *sync_cause_p) ath9k_hw_getisr() argument
57 ath9k_hw_set_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_info *i) ath9k_hw_set_txdesc() argument
63 ath9k_hw_txprocdesc(struct ath_hw *ah, void *ds, struct ath_tx_status *ts) ath9k_hw_txprocdesc() argument
69 ath9k_hw_get_duration(struct ath_hw *ah, const void *ds, int index) ath9k_hw_get_duration() argument
75 ath9k_hw_antdiv_comb_conf_get(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf) ath9k_hw_antdiv_comb_conf_get() argument
81 ath9k_hw_antdiv_comb_conf_set(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf) ath9k_hw_antdiv_comb_conf_set() argument
87 ath9k_hw_tx99_start(struct ath_hw *ah, u32 qnum) ath9k_hw_tx99_start() argument
92 ath9k_hw_tx99_stop(struct ath_hw *ah) ath9k_hw_tx99_stop() argument
97 ath9k_hw_tx99_set_txpower(struct ath_hw *ah, u8 power) ath9k_hw_tx99_set_txpower() argument
105 ath9k_hw_set_bt_ant_diversity(struct ath_hw *ah, bool enable) ath9k_hw_set_bt_ant_diversity() argument
111 ath9k_hw_is_aic_enabled(struct ath_hw *ah) ath9k_hw_is_aic_enabled() argument
123 ath9k_hw_init_hang_checks(struct ath_hw *ah) ath9k_hw_init_hang_checks() argument
128 ath9k_hw_detect_mac_hang(struct ath_hw *ah) ath9k_hw_detect_mac_hang() argument
133 ath9k_hw_detect_bb_hang(struct ath_hw *ah) ath9k_hw_detect_bb_hang() argument
140 ath9k_hw_rf_set_freq(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_rf_set_freq() argument
146 ath9k_hw_spur_mitigate_freq(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_spur_mitigate_freq() argument
152 ath9k_hw_set_rf_regs(struct ath_hw *ah, struct ath9k_channel *chan, u16 modesIndex) ath9k_hw_set_rf_regs() argument
162 ath9k_hw_init_bb(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_init_bb() argument
168 ath9k_hw_set_channel_regs(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_set_channel_regs() argument
174 ath9k_hw_process_ini(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_process_ini() argument
180 ath9k_olc_init(struct ath_hw *ah) ath9k_olc_init() argument
188 ath9k_hw_set_rfmode(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_set_rfmode() argument
194 ath9k_hw_mark_phy_inactive(struct ath_hw *ah) ath9k_hw_mark_phy_inactive() argument
199 ath9k_hw_set_delta_slope(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_set_delta_slope() argument
205 ath9k_hw_rfbus_req(struct ath_hw *ah) ath9k_hw_rfbus_req() argument
210 ath9k_hw_rfbus_done(struct ath_hw *ah) ath9k_hw_rfbus_done() argument
215 ath9k_hw_restore_chainmask(struct ath_hw *ah) ath9k_hw_restore_chainmask() argument
223 ath9k_hw_ani_control(struct ath_hw *ah, enum ath9k_ani_cmd cmd, int param) ath9k_hw_ani_control() argument
229 ath9k_hw_do_getnf(struct ath_hw *ah, int16_t nfarray[NUM_NF_READINGS]) ath9k_hw_do_getnf() argument
235 ath9k_hw_init_cal(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_init_cal() argument
241 ath9k_hw_setup_calibration(struct ath_hw *ah, struct ath9k_cal_list *currCal) ath9k_hw_setup_calibration() argument
247 ath9k_hw_fast_chan_change(struct ath_hw *ah, struct ath9k_channel *chan, u8 *ini_reloaded) ath9k_hw_fast_chan_change() argument
255 ath9k_hw_set_radar_params(struct ath_hw *ah) ath9k_hw_set_radar_params() argument
263 ath9k_hw_init_cal_settings(struct ath_hw *ah) ath9k_hw_init_cal_settings() argument
268 ath9k_hw_compute_pll_control(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_compute_pll_control() argument
274 ath9k_hw_init_mode_gain_regs(struct ath_hw *ah) ath9k_hw_init_mode_gain_regs() argument
282 ath9k_hw_ani_cache_ini_regs(struct ath_hw *ah) ath9k_hw_ani_cache_ini_regs() argument
[all...]
H A Dar9003_hw.c41 static void ar9003_hw_init_mode_regs(struct ath_hw *ah) in ar9003_hw_init_mode_regs() argument
43 if (AR_SREV_9330_11(ah)) { in ar9003_hw_init_mode_regs()
45 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
47 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
51 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
53 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
57 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
61 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
63 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
67 INIT_INI_ARRAY(&ah in ar9003_hw_init_mode_regs()
591 ar9003_tx_gain_table_mode0(struct ath_hw *ah) ar9003_tx_gain_table_mode0() argument
640 ar9003_tx_gain_table_mode1(struct ath_hw *ah) ar9003_tx_gain_table_mode1() argument
690 ar9003_tx_gain_table_mode2(struct ath_hw *ah) ar9003_tx_gain_table_mode2() argument
724 ar9003_tx_gain_table_mode3(struct ath_hw *ah) ar9003_tx_gain_table_mode3() argument
757 ar9003_tx_gain_table_mode4(struct ath_hw *ah) ar9003_tx_gain_table_mode4() argument
776 ar9003_tx_gain_table_mode5(struct ath_hw *ah) ar9003_tx_gain_table_mode5() argument
792 ar9003_tx_gain_table_mode6(struct ath_hw *ah) ar9003_tx_gain_table_mode6() argument
805 ar9003_tx_gain_table_mode7(struct ath_hw *ah) ar9003_tx_gain_table_mode7() argument
814 ar9003_tx_gain_table_apply(struct ath_hw *ah) ar9003_tx_gain_table_apply() argument
834 ar9003_rx_gain_table_mode0(struct ath_hw *ah) ar9003_rx_gain_table_mode0() argument
885 ar9003_rx_gain_table_mode1(struct ath_hw *ah) ar9003_rx_gain_table_mode1() argument
939 ar9003_rx_gain_table_mode2(struct ath_hw *ah) ar9003_rx_gain_table_mode2() argument
962 ar9003_rx_gain_table_mode3(struct ath_hw *ah) ar9003_rx_gain_table_mode3() argument
977 ar9003_rx_gain_table_apply(struct ath_hw *ah) ar9003_rx_gain_table_apply() argument
997 ar9003_hw_init_mode_gain_regs(struct ath_hw *ah) ar9003_hw_init_mode_gain_regs() argument
1012 ar9003_hw_configpcipowersave(struct ath_hw *ah, bool power_off) ar9003_hw_configpcipowersave() argument
1053 ar9003_hw_init_hang_checks(struct ath_hw *ah) ar9003_hw_init_hang_checks() argument
1098 ath9k_hw_verify_hang(struct ath_hw *ah, unsigned int queue) ath9k_hw_verify_hang() argument
1130 ar9003_hw_detect_mac_hang(struct ath_hw *ah) ar9003_hw_detect_mac_hang() argument
1174 ar9003_hw_attach_ops(struct ath_hw *ah) ar9003_hw_attach_ops() argument
[all...]
H A Dhw.c33 static bool ath9k_hw_set_reset_reg(struct ath_hw *ah, u32 type);
40 static void ath9k_hw_set_clockrate(struct ath_hw *ah) in ath9k_hw_set_clockrate() argument
42 struct ath_common *common = ath9k_hw_common(ah); in ath9k_hw_set_clockrate()
43 struct ath9k_channel *chan = ah->curchan; in ath9k_hw_set_clockrate()
47 if (AR_SREV_9287(ah) && AR_SREV_9287_13_OR_LATER(ah)) in ath9k_hw_set_clockrate()
53 else if (ah->caps.hw_caps & ATH9K_HW_CAP_FASTCLOCK) in ath9k_hw_set_clockrate()
70 static u32 ath9k_hw_mac_to_clks(struct ath_hw *ah, u32 usecs) in ath9k_hw_mac_to_clks() argument
72 struct ath_common *common = ath9k_hw_common(ah); in ath9k_hw_mac_to_clks()
77 bool ath9k_hw_wait(struct ath_hw *ah, u3 argument
98 ath9k_hw_synth_delay(struct ath_hw *ah, struct ath9k_channel *chan, int hw_delay) ath9k_hw_synth_delay() argument
111 ath9k_hw_write_array(struct ath_hw *ah, const struct ar5416IniArray *array, int column, unsigned int *writecnt) ath9k_hw_write_array() argument
125 ath9k_hw_read_array(struct ath_hw *ah, u32 array[][2], int size) ath9k_hw_read_array() argument
167 ath9k_hw_computetxtime(struct ath_hw *ah, u8 phy, int kbps, u32 frameLen, u16 rateix, bool shortPreamble) ath9k_hw_computetxtime() argument
222 ath9k_hw_get_channel_centers(struct ath_hw *ah, struct ath9k_channel *chan, struct chan_centers *centers) ath9k_hw_get_channel_centers() argument
255 ath9k_hw_read_revisions(struct ath_hw *ah) ath9k_hw_read_revisions() argument
326 ath9k_hw_disablepcie(struct ath_hw *ah) ath9k_hw_disablepcie() argument
345 ath9k_hw_chip_test(struct ath_hw *ah) ath9k_hw_chip_test() argument
395 ath9k_hw_init_config(struct ath_hw *ah) ath9k_hw_init_config() argument
455 ath9k_hw_init_defaults(struct ath_hw *ah) ath9k_hw_init_defaults() argument
487 ath9k_hw_init_macaddr(struct ath_hw *ah) ath9k_hw_init_macaddr() argument
517 ath9k_hw_post_init(struct ath_hw *ah) ath9k_hw_post_init() argument
558 ath9k_hw_attach_ops(struct ath_hw *ah) ath9k_hw_attach_ops() argument
568 __ath9k_hw_init(struct ath_hw *ah) __ath9k_hw_init() argument
664 ath9k_hw_init(struct ath_hw *ah) ath9k_hw_init() argument
715 ath9k_hw_init_qos(struct ath_hw *ah) ath9k_hw_init_qos() argument
736 ar9003_get_pll_sqsum_dvc(struct ath_hw *ah) ar9003_get_pll_sqsum_dvc() argument
761 ath9k_hw_init_pll(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_init_pll() argument
932 ath9k_hw_init_interrupt_masks(struct ath_hw *ah, enum nl80211_iftype opmode) ath9k_hw_init_interrupt_masks() argument
1006 ath9k_hw_set_sifs_time(struct ath_hw *ah, u32 us) ath9k_hw_set_sifs_time() argument
1013 ath9k_hw_setslottime(struct ath_hw *ah, u32 us) ath9k_hw_setslottime() argument
1020 ath9k_hw_set_ack_timeout(struct ath_hw *ah, u32 us) ath9k_hw_set_ack_timeout() argument
1027 ath9k_hw_set_cts_timeout(struct ath_hw *ah, u32 us) ath9k_hw_set_cts_timeout() argument
1034 ath9k_hw_set_global_txtimeout(struct ath_hw *ah, u32 tu) ath9k_hw_set_global_txtimeout() argument
1048 ath9k_hw_init_global_settings(struct ath_hw *ah) ath9k_hw_init_global_settings() argument
1162 ath9k_hw_deinit(struct ath_hw *ah) ath9k_hw_deinit() argument
1193 ath9k_hw_set_dma(struct ath_hw *ah) ath9k_hw_set_dma() argument
1267 ath9k_hw_set_operating_mode(struct ath_hw *ah, int opmode) ath9k_hw_set_operating_mode() argument
1298 ath9k_hw_get_delta_slope_vals(struct ath_hw *ah, u32 coef_scaled, u32 *coef_mantissa, u32 *coef_exponent) ath9k_hw_get_delta_slope_vals() argument
1320 ath9k_hw_ar9330_reset_war(struct ath_hw *ah, int type) ath9k_hw_ar9330_reset_war() argument
1351 ath9k_hw_set_reset(struct ath_hw *ah, int type) ath9k_hw_set_reset() argument
1444 ath9k_hw_set_reset_power_on(struct ath_hw *ah) ath9k_hw_set_reset_power_on() argument
1482 ath9k_hw_set_reset_reg(struct ath_hw *ah, u32 type) ath9k_hw_set_reset_reg() argument
1514 ath9k_hw_chip_reset(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_chip_reset() argument
1543 ath9k_hw_channel_change(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_channel_change() argument
1613 ath9k_hw_apply_gpio_override(struct ath_hw *ah) ath9k_hw_apply_gpio_override() argument
1628 ath9k_hw_check_nav(struct ath_hw *ah) ath9k_hw_check_nav() argument
1641 ath9k_hw_check_alive(struct ath_hw *ah) ath9k_hw_check_alive() argument
1681 ath9k_hw_init_mfp(struct ath_hw *ah) ath9k_hw_init_mfp() argument
1708 ath9k_hw_reset_opmode(struct ath_hw *ah, u32 macStaId1, u32 saveDefAntenna) ath9k_hw_reset_opmode() argument
1730 ath9k_hw_init_queues(struct ath_hw *ah) ath9k_hw_init_queues() argument
1749 ath9k_hw_init_desc(struct ath_hw *ah) ath9k_hw_init_desc() argument
1788 ath9k_hw_do_fastcc(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_do_fastcc() argument
1868 ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, struct ath9k_hw_cal_data *caldata, bool fastcc) ath9k_hw_reset() argument
2098 ath9k_set_power_sleep(struct ath_hw *ah) ath9k_set_power_sleep() argument
2139 ath9k_set_power_network_sleep(struct ath_hw *ah) ath9k_set_power_network_sleep() argument
2178 ath9k_hw_set_power_awake(struct ath_hw *ah) ath9k_hw_set_power_awake() argument
2231 ath9k_hw_setpower(struct ath_hw *ah, enum ath9k_power_mode mode) ath9k_hw_setpower() argument
2285 ath9k_hw_beaconinit(struct ath_hw *ah, u32 next_beacon, u32 beacon_period) ath9k_hw_beaconinit() argument
2323 ath9k_hw_set_sta_beacon_timers(struct ath_hw *ah, const struct ath9k_beacon_state *bs) ath9k_hw_set_sta_beacon_timers() argument
2417 ath9k_hw_dfs_tested(struct ath_hw *ah) ath9k_hw_dfs_tested() argument
2431 ath9k_gpio_cap_init(struct ath_hw *ah) ath9k_gpio_cap_init() argument
2486 ath9k_hw_fill_cap_info(struct ath_hw *ah) ath9k_hw_fill_cap_info() argument
2700 ath9k_hw_gpio_cfg_output_mux(struct ath_hw *ah, u32 gpio, u32 type) ath9k_hw_gpio_cfg_output_mux() argument
2729 ath9k_hw_gpio_cfg_soc(struct ath_hw *ah, u32 gpio, bool out, const char *label) ath9k_hw_gpio_cfg_soc() argument
2747 ath9k_hw_gpio_cfg_wmac(struct ath_hw *ah, u32 gpio, bool out, u32 ah_signal_type) ath9k_hw_gpio_cfg_wmac() argument
2773 ath9k_hw_gpio_request(struct ath_hw *ah, u32 gpio, bool out, const char *label, u32 ah_signal_type) ath9k_hw_gpio_request() argument
2786 ath9k_hw_gpio_request_in(struct ath_hw *ah, u32 gpio, const char *label) ath9k_hw_gpio_request_in() argument
2792 ath9k_hw_gpio_request_out(struct ath_hw *ah, u32 gpio, const char *label, u32 ah_signal_type) ath9k_hw_gpio_request_out() argument
2799 ath9k_hw_gpio_free(struct ath_hw *ah, u32 gpio) ath9k_hw_gpio_free() argument
2813 ath9k_hw_gpio_get(struct ath_hw *ah, u32 gpio) ath9k_hw_gpio_get() argument
2847 ath9k_hw_set_gpio(struct ath_hw *ah, u32 gpio, u32 val) ath9k_hw_set_gpio() argument
2869 ath9k_hw_setantenna(struct ath_hw *ah, u32 antenna) ath9k_hw_setantenna() argument
2879 ath9k_hw_getrxfilter(struct ath_hw *ah) ath9k_hw_getrxfilter() argument
2893 ath9k_hw_setrxfilter(struct ath_hw *ah, u32 bits) ath9k_hw_setrxfilter() argument
2917 ath9k_hw_phy_disable(struct ath_hw *ah) ath9k_hw_phy_disable() argument
2931 ath9k_hw_disable(struct ath_hw *ah) ath9k_hw_disable() argument
2944 get_antenna_gain(struct ath_hw *ah, struct ath9k_channel *chan) get_antenna_gain() argument
2956 ath9k_hw_apply_txpower(struct ath_hw *ah, struct ath9k_channel *chan, bool test) ath9k_hw_apply_txpower() argument
2978 ath9k_hw_set_txpowerlimit(struct ath_hw *ah, u32 limit, bool test) ath9k_hw_set_txpowerlimit() argument
2995 ath9k_hw_setopmode(struct ath_hw *ah) ath9k_hw_setopmode() argument
3001 ath9k_hw_setmcastfilter(struct ath_hw *ah, u32 filter0, u32 filter1) ath9k_hw_setmcastfilter() argument
3008 ath9k_hw_write_associd(struct ath_hw *ah) ath9k_hw_write_associd() argument
3020 ath9k_hw_gettsf64(struct ath_hw *ah) ath9k_hw_gettsf64() argument
3040 ath9k_hw_settsf64(struct ath_hw *ah, u64 tsf64) ath9k_hw_settsf64() argument
3047 ath9k_hw_reset_tsf(struct ath_hw *ah) ath9k_hw_reset_tsf() argument
3058 ath9k_hw_set_tsfadjust(struct ath_hw *ah, bool set) ath9k_hw_set_tsfadjust() argument
3067 ath9k_hw_set11nmac2040(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_set11nmac2040() argument
3110 ath9k_hw_gettsf32(struct ath_hw *ah) ath9k_hw_gettsf32() argument
3116 ath9k_hw_gen_timer_start_tsf2(struct ath_hw *ah) ath9k_hw_gen_timer_start_tsf2() argument
3126 ath_gen_timer_alloc(struct ath_hw *ah, void (*trigger)(void *), void (*overflow)(void *), void *arg, u8 timer_index) ath_gen_timer_alloc() argument
3163 ath9k_hw_gen_timer_start(struct ath_hw *ah, struct ath_gen_timer *timer, u32 timer_next, u32 timer_period) ath9k_hw_gen_timer_start() argument
3213 ath9k_hw_gen_timer_stop(struct ath_hw *ah, struct ath_gen_timer *timer) ath9k_hw_gen_timer_stop() argument
3245 ath_gen_timer_free(struct ath_hw *ah, struct ath_gen_timer *timer) ath_gen_timer_free() argument
3258 ath_gen_timer_isr(struct ath_hw *ah) ath_gen_timer_isr() argument
3367 ath9k_hw_name(struct ath_hw *ah, char *hw_name, size_t len) ath9k_hw_name() argument
[all...]
H A Dar9002_hw.c26 static int ar9002_hw_init_mode_regs(struct ath_hw *ah) in ar9002_hw_init_mode_regs() argument
28 if (AR_SREV_9271(ah)) { in ar9002_hw_init_mode_regs()
29 INIT_INI_ARRAY(&ah->iniModes, ar9271Modes_9271); in ar9002_hw_init_mode_regs()
30 INIT_INI_ARRAY(&ah->iniCommon, ar9271Common_9271); in ar9002_hw_init_mode_regs()
31 INIT_INI_ARRAY(&ah->iniModes_9271_ANI_reg, ar9271Modes_9271_ANI_reg); in ar9002_hw_init_mode_regs()
35 INIT_INI_ARRAY(&ah->iniPcieSerdes, in ar9002_hw_init_mode_regs()
38 if (AR_SREV_9287_11_OR_LATER(ah)) { in ar9002_hw_init_mode_regs()
39 INIT_INI_ARRAY(&ah->iniModes, ar9287Modes_9287_1_1); in ar9002_hw_init_mode_regs()
40 INIT_INI_ARRAY(&ah->iniCommon, ar9287Common_9287_1_1); in ar9002_hw_init_mode_regs()
41 } else if (AR_SREV_9285_12_OR_LATER(ah)) { in ar9002_hw_init_mode_regs()
107 ar9280_20_hw_init_rxgain_ini(struct ath_hw *ah) ar9280_20_hw_init_rxgain_ini() argument
129 ar9280_20_hw_init_txgain_ini(struct ath_hw *ah, u32 txgain_type) ar9280_20_hw_init_txgain_ini() argument
144 ar9271_hw_init_txgain_ini(struct ath_hw *ah, u32 txgain_type) ar9271_hw_init_txgain_ini() argument
154 ar9002_hw_init_mode_gain_regs(struct ath_hw *ah) ar9002_hw_init_mode_gain_regs() argument
202 ar9002_hw_configpcipowersave(struct ath_hw *ah, bool power_off) ar9002_hw_configpcipowersave() argument
324 ar9002_hw_get_radiorev(struct ath_hw *ah) ar9002_hw_get_radiorev() argument
343 ar9002_hw_rf_claim(struct ath_hw *ah) ar9002_hw_rf_claim() argument
371 ar9002_hw_enable_async_fifo(struct ath_hw *ah) ar9002_hw_enable_async_fifo() argument
384 ar9002_hw_init_hang_checks(struct ath_hw *ah) ar9002_hw_init_hang_checks() argument
399 ar9002_hw_attach_ops(struct ath_hw *ah) ar9002_hw_attach_ops() argument
426 ar9002_hw_load_ani_reg(struct ath_hw *ah, struct ath9k_channel *chan) ar9002_hw_load_ani_reg() argument
[all...]
H A Dar9003_mci.c24 static void ar9003_mci_reset_req_wakeup(struct ath_hw *ah) in ar9003_mci_reset_req_wakeup() argument
26 REG_RMW_FIELD(ah, AR_MCI_COMMAND2, in ar9003_mci_reset_req_wakeup()
29 REG_RMW_FIELD(ah, AR_MCI_COMMAND2, in ar9003_mci_reset_req_wakeup()
33 static int ar9003_mci_wait_for_interrupt(struct ath_hw *ah, u32 address, in ar9003_mci_wait_for_interrupt() argument
36 struct ath_common *common = ath9k_hw_common(ah); in ar9003_mci_wait_for_interrupt()
39 if (!(REG_READ(ah, address) & bit_position)) { in ar9003_mci_wait_for_interrupt()
48 REG_WRITE(ah, address, bit_position); in ar9003_mci_wait_for_interrupt()
54 ar9003_mci_reset_req_wakeup(ah); in ar9003_mci_wait_for_interrupt()
58 REG_WRITE(ah, AR_MCI_INTERRUPT_RAW, in ar9003_mci_wait_for_interrupt()
61 REG_WRITE(ah, AR_MCI_INTERRUPT_RA in ar9003_mci_wait_for_interrupt()
79 ar9003_mci_remote_reset(struct ath_hw *ah, bool wait_done) ar9003_mci_remote_reset() argument
88 ar9003_mci_send_lna_transfer(struct ath_hw *ah, bool wait_done) ar9003_mci_send_lna_transfer() argument
96 ar9003_mci_send_req_wake(struct ath_hw *ah, bool wait_done) ar9003_mci_send_req_wake() argument
103 ar9003_mci_send_sys_waking(struct ath_hw *ah, bool wait_done) ar9003_mci_send_sys_waking() argument
109 ar9003_mci_send_lna_take(struct ath_hw *ah, bool wait_done) ar9003_mci_send_lna_take() argument
117 ar9003_mci_send_sys_sleeping(struct ath_hw *ah, bool wait_done) ar9003_mci_send_sys_sleeping() argument
124 ar9003_mci_send_coex_version_query(struct ath_hw *ah, bool wait_done) ar9003_mci_send_coex_version_query() argument
139 ar9003_mci_send_coex_version_response(struct ath_hw *ah, bool wait_done) ar9003_mci_send_coex_version_response() argument
154 ar9003_mci_send_coex_wlan_channels(struct ath_hw *ah, bool wait_done) ar9003_mci_send_coex_wlan_channels() argument
170 ar9003_mci_send_coex_bt_status_query(struct ath_hw *ah, bool wait_done, u8 query_type) ar9003_mci_send_coex_bt_status_query() argument
201 ar9003_mci_send_coex_halt_bt_gpm(struct ath_hw *ah, bool halt, bool wait_done) ar9003_mci_send_coex_halt_bt_gpm() argument
224 ar9003_mci_prep_interface(struct ath_hw *ah) ar9003_mci_prep_interface() argument
321 ar9003_mci_set_full_sleep(struct ath_hw *ah) ar9003_mci_set_full_sleep() argument
334 ar9003_mci_disable_interrupt(struct ath_hw *ah) ar9003_mci_disable_interrupt() argument
340 ar9003_mci_enable_interrupt(struct ath_hw *ah) ar9003_mci_enable_interrupt() argument
347 ar9003_mci_check_int(struct ath_hw *ah, u32 ints) ar9003_mci_check_int() argument
355 ar9003_mci_get_interrupt(struct ath_hw *ah, u32 *raw_intr, u32 *rx_msg_intr) ar9003_mci_get_interrupt() argument
369 ar9003_mci_get_isr(struct ath_hw *ah, enum ath9k_int *masked) ar9003_mci_get_isr() argument
394 ar9003_mci_2g5g_changed(struct ath_hw *ah, bool is_2g) ar9003_mci_2g5g_changed() argument
405 ar9003_mci_is_gpm_valid(struct ath_hw *ah, u32 msg_index) ar9003_mci_is_gpm_valid() argument
425 ar9003_mci_observation_set_up(struct ath_hw *ah) ar9003_mci_observation_set_up() argument
478 ar9003_mci_send_coex_bt_flags(struct ath_hw *ah, bool wait_done, u8 opcode, u32 bt_flags) ar9003_mci_send_coex_bt_flags() argument
496 ar9003_mci_sync_bt_state(struct ath_hw *ah) ar9003_mci_sync_bt_state() argument
516 ar9003_mci_check_bt(struct ath_hw *ah) ar9003_mci_check_bt() argument
536 ar9003_mci_process_gpm_extra(struct ath_hw *ah, u8 gpm_type, u8 gpm_opcode, u32 *p_gpm) ar9003_mci_process_gpm_extra() argument
583 ar9003_mci_wait_for_gpm(struct ath_hw *ah, u8 gpm_type, u8 gpm_opcode, int time_out) ar9003_mci_wait_for_gpm() argument
692 ar9003_mci_start_reset(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_mci_start_reset() argument
732 ar9003_mci_end_reset(struct ath_hw *ah, struct ath9k_channel *chan, struct ath9k_hw_cal_data *caldata) ar9003_mci_end_reset() argument
786 ar9003_mci_mute_bt(struct ath_hw *ah) ar9003_mci_mute_bt() argument
814 ar9003_mci_osla_setup(struct ath_hw *ah, bool enable) ar9003_mci_osla_setup() argument
845 ar9003_mci_stat_setup(struct ath_hw *ah) ar9003_mci_stat_setup() argument
864 ar9003_mci_set_btcoex_ctrl_9565_1ANT(struct ath_hw *ah) ar9003_mci_set_btcoex_ctrl_9565_1ANT() argument
883 ar9003_mci_set_btcoex_ctrl_9565_2ANT(struct ath_hw *ah) ar9003_mci_set_btcoex_ctrl_9565_2ANT() argument
902 ar9003_mci_set_btcoex_ctrl_9462(struct ath_hw *ah) ar9003_mci_set_btcoex_ctrl_9462() argument
919 ar9003_mci_reset(struct ath_hw *ah, bool en_int, bool is_2g, bool is_full_sleep) ar9003_mci_reset() argument
1039 ar9003_mci_stop_bt(struct ath_hw *ah, bool save_fullsleep) ar9003_mci_stop_bt() argument
1055 ar9003_mci_send_2g5g_status(struct ath_hw *ah, bool wait_done) ar9003_mci_send_2g5g_status() argument
1081 ar9003_mci_queue_unsent_gpm(struct ath_hw *ah, u8 header, u32 *payload, bool queue) ar9003_mci_queue_unsent_gpm() argument
1130 ar9003_mci_2g5g_switch(struct ath_hw *ah, bool force) ar9003_mci_2g5g_switch() argument
1166 ar9003_mci_send_message(struct ath_hw *ah, u8 header, u32 flag, u32 *payload, u8 len, bool wait_done, bool check_bt) ar9003_mci_send_message() argument
1231 ar9003_mci_init_cal_req(struct ath_hw *ah, bool *is_reusable) ar9003_mci_init_cal_req() argument
1254 ar9003_mci_init_cal_done(struct ath_hw *ah) ar9003_mci_init_cal_done() argument
1268 ar9003_mci_setup(struct ath_hw *ah, u32 gpm_addr, void *gpm_buf, u16 len, u32 sched_addr) ar9003_mci_setup() argument
1282 ar9003_mci_cleanup(struct ath_hw *ah) ar9003_mci_cleanup() argument
1290 ar9003_mci_state(struct ath_hw *ah, u32 state_type) ar9003_mci_state() argument
1404 ar9003_mci_bt_gain_ctrl(struct ath_hw *ah) ar9003_mci_bt_gain_ctrl() argument
1423 ar9003_mci_set_power_awake(struct ath_hw *ah) ar9003_mci_set_power_awake() argument
1457 ar9003_mci_check_gpm_offset(struct ath_hw *ah) ar9003_mci_check_gpm_offset() argument
1476 ar9003_mci_get_next_gpm_offset(struct ath_hw *ah, u32 *more) ar9003_mci_get_next_gpm_offset() argument
1551 ar9003_mci_set_bt_version(struct ath_hw *ah, u8 major, u8 minor) ar9003_mci_set_bt_version() argument
1563 ar9003_mci_send_wlan_channels(struct ath_hw *ah) ar9003_mci_send_wlan_channels() argument
1572 ar9003_mci_get_max_txpower(struct ath_hw *ah, u8 ctlmode) ar9003_mci_get_max_txpower() argument
[all...]
H A Dar9002_calib.c31 static bool ar9002_hw_is_cal_supported(struct ath_hw *ah, in ar9002_hw_is_cal_supported() argument
36 switch (ah->supp_cals & cal_type) { in ar9002_hw_is_cal_supported()
50 static void ar9002_hw_setup_calibration(struct ath_hw *ah, in ar9002_hw_setup_calibration() argument
53 struct ath_common *common = ath9k_hw_common(ah); in ar9002_hw_setup_calibration()
55 REG_RMW_FIELD(ah, AR_PHY_TIMING_CTRL4(0), in ar9002_hw_setup_calibration()
61 REG_WRITE(ah, AR_PHY_CALMODE, AR_PHY_CALMODE_IQ); in ar9002_hw_setup_calibration()
66 REG_WRITE(ah, AR_PHY_CALMODE, AR_PHY_CALMODE_ADC_GAIN); in ar9002_hw_setup_calibration()
70 REG_WRITE(ah, AR_PHY_CALMODE, AR_PHY_CALMODE_ADC_DC_PER); in ar9002_hw_setup_calibration()
75 REG_SET_BIT(ah, AR_PHY_TIMING_CTRL4(0), in ar9002_hw_setup_calibration()
79 static bool ar9002_hw_per_calibration(struct ath_hw *ah, in ar9002_hw_per_calibration() argument
125 ar9002_hw_iqcal_collect(struct ath_hw *ah) ar9002_hw_iqcal_collect() argument
144 ar9002_hw_adc_gaincal_collect(struct ath_hw *ah) ar9002_hw_adc_gaincal_collect() argument
168 ar9002_hw_adc_dccal_collect(struct ath_hw *ah) ar9002_hw_adc_dccal_collect() argument
192 ar9002_hw_iqcalibrate(struct ath_hw *ah, u8 numChains) ar9002_hw_iqcalibrate() argument
269 ar9002_hw_adc_gaincal_calibrate(struct ath_hw *ah, u8 numChains) ar9002_hw_adc_gaincal_calibrate() argument
323 ar9002_hw_adc_dccal_calibrate(struct ath_hw *ah, u8 numChains) ar9002_hw_adc_dccal_calibrate() argument
377 ar9287_hw_olc_temp_compensation(struct ath_hw *ah) ar9287_hw_olc_temp_compensation() argument
407 ar9280_hw_olc_temp_compensation(struct ath_hw *ah) ar9280_hw_olc_temp_compensation() argument
437 ar9271_hw_pa_cal(struct ath_hw *ah, bool is_reset) ar9271_hw_pa_cal() argument
541 ar9285_hw_pa_cal(struct ath_hw *ah, bool is_reset) ar9285_hw_pa_cal() argument
645 ar9002_hw_pa_cal(struct ath_hw *ah, bool is_reset) ar9002_hw_pa_cal() argument
660 ar9002_hw_olc_temp_compensation(struct ath_hw *ah) ar9002_hw_olc_temp_compensation() argument
668 ar9002_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan, u8 rxchainmask, bool longcal) ar9002_hw_calibrate() argument
747 ar9285_hw_cl_cal(struct ath_hw *ah, struct ath9k_channel *chan) ar9285_hw_cl_cal() argument
789 ar9285_hw_clc(struct ath_hw *ah, struct ath9k_channel *chan) ar9285_hw_clc() argument
845 ar9002_hw_init_cal(struct ath_hw *ah, struct ath9k_channel *chan) ar9002_hw_init_cal() argument
980 ar9002_hw_init_cal_settings(struct ath_hw *ah) ar9002_hw_init_cal_settings() argument
1009 ar9002_hw_attach_calib_ops(struct ath_hw *ah) ar9002_hw_attach_calib_ops() argument
[all...]
H A Dar9003_phy.c126 * @ah: atheros hardware structure
149 static int ar9003_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) in ar9003_hw_set_channel() argument
156 ath9k_hw_get_channel_centers(ah, chan, &centers); in ar9003_hw_set_channel()
160 if (AR_SREV_9330(ah) || AR_SREV_9485(ah) || in ar9003_hw_set_channel()
161 AR_SREV_9531(ah) || AR_SREV_9550(ah) || in ar9003_hw_set_channel()
162 AR_SREV_9561(ah) || AR_SREV_9565(ah)) { in ar9003_hw_set_channel()
163 if (ah in ar9003_hw_set_channel()
238 ar9003_hw_spur_mitigate_mrc_cck(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_spur_mitigate_mrc_cck() argument
326 ar9003_hw_spur_ofdm_clear(struct ath_hw *ah) ar9003_hw_spur_ofdm_clear() argument
369 ar9003_hw_spur_ofdm(struct ath_hw *ah, int freq_offset, int spur_freq_sd, int spur_delta_phase, int spur_subchannel_sd, int range, int synth_freq) ar9003_hw_spur_ofdm() argument
436 ar9003_hw_spur_ofdm_9565(struct ath_hw *ah, int freq_offset) ar9003_hw_spur_ofdm_9565() argument
469 ar9003_hw_spur_ofdm_work(struct ath_hw *ah, struct ath9k_channel *chan, int freq_offset, int range, int synth_freq) ar9003_hw_spur_ofdm_work() argument
520 ar9003_hw_spur_mitigate_ofdm(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_spur_mitigate_ofdm() argument
577 ar9003_hw_spur_mitigate(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_spur_mitigate() argument
585 ar9003_hw_compute_pll_control_soc(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_compute_pll_control_soc() argument
602 ar9003_hw_compute_pll_control(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_compute_pll_control() argument
619 ar9003_hw_set_channel_regs(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_set_channel_regs() argument
659 ar9003_hw_init_bb(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_init_bb() argument
676 ar9003_hw_set_chain_masks(struct ath_hw *ah, u8 rx, u8 tx) ar9003_hw_set_chain_masks() argument
694 ar9003_hw_override_ini(struct ath_hw *ah) ar9003_hw_override_ini() argument
750 ar9003_hw_prog_ini(struct ath_hw *ah, struct ar5416IniArray *iniArr, int column) ar9003_hw_prog_ini() argument
778 ar9550_hw_get_modes_txgain_index(struct ath_hw *ah, struct ath9k_channel *chan) ar9550_hw_get_modes_txgain_index() argument
803 ar9561_hw_get_modes_txgain_index(struct ath_hw *ah, struct ath9k_channel *chan) ar9561_hw_get_modes_txgain_index() argument
816 ar9003_doubler_fix(struct ath_hw *ah) ar9003_doubler_fix() argument
864 ar9003_hw_process_ini(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_process_ini() argument
979 ar9003_hw_set_rfmode(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_set_rfmode() argument
1002 ar9003_hw_mark_phy_inactive(struct ath_hw *ah) ar9003_hw_mark_phy_inactive() argument
1007 ar9003_hw_set_delta_slope(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_set_delta_slope() argument
1054 ar9003_hw_rfbus_req(struct ath_hw *ah) ar9003_hw_rfbus_req() argument
1065 ar9003_hw_rfbus_done(struct ath_hw *ah) ar9003_hw_rfbus_done() argument
1074 ar9003_hw_ani_control(struct ath_hw *ah, enum ath9k_ani_cmd cmd, int param) ar9003_hw_ani_control() argument
1348 ar9003_hw_do_getnf(struct ath_hw *ah, int16_t nfarray[NUM_NF_READINGS]) ar9003_hw_do_getnf() argument
1376 ar9003_hw_set_nf_limits(struct ath_hw *ah) ar9003_hw_set_nf_limits() argument
1401 ar9003_hw_ani_cache_ini_regs(struct ath_hw *ah) ar9003_hw_ani_cache_ini_regs() argument
1453 ar9003_hw_set_radar_params(struct ath_hw *ah, struct ath_hw_radar_conf *conf) ar9003_hw_set_radar_params() argument
1493 ar9003_hw_set_radar_conf(struct ath_hw *ah) ar9003_hw_set_radar_conf() argument
1507 ar9003_hw_antdiv_comb_conf_get(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf) ar9003_hw_antdiv_comb_conf_get() argument
1539 ar9003_hw_antdiv_comb_conf_set(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf) ar9003_hw_antdiv_comb_conf_set() argument
1566 ar9003_hw_set_bt_ant_diversity(struct ath_hw *ah, bool enable) ar9003_hw_set_bt_ant_diversity() argument
1676 ar9003_hw_fast_chan_change(struct ath_hw *ah, struct ath9k_channel *chan, u8 *ini_reloaded) ar9003_hw_fast_chan_change() argument
1742 ar9003_hw_spectral_scan_config(struct ath_hw *ah, struct ath_spec_scan *param) ar9003_hw_spectral_scan_config() argument
1783 ar9003_hw_spectral_scan_trigger(struct ath_hw *ah) ar9003_hw_spectral_scan_trigger() argument
1792 ar9003_hw_spectral_scan_wait(struct ath_hw *ah) ar9003_hw_spectral_scan_wait() argument
1805 ar9003_hw_tx99_start(struct ath_hw *ah, u32 qnum) ar9003_hw_tx99_start() argument
1818 ar9003_hw_tx99_stop(struct ath_hw *ah) ar9003_hw_tx99_stop() argument
1824 ar9003_hw_tx99_set_txpower(struct ath_hw *ah, u8 txpower) ar9003_hw_tx99_set_txpower() argument
1836 ar9003_hw_init_txpower_cck(struct ath_hw *ah, u8 *rate_array) ar9003_hw_init_txpower_cck() argument
1846 ar9003_hw_init_txpower_ofdm(struct ath_hw *ah, u8 *rate_array, int offset) ar9003_hw_init_txpower_ofdm() argument
1858 ar9003_hw_init_txpower_ht(struct ath_hw *ah, u8 *rate_array, int ss_offset, int ds_offset, int ts_offset, bool is_40) ar9003_hw_init_txpower_ht() argument
1884 ar9003_hw_init_txpower_stbc(struct ath_hw *ah, int ss_offset, int ds_offset, int ts_offset) ar9003_hw_init_txpower_stbc() argument
1895 ar9003_hw_init_rate_txpower(struct ath_hw *ah, u8 *rate_array, struct ath9k_channel *chan) ar9003_hw_init_rate_txpower() argument
1930 ar9003_hw_attach_phy_ops(struct ath_hw *ah) ar9003_hw_attach_phy_ops() argument
2010 ar9003_hw_bb_watchdog_check(struct ath_hw *ah) ar9003_hw_bb_watchdog_check() argument
2047 ar9003_hw_bb_watchdog_config(struct ath_hw *ah) ar9003_hw_bb_watchdog_config() argument
2106 ar9003_hw_bb_watchdog_read(struct ath_hw *ah) ar9003_hw_bb_watchdog_read() argument
2122 ar9003_hw_bb_watchdog_dbg_info(struct ath_hw *ah) ar9003_hw_bb_watchdog_dbg_info() argument
2161 ar9003_hw_disable_phy_restart(struct ath_hw *ah) ar9003_hw_disable_phy_restart() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dhw-ops.h24 static inline void ath9k_hw_configpcipowersave(struct ath_hw *ah, in ath9k_hw_configpcipowersave() argument
27 if (!ah->aspm_enabled) in ath9k_hw_configpcipowersave()
30 ath9k_hw_ops(ah)->config_pci_powersave(ah, power_off); in ath9k_hw_configpcipowersave()
33 static inline void ath9k_hw_rxena(struct ath_hw *ah) in ath9k_hw_rxena() argument
35 ath9k_hw_ops(ah)->rx_enable(ah); in ath9k_hw_rxena()
38 static inline void ath9k_hw_set_desc_link(struct ath_hw *ah, void *ds, in ath9k_hw_set_desc_link() argument
41 ath9k_hw_ops(ah)->set_desc_link(ds, link); in ath9k_hw_set_desc_link()
44 static inline int ath9k_hw_calibrate(struct ath_hw *ah, in ath9k_hw_calibrate() argument
51 ath9k_hw_getisr(struct ath_hw *ah, enum ath9k_int *masked, u32 *sync_cause_p) ath9k_hw_getisr() argument
57 ath9k_hw_set_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_info *i) ath9k_hw_set_txdesc() argument
63 ath9k_hw_txprocdesc(struct ath_hw *ah, void *ds, struct ath_tx_status *ts) ath9k_hw_txprocdesc() argument
69 ath9k_hw_get_duration(struct ath_hw *ah, const void *ds, int index) ath9k_hw_get_duration() argument
75 ath9k_hw_antdiv_comb_conf_get(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf) ath9k_hw_antdiv_comb_conf_get() argument
81 ath9k_hw_antdiv_comb_conf_set(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf) ath9k_hw_antdiv_comb_conf_set() argument
87 ath9k_hw_tx99_start(struct ath_hw *ah, u32 qnum) ath9k_hw_tx99_start() argument
92 ath9k_hw_tx99_stop(struct ath_hw *ah) ath9k_hw_tx99_stop() argument
97 ath9k_hw_tx99_set_txpower(struct ath_hw *ah, u8 power) ath9k_hw_tx99_set_txpower() argument
105 ath9k_hw_set_bt_ant_diversity(struct ath_hw *ah, bool enable) ath9k_hw_set_bt_ant_diversity() argument
111 ath9k_hw_is_aic_enabled(struct ath_hw *ah) ath9k_hw_is_aic_enabled() argument
123 ath9k_hw_init_hang_checks(struct ath_hw *ah) ath9k_hw_init_hang_checks() argument
128 ath9k_hw_detect_mac_hang(struct ath_hw *ah) ath9k_hw_detect_mac_hang() argument
133 ath9k_hw_detect_bb_hang(struct ath_hw *ah) ath9k_hw_detect_bb_hang() argument
140 ath9k_hw_rf_set_freq(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_rf_set_freq() argument
146 ath9k_hw_spur_mitigate_freq(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_spur_mitigate_freq() argument
152 ath9k_hw_set_rf_regs(struct ath_hw *ah, struct ath9k_channel *chan, u16 modesIndex) ath9k_hw_set_rf_regs() argument
162 ath9k_hw_init_bb(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_init_bb() argument
168 ath9k_hw_set_channel_regs(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_set_channel_regs() argument
174 ath9k_hw_process_ini(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_process_ini() argument
180 ath9k_olc_init(struct ath_hw *ah) ath9k_olc_init() argument
188 ath9k_hw_set_rfmode(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_set_rfmode() argument
194 ath9k_hw_mark_phy_inactive(struct ath_hw *ah) ath9k_hw_mark_phy_inactive() argument
199 ath9k_hw_set_delta_slope(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_set_delta_slope() argument
205 ath9k_hw_rfbus_req(struct ath_hw *ah) ath9k_hw_rfbus_req() argument
210 ath9k_hw_rfbus_done(struct ath_hw *ah) ath9k_hw_rfbus_done() argument
215 ath9k_hw_restore_chainmask(struct ath_hw *ah) ath9k_hw_restore_chainmask() argument
223 ath9k_hw_ani_control(struct ath_hw *ah, enum ath9k_ani_cmd cmd, int param) ath9k_hw_ani_control() argument
229 ath9k_hw_do_getnf(struct ath_hw *ah, int16_t nfarray[NUM_NF_READINGS]) ath9k_hw_do_getnf() argument
235 ath9k_hw_init_cal(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_init_cal() argument
241 ath9k_hw_setup_calibration(struct ath_hw *ah, struct ath9k_cal_list *currCal) ath9k_hw_setup_calibration() argument
247 ath9k_hw_fast_chan_change(struct ath_hw *ah, struct ath9k_channel *chan, u8 *ini_reloaded) ath9k_hw_fast_chan_change() argument
255 ath9k_hw_set_radar_params(struct ath_hw *ah) ath9k_hw_set_radar_params() argument
263 ath9k_hw_init_cal_settings(struct ath_hw *ah) ath9k_hw_init_cal_settings() argument
268 ath9k_hw_compute_pll_control(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_compute_pll_control() argument
274 ath9k_hw_init_mode_gain_regs(struct ath_hw *ah) ath9k_hw_init_mode_gain_regs() argument
282 ath9k_hw_ani_cache_ini_regs(struct ath_hw *ah) ath9k_hw_ani_cache_ini_regs() argument
[all...]
H A Dar9003_hw.c41 static void ar9003_hw_init_mode_regs(struct ath_hw *ah) in ar9003_hw_init_mode_regs() argument
43 if (AR_SREV_9330_11(ah)) { in ar9003_hw_init_mode_regs()
45 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
47 INIT_INI_ARRAY(&ah->iniMac[ATH_INI_POST], in ar9003_hw_init_mode_regs()
51 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
53 INIT_INI_ARRAY(&ah->iniBB[ATH_INI_POST], in ar9003_hw_init_mode_regs()
57 INIT_INI_ARRAY(&ah->iniRadio[ATH_INI_CORE], in ar9003_hw_init_mode_regs()
61 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_PRE], in ar9003_hw_init_mode_regs()
63 INIT_INI_ARRAY(&ah->iniSOC[ATH_INI_POST], in ar9003_hw_init_mode_regs()
67 INIT_INI_ARRAY(&ah in ar9003_hw_init_mode_regs()
591 ar9003_tx_gain_table_mode0(struct ath_hw *ah) ar9003_tx_gain_table_mode0() argument
640 ar9003_tx_gain_table_mode1(struct ath_hw *ah) ar9003_tx_gain_table_mode1() argument
690 ar9003_tx_gain_table_mode2(struct ath_hw *ah) ar9003_tx_gain_table_mode2() argument
724 ar9003_tx_gain_table_mode3(struct ath_hw *ah) ar9003_tx_gain_table_mode3() argument
757 ar9003_tx_gain_table_mode4(struct ath_hw *ah) ar9003_tx_gain_table_mode4() argument
776 ar9003_tx_gain_table_mode5(struct ath_hw *ah) ar9003_tx_gain_table_mode5() argument
792 ar9003_tx_gain_table_mode6(struct ath_hw *ah) ar9003_tx_gain_table_mode6() argument
805 ar9003_tx_gain_table_mode7(struct ath_hw *ah) ar9003_tx_gain_table_mode7() argument
814 ar9003_tx_gain_table_apply(struct ath_hw *ah) ar9003_tx_gain_table_apply() argument
834 ar9003_rx_gain_table_mode0(struct ath_hw *ah) ar9003_rx_gain_table_mode0() argument
885 ar9003_rx_gain_table_mode1(struct ath_hw *ah) ar9003_rx_gain_table_mode1() argument
939 ar9003_rx_gain_table_mode2(struct ath_hw *ah) ar9003_rx_gain_table_mode2() argument
962 ar9003_rx_gain_table_mode3(struct ath_hw *ah) ar9003_rx_gain_table_mode3() argument
977 ar9003_rx_gain_table_apply(struct ath_hw *ah) ar9003_rx_gain_table_apply() argument
997 ar9003_hw_init_mode_gain_regs(struct ath_hw *ah) ar9003_hw_init_mode_gain_regs() argument
1012 ar9003_hw_configpcipowersave(struct ath_hw *ah, bool power_off) ar9003_hw_configpcipowersave() argument
1053 ar9003_hw_init_hang_checks(struct ath_hw *ah) ar9003_hw_init_hang_checks() argument
1098 ath9k_hw_verify_hang(struct ath_hw *ah, unsigned int queue) ath9k_hw_verify_hang() argument
1130 ar9003_hw_detect_mac_hang(struct ath_hw *ah) ar9003_hw_detect_mac_hang() argument
1174 ar9003_hw_attach_ops(struct ath_hw *ah) ar9003_hw_attach_ops() argument
[all...]
H A Dhw.c33 static bool ath9k_hw_set_reset_reg(struct ath_hw *ah, u32 type);
39 static void ath9k_hw_set_clockrate(struct ath_hw *ah) in ath9k_hw_set_clockrate() argument
41 struct ath_common *common = ath9k_hw_common(ah); in ath9k_hw_set_clockrate()
42 struct ath9k_channel *chan = ah->curchan; in ath9k_hw_set_clockrate()
46 if (AR_SREV_9287(ah) && AR_SREV_9287_13_OR_LATER(ah)) in ath9k_hw_set_clockrate()
52 else if (ah->caps.hw_caps & ATH9K_HW_CAP_FASTCLOCK) in ath9k_hw_set_clockrate()
69 static u32 ath9k_hw_mac_to_clks(struct ath_hw *ah, u32 usecs) in ath9k_hw_mac_to_clks() argument
71 struct ath_common *common = ath9k_hw_common(ah); in ath9k_hw_mac_to_clks()
76 bool ath9k_hw_wait(struct ath_hw *ah, u3 argument
97 ath9k_hw_synth_delay(struct ath_hw *ah, struct ath9k_channel *chan, int hw_delay) ath9k_hw_synth_delay() argument
110 ath9k_hw_write_array(struct ath_hw *ah, const struct ar5416IniArray *array, int column, unsigned int *writecnt) ath9k_hw_write_array() argument
124 ath9k_hw_read_array(struct ath_hw *ah, u32 array[][2], int size) ath9k_hw_read_array() argument
166 ath9k_hw_computetxtime(struct ath_hw *ah, u8 phy, int kbps, u32 frameLen, u16 rateix, bool shortPreamble) ath9k_hw_computetxtime() argument
221 ath9k_hw_get_channel_centers(struct ath_hw *ah, struct ath9k_channel *chan, struct chan_centers *centers) ath9k_hw_get_channel_centers() argument
254 ath9k_hw_read_revisions(struct ath_hw *ah) ath9k_hw_read_revisions() argument
325 ath9k_hw_disablepcie(struct ath_hw *ah) ath9k_hw_disablepcie() argument
344 ath9k_hw_chip_test(struct ath_hw *ah) ath9k_hw_chip_test() argument
394 ath9k_hw_init_config(struct ath_hw *ah) ath9k_hw_init_config() argument
454 ath9k_hw_init_defaults(struct ath_hw *ah) ath9k_hw_init_defaults() argument
486 ath9k_hw_init_macaddr(struct ath_hw *ah) ath9k_hw_init_macaddr() argument
516 ath9k_hw_post_init(struct ath_hw *ah) ath9k_hw_post_init() argument
557 ath9k_hw_attach_ops(struct ath_hw *ah) ath9k_hw_attach_ops() argument
567 __ath9k_hw_init(struct ath_hw *ah) __ath9k_hw_init() argument
663 ath9k_hw_init(struct ath_hw *ah) ath9k_hw_init() argument
714 ath9k_hw_init_qos(struct ath_hw *ah) ath9k_hw_init_qos() argument
735 ar9003_get_pll_sqsum_dvc(struct ath_hw *ah) ar9003_get_pll_sqsum_dvc() argument
760 ath9k_hw_init_pll(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_init_pll() argument
931 ath9k_hw_init_interrupt_masks(struct ath_hw *ah, enum nl80211_iftype opmode) ath9k_hw_init_interrupt_masks() argument
1005 ath9k_hw_set_sifs_time(struct ath_hw *ah, u32 us) ath9k_hw_set_sifs_time() argument
1012 ath9k_hw_setslottime(struct ath_hw *ah, u32 us) ath9k_hw_setslottime() argument
1019 ath9k_hw_set_ack_timeout(struct ath_hw *ah, u32 us) ath9k_hw_set_ack_timeout() argument
1026 ath9k_hw_set_cts_timeout(struct ath_hw *ah, u32 us) ath9k_hw_set_cts_timeout() argument
1033 ath9k_hw_set_global_txtimeout(struct ath_hw *ah, u32 tu) ath9k_hw_set_global_txtimeout() argument
1047 ath9k_hw_init_global_settings(struct ath_hw *ah) ath9k_hw_init_global_settings() argument
1161 ath9k_hw_deinit(struct ath_hw *ah) ath9k_hw_deinit() argument
1192 ath9k_hw_set_dma(struct ath_hw *ah) ath9k_hw_set_dma() argument
1266 ath9k_hw_set_operating_mode(struct ath_hw *ah, int opmode) ath9k_hw_set_operating_mode() argument
1297 ath9k_hw_get_delta_slope_vals(struct ath_hw *ah, u32 coef_scaled, u32 *coef_mantissa, u32 *coef_exponent) ath9k_hw_get_delta_slope_vals() argument
1319 ath9k_hw_ar9330_reset_war(struct ath_hw *ah, int type) ath9k_hw_ar9330_reset_war() argument
1350 ath9k_hw_set_reset(struct ath_hw *ah, int type) ath9k_hw_set_reset() argument
1443 ath9k_hw_set_reset_power_on(struct ath_hw *ah) ath9k_hw_set_reset_power_on() argument
1481 ath9k_hw_set_reset_reg(struct ath_hw *ah, u32 type) ath9k_hw_set_reset_reg() argument
1513 ath9k_hw_chip_reset(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_chip_reset() argument
1542 ath9k_hw_channel_change(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_channel_change() argument
1612 ath9k_hw_apply_gpio_override(struct ath_hw *ah) ath9k_hw_apply_gpio_override() argument
1627 ath9k_hw_check_nav(struct ath_hw *ah) ath9k_hw_check_nav() argument
1640 ath9k_hw_check_alive(struct ath_hw *ah) ath9k_hw_check_alive() argument
1680 ath9k_hw_init_mfp(struct ath_hw *ah) ath9k_hw_init_mfp() argument
1707 ath9k_hw_reset_opmode(struct ath_hw *ah, u32 macStaId1, u32 saveDefAntenna) ath9k_hw_reset_opmode() argument
1729 ath9k_hw_init_queues(struct ath_hw *ah) ath9k_hw_init_queues() argument
1748 ath9k_hw_init_desc(struct ath_hw *ah) ath9k_hw_init_desc() argument
1787 ath9k_hw_do_fastcc(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_do_fastcc() argument
1867 ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, struct ath9k_hw_cal_data *caldata, bool fastcc) ath9k_hw_reset() argument
2097 ath9k_set_power_sleep(struct ath_hw *ah) ath9k_set_power_sleep() argument
2138 ath9k_set_power_network_sleep(struct ath_hw *ah) ath9k_set_power_network_sleep() argument
2177 ath9k_hw_set_power_awake(struct ath_hw *ah) ath9k_hw_set_power_awake() argument
2230 ath9k_hw_setpower(struct ath_hw *ah, enum ath9k_power_mode mode) ath9k_hw_setpower() argument
2284 ath9k_hw_beaconinit(struct ath_hw *ah, u32 next_beacon, u32 beacon_period) ath9k_hw_beaconinit() argument
2321 ath9k_hw_set_sta_beacon_timers(struct ath_hw *ah, const struct ath9k_beacon_state *bs) ath9k_hw_set_sta_beacon_timers() argument
2415 ath9k_hw_dfs_tested(struct ath_hw *ah) ath9k_hw_dfs_tested() argument
2429 ath9k_gpio_cap_init(struct ath_hw *ah) ath9k_gpio_cap_init() argument
2484 ath9k_hw_fill_cap_info(struct ath_hw *ah) ath9k_hw_fill_cap_info() argument
2698 ath9k_hw_gpio_cfg_output_mux(struct ath_hw *ah, u32 gpio, u32 type) ath9k_hw_gpio_cfg_output_mux() argument
2727 ath9k_hw_gpio_cfg_soc(struct ath_hw *ah, u32 gpio, bool out, const char *label) ath9k_hw_gpio_cfg_soc() argument
2745 ath9k_hw_gpio_cfg_wmac(struct ath_hw *ah, u32 gpio, bool out, u32 ah_signal_type) ath9k_hw_gpio_cfg_wmac() argument
2771 ath9k_hw_gpio_request(struct ath_hw *ah, u32 gpio, bool out, const char *label, u32 ah_signal_type) ath9k_hw_gpio_request() argument
2784 ath9k_hw_gpio_request_in(struct ath_hw *ah, u32 gpio, const char *label) ath9k_hw_gpio_request_in() argument
2790 ath9k_hw_gpio_request_out(struct ath_hw *ah, u32 gpio, const char *label, u32 ah_signal_type) ath9k_hw_gpio_request_out() argument
2797 ath9k_hw_gpio_free(struct ath_hw *ah, u32 gpio) ath9k_hw_gpio_free() argument
2811 ath9k_hw_gpio_get(struct ath_hw *ah, u32 gpio) ath9k_hw_gpio_get() argument
2845 ath9k_hw_set_gpio(struct ath_hw *ah, u32 gpio, u32 val) ath9k_hw_set_gpio() argument
2867 ath9k_hw_setantenna(struct ath_hw *ah, u32 antenna) ath9k_hw_setantenna() argument
2877 ath9k_hw_getrxfilter(struct ath_hw *ah) ath9k_hw_getrxfilter() argument
2891 ath9k_hw_setrxfilter(struct ath_hw *ah, u32 bits) ath9k_hw_setrxfilter() argument
2915 ath9k_hw_phy_disable(struct ath_hw *ah) ath9k_hw_phy_disable() argument
2929 ath9k_hw_disable(struct ath_hw *ah) ath9k_hw_disable() argument
2942 get_antenna_gain(struct ath_hw *ah, struct ath9k_channel *chan) get_antenna_gain() argument
2954 ath9k_hw_apply_txpower(struct ath_hw *ah, struct ath9k_channel *chan, bool test) ath9k_hw_apply_txpower() argument
2976 ath9k_hw_set_txpowerlimit(struct ath_hw *ah, u32 limit, bool test) ath9k_hw_set_txpowerlimit() argument
2993 ath9k_hw_setopmode(struct ath_hw *ah) ath9k_hw_setopmode() argument
2999 ath9k_hw_setmcastfilter(struct ath_hw *ah, u32 filter0, u32 filter1) ath9k_hw_setmcastfilter() argument
3006 ath9k_hw_write_associd(struct ath_hw *ah) ath9k_hw_write_associd() argument
3018 ath9k_hw_gettsf64(struct ath_hw *ah) ath9k_hw_gettsf64() argument
3038 ath9k_hw_settsf64(struct ath_hw *ah, u64 tsf64) ath9k_hw_settsf64() argument
3045 ath9k_hw_reset_tsf(struct ath_hw *ah) ath9k_hw_reset_tsf() argument
3056 ath9k_hw_set_tsfadjust(struct ath_hw *ah, bool set) ath9k_hw_set_tsfadjust() argument
3065 ath9k_hw_set11nmac2040(struct ath_hw *ah, struct ath9k_channel *chan) ath9k_hw_set11nmac2040() argument
3108 ath9k_hw_gettsf32(struct ath_hw *ah) ath9k_hw_gettsf32() argument
3114 ath9k_hw_gen_timer_start_tsf2(struct ath_hw *ah) ath9k_hw_gen_timer_start_tsf2() argument
3124 ath_gen_timer_alloc(struct ath_hw *ah, void (*trigger)(void *), void (*overflow)(void *), void *arg, u8 timer_index) ath_gen_timer_alloc() argument
3161 ath9k_hw_gen_timer_start(struct ath_hw *ah, struct ath_gen_timer *timer, u32 timer_next, u32 timer_period) ath9k_hw_gen_timer_start() argument
3211 ath9k_hw_gen_timer_stop(struct ath_hw *ah, struct ath_gen_timer *timer) ath9k_hw_gen_timer_stop() argument
3243 ath_gen_timer_free(struct ath_hw *ah, struct ath_gen_timer *timer) ath_gen_timer_free() argument
3256 ath_gen_timer_isr(struct ath_hw *ah) ath_gen_timer_isr() argument
3365 ath9k_hw_name(struct ath_hw *ah, char *hw_name, size_t len) ath9k_hw_name() argument
[all...]
H A Dar9002_hw.c26 static int ar9002_hw_init_mode_regs(struct ath_hw *ah) in ar9002_hw_init_mode_regs() argument
28 if (AR_SREV_9271(ah)) { in ar9002_hw_init_mode_regs()
29 INIT_INI_ARRAY(&ah->iniModes, ar9271Modes_9271); in ar9002_hw_init_mode_regs()
30 INIT_INI_ARRAY(&ah->iniCommon, ar9271Common_9271); in ar9002_hw_init_mode_regs()
31 INIT_INI_ARRAY(&ah->iniModes_9271_ANI_reg, ar9271Modes_9271_ANI_reg); in ar9002_hw_init_mode_regs()
35 INIT_INI_ARRAY(&ah->iniPcieSerdes, in ar9002_hw_init_mode_regs()
38 if (AR_SREV_9287_11_OR_LATER(ah)) { in ar9002_hw_init_mode_regs()
39 INIT_INI_ARRAY(&ah->iniModes, ar9287Modes_9287_1_1); in ar9002_hw_init_mode_regs()
40 INIT_INI_ARRAY(&ah->iniCommon, ar9287Common_9287_1_1); in ar9002_hw_init_mode_regs()
41 } else if (AR_SREV_9285_12_OR_LATER(ah)) { in ar9002_hw_init_mode_regs()
107 ar9280_20_hw_init_rxgain_ini(struct ath_hw *ah) ar9280_20_hw_init_rxgain_ini() argument
129 ar9280_20_hw_init_txgain_ini(struct ath_hw *ah, u32 txgain_type) ar9280_20_hw_init_txgain_ini() argument
144 ar9271_hw_init_txgain_ini(struct ath_hw *ah, u32 txgain_type) ar9271_hw_init_txgain_ini() argument
154 ar9002_hw_init_mode_gain_regs(struct ath_hw *ah) ar9002_hw_init_mode_gain_regs() argument
202 ar9002_hw_configpcipowersave(struct ath_hw *ah, bool power_off) ar9002_hw_configpcipowersave() argument
324 ar9002_hw_get_radiorev(struct ath_hw *ah) ar9002_hw_get_radiorev() argument
343 ar9002_hw_rf_claim(struct ath_hw *ah) ar9002_hw_rf_claim() argument
371 ar9002_hw_enable_async_fifo(struct ath_hw *ah) ar9002_hw_enable_async_fifo() argument
384 ar9002_hw_init_hang_checks(struct ath_hw *ah) ar9002_hw_init_hang_checks() argument
399 ar9002_hw_attach_ops(struct ath_hw *ah) ar9002_hw_attach_ops() argument
426 ar9002_hw_load_ani_reg(struct ath_hw *ah, struct ath9k_channel *chan) ar9002_hw_load_ani_reg() argument
[all...]
H A Dar9003_mci.c24 static void ar9003_mci_reset_req_wakeup(struct ath_hw *ah) in ar9003_mci_reset_req_wakeup() argument
26 REG_RMW_FIELD(ah, AR_MCI_COMMAND2, in ar9003_mci_reset_req_wakeup()
29 REG_RMW_FIELD(ah, AR_MCI_COMMAND2, in ar9003_mci_reset_req_wakeup()
33 static int ar9003_mci_wait_for_interrupt(struct ath_hw *ah, u32 address, in ar9003_mci_wait_for_interrupt() argument
36 struct ath_common *common = ath9k_hw_common(ah); in ar9003_mci_wait_for_interrupt()
39 if (!(REG_READ(ah, address) & bit_position)) { in ar9003_mci_wait_for_interrupt()
48 REG_WRITE(ah, address, bit_position); in ar9003_mci_wait_for_interrupt()
54 ar9003_mci_reset_req_wakeup(ah); in ar9003_mci_wait_for_interrupt()
58 REG_WRITE(ah, AR_MCI_INTERRUPT_RAW, in ar9003_mci_wait_for_interrupt()
61 REG_WRITE(ah, AR_MCI_INTERRUPT_RA in ar9003_mci_wait_for_interrupt()
79 ar9003_mci_remote_reset(struct ath_hw *ah, bool wait_done) ar9003_mci_remote_reset() argument
88 ar9003_mci_send_lna_transfer(struct ath_hw *ah, bool wait_done) ar9003_mci_send_lna_transfer() argument
96 ar9003_mci_send_req_wake(struct ath_hw *ah, bool wait_done) ar9003_mci_send_req_wake() argument
103 ar9003_mci_send_sys_waking(struct ath_hw *ah, bool wait_done) ar9003_mci_send_sys_waking() argument
109 ar9003_mci_send_lna_take(struct ath_hw *ah, bool wait_done) ar9003_mci_send_lna_take() argument
117 ar9003_mci_send_sys_sleeping(struct ath_hw *ah, bool wait_done) ar9003_mci_send_sys_sleeping() argument
124 ar9003_mci_send_coex_version_query(struct ath_hw *ah, bool wait_done) ar9003_mci_send_coex_version_query() argument
139 ar9003_mci_send_coex_version_response(struct ath_hw *ah, bool wait_done) ar9003_mci_send_coex_version_response() argument
154 ar9003_mci_send_coex_wlan_channels(struct ath_hw *ah, bool wait_done) ar9003_mci_send_coex_wlan_channels() argument
170 ar9003_mci_send_coex_bt_status_query(struct ath_hw *ah, bool wait_done, u8 query_type) ar9003_mci_send_coex_bt_status_query() argument
201 ar9003_mci_send_coex_halt_bt_gpm(struct ath_hw *ah, bool halt, bool wait_done) ar9003_mci_send_coex_halt_bt_gpm() argument
224 ar9003_mci_prep_interface(struct ath_hw *ah) ar9003_mci_prep_interface() argument
321 ar9003_mci_set_full_sleep(struct ath_hw *ah) ar9003_mci_set_full_sleep() argument
334 ar9003_mci_disable_interrupt(struct ath_hw *ah) ar9003_mci_disable_interrupt() argument
340 ar9003_mci_enable_interrupt(struct ath_hw *ah) ar9003_mci_enable_interrupt() argument
347 ar9003_mci_check_int(struct ath_hw *ah, u32 ints) ar9003_mci_check_int() argument
355 ar9003_mci_get_interrupt(struct ath_hw *ah, u32 *raw_intr, u32 *rx_msg_intr) ar9003_mci_get_interrupt() argument
369 ar9003_mci_get_isr(struct ath_hw *ah, enum ath9k_int *masked) ar9003_mci_get_isr() argument
394 ar9003_mci_2g5g_changed(struct ath_hw *ah, bool is_2g) ar9003_mci_2g5g_changed() argument
405 ar9003_mci_is_gpm_valid(struct ath_hw *ah, u32 msg_index) ar9003_mci_is_gpm_valid() argument
425 ar9003_mci_observation_set_up(struct ath_hw *ah) ar9003_mci_observation_set_up() argument
478 ar9003_mci_send_coex_bt_flags(struct ath_hw *ah, bool wait_done, u8 opcode, u32 bt_flags) ar9003_mci_send_coex_bt_flags() argument
496 ar9003_mci_sync_bt_state(struct ath_hw *ah) ar9003_mci_sync_bt_state() argument
516 ar9003_mci_check_bt(struct ath_hw *ah) ar9003_mci_check_bt() argument
536 ar9003_mci_process_gpm_extra(struct ath_hw *ah, u8 gpm_type, u8 gpm_opcode, u32 *p_gpm) ar9003_mci_process_gpm_extra() argument
583 ar9003_mci_wait_for_gpm(struct ath_hw *ah, u8 gpm_type, u8 gpm_opcode, int time_out) ar9003_mci_wait_for_gpm() argument
691 ar9003_mci_start_reset(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_mci_start_reset() argument
731 ar9003_mci_end_reset(struct ath_hw *ah, struct ath9k_channel *chan, struct ath9k_hw_cal_data *caldata) ar9003_mci_end_reset() argument
785 ar9003_mci_mute_bt(struct ath_hw *ah) ar9003_mci_mute_bt() argument
813 ar9003_mci_osla_setup(struct ath_hw *ah, bool enable) ar9003_mci_osla_setup() argument
844 ar9003_mci_stat_setup(struct ath_hw *ah) ar9003_mci_stat_setup() argument
863 ar9003_mci_set_btcoex_ctrl_9565_1ANT(struct ath_hw *ah) ar9003_mci_set_btcoex_ctrl_9565_1ANT() argument
882 ar9003_mci_set_btcoex_ctrl_9565_2ANT(struct ath_hw *ah) ar9003_mci_set_btcoex_ctrl_9565_2ANT() argument
901 ar9003_mci_set_btcoex_ctrl_9462(struct ath_hw *ah) ar9003_mci_set_btcoex_ctrl_9462() argument
918 ar9003_mci_reset(struct ath_hw *ah, bool en_int, bool is_2g, bool is_full_sleep) ar9003_mci_reset() argument
1038 ar9003_mci_stop_bt(struct ath_hw *ah, bool save_fullsleep) ar9003_mci_stop_bt() argument
1054 ar9003_mci_send_2g5g_status(struct ath_hw *ah, bool wait_done) ar9003_mci_send_2g5g_status() argument
1080 ar9003_mci_queue_unsent_gpm(struct ath_hw *ah, u8 header, u32 *payload, bool queue) ar9003_mci_queue_unsent_gpm() argument
1129 ar9003_mci_2g5g_switch(struct ath_hw *ah, bool force) ar9003_mci_2g5g_switch() argument
1165 ar9003_mci_send_message(struct ath_hw *ah, u8 header, u32 flag, u32 *payload, u8 len, bool wait_done, bool check_bt) ar9003_mci_send_message() argument
1230 ar9003_mci_init_cal_req(struct ath_hw *ah, bool *is_reusable) ar9003_mci_init_cal_req() argument
1253 ar9003_mci_init_cal_done(struct ath_hw *ah) ar9003_mci_init_cal_done() argument
1267 ar9003_mci_setup(struct ath_hw *ah, u32 gpm_addr, void *gpm_buf, u16 len, u32 sched_addr) ar9003_mci_setup() argument
1281 ar9003_mci_cleanup(struct ath_hw *ah) ar9003_mci_cleanup() argument
1289 ar9003_mci_state(struct ath_hw *ah, u32 state_type) ar9003_mci_state() argument
1403 ar9003_mci_bt_gain_ctrl(struct ath_hw *ah) ar9003_mci_bt_gain_ctrl() argument
1422 ar9003_mci_set_power_awake(struct ath_hw *ah) ar9003_mci_set_power_awake() argument
1456 ar9003_mci_check_gpm_offset(struct ath_hw *ah) ar9003_mci_check_gpm_offset() argument
1475 ar9003_mci_get_next_gpm_offset(struct ath_hw *ah, u32 *more) ar9003_mci_get_next_gpm_offset() argument
1550 ar9003_mci_set_bt_version(struct ath_hw *ah, u8 major, u8 minor) ar9003_mci_set_bt_version() argument
1562 ar9003_mci_send_wlan_channels(struct ath_hw *ah) ar9003_mci_send_wlan_channels() argument
1571 ar9003_mci_get_max_txpower(struct ath_hw *ah, u8 ctlmode) ar9003_mci_get_max_txpower() argument
[all...]
H A Dar9002_calib.c31 static bool ar9002_hw_is_cal_supported(struct ath_hw *ah, in ar9002_hw_is_cal_supported() argument
36 switch (ah->supp_cals & cal_type) { in ar9002_hw_is_cal_supported()
50 static void ar9002_hw_setup_calibration(struct ath_hw *ah, in ar9002_hw_setup_calibration() argument
53 struct ath_common *common = ath9k_hw_common(ah); in ar9002_hw_setup_calibration()
55 REG_RMW_FIELD(ah, AR_PHY_TIMING_CTRL4(0), in ar9002_hw_setup_calibration()
61 REG_WRITE(ah, AR_PHY_CALMODE, AR_PHY_CALMODE_IQ); in ar9002_hw_setup_calibration()
66 REG_WRITE(ah, AR_PHY_CALMODE, AR_PHY_CALMODE_ADC_GAIN); in ar9002_hw_setup_calibration()
70 REG_WRITE(ah, AR_PHY_CALMODE, AR_PHY_CALMODE_ADC_DC_PER); in ar9002_hw_setup_calibration()
75 REG_SET_BIT(ah, AR_PHY_TIMING_CTRL4(0), in ar9002_hw_setup_calibration()
79 static bool ar9002_hw_per_calibration(struct ath_hw *ah, in ar9002_hw_per_calibration() argument
125 ar9002_hw_iqcal_collect(struct ath_hw *ah) ar9002_hw_iqcal_collect() argument
144 ar9002_hw_adc_gaincal_collect(struct ath_hw *ah) ar9002_hw_adc_gaincal_collect() argument
168 ar9002_hw_adc_dccal_collect(struct ath_hw *ah) ar9002_hw_adc_dccal_collect() argument
192 ar9002_hw_iqcalibrate(struct ath_hw *ah, u8 numChains) ar9002_hw_iqcalibrate() argument
269 ar9002_hw_adc_gaincal_calibrate(struct ath_hw *ah, u8 numChains) ar9002_hw_adc_gaincal_calibrate() argument
323 ar9002_hw_adc_dccal_calibrate(struct ath_hw *ah, u8 numChains) ar9002_hw_adc_dccal_calibrate() argument
377 ar9287_hw_olc_temp_compensation(struct ath_hw *ah) ar9287_hw_olc_temp_compensation() argument
407 ar9280_hw_olc_temp_compensation(struct ath_hw *ah) ar9280_hw_olc_temp_compensation() argument
437 ar9271_hw_pa_cal(struct ath_hw *ah, bool is_reset) ar9271_hw_pa_cal() argument
541 ar9285_hw_pa_cal(struct ath_hw *ah, bool is_reset) ar9285_hw_pa_cal() argument
645 ar9002_hw_pa_cal(struct ath_hw *ah, bool is_reset) ar9002_hw_pa_cal() argument
660 ar9002_hw_olc_temp_compensation(struct ath_hw *ah) ar9002_hw_olc_temp_compensation() argument
668 ar9002_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan, u8 rxchainmask, bool longcal) ar9002_hw_calibrate() argument
747 ar9285_hw_cl_cal(struct ath_hw *ah, struct ath9k_channel *chan) ar9285_hw_cl_cal() argument
789 ar9285_hw_clc(struct ath_hw *ah, struct ath9k_channel *chan) ar9285_hw_clc() argument
845 ar9002_hw_init_cal(struct ath_hw *ah, struct ath9k_channel *chan) ar9002_hw_init_cal() argument
980 ar9002_hw_init_cal_settings(struct ath_hw *ah) ar9002_hw_init_cal_settings() argument
1009 ar9002_hw_attach_calib_ops(struct ath_hw *ah) ar9002_hw_attach_calib_ops() argument
[all...]
H A Dar9003_phy.c126 * @ah: atheros hardware structure
149 static int ar9003_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) in ar9003_hw_set_channel() argument
156 ath9k_hw_get_channel_centers(ah, chan, &centers); in ar9003_hw_set_channel()
160 if (AR_SREV_9330(ah) || AR_SREV_9485(ah) || in ar9003_hw_set_channel()
161 AR_SREV_9531(ah) || AR_SREV_9550(ah) || in ar9003_hw_set_channel()
162 AR_SREV_9561(ah) || AR_SREV_9565(ah)) { in ar9003_hw_set_channel()
163 if (ah in ar9003_hw_set_channel()
238 ar9003_hw_spur_mitigate_mrc_cck(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_spur_mitigate_mrc_cck() argument
326 ar9003_hw_spur_ofdm_clear(struct ath_hw *ah) ar9003_hw_spur_ofdm_clear() argument
369 ar9003_hw_spur_ofdm(struct ath_hw *ah, int freq_offset, int spur_freq_sd, int spur_delta_phase, int spur_subchannel_sd, int range, int synth_freq) ar9003_hw_spur_ofdm() argument
436 ar9003_hw_spur_ofdm_9565(struct ath_hw *ah, int freq_offset) ar9003_hw_spur_ofdm_9565() argument
469 ar9003_hw_spur_ofdm_work(struct ath_hw *ah, struct ath9k_channel *chan, int freq_offset, int range, int synth_freq) ar9003_hw_spur_ofdm_work() argument
520 ar9003_hw_spur_mitigate_ofdm(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_spur_mitigate_ofdm() argument
568 ar9003_hw_spur_mitigate(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_spur_mitigate() argument
576 ar9003_hw_compute_pll_control_soc(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_compute_pll_control_soc() argument
593 ar9003_hw_compute_pll_control(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_compute_pll_control() argument
610 ar9003_hw_set_channel_regs(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_set_channel_regs() argument
650 ar9003_hw_init_bb(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_init_bb() argument
667 ar9003_hw_set_chain_masks(struct ath_hw *ah, u8 rx, u8 tx) ar9003_hw_set_chain_masks() argument
685 ar9003_hw_override_ini(struct ath_hw *ah) ar9003_hw_override_ini() argument
741 ar9003_hw_prog_ini(struct ath_hw *ah, struct ar5416IniArray *iniArr, int column) ar9003_hw_prog_ini() argument
769 ar9550_hw_get_modes_txgain_index(struct ath_hw *ah, struct ath9k_channel *chan) ar9550_hw_get_modes_txgain_index() argument
794 ar9561_hw_get_modes_txgain_index(struct ath_hw *ah, struct ath9k_channel *chan) ar9561_hw_get_modes_txgain_index() argument
807 ar9003_doubler_fix(struct ath_hw *ah) ar9003_doubler_fix() argument
855 ar9003_hw_process_ini(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_process_ini() argument
970 ar9003_hw_set_rfmode(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_set_rfmode() argument
993 ar9003_hw_mark_phy_inactive(struct ath_hw *ah) ar9003_hw_mark_phy_inactive() argument
998 ar9003_hw_set_delta_slope(struct ath_hw *ah, struct ath9k_channel *chan) ar9003_hw_set_delta_slope() argument
1045 ar9003_hw_rfbus_req(struct ath_hw *ah) ar9003_hw_rfbus_req() argument
1056 ar9003_hw_rfbus_done(struct ath_hw *ah) ar9003_hw_rfbus_done() argument
1065 ar9003_hw_ani_control(struct ath_hw *ah, enum ath9k_ani_cmd cmd, int param) ar9003_hw_ani_control() argument
1339 ar9003_hw_do_getnf(struct ath_hw *ah, int16_t nfarray[NUM_NF_READINGS]) ar9003_hw_do_getnf() argument
1367 ar9003_hw_set_nf_limits(struct ath_hw *ah) ar9003_hw_set_nf_limits() argument
1392 ar9003_hw_ani_cache_ini_regs(struct ath_hw *ah) ar9003_hw_ani_cache_ini_regs() argument
1444 ar9003_hw_set_radar_params(struct ath_hw *ah, struct ath_hw_radar_conf *conf) ar9003_hw_set_radar_params() argument
1484 ar9003_hw_set_radar_conf(struct ath_hw *ah) ar9003_hw_set_radar_conf() argument
1498 ar9003_hw_antdiv_comb_conf_get(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf) ar9003_hw_antdiv_comb_conf_get() argument
1530 ar9003_hw_antdiv_comb_conf_set(struct ath_hw *ah, struct ath_hw_antcomb_conf *antconf) ar9003_hw_antdiv_comb_conf_set() argument
1557 ar9003_hw_set_bt_ant_diversity(struct ath_hw *ah, bool enable) ar9003_hw_set_bt_ant_diversity() argument
1667 ar9003_hw_fast_chan_change(struct ath_hw *ah, struct ath9k_channel *chan, u8 *ini_reloaded) ar9003_hw_fast_chan_change() argument
1733 ar9003_hw_spectral_scan_config(struct ath_hw *ah, struct ath_spec_scan *param) ar9003_hw_spectral_scan_config() argument
1774 ar9003_hw_spectral_scan_trigger(struct ath_hw *ah) ar9003_hw_spectral_scan_trigger() argument
1783 ar9003_hw_spectral_scan_wait(struct ath_hw *ah) ar9003_hw_spectral_scan_wait() argument
1796 ar9003_hw_tx99_start(struct ath_hw *ah, u32 qnum) ar9003_hw_tx99_start() argument
1809 ar9003_hw_tx99_stop(struct ath_hw *ah) ar9003_hw_tx99_stop() argument
1815 ar9003_hw_tx99_set_txpower(struct ath_hw *ah, u8 txpower) ar9003_hw_tx99_set_txpower() argument
1827 ar9003_hw_init_txpower_cck(struct ath_hw *ah, u8 *rate_array) ar9003_hw_init_txpower_cck() argument
1837 ar9003_hw_init_txpower_ofdm(struct ath_hw *ah, u8 *rate_array, int offset) ar9003_hw_init_txpower_ofdm() argument
1849 ar9003_hw_init_txpower_ht(struct ath_hw *ah, u8 *rate_array, int ss_offset, int ds_offset, int ts_offset, bool is_40) ar9003_hw_init_txpower_ht() argument
1875 ar9003_hw_init_txpower_stbc(struct ath_hw *ah, int ss_offset, int ds_offset, int ts_offset) ar9003_hw_init_txpower_stbc() argument
1886 ar9003_hw_init_rate_txpower(struct ath_hw *ah, u8 *rate_array, struct ath9k_channel *chan) ar9003_hw_init_rate_txpower() argument
1921 ar9003_hw_attach_phy_ops(struct ath_hw *ah) ar9003_hw_attach_phy_ops() argument
2001 ar9003_hw_bb_watchdog_check(struct ath_hw *ah) ar9003_hw_bb_watchdog_check() argument
2038 ar9003_hw_bb_watchdog_config(struct ath_hw *ah) ar9003_hw_bb_watchdog_config() argument
2097 ar9003_hw_bb_watchdog_read(struct ath_hw *ah) ar9003_hw_bb_watchdog_read() argument
2113 ar9003_hw_bb_watchdog_dbg_info(struct ath_hw *ah) ar9003_hw_bb_watchdog_dbg_info() argument
2152 ar9003_hw_disable_phy_restart(struct ath_hw *ah) ar9003_hw_disable_phy_restart() argument
[all...]
H A Dar9003_wow.c23 static void ath9k_hw_set_sta_powersave(struct ath_hw *ah) in ath9k_hw_set_sta_powersave() argument
25 if (!ath9k_hw_mci_is_enabled(ah)) in ath9k_hw_set_sta_powersave()
31 if (ar9003_mci_state(ah, MCI_STATE_GET_WLAN_PS_STATE) != MCI_PS_DISABLE) in ath9k_hw_set_sta_powersave()
34 REG_SET_BIT(ah, AR_STA_ID1, AR_STA_ID1_PWR_SAV); in ath9k_hw_set_sta_powersave()
37 static void ath9k_hw_set_powermode_wow_sleep(struct ath_hw *ah) in ath9k_hw_set_powermode_wow_sleep() argument
39 struct ath_common *common = ath9k_hw_common(ah); in ath9k_hw_set_powermode_wow_sleep()
41 ath9k_hw_set_sta_powersave(ah); in ath9k_hw_set_powermode_wow_sleep()
44 REG_WRITE(ah, AR_CR, AR_CR_RXD); in ath9k_hw_set_powermode_wow_sleep()
46 if (!ath9k_hw_wait(ah, AR_CR, AR_CR_RXE(ah), in ath9k_hw_set_powermode_wow_sleep()
67 ath9k_wow_create_keep_alive_pattern(struct ath_hw *ah) ath9k_wow_create_keep_alive_pattern() argument
121 ath9k_hw_wow_apply_pattern(struct ath_hw *ah, u8 *user_pattern, u8 *user_mask, int pattern_count, int pattern_len) ath9k_hw_wow_apply_pattern() argument
183 ath9k_hw_wow_wakeup(struct ath_hw *ah) ath9k_hw_wow_wakeup() argument
269 ath9k_hw_wow_set_arwr_reg(struct ath_hw *ah) ath9k_hw_wow_set_arwr_reg() argument
289 ath9k_hw_wow_enable(struct ath_hw *ah, u32 pattern_enable) ath9k_hw_wow_enable() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
H A Dattach.c33 * @ah: The &struct ath5k_hw
35 static int ath5k_hw_post(struct ath5k_hw *ah) in ath5k_hw_post() argument
54 init_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
58 ath5k_hw_reg_write(ah, var_pattern, cur_reg); in ath5k_hw_post()
59 cur_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
62 ATH5K_ERR(ah, "POST Failed !!!\n"); in ath5k_hw_post()
68 ath5k_hw_reg_write(ah, var_pattern, cur_reg); in ath5k_hw_post()
73 ath5k_hw_reg_write(ah, var_pattern, cur_reg); in ath5k_hw_post()
74 cur_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
77 ATH5K_ERR(ah, "POS in ath5k_hw_post()
104 ath5k_hw_init(struct ath5k_hw *ah) ath5k_hw_init() argument
350 ath5k_hw_deinit(struct ath5k_hw *ah) ath5k_hw_deinit() argument
[all...]
H A Dbase.c97 static int ath5k_reset(struct ath5k_hw *ah, struct ieee80211_channel *chan,
201 static inline u64 ath5k_extend_tsf(struct ath5k_hw *ah, u32 rstamp) in ath5k_extend_tsf() argument
203 u64 tsf = ath5k_hw_get_tsf64(ah); in ath5k_extend_tsf()
234 struct ath5k_hw *ah = (struct ath5k_hw *) hw_priv; in ath5k_ioread32() local
235 return ath5k_hw_reg_read(ah, reg_offset); in ath5k_ioread32()
240 struct ath5k_hw *ah = (struct ath5k_hw *) hw_priv; in ath5k_iowrite32() local
241 ath5k_hw_reg_write(ah, val, reg_offset); in ath5k_iowrite32()
257 struct ath5k_hw *ah = hw->priv; in ath5k_reg_notifier() local
258 struct ath_regulatory *regulatory = ath5k_hw_regulatory(ah); in ath5k_reg_notifier()
296 ath5k_setup_channels(struct ath5k_hw *ah, struc argument
344 ath5k_setup_rate_idx(struct ath5k_hw *ah, struct ieee80211_supported_band *b) ath5k_setup_rate_idx() argument
361 struct ath5k_hw *ah = hw->priv; ath5k_setup_bands() local
447 ath5k_chan_set(struct ath5k_hw *ah, struct cfg80211_chan_def *chandef) ath5k_chan_set() argument
519 ath5k_update_bssid_mask_and_opmode(struct ath5k_hw *ah, struct ieee80211_vif *vif) ath5k_update_bssid_mask_and_opmode() argument
576 ath5k_hw_to_driver_rix(struct ath5k_hw *ah, int hw_rix) ath5k_hw_to_driver_rix() argument
597 ath5k_rx_skb_alloc(struct ath5k_hw *ah, dma_addr_t *skb_addr) ath5k_rx_skb_alloc() argument
629 ath5k_rxbuf_setup(struct ath5k_hw *ah, struct ath5k_buf *bf) ath5k_rxbuf_setup() argument
732 ath5k_txbuf_setup(struct ath5k_hw *ah, struct ath5k_buf *bf, struct ath5k_txq *txq, int padsize, struct ieee80211_tx_control *control) ath5k_txbuf_setup() argument
853 ath5k_desc_alloc(struct ath5k_hw *ah) ath5k_desc_alloc() argument
918 ath5k_txbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf) ath5k_txbuf_free_skb() argument
932 ath5k_rxbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf) ath5k_rxbuf_free_skb() argument
948 ath5k_desc_free(struct ath5k_hw *ah) ath5k_desc_free() argument
974 ath5k_txq_setup(struct ath5k_hw *ah, int qtype, int subtype) ath5k_txq_setup() argument
1026 ath5k_beaconq_setup(struct ath5k_hw *ah) ath5k_beaconq_setup() argument
1042 ath5k_beaconq_config(struct ath5k_hw *ah) ath5k_beaconq_config() argument
1110 ath5k_drain_tx_buffs(struct ath5k_hw *ah) ath5k_drain_tx_buffs() argument
1139 ath5k_txq_release(struct ath5k_hw *ah) ath5k_txq_release() argument
1160 ath5k_rx_start(struct ath5k_hw *ah) ath5k_rx_start() argument
1201 ath5k_rx_stop(struct ath5k_hw *ah) ath5k_rx_stop() argument
1211 ath5k_rx_decrypted(struct ath5k_hw *ah, struct sk_buff *skb, struct ath5k_rx_status *rs) ath5k_rx_decrypted() argument
1240 ath5k_check_ibss_tsf(struct ath5k_hw *ah, struct sk_buff *skb, struct ieee80211_rx_status *rxs) ath5k_check_ibss_tsf() argument
1371 ath5k_receive_frame(struct ath5k_hw *ah, struct sk_buff *skb, struct ath5k_rx_status *rs) ath5k_receive_frame() argument
1448 ath5k_receive_frame_ok(struct ath5k_hw *ah, struct ath5k_rx_status *rs) ath5k_receive_frame_ok() argument
1520 ath5k_set_current_imask(struct ath5k_hw *ah) ath5k_set_current_imask() argument
1544 struct ath5k_hw *ah = from_tasklet(ah, t, rxtq); ath5k_tasklet_rx() local
1613 struct ath5k_hw *ah = hw->priv; ath5k_tx_queue() local
1666 ath5k_tx_frame_completed(struct ath5k_hw *ah, struct sk_buff *skb, struct ath5k_txq *txq, struct ath5k_tx_status *ts, struct ath5k_buf *bf) ath5k_tx_frame_completed() argument
1732 ath5k_tx_processq(struct ath5k_hw *ah, struct ath5k_txq *txq) ath5k_tx_processq() argument
1790 struct ath5k_hw *ah = from_tasklet(ah, t, txtq); ath5k_tasklet_tx() local
1809 ath5k_beacon_setup(struct ath5k_hw *ah, struct ath5k_buf *bf) ath5k_beacon_setup() argument
1895 struct ath5k_hw *ah = hw->priv; ath5k_beacon_update() local
1928 ath5k_beacon_send(struct ath5k_hw *ah) ath5k_beacon_send() argument
2046 ath5k_beacon_update_timers(struct ath5k_hw *ah, u64 bc_tsf) ath5k_beacon_update_timers() argument
2148 ath5k_beacon_config(struct ath5k_hw *ah) ath5k_beacon_config() argument
2181 struct ath5k_hw *ah = from_tasklet(ah, t, beacontq); ath5k_tasklet_beacon() local
2214 ath5k_intr_calibration_poll(struct ath5k_hw *ah) ath5k_intr_calibration_poll() argument
2247 ath5k_schedule_rx(struct ath5k_hw *ah) ath5k_schedule_rx() argument
2254 ath5k_schedule_tx(struct ath5k_hw *ah) ath5k_schedule_tx() argument
2263 struct ath5k_hw *ah = dev_id; ath5k_intr() local
2406 struct ath5k_hw *ah = container_of(work, struct ath5k_hw, ath5k_calibrate_work() local
2452 struct ath5k_hw *ah = from_tasklet(ah, t, ani_tasklet); ath5k_tasklet_ani() local
2463 struct ath5k_hw *ah = container_of(work, struct ath5k_hw, ath5k_tx_complete_poll_work() local
2529 ath5k_init_ah(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops) ath5k_init_ah() argument
2687 ath5k_stop_locked(struct ath5k_hw *ah) ath5k_stop_locked() argument
2725 struct ath5k_hw *ah = hw->priv; ath5k_start() local
2789 ath5k_stop_tasklets(struct ath5k_hw *ah) ath5k_stop_tasklets() argument
2807 struct ath5k_hw *ah = hw->priv; ath5k_stop() local
2857 ath5k_reset(struct ath5k_hw *ah, struct ieee80211_channel *chan, bool skip_pcu) ath5k_reset() argument
2972 struct ath5k_hw *ah = container_of(work, struct ath5k_hw, ath5k_reset_work() local
2984 struct ath5k_hw *ah = hw->priv; ath5k_init() local
3123 ath5k_deinit_ah(struct ath5k_hw *ah) ath5k_deinit_ah() argument
3157 ath5k_any_vif_assoc(struct ath5k_hw *ah) ath5k_any_vif_assoc() argument
3174 struct ath5k_hw *ah = hw->priv; ath5k_set_beacon_filter() local
3185 _ath5k_printk(const struct ath5k_hw *ah, const char *level, const char *fmt, ...) _ath5k_printk() argument
[all...]
H A Dreset.c53 * @ah: The &struct ath5k_hw
67 ath5k_hw_register_timeout(struct ath5k_hw *ah, u32 reg, u32 flag, u32 val, in ath5k_hw_register_timeout() argument
74 data = ath5k_hw_reg_read(ah, reg); in ath5k_hw_register_timeout()
92 * @ah: The &struct ath5k_hw
101 ath5k_hw_htoclock(struct ath5k_hw *ah, unsigned int usec) in ath5k_hw_htoclock() argument
103 struct ath_common *common = ath5k_hw_common(ah); in ath5k_hw_htoclock()
109 * @ah: The &struct ath5k_hw
118 ath5k_hw_clocktoh(struct ath5k_hw *ah, unsigned int clock) in ath5k_hw_clocktoh() argument
120 struct ath_common *common = ath5k_hw_common(ah); in ath5k_hw_clocktoh()
126 * @ah
132 ath5k_hw_init_core_clock(struct ath5k_hw *ah) ath5k_hw_init_core_clock() argument
281 ath5k_hw_set_sleep_clock(struct ath5k_hw *ah, bool enable) ath5k_hw_set_sleep_clock() argument
397 ath5k_hw_nic_reset(struct ath5k_hw *ah, u32 val) ath5k_hw_nic_reset() argument
446 ath5k_hw_wisoc_reset(struct ath5k_hw *ah, u32 flags) ath5k_hw_wisoc_reset() argument
514 ath5k_hw_set_power_mode(struct ath5k_hw *ah, enum ath5k_power_mode mode, bool set_chip, u16 sleep_duration) ath5k_hw_set_power_mode() argument
607 ath5k_hw_on_hold(struct ath5k_hw *ah) ath5k_hw_on_hold() argument
669 ath5k_hw_nic_wakeup(struct ath5k_hw *ah, struct ieee80211_channel *channel) ath5k_hw_nic_wakeup() argument
848 ath5k_hw_tweak_initval_settings(struct ath5k_hw *ah, struct ieee80211_channel *channel) ath5k_hw_tweak_initval_settings() argument
976 ath5k_hw_commit_eeprom_settings(struct ath5k_hw *ah, struct ieee80211_channel *channel) ath5k_hw_commit_eeprom_settings() argument
1146 ath5k_hw_reset(struct ath5k_hw *ah, enum nl80211_iftype op_mode, struct ieee80211_channel *channel, bool fast, bool skip_pcu) ath5k_hw_reset() argument
[all...]
H A Dani.c62 * @ah: The &struct ath5k_hw
66 ath5k_ani_set_noise_immunity_level(struct ath5k_hw *ah, int level) in ath5k_ani_set_noise_immunity_level() argument
86 ATH5K_ERR(ah, "noise immunity level %d out of range", in ath5k_ani_set_noise_immunity_level()
91 AR5K_REG_WRITE_BITS(ah, AR5K_PHY_DESIRED_SIZE, in ath5k_ani_set_noise_immunity_level()
93 AR5K_REG_WRITE_BITS(ah, AR5K_PHY_AGCCOARSE, in ath5k_ani_set_noise_immunity_level()
95 AR5K_REG_WRITE_BITS(ah, AR5K_PHY_AGCCOARSE, in ath5k_ani_set_noise_immunity_level()
97 AR5K_REG_WRITE_BITS(ah, AR5K_PHY_SIG, in ath5k_ani_set_noise_immunity_level()
100 ah->ani_state.noise_imm_level = level; in ath5k_ani_set_noise_immunity_level()
101 ATH5K_DBG_UNLIMIT(ah, ATH5K_DEBUG_ANI, "new level %d", level); in ath5k_ani_set_noise_immunity_level()
106 * @ah
111 ath5k_ani_set_spur_immunity_level(struct ath5k_hw *ah, int level) ath5k_ani_set_spur_immunity_level() argument
135 ath5k_ani_set_firstep_level(struct ath5k_hw *ah, int level) ath5k_ani_set_firstep_level() argument
157 ath5k_ani_set_ofdm_weak_signal_detection(struct ath5k_hw *ah, bool on) ath5k_ani_set_ofdm_weak_signal_detection() argument
197 ath5k_ani_set_cck_weak_signal_detection(struct ath5k_hw *ah, bool on) ath5k_ani_set_cck_weak_signal_detection() argument
223 ath5k_ani_raise_immunity(struct ath5k_hw *ah, struct ath5k_ani_state *as, bool ofdm_trigger) ath5k_ani_raise_immunity() argument
310 ath5k_ani_lower_immunity(struct ath5k_hw *ah, struct ath5k_ani_state *as) ath5k_ani_lower_immunity() argument
374 ath5k_hw_ani_get_listen_time(struct ath5k_hw *ah, struct ath5k_ani_state *as) ath5k_hw_ani_get_listen_time() argument
406 ath5k_ani_save_and_clear_phy_errors(struct ath5k_hw *ah, struct ath5k_ani_state *as) ath5k_ani_save_and_clear_phy_errors() argument
475 ath5k_ani_calibration(struct ath5k_hw *ah) ath5k_ani_calibration() argument
539 ath5k_ani_mib_intr(struct ath5k_hw *ah) ath5k_ani_mib_intr() argument
576 ath5k_ani_phy_error_report(struct ath5k_hw *ah, enum ath5k_phy_error_code phyerr) ath5k_ani_phy_error_report() argument
604 ath5k_enable_phy_err_counters(struct ath5k_hw *ah) ath5k_enable_phy_err_counters() argument
625 ath5k_disable_phy_err_counters(struct ath5k_hw *ah) ath5k_disable_phy_err_counters() argument
645 ath5k_ani_init(struct ath5k_hw *ah, enum ath5k_ani_mode mode) ath5k_ani_init() argument
730 ath5k_ani_print_counters(struct ath5k_hw *ah) ath5k_ani_print_counters() argument
[all...]
H A Dpcu.c79 * ah->ah_ack_bitrate_high to true else base rate is
103 * @ah: The &struct ath5k_hw
114 ath5k_hw_get_frame_duration(struct ath5k_hw *ah, enum nl80211_band band, in ath5k_hw_get_frame_duration() argument
122 if (!ah->ah_bwmode) { in ath5k_hw_get_frame_duration()
123 __le16 raw_dur = ieee80211_generic_frame_duration(ah->hw, in ath5k_hw_get_frame_duration()
139 switch (ah->ah_bwmode) { in ath5k_hw_get_frame_duration()
173 * @ah: The &struct ath5k_hw
176 ath5k_hw_get_default_slottime(struct ath5k_hw *ah) in ath5k_hw_get_default_slottime() argument
178 struct ieee80211_channel *channel = ah->ah_current_channel; in ath5k_hw_get_default_slottime()
181 switch (ah in ath5k_hw_get_default_slottime()
207 ath5k_hw_get_default_sifs(struct ath5k_hw *ah) ath5k_hw_get_default_sifs() argument
244 ath5k_hw_update_mib_counters(struct ath5k_hw *ah) ath5k_hw_update_mib_counters() argument
278 ath5k_hw_write_rate_duration(struct ath5k_hw *ah) ath5k_hw_write_rate_duration() argument
328 ath5k_hw_set_ack_timeout(struct ath5k_hw *ah, unsigned int timeout) ath5k_hw_set_ack_timeout() argument
346 ath5k_hw_set_cts_timeout(struct ath5k_hw *ah, unsigned int timeout) ath5k_hw_set_cts_timeout() argument
371 ath5k_hw_set_lladdr(struct ath5k_hw *ah, const u8 *mac) ath5k_hw_set_lladdr() argument
399 ath5k_hw_set_bssid(struct ath5k_hw *ah) ath5k_hw_set_bssid() argument
448 ath5k_hw_set_bssid_mask(struct ath5k_hw *ah, const u8 *mask) ath5k_hw_set_bssid_mask() argument
466 ath5k_hw_set_mcast_filter(struct ath5k_hw *ah, u32 filter0, u32 filter1) ath5k_hw_set_mcast_filter() argument
483 ath5k_hw_get_rx_filter(struct ath5k_hw *ah) ath5k_hw_get_rx_filter() argument
512 ath5k_hw_set_rx_filter(struct ath5k_hw *ah, u32 filter) ath5k_hw_set_rx_filter() argument
562 ath5k_hw_get_tsf64(struct ath5k_hw *ah) ath5k_hw_get_tsf64() argument
609 ath5k_hw_set_tsf64(struct ath5k_hw *ah, u64 tsf64) ath5k_hw_set_tsf64() argument
622 ath5k_hw_reset_tsf(struct ath5k_hw *ah) ath5k_hw_reset_tsf() argument
648 ath5k_hw_init_beacon_timers(struct ath5k_hw *ah, u32 next_beacon, u32 interval) ath5k_hw_init_beacon_timers() argument
797 ath5k_hw_check_beacon_timers(struct ath5k_hw *ah, int intval) ath5k_hw_check_beacon_timers() argument
824 ath5k_hw_set_coverage_class(struct ath5k_hw *ah, u8 coverage_class) ath5k_hw_set_coverage_class() argument
852 ath5k_hw_start_rx_pcu(struct ath5k_hw *ah) ath5k_hw_start_rx_pcu() argument
864 ath5k_hw_stop_rx_pcu(struct ath5k_hw *ah) ath5k_hw_stop_rx_pcu() argument
877 ath5k_hw_set_opmode(struct ath5k_hw *ah, enum nl80211_iftype op_mode) ath5k_hw_set_opmode() argument
954 ath5k_hw_pcu_init(struct ath5k_hw *ah, enum nl80211_iftype op_mode) ath5k_hw_pcu_init() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath5k/
H A Dattach.c33 * @ah: The &struct ath5k_hw
35 static int ath5k_hw_post(struct ath5k_hw *ah) in ath5k_hw_post() argument
54 init_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
58 ath5k_hw_reg_write(ah, var_pattern, cur_reg); in ath5k_hw_post()
59 cur_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
62 ATH5K_ERR(ah, "POST Failed !!!\n"); in ath5k_hw_post()
68 ath5k_hw_reg_write(ah, var_pattern, cur_reg); in ath5k_hw_post()
73 ath5k_hw_reg_write(ah, var_pattern, cur_reg); in ath5k_hw_post()
74 cur_val = ath5k_hw_reg_read(ah, cur_reg); in ath5k_hw_post()
77 ATH5K_ERR(ah, "POS in ath5k_hw_post()
104 ath5k_hw_init(struct ath5k_hw *ah) ath5k_hw_init() argument
350 ath5k_hw_deinit(struct ath5k_hw *ah) ath5k_hw_deinit() argument
[all...]
H A Dbase.c96 static int ath5k_reset(struct ath5k_hw *ah, struct ieee80211_channel *chan,
200 static inline u64 ath5k_extend_tsf(struct ath5k_hw *ah, u32 rstamp) in ath5k_extend_tsf() argument
202 u64 tsf = ath5k_hw_get_tsf64(ah); in ath5k_extend_tsf()
233 struct ath5k_hw *ah = (struct ath5k_hw *) hw_priv; in ath5k_ioread32() local
234 return ath5k_hw_reg_read(ah, reg_offset); in ath5k_ioread32()
239 struct ath5k_hw *ah = (struct ath5k_hw *) hw_priv; in ath5k_iowrite32() local
240 ath5k_hw_reg_write(ah, val, reg_offset); in ath5k_iowrite32()
256 struct ath5k_hw *ah = hw->priv; in ath5k_reg_notifier() local
257 struct ath_regulatory *regulatory = ath5k_hw_regulatory(ah); in ath5k_reg_notifier()
295 ath5k_setup_channels(struct ath5k_hw *ah, struc argument
343 ath5k_setup_rate_idx(struct ath5k_hw *ah, struct ieee80211_supported_band *b) ath5k_setup_rate_idx() argument
360 struct ath5k_hw *ah = hw->priv; ath5k_setup_bands() local
446 ath5k_chan_set(struct ath5k_hw *ah, struct cfg80211_chan_def *chandef) ath5k_chan_set() argument
518 ath5k_update_bssid_mask_and_opmode(struct ath5k_hw *ah, struct ieee80211_vif *vif) ath5k_update_bssid_mask_and_opmode() argument
575 ath5k_hw_to_driver_rix(struct ath5k_hw *ah, int hw_rix) ath5k_hw_to_driver_rix() argument
596 ath5k_rx_skb_alloc(struct ath5k_hw *ah, dma_addr_t *skb_addr) ath5k_rx_skb_alloc() argument
628 ath5k_rxbuf_setup(struct ath5k_hw *ah, struct ath5k_buf *bf) ath5k_rxbuf_setup() argument
768 ath5k_txbuf_setup(struct ath5k_hw *ah, struct ath5k_buf *bf, struct ath5k_txq *txq, int padsize, struct ieee80211_tx_control *control) ath5k_txbuf_setup() argument
898 ath5k_desc_alloc(struct ath5k_hw *ah) ath5k_desc_alloc() argument
963 ath5k_txbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf) ath5k_txbuf_free_skb() argument
977 ath5k_rxbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf) ath5k_rxbuf_free_skb() argument
993 ath5k_desc_free(struct ath5k_hw *ah) ath5k_desc_free() argument
1019 ath5k_txq_setup(struct ath5k_hw *ah, int qtype, int subtype) ath5k_txq_setup() argument
1071 ath5k_beaconq_setup(struct ath5k_hw *ah) ath5k_beaconq_setup() argument
1087 ath5k_beaconq_config(struct ath5k_hw *ah) ath5k_beaconq_config() argument
1155 ath5k_drain_tx_buffs(struct ath5k_hw *ah) ath5k_drain_tx_buffs() argument
1184 ath5k_txq_release(struct ath5k_hw *ah) ath5k_txq_release() argument
1205 ath5k_rx_start(struct ath5k_hw *ah) ath5k_rx_start() argument
1246 ath5k_rx_stop(struct ath5k_hw *ah) ath5k_rx_stop() argument
1256 ath5k_rx_decrypted(struct ath5k_hw *ah, struct sk_buff *skb, struct ath5k_rx_status *rs) ath5k_rx_decrypted() argument
1285 ath5k_check_ibss_tsf(struct ath5k_hw *ah, struct sk_buff *skb, struct ieee80211_rx_status *rxs) ath5k_check_ibss_tsf() argument
1416 ath5k_receive_frame(struct ath5k_hw *ah, struct sk_buff *skb, struct ath5k_rx_status *rs) ath5k_receive_frame() argument
1493 ath5k_receive_frame_ok(struct ath5k_hw *ah, struct ath5k_rx_status *rs) ath5k_receive_frame_ok() argument
1565 ath5k_set_current_imask(struct ath5k_hw *ah) ath5k_set_current_imask() argument
1589 struct ath5k_hw *ah = from_tasklet(ah, t, rxtq); ath5k_tasklet_rx() local
1658 struct ath5k_hw *ah = hw->priv; ath5k_tx_queue() local
1711 ath5k_tx_frame_completed(struct ath5k_hw *ah, struct sk_buff *skb, struct ath5k_txq *txq, struct ath5k_tx_status *ts, struct ath5k_buf *bf) ath5k_tx_frame_completed() argument
1777 ath5k_tx_processq(struct ath5k_hw *ah, struct ath5k_txq *txq) ath5k_tx_processq() argument
1835 struct ath5k_hw *ah = from_tasklet(ah, t, txtq); ath5k_tasklet_tx() local
1854 ath5k_beacon_setup(struct ath5k_hw *ah, struct ath5k_buf *bf) ath5k_beacon_setup() argument
1940 struct ath5k_hw *ah = hw->priv; ath5k_beacon_update() local
1973 ath5k_beacon_send(struct ath5k_hw *ah) ath5k_beacon_send() argument
2091 ath5k_beacon_update_timers(struct ath5k_hw *ah, u64 bc_tsf) ath5k_beacon_update_timers() argument
2193 ath5k_beacon_config(struct ath5k_hw *ah) ath5k_beacon_config() argument
2226 struct ath5k_hw *ah = from_tasklet(ah, t, beacontq); ath5k_tasklet_beacon() local
2259 ath5k_intr_calibration_poll(struct ath5k_hw *ah) ath5k_intr_calibration_poll() argument
2292 ath5k_schedule_rx(struct ath5k_hw *ah) ath5k_schedule_rx() argument
2299 ath5k_schedule_tx(struct ath5k_hw *ah) ath5k_schedule_tx() argument
2308 struct ath5k_hw *ah = dev_id; ath5k_intr() local
2451 struct ath5k_hw *ah = container_of(work, struct ath5k_hw, ath5k_calibrate_work() local
2497 struct ath5k_hw *ah = from_tasklet(ah, t, ani_tasklet); ath5k_tasklet_ani() local
2508 struct ath5k_hw *ah = container_of(work, struct ath5k_hw, ath5k_tx_complete_poll_work() local
2574 ath5k_init_ah(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops) ath5k_init_ah() argument
2732 ath5k_stop_locked(struct ath5k_hw *ah) ath5k_stop_locked() argument
2770 struct ath5k_hw *ah = hw->priv; ath5k_start() local
2834 ath5k_stop_tasklets(struct ath5k_hw *ah) ath5k_stop_tasklets() argument
2852 struct ath5k_hw *ah = hw->priv; ath5k_stop() local
2902 ath5k_reset(struct ath5k_hw *ah, struct ieee80211_channel *chan, bool skip_pcu) ath5k_reset() argument
3017 struct ath5k_hw *ah = container_of(work, struct ath5k_hw, ath5k_reset_work() local
3029 struct ath5k_hw *ah = hw->priv; ath5k_init() local
3168 ath5k_deinit_ah(struct ath5k_hw *ah) ath5k_deinit_ah() argument
3202 ath5k_any_vif_assoc(struct ath5k_hw *ah) ath5k_any_vif_assoc() argument
3219 struct ath5k_hw *ah = hw->priv; ath5k_set_beacon_filter() local
3230 _ath5k_printk(const struct ath5k_hw *ah, const char *level, const char *fmt, ...) _ath5k_printk() argument
[all...]
H A Dreset.c53 * @ah: The &struct ath5k_hw
67 ath5k_hw_register_timeout(struct ath5k_hw *ah, u32 reg, u32 flag, u32 val, in ath5k_hw_register_timeout() argument
74 data = ath5k_hw_reg_read(ah, reg); in ath5k_hw_register_timeout()
92 * @ah: The &struct ath5k_hw
101 ath5k_hw_htoclock(struct ath5k_hw *ah, unsigned int usec) in ath5k_hw_htoclock() argument
103 struct ath_common *common = ath5k_hw_common(ah); in ath5k_hw_htoclock()
109 * @ah: The &struct ath5k_hw
118 ath5k_hw_clocktoh(struct ath5k_hw *ah, unsigned int clock) in ath5k_hw_clocktoh() argument
120 struct ath_common *common = ath5k_hw_common(ah); in ath5k_hw_clocktoh()
126 * @ah
132 ath5k_hw_init_core_clock(struct ath5k_hw *ah) ath5k_hw_init_core_clock() argument
281 ath5k_hw_set_sleep_clock(struct ath5k_hw *ah, bool enable) ath5k_hw_set_sleep_clock() argument
397 ath5k_hw_nic_reset(struct ath5k_hw *ah, u32 val) ath5k_hw_nic_reset() argument
446 ath5k_hw_wisoc_reset(struct ath5k_hw *ah, u32 flags) ath5k_hw_wisoc_reset() argument
514 ath5k_hw_set_power_mode(struct ath5k_hw *ah, enum ath5k_power_mode mode, bool set_chip, u16 sleep_duration) ath5k_hw_set_power_mode() argument
607 ath5k_hw_on_hold(struct ath5k_hw *ah) ath5k_hw_on_hold() argument
669 ath5k_hw_nic_wakeup(struct ath5k_hw *ah, struct ieee80211_channel *channel) ath5k_hw_nic_wakeup() argument
848 ath5k_hw_tweak_initval_settings(struct ath5k_hw *ah, struct ieee80211_channel *channel) ath5k_hw_tweak_initval_settings() argument
976 ath5k_hw_commit_eeprom_settings(struct ath5k_hw *ah, struct ieee80211_channel *channel) ath5k_hw_commit_eeprom_settings() argument
1146 ath5k_hw_reset(struct ath5k_hw *ah, enum nl80211_iftype op_mode, struct ieee80211_channel *channel, bool fast, bool skip_pcu) ath5k_hw_reset() argument
[all...]
H A Dani.c62 * @ah: The &struct ath5k_hw
66 ath5k_ani_set_noise_immunity_level(struct ath5k_hw *ah, int level) in ath5k_ani_set_noise_immunity_level() argument
86 ATH5K_ERR(ah, "noise immunity level %d out of range", in ath5k_ani_set_noise_immunity_level()
91 AR5K_REG_WRITE_BITS(ah, AR5K_PHY_DESIRED_SIZE, in ath5k_ani_set_noise_immunity_level()
93 AR5K_REG_WRITE_BITS(ah, AR5K_PHY_AGCCOARSE, in ath5k_ani_set_noise_immunity_level()
95 AR5K_REG_WRITE_BITS(ah, AR5K_PHY_AGCCOARSE, in ath5k_ani_set_noise_immunity_level()
97 AR5K_REG_WRITE_BITS(ah, AR5K_PHY_SIG, in ath5k_ani_set_noise_immunity_level()
100 ah->ani_state.noise_imm_level = level; in ath5k_ani_set_noise_immunity_level()
101 ATH5K_DBG_UNLIMIT(ah, ATH5K_DEBUG_ANI, "new level %d", level); in ath5k_ani_set_noise_immunity_level()
106 * @ah
111 ath5k_ani_set_spur_immunity_level(struct ath5k_hw *ah, int level) ath5k_ani_set_spur_immunity_level() argument
135 ath5k_ani_set_firstep_level(struct ath5k_hw *ah, int level) ath5k_ani_set_firstep_level() argument
157 ath5k_ani_set_ofdm_weak_signal_detection(struct ath5k_hw *ah, bool on) ath5k_ani_set_ofdm_weak_signal_detection() argument
197 ath5k_ani_set_cck_weak_signal_detection(struct ath5k_hw *ah, bool on) ath5k_ani_set_cck_weak_signal_detection() argument
223 ath5k_ani_raise_immunity(struct ath5k_hw *ah, struct ath5k_ani_state *as, bool ofdm_trigger) ath5k_ani_raise_immunity() argument
310 ath5k_ani_lower_immunity(struct ath5k_hw *ah, struct ath5k_ani_state *as) ath5k_ani_lower_immunity() argument
374 ath5k_hw_ani_get_listen_time(struct ath5k_hw *ah, struct ath5k_ani_state *as) ath5k_hw_ani_get_listen_time() argument
406 ath5k_ani_save_and_clear_phy_errors(struct ath5k_hw *ah, struct ath5k_ani_state *as) ath5k_ani_save_and_clear_phy_errors() argument
475 ath5k_ani_calibration(struct ath5k_hw *ah) ath5k_ani_calibration() argument
539 ath5k_ani_mib_intr(struct ath5k_hw *ah) ath5k_ani_mib_intr() argument
576 ath5k_ani_phy_error_report(struct ath5k_hw *ah, enum ath5k_phy_error_code phyerr) ath5k_ani_phy_error_report() argument
604 ath5k_enable_phy_err_counters(struct ath5k_hw *ah) ath5k_enable_phy_err_counters() argument
625 ath5k_disable_phy_err_counters(struct ath5k_hw *ah) ath5k_disable_phy_err_counters() argument
645 ath5k_ani_init(struct ath5k_hw *ah, enum ath5k_ani_mode mode) ath5k_ani_init() argument
730 ath5k_ani_print_counters(struct ath5k_hw *ah) ath5k_ani_print_counters() argument
[all...]
H A Dpcu.c79 * ah->ah_ack_bitrate_high to true else base rate is
103 * @ah: The &struct ath5k_hw
114 ath5k_hw_get_frame_duration(struct ath5k_hw *ah, enum nl80211_band band, in ath5k_hw_get_frame_duration() argument
122 if (!ah->ah_bwmode) { in ath5k_hw_get_frame_duration()
123 __le16 raw_dur = ieee80211_generic_frame_duration(ah->hw, in ath5k_hw_get_frame_duration()
139 switch (ah->ah_bwmode) { in ath5k_hw_get_frame_duration()
173 * @ah: The &struct ath5k_hw
176 ath5k_hw_get_default_slottime(struct ath5k_hw *ah) in ath5k_hw_get_default_slottime() argument
178 struct ieee80211_channel *channel = ah->ah_current_channel; in ath5k_hw_get_default_slottime()
181 switch (ah in ath5k_hw_get_default_slottime()
207 ath5k_hw_get_default_sifs(struct ath5k_hw *ah) ath5k_hw_get_default_sifs() argument
244 ath5k_hw_update_mib_counters(struct ath5k_hw *ah) ath5k_hw_update_mib_counters() argument
278 ath5k_hw_write_rate_duration(struct ath5k_hw *ah) ath5k_hw_write_rate_duration() argument
328 ath5k_hw_set_ack_timeout(struct ath5k_hw *ah, unsigned int timeout) ath5k_hw_set_ack_timeout() argument
346 ath5k_hw_set_cts_timeout(struct ath5k_hw *ah, unsigned int timeout) ath5k_hw_set_cts_timeout() argument
371 ath5k_hw_set_lladdr(struct ath5k_hw *ah, const u8 *mac) ath5k_hw_set_lladdr() argument
399 ath5k_hw_set_bssid(struct ath5k_hw *ah) ath5k_hw_set_bssid() argument
448 ath5k_hw_set_bssid_mask(struct ath5k_hw *ah, const u8 *mask) ath5k_hw_set_bssid_mask() argument
466 ath5k_hw_set_mcast_filter(struct ath5k_hw *ah, u32 filter0, u32 filter1) ath5k_hw_set_mcast_filter() argument
483 ath5k_hw_get_rx_filter(struct ath5k_hw *ah) ath5k_hw_get_rx_filter() argument
512 ath5k_hw_set_rx_filter(struct ath5k_hw *ah, u32 filter) ath5k_hw_set_rx_filter() argument
562 ath5k_hw_get_tsf64(struct ath5k_hw *ah) ath5k_hw_get_tsf64() argument
609 ath5k_hw_set_tsf64(struct ath5k_hw *ah, u64 tsf64) ath5k_hw_set_tsf64() argument
622 ath5k_hw_reset_tsf(struct ath5k_hw *ah) ath5k_hw_reset_tsf() argument
648 ath5k_hw_init_beacon_timers(struct ath5k_hw *ah, u32 next_beacon, u32 interval) ath5k_hw_init_beacon_timers() argument
797 ath5k_hw_check_beacon_timers(struct ath5k_hw *ah, int intval) ath5k_hw_check_beacon_timers() argument
824 ath5k_hw_set_coverage_class(struct ath5k_hw *ah, u8 coverage_class) ath5k_hw_set_coverage_class() argument
852 ath5k_hw_start_rx_pcu(struct ath5k_hw *ah) ath5k_hw_start_rx_pcu() argument
864 ath5k_hw_stop_rx_pcu(struct ath5k_hw *ah) ath5k_hw_stop_rx_pcu() argument
877 ath5k_hw_set_opmode(struct ath5k_hw *ah, enum nl80211_iftype op_mode) ath5k_hw_set_opmode() argument
954 ath5k_hw_pcu_init(struct ath5k_hw *ah, enum nl80211_iftype op_mode) ath5k_hw_pcu_init() argument
[all...]

Completed in 21 milliseconds

12345678910>>...21