Home
last modified time | relevance | path

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

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/
H A Dar9300_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 …]
H A Dar9300_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 …]
H A Dar9300_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 …]
H A Dar9300_misc.c36 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_hw_hangs()
99 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_mac_address()
107 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_mac_address()
116 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_bss_id_mask()
124 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_bss_id_mask()
184 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_enable_rf_kill()
294 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_write_associd()
453 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_update_mib_mac_stats()
466 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_mib_mac_stats()
531 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_antenna_switch()
[all …]
H A Dar9300_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()
H A Dar9300_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()
837 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_ani_restart()
863 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_ani_ofdm_err_trigger()
[all …]
H A Dar9300_mci.c216 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_send_coex_version_query()
231 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_send_coex_version_response()
247 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_send_coex_wlan_channels()
263 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_send_coex_bt_status_query()
295 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_send_coex_halt_bt_gpm()
347 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_2g5g_changed()
364 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_send_2g5g_status()
399 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_2g5g_switch()
561 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_process_gpm_extra()
627 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_mci_wait_for_gpm()
[all …]
H A Dar9300_reset.c119 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_attach_hw_platform()
222 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_channel_centers()
358 nf = AH9300(ah)->nfp->nominal + AH9300(ah)->nf_cw_int_delta + in ar9300_get_min_cca_pwr()
372 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_chain_noise_floor()
490 if (nf < AH9300(ah)->nfp->min) { in ar9300_limit_nf_range()
491 return AH9300(ah)->nfp->nominal; in ar9300_limit_nf_range()
492 } else if (nf > AH9300(ah)->nfp->max) { in ar9300_limit_nf_range()
493 return AH9300(ah)->nfp->max; in ar9300_limit_nf_range()
590 struct ath_hal_9300 *ahp = AH9300(ah); in get_noise_floor_thresh()
631 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_store_new_nf()
[all …]
H A Dar9300_spectral.c314 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_configure_spectral_scan()
415 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_spectral_params()
494 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_start_spectral_scan()
530 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_stop_spectral_scan()
573 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_spectral_config()
600 nf = AH9300(ah)->nfp->nominal; in ar9300_get_ctl_chan_nf()
620 nf = AH9300(ah)->nfp->nominal; in ar9300_get_ext_chan_nf()
H A Dar9300_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()
764 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_sm_power_mode()
805 struct ath_hal_9300 *ahp = AH9300(ah); in ar9280_config_ser_des__wow_sleep()
[all …]
H A Dar9300_radio.c86 u_int8_t clk_25mhz = AH9300(ah)->clk_25mhz; in ar9300_set_channel()
272 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_rf_attach()
H A Dar9300_radar.c234 struct ath_hal_9300 *ah9300 = AH9300(ah);
462 struct ath_hal_9300 *ahp = AH9300(ah);
466 AH9300(ah)->ah_fccaifs = 0;
481 AH9300(ah)->ah_fccaifs = 1;
579 struct ath_hal_9300 *ahp = AH9300(ah);
H A Dar9300_xmit_ds.c234 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_raw_tx_desc()
248 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_proc_tx_desc()
579 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_is_tx_done()
602 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_11n_tx_desc()
755 txpower = AH9300(ah)->paprd_training_power; in ar9300_set_11n_rate_scenario()
800 txpower = AH9300(ah)->paprd_training_power; in ar9300_set_11n_rate_scenario()
812 txpower = AH9300(ah)->paprd_training_power; in ar9300_set_11n_rate_scenario()
823 txpower = AH9300(ah)->paprd_training_power; in ar9300_set_11n_rate_scenario()
H A Dar9300_phy.c399 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_rate_txpower()
425 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_adjust_reg_txpower_cdd()
594 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_init_rate_txpower_cck()
637 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_init_rate_txpower_ofdm()
766 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_init_rate_txpower_ht()
848 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_init_rate_txpower_stbc()
964 struct ath_hal_9300 *ahp = AH9300(ah);
1057 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_disp_tpc_tables()
1128 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_tpc_tables()
H A Dar9300_freebsd.c47 AH9300(ah)->ah_tx_chainmask = in ar9300SetChainMasks()
49 AH9300(ah)->ah_rx_chainmask = in ar9300SetChainMasks()
726 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_ani_rxmonitor_freebsd()
751 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_freebsd_setup_tx_desc()
873 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_freebsd_setup_11n_desc()
980 AH9300(ah)->ah_beaconInterval = bt->bt_intval & HAL_BEACON_PERIOD; in ar9300_beacon_set_beacon_timers()
H A Dar9300_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()
454 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_check_key_cache_entry()
H A Dar9300_recv.c74 if ( AH9300(ah)->ah_reset_reason == HAL_RESET_BBPANIC ){ in ar9300_set_rx_abort()
264 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_set_rx_sel_evm()
H A Dar9300_attach.c656 AH9300(ah)->ah_cal_mem = ath_hal_malloc(HOST_CALDATA_SIZE); in ar9300_attach()
657 if (AH9300(ah)->ah_cal_mem == NULL) { in ar9300_attach()
667 OS_MEMCPY(AH9300(ah)->ah_cal_mem, eepromdata, HOST_CALDATA_SIZE); in ar9300_attach()
936 if (AH9300(ah)->clk_25mhz) { in ar9300_attach()
1004 if (AH9300(ah)->clk_25mhz) { in ar9300_attach()
2494 if (AH9300(ah)->ah_cal_mem) in ar9300_detach()
2495 ath_hal_free(AH9300(ah)->ah_cal_mem); in ar9300_detach()
2496 AH9300(ah)->ah_cal_mem = AH_NULL; in ar9300_detach()
2696 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_fill_capability_info()
3096 struct ath_hal_9300 *ahp = AH9300(ah);
[all …]
H A Dar9300_gpio.c412 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_gpio_get_intr()
565 AH9300(ah)->ah_gpio_mask = mask; in ar9300_gpio_set_mask()
577 "AH9300(_ah)->ah_hostifregs:%p\r\n", &(AH9300(ah)->ah_hostifregs)); in ar9300_gpio_show()
H A Dar9300_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()
H A Dar9300_interrupts.c88 struct ath_hal_9300 *ahp = AH9300(ah); in ar9300_get_pending_interrupts()
491 return AH9300(ah)->ah_mask_reg; in ar9300_get_interrupts()
501 struct ath_hal_9300 *ahp = AH9300(ah);
H A Dar9300.h195 ((AH9300(ah)->ah_proc_phy_err & HAL_PROCESS_ANI))
893 #define AH9300(_ah) ((struct ath_hal_9300 *)(_ah)) macro
904 ((ar9300_eeprom_get(AH9300(_ah), EEP_MINOR_REV) <= AR9300_EEP_MINOR_VER_16) || \
905 (ar9300_eeprom_get(AH9300(_ah), EEP_FSTCLK_5G))))
H A Dar9300desc.h472 #define IS_3CHAIN_TX(_ah) (AH9300(_ah)->ah_tx_chainmask == 7)
H A Dar9300reg.h727 #define AR_HOSTIF_REG(_ah, _reg) (AH9300(_ah)->ah_hostifregs._reg)