Lines Matching refs:pw2g
1746 struct txpower_info_2g *pw2g, in _rtl8723be_read_power_value_fromprom() argument
1765 pw2g->index_cck_base[path][group] = 0x2D; in _rtl8723be_read_power_value_fromprom()
1766 pw2g->index_bw40_base[path][group] = 0x2D; in _rtl8723be_read_power_value_fromprom()
1770 pw2g->bw20_diff[path][0] = 0x02; in _rtl8723be_read_power_value_fromprom()
1771 pw2g->ofdm_diff[path][0] = 0x04; in _rtl8723be_read_power_value_fromprom()
1773 pw2g->bw20_diff[path][cnt] = 0xFE; in _rtl8723be_read_power_value_fromprom()
1774 pw2g->bw40_diff[path][cnt] = 0xFE; in _rtl8723be_read_power_value_fromprom()
1775 pw2g->cck_diff[path][cnt] = 0xFE; in _rtl8723be_read_power_value_fromprom()
1776 pw2g->ofdm_diff[path][cnt] = 0xFE; in _rtl8723be_read_power_value_fromprom()
1786 pw2g->index_cck_base[path][group] = hwinfo[addr++]; in _rtl8723be_read_power_value_fromprom()
1787 if (pw2g->index_cck_base[path][group] == 0xFF) in _rtl8723be_read_power_value_fromprom()
1788 pw2g->index_cck_base[path][group] = 0x2D; in _rtl8723be_read_power_value_fromprom()
1792 pw2g->index_bw40_base[path][group] = hwinfo[addr++]; in _rtl8723be_read_power_value_fromprom()
1793 if (pw2g->index_bw40_base[path][group] == 0xFF) in _rtl8723be_read_power_value_fromprom()
1794 pw2g->index_bw40_base[path][group] = 0x2D; in _rtl8723be_read_power_value_fromprom()
1798 pw2g->bw40_diff[path][cnt] = 0; in _rtl8723be_read_power_value_fromprom()
1800 pw2g->bw20_diff[path][cnt] = 0x02; in _rtl8723be_read_power_value_fromprom()
1802 pw2g->bw20_diff[path][cnt] = in _rtl8723be_read_power_value_fromprom()
1805 if (pw2g->bw20_diff[path][cnt] & BIT(3)) in _rtl8723be_read_power_value_fromprom()
1806 pw2g->bw20_diff[path][cnt] |= in _rtl8723be_read_power_value_fromprom()
1811 pw2g->ofdm_diff[path][cnt] = 0x04; in _rtl8723be_read_power_value_fromprom()
1813 pw2g->ofdm_diff[path][cnt] = in _rtl8723be_read_power_value_fromprom()
1816 if (pw2g->ofdm_diff[path][cnt] & BIT(3)) in _rtl8723be_read_power_value_fromprom()
1817 pw2g->ofdm_diff[path][cnt] |= in _rtl8723be_read_power_value_fromprom()
1820 pw2g->cck_diff[path][cnt] = 0; in _rtl8723be_read_power_value_fromprom()
1824 pw2g->bw40_diff[path][cnt] = 0xFE; in _rtl8723be_read_power_value_fromprom()
1826 pw2g->bw40_diff[path][cnt] = in _rtl8723be_read_power_value_fromprom()
1828 if (pw2g->bw40_diff[path][cnt] & BIT(3)) in _rtl8723be_read_power_value_fromprom()
1829 pw2g->bw40_diff[path][cnt] |= in _rtl8723be_read_power_value_fromprom()
1834 pw2g->bw20_diff[path][cnt] = 0xFE; in _rtl8723be_read_power_value_fromprom()
1836 pw2g->bw20_diff[path][cnt] = in _rtl8723be_read_power_value_fromprom()
1838 if (pw2g->bw20_diff[path][cnt] & BIT(3)) in _rtl8723be_read_power_value_fromprom()
1839 pw2g->bw20_diff[path][cnt] |= in _rtl8723be_read_power_value_fromprom()
1845 pw2g->ofdm_diff[path][cnt] = 0xFE; in _rtl8723be_read_power_value_fromprom()
1847 pw2g->ofdm_diff[path][cnt] = in _rtl8723be_read_power_value_fromprom()
1849 if (pw2g->ofdm_diff[path][cnt] & BIT(3)) in _rtl8723be_read_power_value_fromprom()
1850 pw2g->ofdm_diff[path][cnt] |= in _rtl8723be_read_power_value_fromprom()
1855 pw2g->cck_diff[path][cnt] = 0xFE; in _rtl8723be_read_power_value_fromprom()
1857 pw2g->cck_diff[path][cnt] = in _rtl8723be_read_power_value_fromprom()
1859 if (pw2g->cck_diff[path][cnt] & BIT(3)) in _rtl8723be_read_power_value_fromprom()
1860 pw2g->cck_diff[path][cnt] |= in _rtl8723be_read_power_value_fromprom()
1950 struct txpower_info_2g pw2g; in _rtl8723be_read_txpower_info_from_hwpg() local
1955 _rtl8723be_read_power_value_fromprom(hw, &pw2g, &pw5g, autoload_fail, in _rtl8723be_read_txpower_info_from_hwpg()
1963 pw2g.index_cck_base[rf_path][index]; in _rtl8723be_read_txpower_info_from_hwpg()
1965 pw2g.index_bw40_base[rf_path][index]; in _rtl8723be_read_txpower_info_from_hwpg()
1969 pw2g.bw20_diff[rf_path][i]; in _rtl8723be_read_txpower_info_from_hwpg()
1971 pw2g.bw40_diff[rf_path][i]; in _rtl8723be_read_txpower_info_from_hwpg()
1973 pw2g.ofdm_diff[rf_path][i]; in _rtl8723be_read_txpower_info_from_hwpg()