Lines Matching refs:antconf
379 struct ath_hw_antcomb_conf *antconf) in ar9002_hw_antdiv_comb_conf_get() argument
384 antconf->main_lna_conf = (regval & AR_PHY_9285_ANT_DIV_MAIN_LNACONF) >> in ar9002_hw_antdiv_comb_conf_get()
386 antconf->alt_lna_conf = (regval & AR_PHY_9285_ANT_DIV_ALT_LNACONF) >> in ar9002_hw_antdiv_comb_conf_get()
388 antconf->fast_div_bias = (regval & AR_PHY_9285_FAST_DIV_BIAS) >> in ar9002_hw_antdiv_comb_conf_get()
390 antconf->lna1_lna2_switch_delta = -1; in ar9002_hw_antdiv_comb_conf_get()
391 antconf->lna1_lna2_delta = -3; in ar9002_hw_antdiv_comb_conf_get()
392 antconf->div_group = 0; in ar9002_hw_antdiv_comb_conf_get()
396 struct ath_hw_antcomb_conf *antconf) in ar9002_hw_antdiv_comb_conf_set() argument
404 regval |= ((antconf->main_lna_conf << AR_PHY_9285_ANT_DIV_MAIN_LNACONF_S) in ar9002_hw_antdiv_comb_conf_set()
406 regval |= ((antconf->alt_lna_conf << AR_PHY_9285_ANT_DIV_ALT_LNACONF_S) in ar9002_hw_antdiv_comb_conf_set()
408 regval |= ((antconf->fast_div_bias << AR_PHY_9285_FAST_DIV_BIAS_S) in ar9002_hw_antdiv_comb_conf_set()