Home
last modified time | relevance | path

Searched refs:sc_ah (Results 1 – 22 of 22) 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 Dbeacon.c35 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()
197 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()
246 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_beacon_ensure_primary_slot()
297 ath9k_hw_settsf64(sc->sc_ah, avp->chanctx->tsf_val + offset); in ath9k_beacon_ensure_primary_slot()
308 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_beacon_choose_slot()
[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 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 Drecv.c26 (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 …]
H A Dlink.c49 ath_dbg(ath9k_hw_common(sc->sc_ah), RESET, in ath_tx_complete_check()
74 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_check()
80 is_alive = ath9k_hw_check_alive(sc->sc_ah); in ath_hw_check()
100 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_pll_rx_hang_check()
122 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_hw_pll_work()
136 pll_sqsum = ar9003_get_pll_sqsum_dvc(sc->sc_ah); in ath_hw_pll_work()
150 struct ath_hw *ah = sc->sc_ah; in ath_paprd_activate()
176 struct ath_hw *ah = sc->sc_ah; in ath_paprd_send_frame()
216 struct ath_hw *ah = sc->sc_ah; in ath_paprd_calibrate()
308 struct ath_hw *ah = sc->sc_ah; in ath_ani_calibrate()
[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()
249 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_check_active()
375 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_setup_timer()
376 struct ath_hw *ah = sc->sc_ah; in ath_chanctx_setup_timer()
419 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_offchannel_noa()
446 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_set_periodic_noa()
478 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_chanctx_set_oneshot_noa()
[all …]
H A Ddebug.c90 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()
131 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in read_file_ani()
132 struct ath_hw *ah = sc->sc_ah; in read_file_ani()
187 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in write_file_ani()
225 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in read_file_bt_ant_diversity()
238 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in write_file_bt_ant_diversity()
239 struct ath9k_hw_capabilities *pCap = &sc->sc_ah->caps; in write_file_bt_ant_diversity()
252 ath9k_hw_set_bt_ant_diversity(sc->sc_ah, common->bt_ant_diversity); in write_file_bt_ant_diversity()
289 struct ath_hw *ah = sc->sc_ah; in read_file_antenna_diversity()
[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 Dwow.c52 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()
H A Dxmit.c133 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_wake_tx_queue()
448 memcpy(tbf->bf_desc, bf->bf_desc, sc->sc_ah->caps.tx_desc_len); in ath_clone_txbuf()
564 if (sc->sc_ah->opmode == NL80211_IFTYPE_STATION) in ath_tx_complete_aggr()
631 ath_dynack_sample_tx_ts(sc->sc_ah, in ath_tx_complete_aggr()
722 int rate_dur = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, i); in ath_tx_count_airtime()
748 ts->duration = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, in ath_tx_process_buffer()
767 ath_dynack_sample_tx_ts(sc->sc_ah, bf->bf_mpdu, ts, in ath_tx_process_buffer()
892 !(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)) in ath_compute_num_delims()
899 if (first_subfrm && !AR_SREV_9580_10_OR_LATER(sc->sc_ah) && in ath_compute_num_delims()
900 (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 Ddfs.c105 struct ath_hw *ah = sc->sc_ah; in ath9k_check_chirping()
266 pe->width = dur_to_usecs(sc->sc_ah, dur); in ath9k_postprocess_radar_event()
296 struct ath_hw *ah = sc->sc_ah; in ath9k_dfs_process_phyerr()
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 Dantenna.c781 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()
H A Dath9k.h994 struct ath_hw *sc_ah; member
/linux/drivers/infiniband/hw/irdma/
H A Dverbs.c3485 info.op.send.ah_id = ah->sc_ah.ah_info.ah_idx; in irdma_post_send()
4397 err = irdma_alloc_rsrc(rf, rf->allocated_ahs, rf->max_ah, &ah->sc_ah.ah_info.ah_idx, in irdma_create_hw_ah()
4402 err = irdma_ah_cqp_op(rf, &ah->sc_ah, IRDMA_OP_AH_CREATE, sleep, in irdma_create_hw_ah()
4403 irdma_gsi_ud_qp_ah_cb, &ah->sc_ah); in irdma_create_hw_ah()
4416 } while (!ah->sc_ah.ah_info.ah_valid && --cnt); in irdma_create_hw_ah()
4427 irdma_free_rsrc(iwdev->rf, iwdev->rf->allocated_ahs, ah->sc_ah.ah_info.ah_idx); in irdma_create_hw_ah()
4440 struct irdma_sc_ah *sc_ah; in irdma_setup_ah() local
4447 sc_ah = &ah->sc_ah; in irdma_setup_ah()
4448 sc_ah->ah_info.vsi = &iwdev->vsi; in irdma_setup_ah()
4449 irdma_sc_init_ah(&rf->sc_dev, sc_ah); in irdma_setup_ah()
[all …]
H A Dutils.c1947 int irdma_ah_cqp_op(struct irdma_pci_f *rf, struct irdma_sc_ah *sc_ah, u8 cmd, in irdma_ah_cqp_op() argument
1967 cqp_info->in.u.ah_create.info = sc_ah->ah_info; in irdma_ah_cqp_op()
1971 cqp_info->in.u.ah_destroy.info = sc_ah->ah_info; in irdma_ah_cqp_op()
1987 sc_ah->ah_info.ah_valid = (cmd == IRDMA_OP_AH_CREATE); in irdma_ah_cqp_op()
1999 struct irdma_sc_ah *sc_ah = qp->pfpdu.ah; in irdma_ieq_ah_cb() local
2004 sc_ah->ah_info.ah_valid = true; in irdma_ieq_ah_cb()
2007 sc_ah->ah_info.ah_valid = false; in irdma_ieq_ah_cb()
2020 struct irdma_sc_ah *sc_ah = cm_node->ah; in irdma_ilq_ah_cb() local
2022 sc_ah->ah_info.ah_valid = !cqp_request->compl_info.op_ret_val; in irdma_ilq_ah_cb()
2103 struct irdma_sc_ah *sc_ah = cqp_request->param; in irdma_gsi_ud_qp_ah_cb() local
[all …]
H A Dverbs.h45 struct irdma_sc_ah sc_ah; member
H A Dmain.h541 int irdma_ah_cqp_op(struct irdma_pci_f *rf, struct irdma_sc_ah *sc_ah, u8 cmd,