Home
last modified time | relevance | path

Searched refs:antconf (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wireless/ath/ath9k/
Dar9002_phy.c378 struct ath_hw_antcomb_conf *antconf) in ar9002_hw_antdiv_comb_conf_get() argument
383 antconf->main_lna_conf = (regval & AR_PHY_9285_ANT_DIV_MAIN_LNACONF) >> in ar9002_hw_antdiv_comb_conf_get()
385 antconf->alt_lna_conf = (regval & AR_PHY_9285_ANT_DIV_ALT_LNACONF) >> in ar9002_hw_antdiv_comb_conf_get()
387 antconf->fast_div_bias = (regval & AR_PHY_9285_FAST_DIV_BIAS) >> in ar9002_hw_antdiv_comb_conf_get()
389 antconf->lna1_lna2_switch_delta = -1; in ar9002_hw_antdiv_comb_conf_get()
390 antconf->lna1_lna2_delta = -3; in ar9002_hw_antdiv_comb_conf_get()
391 antconf->div_group = 0; in ar9002_hw_antdiv_comb_conf_get()
395 struct ath_hw_antcomb_conf *antconf) in ar9002_hw_antdiv_comb_conf_set() argument
403 regval |= ((antconf->main_lna_conf << AR_PHY_9285_ANT_DIV_MAIN_LNACONF_S) in ar9002_hw_antdiv_comb_conf_set()
405 regval |= ((antconf->alt_lna_conf << AR_PHY_9285_ANT_DIV_ALT_LNACONF_S) in ar9002_hw_antdiv_comb_conf_set()
[all …]
Dar9003_phy.c1520 struct ath_hw_antcomb_conf *antconf) in ar9003_hw_antdiv_comb_conf_get() argument
1525 antconf->main_lna_conf = (regval & AR_PHY_ANT_DIV_MAIN_LNACONF) >> in ar9003_hw_antdiv_comb_conf_get()
1527 antconf->alt_lna_conf = (regval & AR_PHY_ANT_DIV_ALT_LNACONF) >> in ar9003_hw_antdiv_comb_conf_get()
1529 antconf->fast_div_bias = (regval & AR_PHY_ANT_FAST_DIV_BIAS) >> in ar9003_hw_antdiv_comb_conf_get()
1533 antconf->lna1_lna2_switch_delta = -1; in ar9003_hw_antdiv_comb_conf_get()
1534 antconf->lna1_lna2_delta = -9; in ar9003_hw_antdiv_comb_conf_get()
1535 antconf->div_group = 1; in ar9003_hw_antdiv_comb_conf_get()
1537 antconf->lna1_lna2_switch_delta = -1; in ar9003_hw_antdiv_comb_conf_get()
1538 antconf->lna1_lna2_delta = -9; in ar9003_hw_antdiv_comb_conf_get()
1539 antconf->div_group = 2; in ar9003_hw_antdiv_comb_conf_get()
[all …]
Dhw-ops.h76 struct ath_hw_antcomb_conf *antconf) in ath9k_hw_antdiv_comb_conf_get() argument
78 ath9k_hw_ops(ah)->antdiv_comb_conf_get(ah, antconf); in ath9k_hw_antdiv_comb_conf_get()
82 struct ath_hw_antcomb_conf *antconf) in ath9k_hw_antdiv_comb_conf_set() argument
84 ath9k_hw_ops(ah)->antdiv_comb_conf_set(ah, antconf); in ath9k_hw_antdiv_comb_conf_set()
Dhw.h735 struct ath_hw_antcomb_conf *antconf);
737 struct ath_hw_antcomb_conf *antconf);