Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/ath/ath9k/
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 …]
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 …]
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 …]
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()
149 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ps_restore()
169 if (ath9k_hw_btcoex_is_enabled(sc->sc_ah)) in ath9k_ps_restore()
[all …]
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 …]
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 …]
Dinit.c255 struct ath_hw *ah = sc->sc_ah; in ath9k_reg_notifier()
287 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_descdma_setup()
297 desc_len = sc->sc_ah->caps.tx_desc_len; in ath_descdma_setup()
315 if (!(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_4KB_SPLITTRANS)) { in ath_descdma_setup()
352 if (!(sc->sc_ah->caps.hw_caps & in ath_descdma_setup()
383 if (!(sc->sc_ah->caps.hw_caps & in ath_descdma_setup()
410 sc->beacon.beaconq = ath9k_hw_beaconq_setup(sc->sc_ah); in ath9k_init_queues()
425 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_init_misc()
437 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_ANT_DIV_COMB) in ath9k_init_misc()
440 sc->spec_priv.ah = sc->sc_ah; in ath9k_init_misc()
[all …]
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 …]
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()
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 …]
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()
260 ath9k_hw_tx99_set_txpower(sc->sc_ah, sc->tx99_power); in write_file_tx99_power()
276 if (!AR_SREV_9280_20_OR_LATER(sc->sc_ah)) in ath9k_tx99_init_debug()
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()
Dxmit.c127 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_wake_tx_queue()
443 memcpy(tbf->bf_desc, bf->bf_desc, sc->sc_ah->caps.tx_desc_len); in ath_clone_txbuf()
557 if (sc->sc_ah->opmode == NL80211_IFTYPE_STATION) in ath_tx_complete_aggr()
624 ath_dynack_sample_tx_ts(sc->sc_ah, in ath_tx_complete_aggr()
715 int rate_dur = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, i); in ath_tx_count_airtime()
741 ts->duration = ath9k_hw_get_duration(sc->sc_ah, bf->bf_desc, in ath_tx_process_buffer()
760 ath_dynack_sample_tx_ts(sc->sc_ah, bf->bf_mpdu, ts, in ath_tx_process_buffer()
885 !(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)) in ath_compute_num_delims()
892 if (first_subfrm && !AR_SREV_9580_10_OR_LATER(sc->sc_ah) && in ath_compute_num_delims()
893 (sc->sc_ah->ent_mode & AR_ENT_OTP_MIN_PKT_SIZE_DISABLE)) in ath_compute_num_delims()
[all …]
Dpci.c824 struct ath_hw *ah = sc->sc_ah; in ath_pci_aspm_init()
987 sc->sc_ah->msi_enabled = msi_enabled; in ath_pci_probe()
988 sc->sc_ah->msi_reg = 0; in ath_pci_probe()
990 ath9k_hw_name(sc->sc_ah, hw_name, sizeof(hw_name)); in ath_pci_probe()
1009 sc->sc_ah->ah_flags |= AH_UNPLUGGED; in ath_pci_remove()
1021 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_pci_suspend()
1033 ath9k_hw_disable(sc->sc_ah); in ath_pci_suspend()
1035 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_FULL_SLEEP); in ath_pci_suspend()
1045 struct ath_hw *ah = sc->sc_ah; in ath_pci_resume()
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()
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()
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()
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()
Dahb.c133 ah = sc->sc_ah; in ath_ahb_probe()
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()
Dath9k.h992 struct ath_hw *sc_ah; member
/linux-6.1.9/drivers/infiniband/hw/irdma/
Dverbs.c3140 info.op.send.ah_id = ah->sc_ah.ah_info.ah_idx; in irdma_post_send()
4083 err = irdma_alloc_rsrc(rf, rf->allocated_ahs, rf->max_ah, &ah->sc_ah.ah_info.ah_idx, in irdma_create_hw_ah()
4088 err = irdma_ah_cqp_op(rf, &ah->sc_ah, IRDMA_OP_AH_CREATE, sleep, in irdma_create_hw_ah()
4089 irdma_gsi_ud_qp_ah_cb, &ah->sc_ah); in irdma_create_hw_ah()
4102 } while (!ah->sc_ah.ah_info.ah_valid && --cnt); in irdma_create_hw_ah()
4113 irdma_free_rsrc(iwdev->rf, iwdev->rf->allocated_ahs, ah->sc_ah.ah_info.ah_idx); in irdma_create_hw_ah()
4126 struct irdma_sc_ah *sc_ah; in irdma_setup_ah() local
4133 sc_ah = &ah->sc_ah; in irdma_setup_ah()
4134 sc_ah->ah_info.vsi = &iwdev->vsi; in irdma_setup_ah()
4135 irdma_sc_init_ah(&rf->sc_dev, sc_ah); in irdma_setup_ah()
[all …]
Dutils.c2063 int irdma_ah_cqp_op(struct irdma_pci_f *rf, struct irdma_sc_ah *sc_ah, u8 cmd, in irdma_ah_cqp_op() argument
2083 cqp_info->in.u.ah_create.info = sc_ah->ah_info; in irdma_ah_cqp_op()
2087 cqp_info->in.u.ah_destroy.info = sc_ah->ah_info; in irdma_ah_cqp_op()
2103 sc_ah->ah_info.ah_valid = (cmd == IRDMA_OP_AH_CREATE); in irdma_ah_cqp_op()
2115 struct irdma_sc_ah *sc_ah = qp->pfpdu.ah; in irdma_ieq_ah_cb() local
2120 sc_ah->ah_info.ah_valid = true; in irdma_ieq_ah_cb()
2123 sc_ah->ah_info.ah_valid = false; in irdma_ieq_ah_cb()
2136 struct irdma_sc_ah *sc_ah = cm_node->ah; in irdma_ilq_ah_cb() local
2138 sc_ah->ah_info.ah_valid = !cqp_request->compl_info.op_ret_val; in irdma_ilq_ah_cb()
2219 struct irdma_sc_ah *sc_ah = cqp_request->param; in irdma_gsi_ud_qp_ah_cb() local
[all …]
Dverbs.h44 struct irdma_sc_ah sc_ah; member
Dmain.h534 int irdma_ah_cqp_op(struct irdma_pci_f *rf, struct irdma_sc_ah *sc_ah, u8 cmd,