Home
last modified time | relevance | path

Searched refs:sc_ah (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/net/wireless/ath/ath9k/
H A Dgpio.c27 struct ath_hw *ah = sc->sc_ah; in ath_fill_led_pin()
57 if (sc->sc_ah->config.led_active_high) in ath_led_brightness()
60 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, val); in ath_led_brightness()
71 ath9k_hw_gpio_free(sc->sc_ah, sc->sc_ah->led_pin); in ath_deinit_leds()
78 if (AR_SREV_9100(sc->sc_ah)) in ath_init_leds()
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()
147 if (ath9k_hw_gpio_get(sc->sc_ah, ah->btcoex_hw.btpriority_gpio)) in ath_detect_bt_priority()
156 ath_dbg(ath9k_hw_common(sc->sc_ah), BTCOEX, in ath_detect_bt_priority()
[all …]
H A Dmci.c121 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 …]
H A Dmain.c93 ret = ath9k_hw_setpower(sc->sc_ah, mode); in ath9k_setpower()
102 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_ps_full_sleep()
110 ath9k_hw_setrxabort(sc->sc_ah, 1); in ath_ps_full_sleep()
111 ath9k_hw_stopdmarecv(sc->sc_ah, &reset); in ath_ps_full_sleep()
113 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_FULL_SLEEP); in ath_ps_full_sleep()
118 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ps_wakeup()
127 power_mode = sc->sc_ah->power_mode; in ath9k_ps_wakeup()
128 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_AWAKE); in ath9k_ps_wakeup()
148 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ps_restore()
168 if (ath9k_hw_btcoex_is_enabled(sc->sc_ah)) in ath9k_ps_restore()
[all …]
H A Dlink.c49 ath_dbg(ath9k_hw_common(sc->sc_ah), RESET, in ath_tx_complete_check()
59 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_rx_inactive_check()
103 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_check()
109 is_alive = ath9k_hw_check_alive(sc->sc_ah); in ath_hw_check()
129 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_pll_rx_hang_check()
151 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_pll_work()
165 pll_sqsum = ar9003_get_pll_sqsum_dvc(sc->sc_ah); in ath_hw_pll_work()
179 struct ath_hw *ah = sc->sc_ah; in ath_paprd_activate()
205 struct ath_hw *ah = sc->sc_ah; in ath_paprd_send_frame()
245 struct ath_hw *ah = sc->sc_ah; in ath_paprd_calibrate()
[all …]
H A Dinit.c254 struct ath_hw *ah = sc->sc_ah; in ath9k_reg_notifier()
286 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_descdma_setup()
296 desc_len = sc->sc_ah->caps.tx_desc_len; in ath_descdma_setup()
314 if (!(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_4KB_SPLITTRANS)) { in ath_descdma_setup()
351 if (!(sc->sc_ah->caps.hw_caps & in ath_descdma_setup()
382 if (!(sc->sc_ah->caps.hw_caps & in ath_descdma_setup()
409 sc->beacon.beaconq = ath9k_hw_beaconq_setup(sc->sc_ah); in ath9k_init_queues()
424 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_init_misc()
436 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_ANT_DIV_COMB) in ath9k_init_misc()
439 sc->spec_priv.ah = sc->sc_ah; in ath9k_init_misc()
[all …]
H A Dchannel.c25 struct ath_hw *ah = sc->sc_ah; in ath_set_channel()
69 hchan = &sc->sc_ah->channels[pos]; in ath_set_channel()
106 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_init()
133 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_set_channel()
244 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_check_active()
370 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_setup_timer()
371 struct ath_hw *ah = sc->sc_ah; in ath_chanctx_setup_timer()
414 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_offchannel_noa()
441 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_set_periodic_noa()
473 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_set_oneshot_noa()
[all …]
H A Dtx99.c21 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()
110 struct ath_hw *ah = sc->sc_ah; in ath9k_tx99_init()
174 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in write_file_tx99()
254 ath9k_hw_tx99_set_txpower(sc->sc_ah, sc->tx99_power); in write_file_tx99_power()
270 if (!AR_SREV_9280_20_OR_LATER(sc->sc_ah)) in ath9k_tx99_init_debug()
H A Dxmit.c132 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_wake_tx_queue()
445 memcpy(tbf->bf_desc, bf->bf_desc, sc->sc_ah->caps.tx_desc_len); in ath_clone_txbuf()
560 if (sc->sc_ah->opmode == NL80211_IFTYPE_STATION) in ath_tx_complete_aggr()
627 ath_dynack_sample_tx_ts(sc->sc_ah, in ath_tx_complete_aggr()
718 int rate_dur = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, i); in ath_tx_count_airtime()
744 ts->duration = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, in ath_tx_process_buffer()
763 ath_dynack_sample_tx_ts(sc->sc_ah, bf->bf_mpdu, ts, in ath_tx_process_buffer()
888 !(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)) in ath_compute_num_delims()
895 if (first_subfrm && !AR_SREV_9580_10_OR_LATER(sc->sc_ah) && in ath_compute_num_delims()
896 (sc->sc_ah->ent_mode & AR_ENT_OTP_MIN_PKT_SIZE_DISABLE)) in ath_compute_num_delims()
[all …]
H A Dpci.c822 struct ath_hw *ah = sc->sc_ah; in ath_pci_aspm_init()
985 sc->sc_ah->msi_enabled = msi_enabled; in ath_pci_probe()
986 sc->sc_ah->msi_reg = 0; in ath_pci_probe()
988 ath9k_hw_name(sc->sc_ah, hw_name, sizeof(hw_name)); in ath_pci_probe()
1007 sc->sc_ah->ah_flags |= AH_UNPLUGGED; in ath_pci_remove()
1019 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_pci_suspend()
1031 ath9k_hw_disable(sc->sc_ah); in ath_pci_suspend()
1033 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_FULL_SLEEP); in ath_pci_suspend()
1043 struct ath_hw *ah = sc->sc_ah; in ath_pci_resume()
H A Drng.c28 struct ath_hw *ah = sc->sc_ah; in ath9k_rng_data_read()
98 struct ath_hw *ah = sc->sc_ah; in ath9k_rng_start()
H A Ddfs_debug.c38 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()
H A Ddebug_sta.c96 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()
H A Dahb.c106 ah = sc->sc_ah; in ath_ahb_probe()
H A Dath9k.h993 struct ath_hw *sc_ah; member
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c4037 info.op.send.ah_id = ah->sc_ah.ah_info.ah_idx; in irdma_post_send()
5016 err = irdma_alloc_rsrc(rf, rf->allocated_ahs, rf->max_ah, &ah->sc_ah.ah_info.ah_idx, in irdma_create_hw_ah()
5021 err = irdma_ah_cqp_op(rf, &ah->sc_ah, IRDMA_OP_AH_CREATE, sleep, in irdma_create_hw_ah()
5022 irdma_gsi_ud_qp_ah_cb, &ah->sc_ah); in irdma_create_hw_ah()
5035 } while (!ah->sc_ah.ah_info.ah_valid && --cnt); in irdma_create_hw_ah()
5046 irdma_free_rsrc(iwdev->rf, iwdev->rf->allocated_ahs, ah->sc_ah.ah_info.ah_idx); in irdma_create_hw_ah()
5059 struct irdma_sc_ah *sc_ah; in irdma_setup_ah() local
5066 sc_ah = &ah->sc_ah; in irdma_setup_ah()
5067 sc_ah->ah_info.vsi = &iwdev->vsi; in irdma_setup_ah()
5068 irdma_sc_init_ah(&rf->sc_dev, sc_ah); in irdma_setup_ah()
[all …]
H A Dutils.c1929 int irdma_ah_cqp_op(struct irdma_pci_f *rf, struct irdma_sc_ah *sc_ah, u8 cmd, in irdma_ah_cqp_op() argument
1949 cqp_info->in.u.ah_create.info = sc_ah->ah_info; in irdma_ah_cqp_op()
1953 cqp_info->in.u.ah_destroy.info = sc_ah->ah_info; in irdma_ah_cqp_op()
1969 sc_ah->ah_info.ah_valid = (cmd == IRDMA_OP_AH_CREATE); in irdma_ah_cqp_op()
1981 struct irdma_sc_ah *sc_ah = qp->pfpdu.ah; in irdma_ieq_ah_cb() local
1986 sc_ah->ah_info.ah_valid = true; in irdma_ieq_ah_cb()
1989 sc_ah->ah_info.ah_valid = false; in irdma_ieq_ah_cb()
2002 struct irdma_sc_ah *sc_ah = cm_node->ah; in irdma_ilq_ah_cb() local
2004 sc_ah->ah_info.ah_valid = !cqp_request->compl_info.op_ret_val; in irdma_ilq_ah_cb()
2085 struct irdma_sc_ah *sc_ah = cqp_request->param; in irdma_gsi_ud_qp_ah_cb() local
[all …]
H A Dverbs.h48 struct irdma_sc_ah sc_ah; member
H A Dmain.h562 int irdma_ah_cqp_op(struct irdma_pci_f *rf, struct irdma_sc_ah *sc_ah, u8 cmd,