Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/wireless/ath/ath9k/
Dgpio.c28 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, (brightness == LED_OFF)); in ath_led_brightness()
44 if (AR_SREV_9287(sc->sc_ah)) in ath_init_leds()
45 sc->sc_ah->led_pin = ATH_LED_PIN_9287; in ath_init_leds()
46 else if (AR_SREV_9485(sc->sc_ah)) in ath_init_leds()
47 sc->sc_ah->led_pin = ATH_LED_PIN_9485; in ath_init_leds()
49 sc->sc_ah->led_pin = ATH_LED_PIN_DEF; in ath_init_leds()
52 ath9k_hw_cfg_output(sc->sc_ah, sc->sc_ah->led_pin, in ath_init_leds()
55 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, 1); in ath_init_leds()
80 struct ath_hw *ah = sc->sc_ah; in ath_is_rfkill_set()
96 struct ath_hw *ah = sc->sc_ah; in ath_start_rfkill_poll()
[all …]
Dinit.c210 struct ath_hw *ah = sc->sc_ah; in setup_ht_cap()
221 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_LDPC) in setup_ht_cap()
224 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_SGI_20) in setup_ht_cap()
269 struct ath_regulatory *reg = ath9k_hw_regulatory(sc->sc_ah); in ath9k_reg_notifier()
287 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_descdma_setup()
298 desc_len = sc->sc_ah->caps.tx_desc_len; in ath_descdma_setup()
317 if (!(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_4KB_SPLITTRANS)) { in ath_descdma_setup()
355 if (!(sc->sc_ah->caps.hw_caps & in ath_descdma_setup()
388 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_init_crypto()
392 common->keymax = sc->sc_ah->caps.keycache_size; in ath9k_init_crypto()
[all …]
Dmain.c65 else if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) in ath9k_has_pending_frames()
78 ret = ath9k_hw_setpower(sc->sc_ah, mode); in ath9k_setpower()
86 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ps_wakeup()
94 power_mode = sc->sc_ah->power_mode; in ath9k_ps_wakeup()
95 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_AWAKE); in ath9k_ps_wakeup()
115 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath9k_ps_restore()
127 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_FULL_SLEEP); in ath9k_ps_restore()
133 ath9k_hw_setpower(sc->sc_ah, ATH9K_PM_NETWORK_SLEEP); in ath9k_ps_restore()
162 struct ath_hw *ah = sc->sc_ah; in ath_update_survey_nf()
179 struct ath_hw *ah = sc->sc_ah; in ath_update_survey_stats()
[all …]
Dpci.c113 pci_read_config_byte(pdev, sc->sc_ah->caps.pcie_lcr_offset, &lnkctl); in ath_pci_extn_synch_enable()
115 pci_write_config_byte(pdev, sc->sc_ah->caps.pcie_lcr_offset, lnkctl); in ath_pci_extn_synch_enable()
233 ath9k_hw_name(sc->sc_ah, hw_name, sizeof(hw_name)); in ath_pci_probe()
261 sc->sc_ah->ah_flags |= AH_UNPLUGGED; in ath_pci_remove()
279 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, 1); in ath_pci_suspend()
301 ath9k_hw_cfg_output(sc->sc_ah, sc->sc_ah->led_pin, in ath_pci_resume()
303 ath9k_hw_set_gpio(sc->sc_ah, sc->sc_ah->led_pin, 1); in ath_pci_resume()
Drecv.c34 (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_AUTOSLEEP); in ath9k_check_auto_sleep()
47 struct ath_hw *ah = sc->sc_ah; in ath_rx_buf_link()
84 ath9k_hw_setantenna(sc->sc_ah, antenna); in ath_setdefantenna()
91 struct ath_hw *ah = sc->sc_ah; in ath_opmode_init()
114 struct ath_hw *ah = sc->sc_ah; in ath_rx_edma_buf_link()
143 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_rx_addbuffer_edma()
205 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_rx_edma_init()
206 struct ath_hw *ah = sc->sc_ah; in ath_rx_edma_init()
266 ath9k_hw_rxena(sc->sc_ah); in ath_edma_start_recv()
276 ath9k_hw_startpcureceive(sc->sc_ah, (sc->sc_flags & SC_OP_OFFCHANNEL)); in ath_edma_start_recv()
[all …]
Dxmit.c301 memcpy(tbf->bf_desc, bf->bf_desc, sc->sc_ah->caps.tx_desc_len); in ath_clone_txbuf()
379 if ((sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) || in ath_tx_complete_aggr()
419 if (sc->sc_ah->opmode == NL80211_IFTYPE_STATION) in ath_tx_complete_aggr()
463 if (!(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) && in ath_tx_complete_aggr()
499 if (!(sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA)) { in ath_tx_complete_aggr()
524 ath9k_hw_cleartxdesc(sc->sc_ah, in ath_tx_complete_aggr()
532 ath9k_hw_cleartxdesc(sc->sc_ah, in ath_tx_complete_aggr()
770 ath9k_hw_set_desc_link(sc->sc_ah, bf->bf_desc, 0); in ath_tx_form_aggr()
775 ath9k_hw_set11n_aggr_middle(sc->sc_ah, bf->bf_desc, ndelim); in ath_tx_form_aggr()
779 ath9k_hw_set_desc_link(sc->sc_ah, bf_prev->bf_desc, in ath_tx_form_aggr()
[all …]
Dbeacon.c28 struct ath_hw *ah = sc->sc_ah; in ath_beaconq_config()
34 if (sc->sc_ah->opmode == NL80211_IFTYPE_AP) { in ath_beaconq_config()
67 struct ath_hw *ah = sc->sc_ah; in ath_beacon_setup()
116 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_tx_cabq()
135 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_beacon_generate()
225 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_beacon_alloc()
353 struct ath_hw *ah = sc->sc_ah; in ath_beacon_tasklet()
469 ath9k_hw_beaconinit(sc->sc_ah, next_beacon, beacon_period); in ath9k_beacon_init()
483 struct ath_hw *ah = sc->sc_ah; in ath_beacon_config_ap()
526 struct ath_hw *ah = sc->sc_ah; in ath_beacon_config_sta()
[all …]
Ddebug.c53 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in read_file_debug()
65 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in write_file_debug()
98 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in read_file_tx_chainmask()
110 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in write_file_tx_chainmask()
124 sc->sc_ah->caps.tx_chainmask = mask; in write_file_tx_chainmask()
141 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in read_file_rx_chainmask()
153 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in write_file_rx_chainmask()
167 sc->sc_ah->caps.rx_chainmask = mask; in write_file_rx_chainmask()
184 struct ath_hw *ah = sc->sc_ah; in read_file_dma()
286 if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_EDMA) { in ath_debug_stat_interrupt()
[all …]
Drc.c1175 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_choose_rate_table()
1199 struct ath_common *common = ath9k_hw_common(sc->sc_ah); in ath_rc_init()
1417 else if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_SGI_20) in ath_rate_init()
1443 if (sc->sc_ah->opmode != NL80211_IFTYPE_STATION) in ath_rate_update()
1453 else if (sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_SGI_20) in ath_rate_update()
1466 ath_dbg(ath9k_hw_common(sc->sc_ah), ATH_DBG_CONFIG, in ath_rate_update()
1578 ath_err(ath9k_hw_common(sc->sc_ah), in ath_rate_alloc_sta()
Dahb.c125 ah = sc->sc_ah; in ath_ahb_probe()
Dath9k.h588 struct ath_hw *sc_ah; member