Lines Matching refs:capdiv2g
826 int capdiv2g, quick_drop; in ar9003_paprd_retrain_pa_in() local
833 capdiv2g = REG_READ_FIELD(ah, AR_PHY_65NM_CH0_TXRF3, in ar9003_paprd_retrain_pa_in()
850 capdiv2g += capdiv_offset; in ar9003_paprd_retrain_pa_in()
851 if (capdiv2g > 7) { in ar9003_paprd_retrain_pa_in()
852 capdiv2g = 7; in ar9003_paprd_retrain_pa_in()
862 capdiv2g += quick_drop_offset / 2; in ar9003_paprd_retrain_pa_in()
864 if (capdiv2g > 7) in ar9003_paprd_retrain_pa_in()
865 capdiv2g = 7; in ar9003_paprd_retrain_pa_in()
869 capdiv2g -= quick_drop_offset; in ar9003_paprd_retrain_pa_in()
870 if (capdiv2g < 0) in ar9003_paprd_retrain_pa_in()
871 capdiv2g = 0; in ar9003_paprd_retrain_pa_in()
879 capdiv2g += capdiv_offset; in ar9003_paprd_retrain_pa_in()
885 capdiv2g += capdiv_offset; in ar9003_paprd_retrain_pa_in()
886 if (capdiv2g > 6) in ar9003_paprd_retrain_pa_in()
887 capdiv2g = 6; in ar9003_paprd_retrain_pa_in()
893 capdiv2g -= count / 4; in ar9003_paprd_retrain_pa_in()
897 capdiv2g--; in ar9003_paprd_retrain_pa_in()
900 if (capdiv2g < 0) in ar9003_paprd_retrain_pa_in()
901 capdiv2g = 0; in ar9003_paprd_retrain_pa_in()
908 AR_PHY_65NM_CH0_TXRF3_CAPDIV2G, capdiv2g); in ar9003_paprd_retrain_pa_in()