Searched refs:sc_ah (Results 1 – 12 of 12) sorted by relevance
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | gpio.c | 27 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 D | main.c | 93 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 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 …]
|
| H A D | link.c | 49 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 D | channel.c | 25 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 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() 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 D | pci.c | 822 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 D | rng.c | 28 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 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()
|
| H A 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()
|
| H A D | ahb.c | 105 ah = sc->sc_ah; in ath_ahb_probe()
|
| /linux/drivers/infiniband/hw/irdma/ |
| H A D | verbs.c | 4208 info.op.send.ah_id = ah->sc_ah.ah_info.ah_idx; in irdma_post_send() 5187 err = irdma_alloc_rsrc(rf, rf->allocated_ahs, rf->max_ah, &ah->sc_ah.ah_info.ah_idx, in irdma_create_hw_ah() 5192 err = irdma_ah_cqp_op(rf, &ah->sc_ah, IRDMA_OP_AH_CREATE, sleep, in irdma_create_hw_ah() 5193 irdma_gsi_ud_qp_ah_cb, &ah->sc_ah); in irdma_create_hw_ah() 5206 ah->sc_ah.ah_info.ah_valid, 1, in irdma_create_hw_ah() 5217 irdma_free_rsrc(iwdev->rf, iwdev->rf->allocated_ahs, ah->sc_ah.ah_info.ah_idx); in irdma_create_hw_ah() 5230 struct irdma_sc_ah *sc_ah; in irdma_setup_ah() local 5237 sc_ah = &ah->sc_ah; in irdma_setup_ah() 5238 sc_ah->ah_info.vsi = &iwdev->vsi; in irdma_setup_ah() 5239 irdma_sc_init_ah(&rf->sc_dev, sc_ah); in irdma_setup_ah() [all …]
|