/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | gpio.c | 30 if (sc->sc_ah->config.led_active_high) in ath_led_brightness() 33 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, val); in ath_led_brightness() 49 if (AR_SREV_9100(sc->sc_ah)) in ath_init_leds() 70 struct ath_hw *ah = sc->sc_ah; in ath_fill_led_pin() 83 else if (AR_SREV_9485(sc->sc_ah)) in ath_fill_led_pin() 85 else if (AR_SREV_9300(sc->sc_ah)) in ath_fill_led_pin() 87 else if (AR_SREV_9462(sc->sc_ah) || AR_SREV_9565(sc->sc_ah)) in ath_fill_led_pin() 106 struct ath_hw *ah = sc->sc_ah; in ath_is_rfkill_set() 127 struct ath_hw *ah = sc->sc_ah; in ath_start_rfkill_poll() 145 struct ath_hw *ah = sc->sc_ah; in ath_detect_bt_priority() [all …]
|
D | main.c | 90 ret = ath9k_hw_setpower(sc->sc_ah, mode); in ath9k_setpower() 99 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_ps_full_sleep() 106 ath9k_hw_setrxabort(sc->sc_ah, 1); in ath_ps_full_sleep() 107 ath9k_hw_stopdmarecv(sc->sc_ah, &reset); in ath_ps_full_sleep() 109 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_FULL_SLEEP); in ath_ps_full_sleep() 114 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ps_wakeup() 123 power_mode = sc->sc_ah->power_mode; in ath9k_ps_wakeup() 124 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_AWAKE); in ath9k_ps_wakeup() 145 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ps_restore() 165 if (ath9k_hw_btcoex_is_enabled(sc->sc_ah)) in ath9k_ps_restore() [all …]
|
D | mci.c | 121 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_mci_update_scheme() 124 struct ath9k_hw_mci *mci_hw = &sc->sc_ah->btcoex_hw.mci; in ath_mci_update_scheme() 160 btcoex->duty_cycle = AR_SREV_9565(sc->sc_ah) ? 40 : 35; in ath_mci_update_scheme() 186 if (IS_CHAN_2GHZ(sc->sc_ah->curchan)) { in ath_mci_update_scheme() 187 if (IS_CHAN_HT(sc->sc_ah->curchan)) in ath_mci_update_scheme() 194 ath9k_hw_btcoex_disable(sc->sc_ah); in ath_mci_update_scheme() 196 if (IS_CHAN_5GHZ(sc->sc_ah->curchan)) in ath_mci_update_scheme() 206 ath9k_hw_btcoex_enable(sc->sc_ah); in ath_mci_update_scheme() 212 struct ath_hw *ah = sc->sc_ah; in ath_mci_cal_msg() 227 ar9003_mci_send_message(sc->sc_ah, MCI_GPM, 0, payload, in ath_mci_cal_msg() [all …]
|
D | beacon.c | 35 struct ath_hw *ah = sc->sc_ah; in ath9k_beaconq_config() 42 if (sc->sc_ah->opmode == NL80211_IFTYPE_AP || in ath9k_beaconq_config() 43 sc->sc_ah->opmode == NL80211_IFTYPE_MESH_POINT) { in ath9k_beaconq_config() 76 struct ath_hw *ah = sc->sc_ah; in ath9k_beacon_setup() 116 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_beacon_generate() 196 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_beacon_assign_slot() 219 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_beacon_remove_slot() 250 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_beacon_choose_slot() 257 if (sc->sc_ah->opmode != NL80211_IFTYPE_AP && in ath9k_beacon_choose_slot() 258 sc->sc_ah->opmode != NL80211_IFTYPE_MESH_POINT) { in ath9k_beacon_choose_slot() [all …]
|
D | recv.c | 26 (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP); in ath9k_check_auto_sleep() 40 struct ath_hw *ah = sc->sc_ah; in ath_rx_buf_link() 83 ath9k_hw_setantenna(sc->sc_ah, antenna); in ath_setdefantenna() 90 struct ath_hw *ah = sc->sc_ah; in ath_opmode_init() 113 struct ath_hw *ah = sc->sc_ah; in ath_rx_edma_buf_link() 141 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_rx_addbuffer_edma() 173 struct ath_hw *ah = sc->sc_ah; in ath_rx_edma_cleanup() 200 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_rx_edma_init() 201 struct ath_hw *ah = sc->sc_ah; in ath_rx_edma_init() 258 ath9k_hw_rxena(sc->sc_ah); in ath_edma_start_recv() [all …]
|
D | link.c | 33 ath_dbg(ath9k_hw_common(sc->sc_ah), RESET, in ath_tx_complete_poll_work() 55 ath_dbg(ath9k_hw_common(sc->sc_ah), RESET, in ath_tx_complete_poll_work() 70 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_check() 76 is_alive = ath9k_hw_check_alive(sc->sc_ah); in ath_hw_check() 96 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_pll_rx_hang_check() 118 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_pll_work() 132 pll_sqsum = ar9003_get_pll_sqsum_dvc(sc->sc_ah); in ath_hw_pll_work() 146 struct ath_hw *ah = sc->sc_ah; in ath_paprd_activate() 172 struct ath_hw *ah = sc->sc_ah; in ath_paprd_send_frame() 212 struct ath_hw *ah = sc->sc_ah; in ath_paprd_calibrate() [all …]
|
D | init.c | 198 struct ath_hw *ah = sc->sc_ah; in ath9k_reg_notifier() 229 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_descdma_setup() 239 desc_len = sc->sc_ah->caps.tx_desc_len; in ath_descdma_setup() 257 if (!(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_4KB_SPLITTRANS)) { in ath_descdma_setup() 294 if (!(sc->sc_ah->caps.hw_caps & in ath_descdma_setup() 325 if (!(sc->sc_ah->caps.hw_caps & in ath_descdma_setup() 352 sc->beacon.beaconq = ath9k_hw_beaconq_setup(sc->sc_ah); in ath9k_init_queues() 368 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_init_misc() 380 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_ANT_DIV_COMB) in ath9k_init_misc() 383 sc->spec_priv.ah = sc->sc_ah; in ath9k_init_misc() [all …]
|
D | channel.c | 25 struct ath_hw *ah = sc->sc_ah; in ath_set_channel() 68 hchan = &sc->sc_ah->channels[pos]; in ath_set_channel() 105 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_init() 129 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_set_channel() 231 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_check_active() 357 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_setup_timer() 358 struct ath_hw *ah = sc->sc_ah; in ath_chanctx_setup_timer() 399 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_offchannel_noa() 426 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_set_periodic_noa() 458 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_set_oneshot_noa() [all …]
|
D | tx99.c | 21 struct ath_hw *ah = sc->sc_ah; in ath9k_tx99_stop() 36 ath9k_hw_tx99_stop(sc->sc_ah); in ath9k_tx99_stop() 53 struct ath_hw *ah = sc->sc_ah; in ath9k_build_tx99_skb() 112 struct ath_hw *ah = sc->sc_ah; in ath9k_tx99_init() 177 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in write_file_tx99() 253 ath9k_hw_tx99_set_txpower(sc->sc_ah, sc->tx99_power); in write_file_tx99_power() 269 if (!AR_SREV_9300_20_OR_LATER(sc->sc_ah)) in ath9k_tx99_init_debug()
|
D | debug.c | 90 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in read_file_debug() 102 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in write_file_debug() 136 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in read_file_ani() 137 struct ath_hw *ah = sc->sc_ah; in read_file_ani() 192 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in write_file_ani() 235 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in read_file_bt_ant_diversity() 248 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in write_file_bt_ant_diversity() 249 struct ath9k_hw_capabilities *pCap = &sc->sc_ah->caps; in write_file_bt_ant_diversity() 267 ath9k_hw_set_bt_ant_diversity(sc->sc_ah, common->bt_ant_diversity); in write_file_bt_ant_diversity() 304 struct ath_hw *ah = sc->sc_ah; in read_file_antenna_diversity() [all …]
|
D | wow.c | 52 struct ath_hw *ah = sc->sc_ah; in ath9k_wow_add_disassoc_deauth_pattern() 141 struct ath_hw *ah = sc->sc_ah; in ath9k_wow_add_pattern() 171 struct ath_hw *ah = sc->sc_ah; in ath9k_suspend() 283 struct ath_hw *ah = sc->sc_ah; in ath9k_resume() 317 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_set_wakeup() 330 struct ath_hw *ah = sc->sc_ah; in ath9k_init_wow()
|
D | xmit.c | 388 memcpy(tbf->bf_desc, bf->bf_desc, sc->sc_ah->caps.tx_desc_len); in ath_clone_txbuf() 514 if (sc->sc_ah->opmode == NL80211_IFTYPE_STATION) in ath_tx_complete_aggr() 581 ath_dynack_sample_tx_ts(sc->sc_ah, in ath_tx_complete_aggr() 678 ts->duration = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, in ath_tx_process_buffer() 686 ath_dynack_sample_tx_ts(sc->sc_ah, bf->bf_mpdu, ts); in ath_tx_process_buffer() 810 !(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)) in ath_compute_num_delims() 817 if (first_subfrm && !AR_SREV_9580_10_OR_LATER(sc->sc_ah) && in ath_compute_num_delims() 818 (sc->sc_ah->ent_mode & AR_ENT_OTP_MIN_PKT_SIZE_DISABLE)) in ath_compute_num_delims() 1095 struct ath_hw *ah = sc->sc_ah; in ath_get_rate_txpower() 1164 struct ath_hw *ah = sc->sc_ah; in ath_buf_set_rate() [all …]
|
D | pci.c | 825 struct ath_hw *ah = sc->sc_ah; in ath_pci_aspm_init() 979 ath9k_hw_name(sc->sc_ah, hw_name, sizeof(hw_name)); in ath_pci_probe() 998 sc->sc_ah->ah_flags |= AH_UNPLUGGED; in ath_pci_remove() 1011 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_pci_suspend() 1023 ath9k_hw_disable(sc->sc_ah); in ath_pci_suspend() 1025 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_FULL_SLEEP); in ath_pci_suspend() 1035 struct ath_hw *ah = sc->sc_ah; in ath_pci_resume()
|
D | dfs_debug.c | 38 struct ath9k_hw_version *hw_ver = &sc->sc_ah->hw_version; in read_file_dfs() 50 (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_DFS) ? in read_file_dfs()
|
D | dfs.c | 105 struct ath_hw *ah = sc->sc_ah; in ath9k_check_chirping() 268 pe->width = dur_to_usecs(sc->sc_ah, dur); in ath9k_postprocess_radar_event() 298 struct ath_hw *ah = sc->sc_ah; in ath9k_dfs_process_phyerr()
|
D | debug_sta.c | 96 struct ath_hw *ah = sc->sc_ah; in ath_debug_rate_stats() 173 struct ath_hw *ah = sc->sc_ah; in read_file_node_recv()
|
D | ahb.c | 148 ah = sc->sc_ah; in ath_ahb_probe()
|
D | antenna.c | 781 ath9k_hw_antdiv_comb_conf_get(sc->sc_ah, &div_ant_conf); in ath_ant_comb_scan() 840 ath9k_hw_antdiv_comb_conf_set(sc->sc_ah, &div_ant_conf); in ath_ant_comb_scan()
|
D | ath9k.h | 964 struct ath_hw *sc_ah; member
|