Home
last modified time | relevance | path

Searched refs:AH9300 (Results 1 – 25 of 25) sorted by relevance

/trueos/sys/contrib/dev/ath/ath_hal/ar9300/
HDeeprom.diff56 + AH9300(ah)->calibration_data_source);
140 struct ath_hal_9300 *ahp = AH9300(ah);
220 - if ((AH9300(ah)->calibration_data_try == calibration_data_none ||
221 + if (0 && (AH9300(ah)->calibration_data_try == calibration_data_none ||
222 AH9300(ah)->calibration_data_try == calibration_data_dram) &&
223 AH9300(ah)->try_dram && nptr < 0)
226 AH9300(ah)->calibration_data_source = calibration_data_dram;
227 AH9300(ah)->calibration_data_source_address = 0;
233 - if ((AH9300(ah)->calibration_data_try == calibration_data_none ||
234 + if (0 && (AH9300(ah)->calibration_data_try == calibration_data_none ||
[all …]
HDar9300_eeprom.c91 AH9300(ah)->calibration_data_source = source; in ar9300_calibration_data_set()
100 return AH9300(ah)->calibration_data_source; in ar9300_calibration_data_get()
114 AH9300(ah)->calibration_data_source_address = size; in ar9300_calibration_data_address_set()
123 return AH9300(ah)->calibration_data_source_address; in ar9300_calibration_data_address_get()
146 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_eeprom_template_install()
180 AH9300(ah)->calibration_data_source = calibration_data_none; in ar9300_eeprom_restore_something()
181 AH9300(ah)->calibration_data_source_address = 0; in ar9300_eeprom_restore_something()
194 AH9300(ah)->calibration_data_source = calibration_data_none; in ar9300_eeprom_restore_something()
195 AH9300(ah)->calibration_data_source_address = 0; in ar9300_eeprom_restore_something()
208 AH9300(ah)->calibration_data_source = calibration_data_none; in ar9300_eeprom_restore_something()
[all …]
HDar9300_xmit.c42 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_update_tx_trig_level()
46 if (AH9300(ah)->ah_tx_trig_level >= MAX_TX_FIFO_THRESHOLD && in ar9300_update_tx_trig_level()
78 AH9300(ah)->ah_tx_trig_level = new_level; in ar9300_update_tx_trig_level()
89 return (AH9300(ah)->ah_tx_trig_level); in ar9300_get_tx_trig_level()
99 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_tx_queue_props()
115 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_tx_queue_props()
140 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_setup_tx_queue()
224 struct ath_hal_9300 *ahp = AH9300(ah); in set_tx_q_interrupts()
250 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_release_tx_queue()
285 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_reset_tx_queue()
[all …]
HDar9300_paprd.c55 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_paprd_setup_single_table()
74 ar9300_eeprom_t *eep = &AH9300(ah)->ah_eeprom; in ar9300_paprd_setup_single_table()
218 if (AH9300(ah)->ah_tx_chainmask & AR9300_CHAIN0_MASK) { in ar9300_paprd_setup_single_table()
238 if (AH9300(ah)->ah_tx_chainmask & AR9300_CHAIN1_MASK) { in ar9300_paprd_setup_single_table()
258 if (AH9300(ah)->ah_tx_chainmask & AR9300_CHAIN2_MASK) { in ar9300_paprd_setup_single_table()
449 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_enable_paprd()
455 ar9300_eeprom_t *eep = &AH9300(ah)->ah_eeprom; in ar9300_enable_paprd()
538 if (!AR_SREV_JUPITER(ah) || (AH9300(ah)->ah_tx_chainmask & AR9300_CHAIN2_MASK)) { in ar9300_enable_paprd()
562 if (AH9300(ah)->ah_tx_chainmask & AR9300_CHAIN0_MASK) { in ar9300_enable_paprd()
581 if (AH9300(ah)->ah_tx_chainmask & AR9300_CHAIN1_MASK) { in ar9300_enable_paprd()
[all …]
HDar9300_misc.c34 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_hw_hangs()
97 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_mac_address()
105 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_mac_address()
114 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_bss_id_mask()
122 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_bss_id_mask()
182 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_enable_rf_kill()
292 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_write_associd()
451 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_update_mib_mac_stats()
464 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_mib_mac_stats()
529 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_antenna_switch()
[all …]
HDar9300_timer.c63 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_alloc_generic_timer()
94 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_start_tsf2()
106 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_free_generic_timer()
178 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_gen_timer_interrupts()
HDar9300_mci.c212 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_send_coex_version_query()
227 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_send_coex_version_response()
243 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_send_coex_wlan_channels()
259 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_send_coex_bt_status_query()
291 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_send_coex_halt_bt_gpm()
343 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_2g5g_changed()
360 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_send_2g5g_status()
395 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_2g5g_switch()
547 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_process_gpm_extra()
613 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_wait_for_gpm()
[all …]
HDar9300_ani.c181 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_ani_channel_index()
207 return AH9300(ah)->ah_curani; in ar9300_ani_get_current_state()
216 return &AH9300(ah)->ah_stats; in ar9300_ani_get_current_stats()
227 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_ani_attach()
296 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_ani_init_defaults()
359 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_ani_set_odfm_noise_immunity_level()
413 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_ani_set_cck_noise_immunity_level()
458 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_ani_control()
791 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_ani_restart()
817 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_ani_ofdm_err_trigger()
[all …]
HDar9300_reset.c97 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_attach_hw_platform()
200 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_channel_centers()
335 nf = AH9300(ah)->nfp->nominal + AH9300(ah)->nf_cw_int_delta + in ar9300_get_min_cca_pwr()
349 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_chain_noise_floor()
439 if (nf < AH9300(ah)->nfp->min) { in ar9300_limit_nf_range()
440 return AH9300(ah)->nfp->nominal; in ar9300_limit_nf_range()
441 } else if (nf > AH9300(ah)->nfp->max) { in ar9300_limit_nf_range()
442 return AH9300(ah)->nfp->max; in ar9300_limit_nf_range()
539 struct ath_hal_9300 *ahp = AH9300(ah); in get_noise_floor_thresh()
579 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_store_new_nf()
[all …]
HDar9300_power.c28 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_wowoffload_prep()
36 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_wowoffload_post()
56 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_wowoffload_add_mcast_filter()
388 OS_REG_WRITE(ah, AR_WOW_OFFLOAD_GTK_TXDESC_PARAM(2), AH9300(ah)->ah_tx_chainmask); in ar9300_wow_offload_download_hal_params()
496 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_power_mode_awake()
546 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_power_mode_sleep()
598 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_power_mode_network_sleep()
655 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_power_mode()
752 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_sm_power_mode()
793 struct ath_hal_9300 *ahp = AH9300(ah); in ar9280_config_ser_des__wow_sleep()
[all …]
HDar9300_radar.c234 struct ath_hal_9300 *ah9300 = AH9300(ah);
437 struct ath_hal_9300 *ahp = AH9300(ah);
441 AH9300(ah)->ah_fccaifs = 0;
456 AH9300(ah)->ah_fccaifs = 1;
554 struct ath_hal_9300 *ahp = AH9300(ah);
HDar9300_xmit_ds.c225 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_raw_tx_desc()
239 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_proc_tx_desc()
567 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_is_tx_done()
590 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_11n_tx_desc()
737 txpower = AH9300(ah)->paprd_training_power; in ar9300_set_11n_rate_scenario()
782 txpower = AH9300(ah)->paprd_training_power; in ar9300_set_11n_rate_scenario()
794 txpower = AH9300(ah)->paprd_training_power; in ar9300_set_11n_rate_scenario()
805 txpower = AH9300(ah)->paprd_training_power; in ar9300_set_11n_rate_scenario()
HDar9300_phy.c397 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_rate_txpower()
423 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_adjust_reg_txpower_cdd()
585 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_init_rate_txpower_cck()
628 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_init_rate_txpower_ofdm()
757 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_init_rate_txpower_ht()
839 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_init_rate_txpower_stbc()
951 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_adjust_rate_txpower_cdd()
1043 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_disp_tpc_tables()
1114 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_tpc_tables()
HDar9300_spectral.c311 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_configure_spectral_scan()
397 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_spectral_params()
458 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_start_spectral_scan()
492 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_stop_spectral_scan()
535 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_spectral_config()
HDar9300_radio.c86 u_int8_t clk_25mhz = AH9300(ah)->clk_25mhz; in ar9300_set_channel()
259 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_rf_attach()
HDar9300_attach.c641 AH9300(ah)->ah_cal_mem = ath_hal_malloc(HOST_CALDATA_SIZE); in ar9300_attach()
642 if (AH9300(ah)->ah_cal_mem == NULL) { in ar9300_attach()
652 OS_MEMCPY(AH9300(ah)->ah_cal_mem, eepromdata, HOST_CALDATA_SIZE); in ar9300_attach()
909 if (AH9300(ah)->clk_25mhz) { in ar9300_attach()
977 if (AH9300(ah)->clk_25mhz) { in ar9300_attach()
2371 if (AH9300(ah)->ah_cal_mem) in ar9300_detach()
2372 ath_hal_free(AH9300(ah)->ah_cal_mem); in ar9300_detach()
2373 AH9300(ah)->ah_cal_mem = AH_NULL; in ar9300_detach()
2570 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_fill_capability_info()
2966 struct ath_hal_9300 *ahp = AH9300(ah);
[all …]
HDar9300_keycache.c34 (AH9300(ah)->ah_sta_id1_defaults & AR_STA_ID1_CRPT_MIC_ENABLE)
80 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_reset_key_cache_entry()
198 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_key_cache_entry()
HDar9300_freebsd.c44 AH9300(ah)->ah_tx_chainmask = in ar9300SetChainMasks()
46 AH9300(ah)->ah_rx_chainmask = in ar9300SetChainMasks()
447 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_freebsd_setup_tx_desc()
567 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_freebsd_setup_11n_desc()
HDar9300_recv.c74 if ( AH9300(ah)->ah_reset_reason == HAL_RESET_BBPANIC ){ in ar9300_set_rx_abort()
259 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_rx_sel_evm()
HDar9300_gpio.c416 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_gpio_get_intr()
572 AH9300(ah)->ah_gpio_mask = mask; in ar9300_gpio_set_mask()
584 "AH9300(_ah)->ah_hostifregs:%p\r\n", &(AH9300(ah)->ah_hostifregs)); in ar9300_gpio_show()
HDar9300_aic.c284 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_aic_cal_post_process()
491 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_aic_calibration()
675 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_aic_start_normal()
HDar9300_interrupts.c88 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_pending_interrupts()
474 return AH9300(ah)->ah_mask_reg; in ar9300_get_interrupts()
484 struct ath_hal_9300 *ahp = AH9300(ah);
HDar9300.h205 ((AH9300(ah)->ah_proc_phy_err & HAL_PROCESS_ANI))
883 #define AH9300(_ah) ((struct ath_hal_9300 *)(_ah)) macro
894 ((ar9300_eeprom_get(AH9300(_ah), EEP_MINOR_REV) <= AR9300_EEP_MINOR_VER_16) || \
895 (ar9300_eeprom_get(AH9300(_ah), EEP_FSTCLK_5G))))
HDar9300desc.h470 #define IS_3CHAIN_TX(_ah) (AH9300(_ah)->ah_tx_chainmask == 7)
HDar9300reg.h726 #define AR_HOSTIF_REG(_ah, _reg) (AH9300(_ah)->ah_hostifregs._reg)