Searched refs:ah (Results 26 - 50 of 266) sorted by relevance

1234567891011

/linux-master/drivers/net/wireless/ath/ath9k/
H A Dcommon-init.h18 void ath9k_cmn_setup_ht_cap(struct ath_hw *ah,
20 void ath9k_cmn_reload_chainmask(struct ath_hw *ah);
H A Dar5008_phy.c89 static void ar5008_write_bank6(struct ath_hw *ah, unsigned int *writecnt) argument
91 struct ar5416IniArray *array = &ah->iniBank6;
92 u32 *data = ah->analogBank6Data;
95 ENABLE_REGWRITE_BUFFER(ah);
98 REG_WRITE(ah, INI_RA(array, r, 0), data[r]);
102 REGWRITE_BUFFER_FLUSH(ah);
164 static void ar5008_hw_force_bias(struct ath_hw *ah, u16 synth_freq) argument
166 struct ath_common *common = ath9k_hw_common(ah);
171 if (!AR_SREV_5416(ah) || synth_freq >= 3000)
174 BUG_ON(AR_SREV_9280_20_OR_LATER(ah));
203 ar5008_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) argument
275 ar5008_hw_cmn_spur_mitigate(struct ath_hw *ah, struct ath9k_channel *chan, int bin) argument
432 ar5008_hw_spur_mitigate(struct ath_hw *ah, struct ath9k_channel *chan) argument
497 ar5008_hw_rf_alloc_ext_banks(struct ath_hw *ah) argument
524 ar5008_hw_set_rf_regs(struct ath_hw *ah, struct ath9k_channel *chan, u16 modesIndex) argument
578 ar5008_hw_init_bb(struct ath_hw *ah, struct ath9k_channel *chan) argument
590 ar5008_hw_init_chain_masks(struct ath_hw *ah) argument
635 ar5008_hw_override_ini(struct ath_hw *ah, struct ath9k_channel *chan) argument
688 ar5008_hw_set_channel_regs(struct ath_hw *ah, struct ath9k_channel *chan) argument
722 ar5008_hw_process_ini(struct ath_hw *ah, struct ath9k_channel *chan) argument
826 ar5008_hw_set_rfmode(struct ath_hw *ah, struct ath9k_channel *chan) argument
848 ar5008_hw_mark_phy_inactive(struct ath_hw *ah) argument
853 ar5008_hw_set_delta_slope(struct ath_hw *ah, struct ath9k_channel *chan) argument
887 ar5008_hw_rfbus_req(struct ath_hw *ah) argument
894 ar5008_hw_rfbus_done(struct ath_hw *ah) argument
903 ar5008_restore_chainmask(struct ath_hw *ah) argument
913 ar9160_hw_compute_pll_control(struct ath_hw *ah, struct ath9k_channel *chan) argument
933 ar5008_hw_compute_pll_control(struct ath_hw *ah, struct ath9k_channel *chan) argument
953 ar5008_hw_ani_control_new(struct ath_hw *ah, enum ath9k_ani_cmd cmd, int param) argument
1137 ar5008_hw_do_getnf(struct ath_hw *ah, int16_t nfarray[NUM_NF_READINGS]) argument
1169 ar5008_hw_ani_cache_ini_regs(struct ath_hw *ah) argument
1220 ar5008_hw_set_nf_limits(struct ath_hw *ah) argument
1230 ar5008_hw_set_radar_params(struct ath_hw *ah, struct ath_hw_radar_conf *conf) argument
1264 ar5008_hw_set_radar_conf(struct ath_hw *ah) argument
1278 ar5008_hw_init_txpower_cck(struct ath_hw *ah, int16_t *rate_array) argument
1291 ar5008_hw_init_txpower_ofdm(struct ath_hw *ah, int16_t *rate_array, int offset) argument
1302 ar5008_hw_init_txpower_ht(struct ath_hw *ah, int16_t *rate_array, int ss_offset, int ds_offset, bool is_40, int ht40_delta) argument
1316 ar5008_hw_init_rate_txpower(struct ath_hw *ah, int16_t *rate_array, struct ath9k_channel *chan, int ht40_delta) argument
1343 ar5008_hw_attach_phy_ops(struct ath_hw *ah) argument
[all...]
H A Dar9003_paprd.c21 void ar9003_paprd_enable(struct ath_hw *ah, bool val) argument
23 struct ath9k_channel *chan = ah->curchan;
41 if (ar9003_get_paprd_rate_mask_ht20(ah, is2ghz)
45 if (ar9003_get_paprd_rate_mask_ht20(ah, is2ghz)
49 if (ar9003_get_paprd_rate_mask_ht20(ah, is2ghz)
56 ah->paprd_table_write_done = true;
57 ath9k_hw_apply_txpower(ah, chan, false);
60 REG_RMW_FIELD(ah, AR_PHY_PAPRD_CTRL0_B0,
62 if (ah->caps.tx_chainmask & BIT(1))
63 REG_RMW_FIELD(ah, AR_PHY_PAPRD_CTRL0_B
71 ar9003_get_training_power_2g(struct ath_hw *ah) argument
98 ar9003_get_training_power_5g(struct ath_hw *ah) argument
138 ar9003_paprd_setup_single_table(struct ath_hw *ah) argument
291 ar9003_paprd_get_gain_table(struct ath_hw *ah) argument
305 ar9003_get_desired_gain(struct ath_hw *ah, int chain, int target_power) argument
370 ar9003_tx_force_gain(struct ath_hw *ah, unsigned int gain_index) argument
751 ar9003_paprd_populate_single_table(struct ath_hw *ah, struct ath9k_hw_cal_data *caldata, int chain) argument
799 ar9003_paprd_setup_gain_table(struct ath_hw *ah, int chain) argument
820 ar9003_paprd_retrain_pa_in(struct ath_hw *ah, struct ath9k_hw_cal_data *caldata, int chain) argument
916 ar9003_paprd_create_curve(struct ath_hw *ah, struct ath9k_hw_cal_data *caldata, int chain) argument
963 ar9003_paprd_init_table(struct ath_hw *ah) argument
976 ar9003_paprd_is_done(struct ath_hw *ah) argument
1006 ar9003_is_paprd_enabled(struct ath_hw *ah) argument
[all...]
H A Dar9003_calib.c38 static void ar9003_hw_setup_calibration(struct ath_hw *ah, argument
41 struct ath_common *common = ath9k_hw_common(ah);
50 REG_RMW_FIELD(ah, AR_PHY_TIMING4,
53 REG_WRITE(ah, AR_PHY_CALMODE, AR_PHY_CALMODE_IQ);
59 REG_SET_BIT(ah, AR_PHY_TIMING4, AR_PHY_TIMING4_DO_CAL);
72 static bool ar9003_hw_per_calibration(struct ath_hw *ah, argument
77 struct ath9k_hw_cal_data *caldata = ah->caldata;
83 if (REG_READ(ah, AR_PHY_TIMING4) & AR_PHY_TIMING4_DO_CAL)
89 cur_caldata->calCollect(ah);
90 ah
123 ar9003_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan, u8 rxchainmask, bool longcal) argument
175 ar9003_hw_iqcal_collect(struct ath_hw *ah) argument
197 ar9003_hw_iqcalibrate(struct ath_hw *ah, u8 numChains) argument
317 ar9003_hw_init_cal_settings(struct ath_hw *ah) argument
333 ar9003_hw_dynamic_osdac_selection(struct ath_hw *ah, bool txiqcal_done) argument
551 ar9003_hw_solve_iq_cal(struct ath_hw *ah, s32 sin_2phi_1, s32 cos_2phi_1, s32 sin_2phi_2, s32 cos_2phi_2, s32 mag_a0_d0, s32 phs_a0_d0, s32 mag_a1_d0, s32 phs_a1_d0, s32 solved_eq[]) argument
599 ar9003_hw_find_mag_approx(struct ath_hw *ah, s32 in_re, s32 in_im) argument
618 ar9003_hw_calc_iq_corr(struct ath_hw *ah, s32 chain_idx, const s32 iq_res[], s32 iqc_coeff[]) argument
888 ar9003_hw_tx_iq_cal_outlier_detection(struct ath_hw *ah, struct coeff *coeff, bool is_reusable) argument
980 ar9003_hw_tx_iq_cal_run(struct ath_hw *ah) argument
1003 __ar955x_tx_iq_cal_sort(struct ath_hw *ah, struct coeff *coeff, int i, int nmeasurement) argument
1036 ar955x_tx_iq_cal_median(struct ath_hw *ah, struct coeff *coeff, int iqcal_idx, int nmeasurement) argument
1053 ar9003_hw_tx_iq_cal_post_proc(struct ath_hw *ah, int iqcal_idx, bool is_reusable) argument
1155 ar9003_hw_tx_iq_cal_reload(struct ath_hw *ah) argument
1198 ar9003_hw_manual_peak_cal(struct ath_hw *ah, u8 chain, bool is_2g) argument
1299 ar9003_hw_do_pcoem_manual_peak_cal(struct ath_hw *ah, struct ath9k_channel *chan, bool run_rtt_cal) argument
1337 ar9003_hw_cl_cal_post_proc(struct ath_hw *ah, bool is_reusable) argument
1372 ar9003_hw_init_cal_common(struct ath_hw *ah) argument
1392 ar9003_hw_init_cal_pcoem(struct ath_hw *ah, struct ath9k_channel *chan) argument
1556 do_ar9003_agc_cal(struct ath_hw *ah) argument
1579 ar9003_hw_init_cal_soc(struct ath_hw *ah, struct ath9k_channel *chan) argument
1684 ar9003_hw_attach_calib_ops(struct ath_hw *ah) argument
[all...]
H A Dhtc_drv_gpio.c33 struct ath_hw *ah = priv->ah; local
35 if (ath9k_hw_gpio_get(ah, ah->btcoex_hw.btpriority_gpio))
44 ath_dbg(ath9k_hw_common(ah), BTCOEX,
49 ath_dbg(ath9k_hw_common(ah), BTCOEX,
69 struct ath_common *common = ath9k_hw_common(priv->ah);
82 ath9k_hw_btcoex_bt_stomp(priv->ah, test_bit(OP_BT_SCAN, &priv->op_flags) ?
85 ath9k_hw_btcoex_enable(priv->ah);
102 struct ath_hw *ah local
137 struct ath_hw *ah = priv->ah; local
160 struct ath_hw *ah = priv->ah; local
172 struct ath_hw *ah = priv->ah; local
184 struct ath_hw *ah = priv->ah; local
[all...]
H A Ddynack.h83 void ath_dynack_reset(struct ath_hw *ah);
84 void ath_dynack_node_init(struct ath_hw *ah, struct ath_node *an);
85 void ath_dynack_node_deinit(struct ath_hw *ah, struct ath_node *an);
86 void ath_dynack_init(struct ath_hw *ah);
87 void ath_dynack_sample_ack_ts(struct ath_hw *ah, struct sk_buff *skb, u32 ts);
88 void ath_dynack_sample_tx_ts(struct ath_hw *ah, struct sk_buff *skb,
92 static inline void ath_dynack_init(struct ath_hw *ah) {} argument
93 static inline void ath_dynack_node_init(struct ath_hw *ah, argument
95 static inline void ath_dynack_node_deinit(struct ath_hw *ah, argument
97 static inline void ath_dynack_sample_ack_ts(struct ath_hw *ah, argument
99 ath_dynack_sample_tx_ts(struct ath_hw *ah, struct sk_buff *skb, struct ath_tx_status *ts, struct ieee80211_sta *sta) argument
[all...]
H A Deeprom_4k.c21 static int ath9k_hw_4k_get_eeprom_ver(struct ath_hw *ah) argument
23 u16 version = le16_to_cpu(ah->eeprom.map4k.baseEepHeader.version);
29 static int ath9k_hw_4k_get_eeprom_rev(struct ath_hw *ah) argument
31 u16 version = le16_to_cpu(ah->eeprom.map4k.baseEepHeader.version);
38 static bool __ath9k_hw_4k_fill_eeprom(struct ath_hw *ah) argument
40 u16 *eep_data = (u16 *)&ah->eeprom.map4k;
44 if (!ath9k_hw_nvram_read(ah, addr + eep_start_loc, eep_data))
52 static bool __ath9k_hw_usb_4k_fill_eeprom(struct ath_hw *ah) argument
54 u16 *eep_data = (u16 *)&ah->eeprom.map4k;
56 ath9k_hw_usb_gen_fill_eeprom(ah, eep_dat
61 ath9k_hw_4k_fill_eeprom(struct ath_hw *ah) argument
130 ath9k_hw_4k_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, u8 *buf, u32 len, u32 size) argument
179 ath9k_hw_4k_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, u8 *buf, u32 len, u32 size) argument
186 ath9k_hw_4k_check_eeprom(struct ath_hw *ah) argument
234 ath9k_hw_4k_get_eeprom(struct ath_hw *ah, enum eeprom_param param) argument
283 ath9k_hw_set_4k_power_cal_table(struct ath_hw *ah, struct ath9k_channel *chan) argument
386 ath9k_hw_set_4k_power_per_rate_table(struct ath_hw *ah, struct ath9k_channel *chan, int16_t *ratesArray, u16 cfgCtl, u16 antenna_reduction, u16 powerLimit) argument
577 ath9k_hw_4k_set_txpower(struct ath_hw *ah, struct ath9k_channel *chan, u16 cfgCtl, u8 twiceAntennaReduction, u8 powerLimit, bool test) argument
699 ath9k_hw_4k_set_gain(struct ath_hw *ah, struct modal_eep_4k_header *pModal, struct ar5416_eeprom_4k *eep, u8 txRxAttenLocal) argument
756 ath9k_hw_4k_set_board_values(struct ath_hw *ah, struct ath9k_channel *chan) argument
1034 ath9k_hw_4k_get_spur_channel(struct ath_hw *ah, u16 i, bool is2GHz) argument
1039 ath9k_hw_4k_get_eepmisc(struct ath_hw *ah) argument
[all...]
H A Deeprom_def.c21 static void ath9k_get_txgain_index(struct ath_hw *ah, argument
31 ath9k_hw_get_channel_centers(ah, chan, &centers);
49 while (pcdac > ah->originalGain[i] &&
56 static void ath9k_olc_get_pdadcs(struct ath_hw *ah, argument
64 REG_RMW_FIELD(ah, AR_PHY_TX_PWRCTRL6_0,
66 REG_RMW_FIELD(ah, AR_PHY_TX_PWRCTRL6_1,
69 REG_RMW_FIELD(ah, AR_PHY_TX_PWRCTRL7,
80 static int ath9k_hw_def_get_eeprom_ver(struct ath_hw *ah) argument
82 u16 version = le16_to_cpu(ah->eeprom.def.baseEepHeader.version);
88 static int ath9k_hw_def_get_eeprom_rev(struct ath_hw *ah) argument
97 __ath9k_hw_def_fill_eeprom(struct ath_hw *ah) argument
111 __ath9k_hw_usb_def_fill_eeprom(struct ath_hw *ah) argument
120 ath9k_hw_def_fill_eeprom(struct ath_hw *ah) argument
204 ath9k_hw_def_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, u8 *buf, u32 len, u32 size) argument
257 ath9k_hw_def_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, u8 *buf, u32 len, u32 size) argument
264 ath9k_hw_def_check_eeprom(struct ath_hw *ah) argument
333 ath9k_hw_def_get_eeprom(struct ath_hw *ah, enum eeprom_param param) argument
416 ath9k_hw_def_set_gain(struct ath_hw *ah, struct modal_eep_header *pModal, struct ar5416_eeprom_def *eep, u8 txRxAttenLocal, int regChainOffset, int i) argument
466 ath9k_hw_def_set_board_values(struct ath_hw *ah, struct ath9k_channel *chan) argument
637 ath9k_hw_def_set_addac(struct ath_hw *ah, struct ath9k_channel *chan) argument
691 ath9k_change_gain_boundary_setting(struct ath_hw *ah, u16 *gb, u16 numXpdGain, u16 pdGainOverlap_t2, int8_t pwr_table_offset, int16_t *diff) argument
732 ath9k_adjust_pdadc_values(struct ath_hw *ah, int8_t pwr_table_offset, int16_t diff, u8 *pdadcValues) argument
761 ath9k_hw_set_def_power_cal_table(struct ath_hw *ah, struct ath9k_channel *chan) argument
919 ath9k_hw_set_def_power_per_rate_table(struct ath_hw *ah, struct ath9k_channel *chan, int16_t *ratesArray, u16 cfgCtl, u16 antenna_reduction, u16 powerLimit) argument
1142 ath9k_hw_def_set_txpower(struct ath_hw *ah, struct ath9k_channel *chan, u16 cfgCtl, u8 twiceAntennaReduction, u8 powerLimit, bool test) argument
1298 ath9k_hw_def_get_spur_channel(struct ath_hw *ah, u16 i, bool is2GHz) argument
1305 ath9k_hw_def_get_eepmisc(struct ath_hw *ah) argument
[all...]
H A Dhw.h134 (ath9k_hw_common(ah)->bus_ops->ath_bus_type \
140 ath9k_hw_write_array(ah, iniarray, column, &(regWr))
141 #define REG_READ_ARRAY(ah, array, size) \
142 ath9k_hw_read_array(ah, array, size)
165 #define RTC_PLL_SETTLE_DELAY (AR_SREV_9340(ah) ? 1000 : 100)
630 void (*init_hang_checks)(struct ath_hw *ah);
631 bool (*detect_mac_hang)(struct ath_hw *ah);
632 bool (*detect_bb_hang)(struct ath_hw *ah);
635 void (*init_cal_settings)(struct ath_hw *ah);
636 bool (*init_cal)(struct ath_hw *ah, struc
1001 ath9k_hw_common(struct ath_hw *ah) argument
1006 ath9k_hw_regulatory(struct ath_hw *ah) argument
1011 ath9k_hw_private_ops(struct ath_hw *ah) argument
1016 ath9k_hw_ops(struct ath_hw *ah) argument
1162 ath9k_hw_btcoex_is_enabled(struct ath_hw *ah) argument
1166 ath9k_hw_mci_is_enabled(struct ath_hw *ah) argument
1174 ath9k_hw_get_btcoex_scheme(struct ath_hw *ah) argument
1179 ar9003_hw_attach_aic_ops(struct ath_hw *ah) argument
1182 ath9k_hw_btcoex_is_enabled(struct ath_hw *ah) argument
1186 ath9k_hw_mci_is_enabled(struct ath_hw *ah) argument
1190 ath9k_hw_btcoex_enable(struct ath_hw *ah) argument
1194 ath9k_hw_get_btcoex_scheme(struct ath_hw *ah) argument
1208 ath9k_hw_wow_apply_pattern(struct ath_hw *ah, u8 *user_pattern, u8 *user_mask, int pattern_count, int pattern_len) argument
1216 ath9k_hw_wow_wakeup(struct ath_hw *ah) argument
1220 ath9k_hw_wow_enable(struct ath_hw *ah, u32 pattern_enable) argument
[all...]
H A Dar9003_mci.h306 bool ar9003_mci_send_message(struct ath_hw *ah, u8 header, u32 flag,
309 u32 ar9003_mci_state(struct ath_hw *ah, u32 state_type);
310 int ar9003_mci_setup(struct ath_hw *ah, u32 gpm_addr, void *gpm_buf,
312 void ar9003_mci_cleanup(struct ath_hw *ah);
313 void ar9003_mci_get_interrupt(struct ath_hw *ah, u32 *raw_intr,
315 u32 ar9003_mci_get_next_gpm_offset(struct ath_hw *ah, u32 *more);
316 void ar9003_mci_set_bt_version(struct ath_hw *ah, u8 major, u8 minor);
317 void ar9003_mci_send_wlan_channels(struct ath_hw *ah);
324 void ar9003_mci_stop_bt(struct ath_hw *ah, bool save_fullsleep);
325 void ar9003_mci_init_cal_req(struct ath_hw *ah, boo
343 ar9003_mci_stop_bt(struct ath_hw *ah, bool save_fullsleep) argument
346 ar9003_mci_init_cal_req(struct ath_hw *ah, bool *is_reusable) argument
349 ar9003_mci_init_cal_done(struct ath_hw *ah) argument
352 ar9003_mci_set_full_sleep(struct ath_hw *ah) argument
355 ar9003_mci_2g5g_switch(struct ath_hw *ah, bool wait_done) argument
358 ar9003_mci_check_bt(struct ath_hw *ah) argument
361 ar9003_mci_start_reset(struct ath_hw *ah, struct ath9k_channel *chan) argument
365 ar9003_mci_end_reset(struct ath_hw *ah, struct ath9k_channel *chan, struct ath9k_hw_cal_data *caldata) argument
370 ar9003_mci_reset(struct ath_hw *ah, bool en_int, bool is_2g, bool is_full_sleep) argument
374 ar9003_mci_get_isr(struct ath_hw *ah, enum ath9k_int *masked) argument
377 ar9003_mci_bt_gain_ctrl(struct ath_hw *ah) argument
380 ar9003_mci_set_power_awake(struct ath_hw *ah) argument
383 ar9003_mci_check_gpm_offset(struct ath_hw *ah) argument
386 ar9003_mci_get_max_txpower(struct ath_hw *ah, u8 ctlmode) argument
[all...]
/linux-master/drivers/net/wireless/ath/ath5k/
H A Dani.h104 void ath5k_ani_init(struct ath5k_hw *ah, enum ath5k_ani_mode mode);
105 void ath5k_ani_mib_intr(struct ath5k_hw *ah);
106 void ath5k_ani_calibration(struct ath5k_hw *ah);
107 void ath5k_ani_phy_error_report(struct ath5k_hw *ah,
111 void ath5k_ani_set_noise_immunity_level(struct ath5k_hw *ah, int level);
112 void ath5k_ani_set_spur_immunity_level(struct ath5k_hw *ah, int level);
113 void ath5k_ani_set_firstep_level(struct ath5k_hw *ah, int level);
114 void ath5k_ani_set_ofdm_weak_signal_detection(struct ath5k_hw *ah, bool on);
115 void ath5k_ani_set_cck_weak_signal_detection(struct ath5k_hw *ah, bool on);
117 void ath5k_ani_print_counters(struct ath5k_hw *ah);
[all...]
H A Dmac80211-ops.c61 struct ath5k_hw *ah = hw->priv; local
64 if (WARN_ON(qnum >= ah->ah_capabilities.cap_queues.q_tx_num)) {
69 ath5k_tx_queue(hw, skb, &ah->txqs[qnum], control);
76 struct ath5k_hw *ah = hw->priv; local
80 mutex_lock(&ah->lock);
84 && (ah->num_ap_vifs + ah->num_adhoc_vifs) >= ATH_BCBUF) {
94 if (ah->num_adhoc_vifs ||
95 (ah->nvifs && vif->type == NL80211_IFTYPE_ADHOC)) {
96 ATH5K_ERR(ah, "Onl
161 struct ath5k_hw *ah = hw->priv; local
197 struct ath5k_hw *ah = hw->priv; local
256 struct ath5k_hw *ah = hw->priv; local
375 struct ath5k_hw *ah = hw->priv; local
476 struct ath5k_hw *ah = hw->priv; local
540 struct ath5k_hw *ah = hw->priv; local
549 struct ath5k_hw *ah = hw->priv; local
559 struct ath5k_hw *ah = hw->priv; local
578 struct ath5k_hw *ah = hw->priv; local
616 struct ath5k_hw *ah = hw->priv; local
625 struct ath5k_hw *ah = hw->priv; local
634 struct ath5k_hw *ah = hw->priv; local
650 struct ath5k_hw *ah = hw->priv; local
698 struct ath5k_hw *ah = hw->priv; local
709 struct ath5k_hw *ah = hw->priv; local
726 struct ath5k_hw *ah = hw->priv; local
743 struct ath5k_hw *ah = hw->priv; local
754 struct ath5k_hw *ah = hw->priv; local
[all...]
H A Dphy.c78 * @ah: The &struct ath5k_hw
85 ath5k_hw_radio_revision(struct ath5k_hw *ah, enum nl80211_band band) argument
96 ath5k_hw_reg_write(ah, AR5K_PHY_SHIFT_2GHZ, AR5K_PHY(0));
99 ath5k_hw_reg_write(ah, AR5K_PHY_SHIFT_5GHZ, AR5K_PHY(0));
108 ath5k_hw_reg_write(ah, 0x00001c16, AR5K_PHY(0x34));
111 ath5k_hw_reg_write(ah, 0x00010000, AR5K_PHY(0x20));
113 if (ah->ah_version == AR5K_AR5210) {
114 srev = (ath5k_hw_reg_read(ah, AR5K_PHY(256)) >> 28) & 0xf;
117 srev = (ath5k_hw_reg_read(ah, AR5K_PHY(0x100)) >> 24) & 0xff;
123 ath5k_hw_reg_write(ah, AR5K_PHY_SHIFT_5GH
137 ath5k_channel_ok(struct ath5k_hw *ah, struct ieee80211_channel *channel) argument
160 ath5k_hw_chan_has_spur_noise(struct ath5k_hw *ah, struct ieee80211_channel *channel) argument
194 ath5k_hw_rfb_op(struct ath5k_hw *ah, const struct ath5k_rf_reg *rf_regs, u32 val, u8 reg_id, bool set) argument
286 ath5k_hw_write_ofdm_timings(struct ath5k_hw *ah, struct ieee80211_channel *channel) argument
350 ath5k_hw_phy_disable(struct ath5k_hw *ah) argument
364 ath5k_hw_wait_for_synth(struct ath5k_hw *ah, struct ieee80211_channel *channel) argument
421 ath5k_hw_rfgain_opt_init(struct ath5k_hw *ah) argument
458 ath5k_hw_request_rfgain_probe(struct ath5k_hw *ah) argument
484 ath5k_hw_rf_gainf_corr(struct ath5k_hw *ah) argument
547 ath5k_hw_rf_check_gainf_readback(struct ath5k_hw *ah) argument
604 ath5k_hw_rf_gainf_adjust(struct ath5k_hw *ah) argument
679 ath5k_hw_gainf_calibrate(struct ath5k_hw *ah) argument
750 ath5k_hw_rfgain_init(struct ath5k_hw *ah, enum nl80211_band band) argument
811 ath5k_hw_rfregs_init(struct ath5k_hw *ah, struct ieee80211_channel *channel, unsigned int mode) argument
1197 ath5k_hw_rf5110_channel(struct ath5k_hw *ah, struct ieee80211_channel *channel) argument
1256 ath5k_hw_rf5111_channel(struct ath5k_hw *ah, struct ieee80211_channel *channel) argument
1314 ath5k_hw_rf5112_channel(struct ath5k_hw *ah, struct ieee80211_channel *channel) argument
1388 ath5k_hw_rf2425_channel(struct ath5k_hw *ah, struct ieee80211_channel *channel) argument
1433 ath5k_hw_channel(struct ath5k_hw *ah, struct ieee80211_channel *channel) argument
1524 ath5k_hw_read_measured_noise_floor(struct ath5k_hw *ah) argument
1537 ath5k_hw_init_nfcal_hist(struct ath5k_hw *ah) argument
1551 ath5k_hw_update_nfcal_hist(struct ath5k_hw *ah, s16 noise_floor) argument
1568 ath5k_hw_get_median_noise_floor(struct ath5k_hw *ah) argument
1591 ath5k_hw_update_noise_floor(struct ath5k_hw *ah) argument
1666 ath5k_hw_rf5110_calibrate(struct ath5k_hw *ah, struct ieee80211_channel *channel) argument
1769 ath5k_hw_rf511x_iq_calibrate(struct ath5k_hw *ah) argument
1850 ath5k_hw_phy_calibrate(struct ath5k_hw *ah, struct ieee80211_channel *channel) argument
1900 ath5k_hw_set_spur_mitigation_filter(struct ath5k_hw *ah, struct ieee80211_channel *channel) argument
2196 ath5k_hw_set_def_antenna(struct ath5k_hw *ah, u8 ant) argument
2209 ath5k_hw_set_fast_div(struct ath5k_hw *ah, u8 ee_mode, bool enable) argument
2255 ath5k_hw_set_antenna_switch(struct ath5k_hw *ah, u8 ee_mode) argument
2291 ath5k_hw_set_antenna_mode(struct ath5k_hw *ah, u8 ant_mode) argument
2577 ath5k_get_chan_pcal_surrounding_piers(struct ath5k_hw *ah, struct ieee80211_channel *channel, struct ath5k_chan_pcal_info **pcinfo_l, struct ath5k_chan_pcal_info **pcinfo_r) argument
2666 ath5k_get_rate_pcal_data(struct ath5k_hw *ah, struct ieee80211_channel *channel, struct ath5k_rate_pcal_info *rates) argument
2761 ath5k_get_max_ctl_power(struct ath5k_hw *ah, struct ieee80211_channel *channel) argument
2874 ath5k_fill_pwr_to_pcdac_table(struct ath5k_hw *ah, s16* table_min, s16 *table_max) argument
2924 ath5k_combine_linear_pcdac_curves(struct ath5k_hw *ah, s16* table_min, s16 *table_max, u8 pdcurves) argument
3022 ath5k_write_pcdac_table(struct ath5k_hw *ah) argument
3074 ath5k_combine_pwr_to_pdadc_curves(struct ath5k_hw *ah, s16 *pwr_min, s16 *pwr_max, u8 pdcurves) argument
3198 ath5k_write_pwr_to_pdadc_table(struct ath5k_hw *ah, u8 ee_mode) argument
3267 ath5k_setup_channel_powertable(struct ath5k_hw *ah, struct ieee80211_channel *channel, u8 ee_mode, u8 type) argument
3464 ath5k_write_channel_powertable(struct ath5k_hw *ah, u8 ee_mode, u8 type) argument
3503 ath5k_setup_rate_powertable(struct ath5k_hw *ah, u16 max_pwr, struct ath5k_rate_pcal_info *rate_info, u8 ee_mode) argument
3595 ath5k_hw_txpower(struct ath5k_hw *ah, struct ieee80211_channel *channel, u8 txpower) argument
3721 ath5k_hw_set_txpower_limit(struct ath5k_hw *ah, u8 txpower) argument
3748 ath5k_hw_phy_init(struct ath5k_hw *ah, struct ieee80211_channel *channel, u8 mode, bool fast) argument
[all...]
H A Dgpio.c45 * @ah: The &struct ath5k_hw
53 ath5k_hw_set_ledstate(struct ath5k_hw *ah, unsigned int state) argument
60 if (ah->ah_version != AR5K_AR5210)
61 AR5K_REG_DISABLE_BITS(ah, AR5K_PCICFG,
64 AR5K_REG_DISABLE_BITS(ah, AR5K_PCICFG, AR5K_PCICFG_LED);
94 if (ah->ah_version != AR5K_AR5210)
95 AR5K_REG_ENABLE_BITS(ah, AR5K_PCICFG, led);
97 AR5K_REG_ENABLE_BITS(ah, AR5K_PCICFG, led_5210);
102 * @ah: The &struct ath5k_hw
106 ath5k_hw_set_gpio_input(struct ath5k_hw *ah, u3 argument
124 ath5k_hw_set_gpio_output(struct ath5k_hw *ah, u32 gpio) argument
142 ath5k_hw_get_gpio(struct ath5k_hw *ah, u32 gpio) argument
159 ath5k_hw_set_gpio(struct ath5k_hw *ah, u32 gpio, u32 val) argument
189 ath5k_hw_set_gpio_intr(struct ath5k_hw *ah, unsigned int gpio, u32 interrupt_level) argument
[all...]
H A Dcaps.c33 int ath5k_hw_set_capabilities(struct ath5k_hw *ah) argument
35 struct ath5k_capabilities *caps = &ah->ah_capabilities;
41 if (ah->ah_version == AR5K_AR5210) {
83 ah->ah_version != AR5K_AR5211)) {
97 ah->ah_version != AR5K_AR5211)
104 if ((ah->ah_radio_5ghz_revision & 0xf0) == AR5K_SREV_RAD_2112)
108 if (ah->ah_version == AR5K_AR5210)
114 if (ah->ah_mac_srev >= AR5K_SREV_AR5213A)
120 if (ah->ah_version == AR5K_AR5212)
133 int ath5k_hw_enable_pspoll(struct ath5k_hw *ah, u argument
145 ath5k_hw_disable_pspoll(struct ath5k_hw *ah) argument
[all...]
H A Ddebug.h129 ath5k_debug_init_device(struct ath5k_hw *ah);
132 ath5k_debug_printrxbuffs(struct ath5k_hw *ah);
135 ath5k_debug_dump_bands(struct ath5k_hw *ah);
138 ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf);
145 ATH5K_DBG(struct ath5k_hw *ah, unsigned int m, const char *fmt, ...) {} argument
148 ATH5K_DBG_UNLIMIT(struct ath5k_hw *ah, unsigned int m, const char *fmt, ...) argument
152 ath5k_debug_init_device(struct ath5k_hw *ah) {} argument
155 ath5k_debug_printrxbuffs(struct ath5k_hw *ah) {} argument
158 ath5k_debug_dump_bands(struct ath5k_hw *ah) {} argument
161 ath5k_debug_printtxbuf(struct ath5k_hw *ah, struc argument
[all...]
/linux-master/drivers/net/wireless/ath/
H A Dhw.c120 void *ah = common->ah; local
123 REG_WRITE(ah, AR_STA_ID0, get_unaligned_le32(common->macaddr));
124 id1 = REG_READ(ah, AR_STA_ID1) & ~AR_STA_ID1_SADH_MASK;
126 REG_WRITE(ah, AR_STA_ID1, id1);
128 REG_WRITE(ah, AR_BSSMSKL, get_unaligned_le32(common->bssidmask));
129 REG_WRITE(ah, AR_BSSMSKU, get_unaligned_le16(common->bssidmask + 4));
145 void *ah = common->ah; local
148 REG_WRITE(ah, AR_MIB
[all...]
/linux-master/arch/arm/lib/
H A Dashldi3.S34 #define ah r0 define
37 #define ah r1 define
45 movmi ah, ah, lsl r2
46 movpl ah, al, lsl r3
47 ARM( orrmi ah, ah, al, lsr ip )
49 THUMB( orrmi ah, ah, r3 )
H A Dashrdi3.S34 #define ah r0 define
37 #define ah r1 define
46 movpl al, ah, asr r3
47 ARM( orrmi al, al, ah, lsl ip )
48 THUMB( lslmi r3, ah, ip )
50 mov ah, ah, asr r2
H A Dlshrdi3.S34 #define ah r0 define
37 #define ah r1 define
46 movpl al, ah, lsr r3
47 ARM( orrmi al, al, ah, lsl ip )
48 THUMB( lslmi r3, ah, ip )
50 mov ah, ah, lsr r2
/linux-master/drivers/infiniband/hw/mlx4/
H A Dah.c45 struct mlx4_ib_ah *ah = to_mah(ib_ah); local
48 ah->av.ib.port_pd = cpu_to_be32(to_mpd(ib_ah->pd)->pdn |
50 ah->av.ib.g_slid = rdma_ah_get_path_bits(ah_attr);
51 ah->av.ib.sl_tclass_flowlabel =
56 ah->av.ib.g_slid |= 0x80;
57 ah->av.ib.gid_index = grh->sgid_index;
58 ah->av.ib.hop_limit = grh->hop_limit;
59 ah->av.ib.sl_tclass_flowlabel |=
62 memcpy(ah->av.ib.dgid, grh->dgid.raw, 16);
65 ah
80 struct mlx4_ib_ah *ah = to_mah(ib_ah); local
167 mlx4_ib_create_ah_slave(struct ib_ah *ah, struct rdma_ah_attr *ah_attr, int slave_sgid_index, u8 *s_mac, u16 vlan_tag) argument
199 struct mlx4_ib_ah *ah = to_mah(ibah); local
[all...]
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_ah.c61 struct hns_roce_ah *ah = to_hr_ah(ibah); local
70 ah->av.port = rdma_ah_get_port_num(ah_attr);
71 ah->av.gid_index = grh->sgid_index;
74 ah->av.stat_rate = IB_RATE_10_GBPS;
76 ah->av.hop_limit = grh->hop_limit;
77 ah->av.flowlabel = grh->flow_label;
78 ah->av.udp_sport = get_ah_udp_sport(ah_attr);
79 ah->av.tclass = tclass;
90 ah->av.sl = priority;
92 ah
127 struct hns_roce_ah *ah = to_hr_ah(ibah); local
[all...]
/linux-master/drivers/infiniband/hw/mlx5/
H A Dah.c53 static void create_ib_ah(struct mlx5_ib_dev *dev, struct mlx5_ib_ah *ah, argument
62 memcpy(ah->av.rgid, &grh->dgid, 16);
63 ah->av.grh_gid_fl = cpu_to_be32(grh->flow_label |
66 ah->av.hop_limit = grh->hop_limit;
67 ah->av.tclass = grh->traffic_class;
70 ah->av.stat_rate_sl = (rdma_ah_get_static_rate(ah_attr) << 4);
74 ah->xmit_port =
79 memcpy(ah->av.rmac, ah_attr->roce.dmac,
81 ah->av.udp_sport = mlx5_ah_get_udp_sport(dev, ah_attr);
82 ah
98 struct mlx5_ib_ah *ah = to_mah(ibah); local
129 struct mlx5_ib_ah *ah = to_mah(ibah); local
[all...]
/linux-master/arch/alpha/include/uapi/asm/
H A Da.out.h58 struct aouthdr ah; member in struct:exec
65 #define a_info ah.info
66 #define a_text ah.tsize
67 #define a_data ah.dsize
68 #define a_bss ah.bsize
69 #define a_entry ah.entry
70 #define a_textstart ah.text_start
71 #define a_datastart ah.data_start
72 #define a_bssstart ah.bss_start
73 #define a_gprmask ah
[all...]
/linux-master/drivers/infiniband/hw/mthca/
H A Dmthca_av.c156 struct mthca_ah *ah)
161 ah->type = MTHCA_AH_PCI_POOL;
164 ah->av = kmalloc(sizeof *ah->av, GFP_ATOMIC);
165 if (!ah->av)
168 ah->type = MTHCA_AH_KMALLOC;
169 av = ah->av;
182 ah->type = MTHCA_AH_ON_HCA;
183 ah->avdma = dev->av_table.ddr_av_base +
188 if (ah
153 mthca_create_ah(struct mthca_dev *dev, struct mthca_pd *pd, struct rdma_ah_attr *ah_attr, struct mthca_ah *ah) argument
243 mthca_destroy_ah(struct mthca_dev *dev, struct mthca_ah *ah) argument
264 mthca_ah_grh_present(struct mthca_ah *ah) argument
269 mthca_read_ah(struct mthca_dev *dev, struct mthca_ah *ah, struct ib_ud_header *header) argument
294 struct mthca_ah *ah = to_mah(ibah); local
[all...]

Completed in 214 milliseconds

1234567891011