Lines Matching refs:antconf
1499 struct ath_hw_antcomb_conf *antconf) in ar9003_hw_antdiv_comb_conf_get() argument
1504 antconf->main_lna_conf = (regval & AR_PHY_ANT_DIV_MAIN_LNACONF) >> in ar9003_hw_antdiv_comb_conf_get()
1506 antconf->alt_lna_conf = (regval & AR_PHY_ANT_DIV_ALT_LNACONF) >> in ar9003_hw_antdiv_comb_conf_get()
1508 antconf->fast_div_bias = (regval & AR_PHY_ANT_FAST_DIV_BIAS) >> in ar9003_hw_antdiv_comb_conf_get()
1512 antconf->lna1_lna2_switch_delta = -1; in ar9003_hw_antdiv_comb_conf_get()
1513 antconf->lna1_lna2_delta = -9; in ar9003_hw_antdiv_comb_conf_get()
1514 antconf->div_group = 1; in ar9003_hw_antdiv_comb_conf_get()
1516 antconf->lna1_lna2_switch_delta = -1; in ar9003_hw_antdiv_comb_conf_get()
1517 antconf->lna1_lna2_delta = -9; in ar9003_hw_antdiv_comb_conf_get()
1518 antconf->div_group = 2; in ar9003_hw_antdiv_comb_conf_get()
1520 antconf->lna1_lna2_switch_delta = 3; in ar9003_hw_antdiv_comb_conf_get()
1521 antconf->lna1_lna2_delta = -9; in ar9003_hw_antdiv_comb_conf_get()
1522 antconf->div_group = 3; in ar9003_hw_antdiv_comb_conf_get()
1524 antconf->lna1_lna2_switch_delta = -1; in ar9003_hw_antdiv_comb_conf_get()
1525 antconf->lna1_lna2_delta = -3; in ar9003_hw_antdiv_comb_conf_get()
1526 antconf->div_group = 0; in ar9003_hw_antdiv_comb_conf_get()
1531 struct ath_hw_antcomb_conf *antconf) in ar9003_hw_antdiv_comb_conf_set() argument
1541 regval |= ((antconf->main_lna_conf << AR_PHY_ANT_DIV_MAIN_LNACONF_S) in ar9003_hw_antdiv_comb_conf_set()
1543 regval |= ((antconf->alt_lna_conf << AR_PHY_ANT_DIV_ALT_LNACONF_S) in ar9003_hw_antdiv_comb_conf_set()
1545 regval |= ((antconf->fast_div_bias << AR_PHY_ANT_FAST_DIV_BIAS_S) in ar9003_hw_antdiv_comb_conf_set()
1547 regval |= ((antconf->main_gaintb << AR_PHY_ANT_DIV_MAIN_GAINTB_S) in ar9003_hw_antdiv_comb_conf_set()
1549 regval |= ((antconf->alt_gaintb << AR_PHY_ANT_DIV_ALT_GAINTB_S) in ar9003_hw_antdiv_comb_conf_set()