Searched refs:ah (Results 51 - 75 of 266) sorted by relevance

1234567891011

/linux-master/drivers/net/wireless/ath/ath9k/
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...]
H A Ddynack.c28 * @ah: ath hw
31 static u32 ath_dynack_get_max_to(struct ath_hw *ah) argument
33 const struct ath9k_channel *chan = ah->curchan;
61 * @ah: ath hw
65 static inline u32 ath_dynack_get_sifs(struct ath_hw *ah, int phy) argument
70 if (IS_CHAN_QUARTER_RATE(ah->curchan))
72 else if (IS_CHAN_HALF_RATE(ah->curchan))
82 * @ah: ath hw
85 static inline bool ath_dynack_bssidmask(struct ath_hw *ah, const u8 *mac) argument
88 struct ath_common *common = ath9k_hw_common(ah);
105 ath_dynack_set_timeout(struct ath_hw *ah, int to) argument
123 ath_dynack_compute_ackto(struct ath_hw *ah) argument
145 ath_dynack_compute_to(struct ath_hw *ah) argument
206 ath_dynack_sample_tx_ts(struct ath_hw *ah, struct sk_buff *skb, struct ath_tx_status *ts, struct ieee80211_sta *sta) argument
293 ath_dynack_sample_ack_ts(struct ath_hw *ah, struct sk_buff *skb, u32 ts) argument
325 ath_dynack_node_init(struct ath_hw *ah, struct ath_node *an) argument
343 ath_dynack_node_deinit(struct ath_hw *ah, struct ath_node *an) argument
358 ath_dynack_reset(struct ath_hw *ah) argument
388 ath_dynack_init(struct ath_hw *ah) argument
[all...]
H A Dar9002_mac.c22 static void ar9002_hw_rx_enable(struct ath_hw *ah) argument
24 REG_WRITE(ah, AR_CR, AR_CR_RXE(ah));
32 static bool ar9002_hw_get_isr(struct ath_hw *ah, enum ath9k_int *masked, argument
37 struct ath9k_hw_capabilities *pCap = &ah->caps;
40 struct ath_common *common = ath9k_hw_common(ah);
42 if (!AR_SREV_9100(ah)) {
43 if (REG_READ(ah, AR_INTR_ASYNC_CAUSE(ah)) & AR_INTR_MAC_IRQ) {
44 if ((REG_READ(ah, AR_RTC_STATU
212 ar9002_set_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_info *i) argument
316 ar9002_hw_proc_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_status *ts) argument
388 ar9002_hw_get_duration(struct ath_hw *ah, const void *ds, int index) argument
406 ath9k_hw_setuprxdesc(struct ath_hw *ah, struct ath_desc *ds, u32 size, u32 flags) argument
419 ar9002_hw_attach_mac_ops(struct ath_hw *ah) argument
[all...]
H A Deeprom_9287.c23 static int ath9k_hw_ar9287_get_eeprom_ver(struct ath_hw *ah) argument
25 u16 version = le16_to_cpu(ah->eeprom.map9287.baseEepHeader.version);
31 static int ath9k_hw_ar9287_get_eeprom_rev(struct ath_hw *ah) argument
33 u16 version = le16_to_cpu(ah->eeprom.map9287.baseEepHeader.version);
38 static bool __ath9k_hw_ar9287_fill_eeprom(struct ath_hw *ah) argument
40 struct ar9287_eeprom *eep = &ah->eeprom.map9287;
46 if (!ath9k_hw_nvram_read(ah, addr + eep_start_loc, eep_data))
54 static bool __ath9k_hw_usb_ar9287_fill_eeprom(struct ath_hw *ah) argument
56 u16 *eep_data = (u16 *)&ah->eeprom.map9287;
58 ath9k_hw_usb_gen_fill_eeprom(ah, eep_dat
64 ath9k_hw_ar9287_fill_eeprom(struct ath_hw *ah) argument
126 ath9k_hw_ar9287_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, u8 *buf, u32 len, u32 size) argument
176 ath9k_hw_ar9287_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, u8 *buf, u32 len, u32 size) argument
184 ath9k_hw_ar9287_check_eeprom(struct ath_hw *ah) argument
232 ath9k_hw_ar9287_get_eeprom(struct ath_hw *ah, enum eeprom_param param) argument
283 ar9287_eeprom_get_tx_gain_index(struct ath_hw *ah, struct ath9k_channel *chan, struct cal_data_op_loop_ar9287 *pRawDatasetOpLoop, u8 *pCalChans, u16 availPiers, int8_t *pPwr) argument
312 ar9287_eeprom_olpc_set_pdadcs(struct ath_hw *ah, int32_t txPower, u16 chain) argument
353 ath9k_hw_set_ar9287_power_cal_table(struct ath_hw *ah, struct ath9k_channel *chan) argument
491 ath9k_hw_set_ar9287_power_per_rate_table(struct ath_hw *ah, struct ath9k_channel *chan, int16_t *ratesArray, u16 cfgCtl, u16 antenna_reduction, u16 powerLimit) argument
705 ath9k_hw_ar9287_set_txpower(struct ath_hw *ah, struct ath9k_channel *chan, u16 cfgCtl, u8 twiceAntennaReduction, u8 powerLimit, bool test) argument
849 ath9k_hw_ar9287_set_board_values(struct ath_hw *ah, struct ath9k_channel *chan) argument
961 ath9k_hw_ar9287_get_spur_channel(struct ath_hw *ah, u16 i, bool is2GHz) argument
969 ath9k_hw_ar9287_get_eepmisc(struct ath_hw *ah) argument
[all...]
H A Dar9003_eeprom.c2958 static int ath9k_hw_ar9300_check_eeprom(struct ath_hw *ah) argument
2973 static u32 ath9k_hw_ar9300_get_eeprom(struct ath_hw *ah, argument
2976 struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
3003 if (AR_SREV_9565(ah))
3016 static bool ar9300_eeprom_read_byte(struct ath_hw *ah, int address, argument
3021 if (unlikely(!ath9k_hw_nvram_read(ah, address / 2, &val)))
3028 static bool ar9300_eeprom_read_word(struct ath_hw *ah, int address, argument
3033 if (unlikely(!ath9k_hw_nvram_read(ah, address / 2, &val)))
3042 static bool ar9300_read_eeprom(struct ath_hw *ah, int address, u8 *buffer, argument
3045 struct ath_common *common = ath9k_hw_common(ah);
3085 ar9300_otp_read_word(struct ath_hw *ah, int addr, u32 *data) argument
3097 ar9300_read_otp(struct ath_hw *ah, int address, u8 *buffer, int count) argument
3143 ar9300_uncompress_block(struct ath_hw *ah, u8 *mptr, int mdataSize, u8 *block, int size) argument
3180 ar9300_compress_decision(struct ath_hw *ah, int it, int code, int reference, u8 *mptr, u8 *word, int length, int mdata_size) argument
3236 ar9300_check_eeprom_header(struct ath_hw *ah, eeprom_read_op read, int base_addr) argument
3247 ar9300_eeprom_restore_flash(struct ath_hw *ah, u8 *mptr, int mdata_size) argument
3266 ar9300_eeprom_restore_internal(struct ath_hw *ah, u8 *mptr, int mdata_size) argument
3390 ath9k_hw_ar9300_fill_eeprom(struct ath_hw *ah) argument
3440 ar9003_dump_cal_data(struct ath_hw *ah, char *buf, u32 len, u32 size, bool is_2g) argument
3494 ath9k_hw_ar9003_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, u8 *buf, u32 len, u32 size) argument
3574 ath9k_hw_ar9003_dump_eeprom(struct ath_hw *ah, bool dump_base_hdr, u8 *buf, u32 len, u32 size) argument
3582 ath9k_hw_ar9300_get_eeprom_ver(struct ath_hw *ah) argument
3588 ath9k_hw_ar9300_get_eeprom_rev(struct ath_hw *ah) argument
3593 ar9003_modal_header(struct ath_hw *ah, bool is2ghz) argument
3604 ar9003_hw_xpa_bias_level_apply(struct ath_hw *ah, bool is2ghz) argument
3623 ar9003_switch_com_spdt_get(struct ath_hw *ah, bool is2ghz) argument
3628 ar9003_hw_ant_ctrl_common_get(struct ath_hw *ah, bool is2ghz) argument
3633 ar9003_hw_ant_ctrl_common_2_get(struct ath_hw *ah, bool is2ghz) argument
3638 ar9003_hw_ant_ctrl_chain_get(struct ath_hw *ah, int chain, bool is2ghz) argument
3645 ar9003_hw_ant_ctrl_apply(struct ath_hw *ah, bool is2ghz) argument
3796 ar9003_hw_drive_strength_apply(struct ath_hw *ah) argument
3838 ar9003_hw_atten_chain_get(struct ath_hw *ah, int chain, struct ath9k_channel *chan) argument
3866 ar9003_hw_atten_chain_get_margin(struct ath_hw *ah, int chain, struct ath9k_channel *chan) argument
3893 ar9003_hw_atten_apply(struct ath_hw *ah, struct ath9k_channel *chan) argument
3939 is_pmu_set(struct ath_hw *ah, u32 pmu_reg, int pmu_set) argument
3953 ar9003_hw_internal_regulator_apply(struct ath_hw *ah) argument
4048 ar9003_hw_apply_tuning_caps(struct ath_hw *ah) argument
4065 ar9003_hw_quick_drop_apply(struct ath_hw *ah, u16 freq) argument
4088 ar9003_hw_txend_to_xpa_off_apply(struct ath_hw *ah, bool is2ghz) argument
4100 ar9003_hw_xpa_timing_control_apply(struct ath_hw *ah, bool is2ghz) argument
4124 ar9003_hw_xlna_bias_strength_apply(struct ath_hw *ah, bool is2ghz) argument
4146 ar9003_hw_get_thermometer(struct ath_hw *ah) argument
4155 ar9003_hw_thermometer_apply(struct ath_hw *ah) argument
4185 ar9003_hw_thermo_cal_apply(struct ath_hw *ah) argument
4204 ar9003_hw_apply_minccapwr_thresh(struct ath_hw *ah, bool is2ghz) argument
4235 ath9k_hw_ar9300_set_board_values(struct ath_hw *ah, struct ath9k_channel *chan) argument
4255 ath9k_hw_ar9300_set_addac(struct ath_hw *ah, struct ath9k_channel *chan) argument
4323 ar9003_hw_eeprom_get_tgt_pwr(struct ath_hw *ah, u16 rateIndex, u16 freq, bool is2GHz) argument
4358 ar9003_hw_eeprom_get_ht20_tgt_pwr(struct ath_hw *ah, u16 rateIndex, u16 freq, bool is2GHz) argument
4394 ar9003_hw_eeprom_get_ht40_tgt_pwr(struct ath_hw *ah, u16 rateIndex, u16 freq, bool is2GHz) argument
4430 ar9003_hw_eeprom_get_cck_tgt_pwr(struct ath_hw *ah, u16 rateIndex, u16 freq) argument
4455 ar9003_hw_selfgen_tpc_txpower(struct ath_hw *ah, struct ath9k_channel *chan, u8 *pwr_array) argument
4475 ar9003_hw_tx_power_regwrite(struct ath_hw *ah, u8 * pPwrArray) argument
4592 ar9003_hw_get_legacy_target_powers(struct ath_hw *ah, u16 freq, u8 *targetPowerValT2, bool is2GHz) argument
4610 ar9003_hw_get_cck_target_powers(struct ath_hw *ah, u16 freq, u8 *targetPowerValT2) argument
4624 ar9003_hw_get_ht20_target_powers(struct ath_hw *ah, u16 freq, u8 *targetPowerValT2, bool is2GHz) argument
4671 ar9003_hw_get_ht40_target_powers(struct ath_hw *ah, u16 freq, u8 *targetPowerValT2, bool is2GHz) argument
4724 ar9003_hw_get_target_power_eeprom(struct ath_hw *ah, struct ath9k_channel *chan, u8 *targetPowerValT2) argument
4749 ar9003_hw_cal_pier_get(struct ath_hw *ah, bool is2ghz, int ipier, int ichain, int *pfrequency, int *pcorrection, int *ptemperature, int *pvoltage, int *pnf_cal, int *pnf_power) argument
4803 ar9003_hw_power_control_override(struct ath_hw *ah, int frequency, int *correction, int *voltage, int *temperature) argument
4957 ar9003_hw_calibration_apply(struct ath_hw *ah, int frequency) argument
5225 ar9003_hw_set_power_per_rate_table(struct ath_hw *ah, struct ath9k_channel *chan, u8 *pPwrArray, u16 cfgCtl, u8 antenna_reduction, u16 powerLimit) argument
5414 ar9003_paprd_set_txpower(struct ath_hw *ah, struct ath9k_channel *chan, u8 *targetPowerValT2) argument
5441 ath9k_hw_ar9300_set_txpower(struct ath_hw *ah, struct ath9k_channel *chan, u16 cfgCtl, u8 twiceAntennaReduction, u8 powerLimit, bool test) argument
5559 ath9k_hw_ar9300_get_spur_channel(struct ath_hw *ah, u16 i, bool is2GHz) argument
5565 ar9003_hw_get_tx_gain_idx(struct ath_hw *ah) argument
5572 ar9003_hw_get_rx_gain_idx(struct ath_hw *ah) argument
5579 ar9003_get_spur_chan_ptr(struct ath_hw *ah, bool is2ghz) argument
5584 ar9003_get_paprd_rate_mask_ht20(struct ath_hw *ah, bool is2ghz) argument
5589 ar9003_get_paprd_rate_mask_ht40(struct ath_hw *ah, bool is2ghz) argument
5594 ar9003_get_paprd_scale_factor(struct ath_hw *ah, struct ath9k_channel *chan) argument
5615 ar9003_get_eepmisc(struct ath_hw *ah) argument
[all...]
H A Dcommon-beacon.c21 static u32 ath9k_get_next_tbtt(struct ath_hw *ah, u64 tsf, argument
26 tsf += TU_TO_USEC(FUDGE + ah->config.sw_beacon_response_time);
41 int ath9k_cmn_beacon_config_sta(struct ath_hw *ah, argument
45 struct ath_common *common = ath9k_hw_common(ah);
69 tsf = ath9k_hw_gettsf64(ah);
70 conf->nexttbtt = ath9k_get_next_tbtt(ah, tsf, conf->intval);
77 bs->bs_nextdtim = ath9k_get_next_tbtt(ah, tsf, dtim_intval);
114 void ath9k_cmn_beacon_config_adhoc(struct ath_hw *ah, argument
117 struct ath_common *common = ath9k_hw_common(ah);
124 conf->nexttbtt = ath9k_get_next_tbtt(ah, ath9k_hw_gettsf6
144 ath9k_cmn_beacon_config_ap(struct ath_hw *ah, struct ath_beacon_config *conf, unsigned int bc_buf) argument
[all...]
H A Dlink.c150 struct ath_hw *ah = sc->sc_ah; local
151 struct ath_common *common = ath9k_hw_common(ah);
152 struct ath9k_hw_cal_data *caldata = ah->caldata;
160 ar9003_paprd_enable(ah, false);
162 if (!(ah->txchainmask & BIT(chain)))
165 ar9003_paprd_populate_single_table(ah, caldata, chain);
169 ar9003_paprd_enable(ah, true);
176 struct ath_hw *ah = sc->sc_ah; local
177 struct ath_common *common = ath9k_hw_common(ah);
216 struct ath_hw *ah local
308 struct ath_hw *ah = sc->sc_ah; local
423 struct ath_hw *ah = sc->sc_ah; local
451 struct ath_hw *ah = sc->sc_ah; local
490 struct ath_hw *ah = sc->sc_ah; local
508 struct ath_hw *ah = sc->sc_ah; local
[all...]
H A Dar9003_aic.c40 static bool ar9003_hw_is_aic_enabled(struct ath_hw *ah) argument
42 struct ath9k_hw_mci *mci_hw = &ah->btcoex_hw.mci;
106 static void ar9003_aic_gain_table(struct ath_hw *ah) argument
111 REG_WRITE(ah, AR_PHY_BT_COEX_4, 0x2c200a00);
112 REG_WRITE(ah, AR_PHY_BT_COEX_5, 0x5c4e4438);
155 REG_WRITE(ah, (AR_PHY_AIC_SRAM_ADDR_B0 + 0x3000),
160 REG_WRITE(ah, (AR_PHY_AIC_SRAM_DATA_B0 + 0x3000),
165 static u8 ar9003_aic_cal_start(struct ath_hw *ah, u8 min_valid_count) argument
167 struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic;
171 REG_WRITE(ah, (AR_PHY_AIC_SRAM_ADDR_B
264 ar9003_aic_cal_post_process(struct ath_hw *ah) argument
437 ar9003_aic_cal_done(struct ath_hw *ah) argument
452 ar9003_aic_cal_continue(struct ath_hw *ah, bool cal_once) argument
519 ar9003_aic_calibration(struct ath_hw *ah) argument
541 ar9003_aic_start_normal(struct ath_hw *ah) argument
573 ar9003_aic_cal_reset(struct ath_hw *ah) argument
581 ar9003_aic_calibration_single(struct ath_hw *ah) argument
595 ar9003_hw_attach_aic_ops(struct ath_hw *ah) argument
[all...]
H A Dgpio.c27 struct ath_hw *ah = sc->sc_ah; local
30 if (ah->led_pin < 0) {
31 if (AR_SREV_9287(ah))
32 ah->led_pin = ATH_LED_PIN_9287;
33 else if (AR_SREV_9485(ah))
34 ah->led_pin = ATH_LED_PIN_9485;
35 else if (AR_SREV_9300(ah))
36 ah->led_pin = ATH_LED_PIN_9300;
37 else if (AR_SREV_9462(ah) || AR_SREV_9565(ah))
106 struct ath_hw *ah = sc->sc_ah; local
127 struct ath_hw *ah = sc->sc_ah; local
145 struct ath_hw *ah = sc->sc_ah; local
175 struct ath_hw *ah = sc->sc_ah; local
197 struct ath_hw *ah = sc->sc_ah; local
258 struct ath_hw *ah = sc->sc_ah; local
299 struct ath_hw *ah = sc->sc_ah; local
324 struct ath_hw *ah = sc->sc_ah; local
366 struct ath_hw *ah = sc->sc_ah; local
384 struct ath_hw *ah = sc->sc_ah; local
399 struct ath_hw *ah = sc->sc_ah; local
415 struct ath_hw *ah = sc->sc_ah; local
456 struct ath_hw *ah = sc->sc_ah; local
[all...]
H A Dcommon-init.c127 struct ath_hw *ah = common->ah; local
134 if (ah->caps.hw_caps & ATH9K_HW_CAP_2GHZ) {
135 channels = devm_kzalloc(ah->dev,
151 if (ah->caps.hw_caps & ATH9K_HW_CAP_5GHZ) {
152 channels = devm_kzalloc(ah->dev,
172 void ath9k_cmn_setup_ht_cap(struct ath_hw *ah, argument
175 struct ath_common *common = ath9k_hw_common(ah);
185 if (ah->caps.hw_caps & ATH9K_HW_CAP_LDPC)
188 if (ah
230 ath9k_cmn_reload_chainmask(struct ath_hw *ah) argument
[all...]
H A Dwow.c52 struct ath_hw *ah = sc->sc_ah; local
53 struct ath_common *common = ath9k_hw_common(ah);
120 ret = ath9k_hw_wow_apply_pattern(ah, dis_deauth_pattern, dis_deauth_mask,
132 ret = ath9k_hw_wow_apply_pattern(ah, dis_deauth_pattern, dis_deauth_mask,
141 struct ath_hw *ah = sc->sc_ah; local
155 ret = ath9k_hw_wow_apply_pattern(ah,
171 struct ath_hw *ah = sc->sc_ah; local
172 struct ath_common *common = ath9k_hw_common(ah);
253 sc->wow_intr_before_sleep = ah->imask;
254 ah
283 struct ath_hw *ah = sc->sc_ah; local
330 struct ath_hw *ah = sc->sc_ah; local
[all...]
H A Dar9003_aic.h55 u8 ar9003_aic_calibration(struct ath_hw *ah);
56 u8 ar9003_aic_start_normal(struct ath_hw *ah);
57 u8 ar9003_aic_cal_reset(struct ath_hw *ah);
58 u8 ar9003_aic_calibration_single(struct ath_hw *ah);
H A Drng.c28 struct ath_hw *ah = sc->sc_ah; local
32 REG_RMW_FIELD(ah, AR_PHY_TEST(ah), AR_PHY_TEST_BBB_OBS_SEL, 1);
33 REG_CLR_BIT(ah, AR_PHY_TEST(ah), AR_PHY_TEST_RX_OBS_SEL_BIT5);
34 REG_RMW_FIELD(ah, AR_PHY_TEST_CTL_STATUS(ah), AR_PHY_TEST_CTL_RX_OBS_SEL, 0);
37 v1 = REG_READ(ah, AR_PHY_TST_ADC) & 0xffff;
38 v2 = REG_READ(ah, AR_PHY_TST_ADC) & 0xffff;
98 struct ath_hw *ah local
[all...]
/linux-master/drivers/net/wireless/ath/ath5k/
H A Dbase.h92 bool ath5k_any_vif_assoc(struct ath5k_hw *ah);
97 void ath5k_beacon_update_timers(struct ath5k_hw *ah, u64 bc_tsf);
99 void ath5k_beacon_config(struct ath5k_hw *ah);
102 void ath5k_update_bssid_mask_and_opmode(struct ath5k_hw *ah,
104 int ath5k_chan_set(struct ath5k_hw *ah, struct cfg80211_chan_def *chandef);
105 void ath5k_txbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
106 void ath5k_rxbuf_free_skb(struct ath5k_hw *ah, struct ath5k_buf *bf);
112 int ath5k_init_ah(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops);
113 void ath5k_deinit_ah(struct ath5k_hw *ah);
116 #define ath5k_hw_hasbssidmask(_ah) (ah
[all...]
H A Dath5k.h84 _ath5k_printk(const struct ath5k_hw *ah, const char *level,
124 #define AR5K_REG_WRITE_BITS(ah, _reg, _flags, _val) \
125 ath5k_hw_reg_write(ah, (ath5k_hw_reg_read(ah, _reg) & ~(_flags)) | \
128 #define AR5K_REG_MASKED_BITS(ah, _reg, _flags, _mask) \
129 ath5k_hw_reg_write(ah, (ath5k_hw_reg_read(ah, _reg) & \
132 #define AR5K_REG_ENABLE_BITS(ah, _reg, _flags) \
133 ath5k_hw_reg_write(ah, ath5k_hw_reg_read(ah, _re
1182 struct ath5k_hw *ah; /* driver state */ member in struct:ath5k_led
1638 ath5k_hw_common(struct ath5k_hw *ah) argument
1643 ath5k_hw_regulatory(struct ath5k_hw *ah) argument
1651 ath5k_ahb_reg(struct ath5k_hw *ah, u16 reg) argument
1662 ath5k_hw_reg_read(struct ath5k_hw *ah, u16 reg) argument
1667 ath5k_hw_reg_write(struct ath5k_hw *ah, u32 val, u16 reg) argument
1674 ath5k_hw_reg_read(struct ath5k_hw *ah, u16 reg) argument
1679 ath5k_hw_reg_write(struct ath5k_hw *ah, u32 val, u16 reg) argument
1686 ath5k_get_bus_type(struct ath5k_hw *ah) argument
1696 ath5k_hw_nvram_read(struct ath5k_hw *ah, u32 off, u16 *data) argument
[all...]
H A Dpci.c57 struct ath5k_hw *ah = common->priv; local
60 pci_read_config_byte(ah->pdev, PCI_CACHE_LINE_SIZE, &u8tmp);
79 struct ath5k_hw *ah = common->ah; local
85 if (ah->ah_version == AR5K_AR5210) {
86 AR5K_REG_ENABLE_BITS(ah, AR5K_PCICFG, AR5K_PCICFG_EEAE);
87 (void)ath5k_hw_reg_read(ah, AR5K_EEPROM_BASE + (4 * offset));
89 ath5k_hw_reg_write(ah, offset, AR5K_EEPROM_BASE);
90 AR5K_REG_ENABLE_BITS(ah, AR5K_EEPROM_CMD,
95 status = ath5k_hw_reg_read(ah, AR5K_EEPROM_STATU
109 ath5k_hw_read_srev(struct ath5k_hw *ah) argument
118 ath5k_pci_eeprom_read_mac(struct ath5k_hw *ah, u8 *mac) argument
162 struct ath5k_hw *ah; local
291 struct ath5k_hw *ah = hw->priv; local
304 struct ath5k_hw *ah = hw->priv; local
314 struct ath5k_hw *ah = hw->priv; local
[all...]
H A Dahb.c38 struct ath5k_hw *ah = common->priv; local
39 struct platform_device *pdev = to_platform_device(ah->dev);
54 int ath5k_hw_read_srev(struct ath5k_hw *ah) argument
56 struct platform_device *pdev = to_platform_device(ah->dev);
58 ah->ah_mac_srev = bcfg->devid;
62 static int ath5k_ahb_eeprom_read_mac(struct ath5k_hw *ah, u8 *mac) argument
64 struct platform_device *pdev = to_platform_device(ah->dev);
68 if (to_platform_device(ah->dev)->id == 0)
88 struct ath5k_hw *ah; local
129 ah
192 struct ath5k_hw *ah; local
[all...]
H A Ddebug.c157 struct ath5k_hw *ah = seq->private; local
160 ath5k_hw_reg_read(ah, r->addr));
178 struct ath5k_hw *ah = file->private_data; local
184 v = ath5k_hw_reg_read(ah, AR5K_BEACON);
191 "AR5K_LAST_TSTP", ath5k_hw_reg_read(ah, AR5K_LAST_TSTP));
194 "AR5K_BEACON_CNT", ath5k_hw_reg_read(ah, AR5K_BEACON_CNT));
196 v = ath5k_hw_reg_read(ah, AR5K_TIMER0);
200 v = ath5k_hw_reg_read(ah, AR5K_TIMER1);
204 v = ath5k_hw_reg_read(ah, AR5K_TIMER2);
208 v = ath5k_hw_reg_read(ah, AR5K_TIMER
227 struct ath5k_hw *ah = file->private_data; local
260 struct ath5k_hw *ah = file->private_data; local
299 struct ath5k_hw *ah = file->private_data; local
328 struct ath5k_hw *ah = file->private_data; local
361 struct ath5k_hw *ah = file->private_data; local
433 struct ath5k_hw *ah = file->private_data; local
474 struct ath5k_hw *ah = file->private_data; local
529 struct ath5k_hw *ah = file->private_data; local
606 struct ath5k_hw *ah = file->private_data; local
647 struct ath5k_hw *ah = file->private_data; local
756 struct ath5k_hw *ah = file->private_data; local
812 struct ath5k_hw *ah = file->private_data; local
854 struct ath5k_hw *ah = file->private_data; local
889 struct ath5k_hw *ah = inode->i_private; local
978 ath5k_debug_init_device(struct ath5k_hw *ah) argument
1003 ath5k_debug_dump_bands(struct ath5k_hw *ah) argument
1061 ath5k_debug_printrxbuffs(struct ath5k_hw *ah) argument
1085 ath5k_debug_printtxbuf(struct ath5k_hw *ah, struct ath5k_buf *bf) argument
[all...]
/linux-master/net/ipv6/netfilter/
H A Dip6t_ah.c39 const struct ip_auth_hdr *ah; local
52 ah = skb_header_pointer(skb, ptr, sizeof(_ah), &_ah);
53 if (ah == NULL) {
58 hdrlen = ipv6_authlen(ah);
60 pr_debug("IPv6 AH LEN %u %u ", hdrlen, ah->hdrlen);
61 pr_debug("RES %04X ", ah->reserved);
62 pr_debug("SPI %u %08X\n", ntohl(ah->spi), ntohl(ah->spi));
66 ntohl(ah->spi),
74 ahinfo->hdrres, ah
[all...]
/linux-master/drivers/infiniband/hw/ocrdma/
H A Docrdma_ah.h54 int ocrdma_create_ah(struct ib_ah *ah, struct rdma_ah_init_attr *init_attr,
56 int ocrdma_destroy_ah(struct ib_ah *ah, u32 flags);
57 int ocrdma_query_ah(struct ib_ah *ah, struct rdma_ah_attr *ah_attr);
H A Docrdma_ah.c73 static inline int set_av_attr(struct ocrdma_dev *dev, struct ocrdma_ah *ah, argument
94 proto_num = ocrdma_hdr_type_to_proto_num(dev->id, ah->hdr_type);
124 ah->sgid_index = ib_grh->sgid_index;
126 memcpy(&ah->av->eth_hdr, &eth, eth_sz);
127 if (ah->hdr_type == RDMA_NETWORK_IPV4) {
139 memcpy((u8 *)ah->av + eth_sz, &ipv4, sizeof(struct iphdr));
150 memcpy((u8 *)ah->av + eth_sz, &grh, sizeof(struct ocrdma_grh));
153 ah->av->valid |= OCRDMA_AV_VLAN_VALID;
154 ah->av->valid = cpu_to_le32(ah
163 struct ocrdma_ah *ah = get_ocrdma_ah(ibah); local
220 struct ocrdma_ah *ah = get_ocrdma_ah(ibah); local
229 struct ocrdma_ah *ah = get_ocrdma_ah(ibah); local
[all...]
/linux-master/arch/alpha/math-emu/
H A Dsfp-util.h8 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
9 ((sl) = (al) + (bl), (sh) = (ah) + (bh) + ((sl) < (al)))
11 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
12 ((sl) = (al) - (bl), (sh) = (ah) - (bh) - ((al) < (bl)))
/linux-master/arch/sparc/math-emu/
H A Dsfp-util_32.h7 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
12 : "%rJ" ((USItype)(ah)), \
17 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
22 : "rJ" ((USItype)(ah)), \
/linux-master/drivers/net/wireless/ath/
H A Dkey.c45 void *ah = common->ah; local
53 keyType = REG_READ(ah, AR_KEYTABLE_TYPE(entry));
55 ENABLE_REGWRITE_BUFFER(ah);
57 REG_WRITE(ah, AR_KEYTABLE_KEY0(entry), 0);
58 REG_WRITE(ah, AR_KEYTABLE_KEY1(entry), 0);
59 REG_WRITE(ah, AR_KEYTABLE_KEY2(entry), 0);
60 REG_WRITE(ah, AR_KEYTABLE_KEY3(entry), 0);
61 REG_WRITE(ah, AR_KEYTABLE_KEY4(entry), 0);
62 REG_WRITE(ah, AR_KEYTABLE_TYP
91 void *ah = common->ah; local
133 void *ah = common->ah; local
[all...]
/linux-master/drivers/infiniband/sw/rxe/
H A Drxe_av.c23 struct rxe_ah *ah; local
27 ah = obj;
28 rxe = to_rdev(ah->ibah.device);
39 rxe_dbg_ah(ah, "invalid sgid index = %d\n",
51 rxe_dbg_ah(ah, "invalid network type for rdma_rxe = %d\n",
68 int rxe_ah_chk_attr(struct rxe_ah *ah, struct rdma_ah_attr *attr) argument
70 return chk_attr(ah, attr, true);
133 struct rxe_ah *ah; local
151 ah = rxe_pool_get_index(&pkt->rxe->ah_pool, ah_num);
152 if (!ah) {
[all...]

Completed in 236 milliseconds

1234567891011