Lines Matching defs:ah
40 static void ath9k_hw_set_clockrate(struct ath_hw *ah) 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()
77 bool ath9k_hw_wait(struct ath_hw *ah, u32 reg, u32 mask, u32 val, u32 timeout) in ath9k_hw_wait()
98 void ath9k_hw_synth_delay(struct ath_hw *ah, struct ath9k_channel *chan, in ath9k_hw_synth_delay()
111 void ath9k_hw_write_array(struct ath_hw *ah, const struct ar5416IniArray *array, in ath9k_hw_write_array()
125 void ath9k_hw_read_array(struct ath_hw *ah, u32 array[][2], int size) in ath9k_hw_read_array()
167 u16 ath9k_hw_computetxtime(struct ath_hw *ah, in ath9k_hw_computetxtime()
220 void ath9k_hw_get_channel_centers(struct ath_hw *ah, in ath9k_hw_get_channel_centers()
253 static void ath9k_hw_read_revisions(struct ath_hw *ah) in ath9k_hw_read_revisions()
313 static void ath9k_hw_disablepcie(struct ath_hw *ah) in ath9k_hw_disablepcie()
332 static bool ath9k_hw_chip_test(struct ath_hw *ah) in ath9k_hw_chip_test()
382 static void ath9k_hw_init_config(struct ath_hw *ah) in ath9k_hw_init_config()
442 static void ath9k_hw_init_defaults(struct ath_hw *ah) in ath9k_hw_init_defaults()
474 static int ath9k_hw_init_macaddr(struct ath_hw *ah) in ath9k_hw_init_macaddr()
503 static int ath9k_hw_post_init(struct ath_hw *ah) in ath9k_hw_post_init()
544 static int ath9k_hw_attach_ops(struct ath_hw *ah) in ath9k_hw_attach_ops()
554 static int __ath9k_hw_init(struct ath_hw *ah) in __ath9k_hw_init()
652 int ath9k_hw_init(struct ath_hw *ah) in ath9k_hw_init()
703 static void ath9k_hw_init_qos(struct ath_hw *ah) in ath9k_hw_init_qos()
724 u32 ar9003_get_pll_sqsum_dvc(struct ath_hw *ah) in ar9003_get_pll_sqsum_dvc()
749 static void ath9k_hw_init_pll(struct ath_hw *ah, in ath9k_hw_init_pll()
920 static void ath9k_hw_init_interrupt_masks(struct ath_hw *ah, in ath9k_hw_init_interrupt_masks()
975 static void ath9k_hw_set_sifs_time(struct ath_hw *ah, u32 us) in ath9k_hw_set_sifs_time()
982 void ath9k_hw_setslottime(struct ath_hw *ah, u32 us) in ath9k_hw_setslottime()
989 void ath9k_hw_set_ack_timeout(struct ath_hw *ah, u32 us) in ath9k_hw_set_ack_timeout()
996 void ath9k_hw_set_cts_timeout(struct ath_hw *ah, u32 us) in ath9k_hw_set_cts_timeout()
1003 static bool ath9k_hw_set_global_txtimeout(struct ath_hw *ah, u32 tu) in ath9k_hw_set_global_txtimeout()
1017 void ath9k_hw_init_global_settings(struct ath_hw *ah) in ath9k_hw_init_global_settings()
1125 void ath9k_hw_deinit(struct ath_hw *ah) in ath9k_hw_deinit()
1156 static inline void ath9k_hw_set_dma(struct ath_hw *ah) in ath9k_hw_set_dma()
1230 static void ath9k_hw_set_operating_mode(struct ath_hw *ah, int opmode) in ath9k_hw_set_operating_mode()
1261 void ath9k_hw_get_delta_slope_vals(struct ath_hw *ah, u32 coef_scaled, in ath9k_hw_get_delta_slope_vals()
1283 static bool ath9k_hw_ar9330_reset_war(struct ath_hw *ah, int type) in ath9k_hw_ar9330_reset_war()
1314 static bool ath9k_hw_set_reset(struct ath_hw *ah, int type) in ath9k_hw_set_reset()
1397 static bool ath9k_hw_set_reset_power_on(struct ath_hw *ah) in ath9k_hw_set_reset_power_on()
1435 static bool ath9k_hw_set_reset_reg(struct ath_hw *ah, u32 type) in ath9k_hw_set_reset_reg()
1467 static bool ath9k_hw_chip_reset(struct ath_hw *ah, in ath9k_hw_chip_reset()
1496 static bool ath9k_hw_channel_change(struct ath_hw *ah, in ath9k_hw_channel_change()
1566 static void ath9k_hw_apply_gpio_override(struct ath_hw *ah) in ath9k_hw_apply_gpio_override()
1580 void ath9k_hw_check_nav(struct ath_hw *ah) in ath9k_hw_check_nav()
1593 bool ath9k_hw_check_alive(struct ath_hw *ah) in ath9k_hw_check_alive()
1629 static void ath9k_hw_init_mfp(struct ath_hw *ah) in ath9k_hw_init_mfp()
1656 static void ath9k_hw_reset_opmode(struct ath_hw *ah, in ath9k_hw_reset_opmode()
1678 static void ath9k_hw_init_queues(struct ath_hw *ah) in ath9k_hw_init_queues()
1697 static void ath9k_hw_init_desc(struct ath_hw *ah) in ath9k_hw_init_desc()
1736 static int ath9k_hw_do_fastcc(struct ath_hw *ah, struct ath9k_channel *chan) in ath9k_hw_do_fastcc()
1816 int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, in ath9k_hw_reset()
2046 static void ath9k_set_power_sleep(struct ath_hw *ah) in ath9k_set_power_sleep()
2087 static void ath9k_set_power_network_sleep(struct ath_hw *ah) in ath9k_set_power_network_sleep()
2126 static bool ath9k_hw_set_power_awake(struct ath_hw *ah) in ath9k_hw_set_power_awake()
2179 bool ath9k_hw_setpower(struct ath_hw *ah, enum ath9k_power_mode mode) in ath9k_hw_setpower()
2233 void ath9k_hw_beaconinit(struct ath_hw *ah, u32 next_beacon, u32 beacon_period) in ath9k_hw_beaconinit()
2270 void ath9k_hw_set_sta_beacon_timers(struct ath_hw *ah, in ath9k_hw_set_sta_beacon_timers()
2364 static bool ath9k_hw_dfs_tested(struct ath_hw *ah) in ath9k_hw_dfs_tested()
2378 int ath9k_hw_fill_cap_info(struct ath_hw *ah) in ath9k_hw_fill_cap_info()
2605 static void ath9k_hw_gpio_cfg_output_mux(struct ath_hw *ah, in ath9k_hw_gpio_cfg_output_mux()
2633 void ath9k_hw_cfg_gpio_input(struct ath_hw *ah, u32 gpio) in ath9k_hw_cfg_gpio_input()
2655 u32 ath9k_hw_gpio_get(struct ath_hw *ah, u32 gpio) in ath9k_hw_gpio_get()
2683 void ath9k_hw_cfg_output(struct ath_hw *ah, u32 gpio, in ath9k_hw_cfg_output()
2705 void ath9k_hw_set_gpio(struct ath_hw *ah, u32 gpio, u32 val) in ath9k_hw_set_gpio()
2725 void ath9k_hw_request_gpio(struct ath_hw *ah, u32 gpio, const char *label) in ath9k_hw_request_gpio()
2734 void ath9k_hw_setantenna(struct ath_hw *ah, u32 antenna) in ath9k_hw_setantenna()
2744 u32 ath9k_hw_getrxfilter(struct ath_hw *ah) in ath9k_hw_getrxfilter()
2758 void ath9k_hw_setrxfilter(struct ath_hw *ah, u32 bits) in ath9k_hw_setrxfilter()
2785 bool ath9k_hw_phy_disable(struct ath_hw *ah) in ath9k_hw_phy_disable()
2799 bool ath9k_hw_disable(struct ath_hw *ah) in ath9k_hw_disable()
2812 static int get_antenna_gain(struct ath_hw *ah, struct ath9k_channel *chan) in get_antenna_gain()
2824 void ath9k_hw_apply_txpower(struct ath_hw *ah, struct ath9k_channel *chan, in ath9k_hw_apply_txpower()
2849 void ath9k_hw_set_txpowerlimit(struct ath_hw *ah, u32 limit, bool test) in ath9k_hw_set_txpowerlimit()
2866 void ath9k_hw_setopmode(struct ath_hw *ah) in ath9k_hw_setopmode()
2872 void ath9k_hw_setmcastfilter(struct ath_hw *ah, u32 filter0, u32 filter1) in ath9k_hw_setmcastfilter()
2879 void ath9k_hw_write_associd(struct ath_hw *ah) in ath9k_hw_write_associd()
2891 u64 ath9k_hw_gettsf64(struct ath_hw *ah) in ath9k_hw_gettsf64()
2911 void ath9k_hw_settsf64(struct ath_hw *ah, u64 tsf64) in ath9k_hw_settsf64()
2918 void ath9k_hw_reset_tsf(struct ath_hw *ah) in ath9k_hw_reset_tsf()
2929 void ath9k_hw_set_tsfadjust(struct ath_hw *ah, bool set) in ath9k_hw_set_tsfadjust()
2938 void ath9k_hw_set11nmac2040(struct ath_hw *ah, struct ath9k_channel *chan) in ath9k_hw_set11nmac2040()
2981 u32 ath9k_hw_gettsf32(struct ath_hw *ah) in ath9k_hw_gettsf32()
2987 void ath9k_hw_gen_timer_start_tsf2(struct ath_hw *ah) in ath9k_hw_gen_timer_start_tsf2()
2997 struct ath_gen_timer *ath_gen_timer_alloc(struct ath_hw *ah, in ath_gen_timer_alloc()
3034 void ath9k_hw_gen_timer_start(struct ath_hw *ah, in ath9k_hw_gen_timer_start()
3084 void ath9k_hw_gen_timer_stop(struct ath_hw *ah, struct ath_gen_timer *timer) in ath9k_hw_gen_timer_stop()
3116 void ath_gen_timer_free(struct ath_hw *ah, struct ath_gen_timer *timer) in ath_gen_timer_free()
3129 void ath_gen_timer_isr(struct ath_hw *ah) in ath_gen_timer_isr()
3238 void ath9k_hw_name(struct ath_hw *ah, char *hw_name, size_t len) in ath9k_hw_name()