Lines Matching refs:ath_hw
33 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()
69 static u32 ath9k_hw_mac_to_clks(struct ath_hw *ah, u32 usecs) in ath9k_hw_mac_to_clks()
76 bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout) in ath9k_hw_wait()
97 void ath9k_hw_synth_delay(struct ath_hw *ah, struct ath9k_channel *chan, in ath9k_hw_synth_delay()
110 void ath9k_hw_write_array(struct ath_hw *ah, const struct ar5416IniArray *array, in ath9k_hw_write_array()
124 void ath9k_hw_read_array(struct ath_hw *ah, u32 array[][2], int size) in ath9k_hw_read_array()
166 u16 ath9k_hw_computetxtime(struct ath_hw *ah, in ath9k_hw_computetxtime()
221 void ath9k_hw_get_channel_centers(struct ath_hw *ah, in ath9k_hw_get_channel_centers()
254 static bool ath9k_hw_read_revisions(struct ath_hw *ah) in ath9k_hw_read_revisions()
325 static void ath9k_hw_disablepcie(struct ath_hw *ah) in ath9k_hw_disablepcie()
344 static bool ath9k_hw_chip_test(struct ath_hw *ah) in ath9k_hw_chip_test()
394 static void ath9k_hw_init_config(struct ath_hw *ah) in ath9k_hw_init_config()
454 static void ath9k_hw_init_defaults(struct ath_hw *ah) in ath9k_hw_init_defaults()
486 static void ath9k_hw_init_macaddr(struct ath_hw *ah) in ath9k_hw_init_macaddr()
516 static int ath9k_hw_post_init(struct ath_hw *ah) in ath9k_hw_post_init()
557 static int ath9k_hw_attach_ops(struct ath_hw *ah) in ath9k_hw_attach_ops()
567 static int __ath9k_hw_init(struct ath_hw *ah) in __ath9k_hw_init()
663 int ath9k_hw_init(struct ath_hw *ah) in ath9k_hw_init()
714 static void ath9k_hw_init_qos(struct ath_hw *ah) in ath9k_hw_init_qos()
735 u32 ar9003_get_pll_sqsum_dvc(struct ath_hw *ah) in ar9003_get_pll_sqsum_dvc()
760 static void ath9k_hw_init_pll(struct ath_hw *ah, in ath9k_hw_init_pll()
931 static void ath9k_hw_init_interrupt_masks(struct ath_hw *ah, in ath9k_hw_init_interrupt_masks()
1005 static void ath9k_hw_set_sifs_time(struct ath_hw *ah, u32 us) in ath9k_hw_set_sifs_time()
1012 void ath9k_hw_setslottime(struct ath_hw *ah, u32 us) in ath9k_hw_setslottime()
1019 void ath9k_hw_set_ack_timeout(struct ath_hw *ah, u32 us) in ath9k_hw_set_ack_timeout()
1026 void ath9k_hw_set_cts_timeout(struct ath_hw *ah, u32 us) in ath9k_hw_set_cts_timeout()
1033 static bool ath9k_hw_set_global_txtimeout(struct ath_hw *ah, u32 tu) in ath9k_hw_set_global_txtimeout()
1047 void ath9k_hw_init_global_settings(struct ath_hw *ah) in ath9k_hw_init_global_settings()
1161 void ath9k_hw_deinit(struct ath_hw *ah) in ath9k_hw_deinit()
1192 static inline void ath9k_hw_set_dma(struct ath_hw *ah) in ath9k_hw_set_dma()
1266 static void ath9k_hw_set_operating_mode(struct ath_hw *ah, int opmode) in ath9k_hw_set_operating_mode()
1297 void ath9k_hw_get_delta_slope_vals(struct ath_hw *ah, u32 coef_scaled, in ath9k_hw_get_delta_slope_vals()
1319 static bool ath9k_hw_ar9330_reset_war(struct ath_hw *ah, int type) in ath9k_hw_ar9330_reset_war()
1350 static bool ath9k_hw_set_reset(struct ath_hw *ah, int type) in ath9k_hw_set_reset()
1443 static bool ath9k_hw_set_reset_power_on(struct ath_hw *ah) in ath9k_hw_set_reset_power_on()
1481 static bool ath9k_hw_set_reset_reg(struct ath_hw *ah, u32 type) in ath9k_hw_set_reset_reg()
1513 static bool ath9k_hw_chip_reset(struct ath_hw *ah, in ath9k_hw_chip_reset()
1542 static bool ath9k_hw_channel_change(struct ath_hw *ah, in ath9k_hw_channel_change()
1612 static void ath9k_hw_apply_gpio_override(struct ath_hw *ah) in ath9k_hw_apply_gpio_override()
1627 void ath9k_hw_check_nav(struct ath_hw *ah) in ath9k_hw_check_nav()
1640 bool ath9k_hw_check_alive(struct ath_hw *ah) in ath9k_hw_check_alive()
1680 static void ath9k_hw_init_mfp(struct ath_hw *ah) in ath9k_hw_init_mfp()
1707 static void ath9k_hw_reset_opmode(struct ath_hw *ah, in ath9k_hw_reset_opmode()
1729 static void ath9k_hw_init_queues(struct ath_hw *ah) in ath9k_hw_init_queues()
1748 static void ath9k_hw_init_desc(struct ath_hw *ah) in ath9k_hw_init_desc()
1787 static int ath9k_hw_do_fastcc(struct ath_hw *ah, struct ath9k_channel *chan) in ath9k_hw_do_fastcc()
1867 int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, in ath9k_hw_reset()
2097 static void ath9k_set_power_sleep(struct ath_hw *ah) in ath9k_set_power_sleep()
2138 static void ath9k_set_power_network_sleep(struct ath_hw *ah) in ath9k_set_power_network_sleep()
2177 static bool ath9k_hw_set_power_awake(struct ath_hw *ah) in ath9k_hw_set_power_awake()
2230 bool ath9k_hw_setpower(struct ath_hw *ah, enum ath9k_power_mode mode) in ath9k_hw_setpower()
2284 void ath9k_hw_beaconinit(struct ath_hw *ah, u32 next_beacon, u32 beacon_period) in ath9k_hw_beaconinit()
2321 void ath9k_hw_set_sta_beacon_timers(struct ath_hw *ah, in ath9k_hw_set_sta_beacon_timers()
2415 static bool ath9k_hw_dfs_tested(struct ath_hw *ah) in ath9k_hw_dfs_tested()
2429 static void ath9k_gpio_cap_init(struct ath_hw *ah) in ath9k_gpio_cap_init()
2484 int ath9k_hw_fill_cap_info(struct ath_hw *ah) in ath9k_hw_fill_cap_info()
2698 static void ath9k_hw_gpio_cfg_output_mux(struct ath_hw *ah, u32 gpio, u32 type) in ath9k_hw_gpio_cfg_output_mux()
2727 static void ath9k_hw_gpio_cfg_soc(struct ath_hw *ah, u32 gpio, bool out, in ath9k_hw_gpio_cfg_soc()
2745 static void ath9k_hw_gpio_cfg_wmac(struct ath_hw *ah, u32 gpio, bool out, in ath9k_hw_gpio_cfg_wmac()
2771 static void ath9k_hw_gpio_request(struct ath_hw *ah, u32 gpio, bool out, in ath9k_hw_gpio_request()
2784 void ath9k_hw_gpio_request_in(struct ath_hw *ah, u32 gpio, const char *label) in ath9k_hw_gpio_request_in()
2790 void ath9k_hw_gpio_request_out(struct ath_hw *ah, u32 gpio, const char *label, in ath9k_hw_gpio_request_out()
2797 void ath9k_hw_gpio_free(struct ath_hw *ah, u32 gpio) in ath9k_hw_gpio_free()
2811 u32 ath9k_hw_gpio_get(struct ath_hw *ah, u32 gpio) in ath9k_hw_gpio_get()
2845 void ath9k_hw_set_gpio(struct ath_hw *ah, u32 gpio, u32 val) in ath9k_hw_set_gpio()
2867 void ath9k_hw_setantenna(struct ath_hw *ah, u32 antenna) in ath9k_hw_setantenna()
2877 u32 ath9k_hw_getrxfilter(struct ath_hw *ah) in ath9k_hw_getrxfilter()
2891 void ath9k_hw_setrxfilter(struct ath_hw *ah, u32 bits) in ath9k_hw_setrxfilter()
2915 bool ath9k_hw_phy_disable(struct ath_hw *ah) in ath9k_hw_phy_disable()
2929 bool ath9k_hw_disable(struct ath_hw *ah) in ath9k_hw_disable()
2942 static int get_antenna_gain(struct ath_hw *ah, struct ath9k_channel *chan) in get_antenna_gain()
2954 void ath9k_hw_apply_txpower(struct ath_hw *ah, struct ath9k_channel *chan, in ath9k_hw_apply_txpower()
2976 void ath9k_hw_set_txpowerlimit(struct ath_hw *ah, u32 limit, bool test) in ath9k_hw_set_txpowerlimit()
2993 void ath9k_hw_setopmode(struct ath_hw *ah) in ath9k_hw_setopmode()
2999 void ath9k_hw_setmcastfilter(struct ath_hw *ah, u32 filter0, u32 filter1) in ath9k_hw_setmcastfilter()
3006 void ath9k_hw_write_associd(struct ath_hw *ah) in ath9k_hw_write_associd()
3018 u64 ath9k_hw_gettsf64(struct ath_hw *ah) in ath9k_hw_gettsf64()
3038 void ath9k_hw_settsf64(struct ath_hw *ah, u64 tsf64) in ath9k_hw_settsf64()
3045 void ath9k_hw_reset_tsf(struct ath_hw *ah) in ath9k_hw_reset_tsf()
3056 void ath9k_hw_set_tsfadjust(struct ath_hw *ah, bool set) in ath9k_hw_set_tsfadjust()
3065 void ath9k_hw_set11nmac2040(struct ath_hw *ah, struct ath9k_channel *chan) in ath9k_hw_set11nmac2040()
3108 u32 ath9k_hw_gettsf32(struct ath_hw *ah) in ath9k_hw_gettsf32()
3114 void ath9k_hw_gen_timer_start_tsf2(struct ath_hw *ah) in ath9k_hw_gen_timer_start_tsf2()
3124 struct ath_gen_timer *ath_gen_timer_alloc(struct ath_hw *ah, in ath_gen_timer_alloc()
3161 void ath9k_hw_gen_timer_start(struct ath_hw *ah, in ath9k_hw_gen_timer_start()
3211 void ath9k_hw_gen_timer_stop(struct ath_hw *ah, struct ath_gen_timer *timer) in ath9k_hw_gen_timer_stop()
3243 void ath_gen_timer_free(struct ath_hw *ah, struct ath_gen_timer *timer) in ath_gen_timer_free()
3256 void ath_gen_timer_isr(struct ath_hw *ah) in ath_gen_timer_isr()
3365 void ath9k_hw_name(struct ath_hw *ah, char *hw_name, size_t len) in ath9k_hw_name()