Lines Matching refs:pwr2g
1784 struct txpower_info_2g *pwr2g, in _rtl8192ee_read_power_value_fromprom() argument
1803 pwr2g->index_cck_base[rf][group] = 0x2D; in _rtl8192ee_read_power_value_fromprom()
1804 pwr2g->index_bw40_base[rf][group] = 0x2D; in _rtl8192ee_read_power_value_fromprom()
1808 pwr2g->bw20_diff[rf][0] = 0x02; in _rtl8192ee_read_power_value_fromprom()
1809 pwr2g->ofdm_diff[rf][0] = 0x04; in _rtl8192ee_read_power_value_fromprom()
1811 pwr2g->bw20_diff[rf][i] = 0xFE; in _rtl8192ee_read_power_value_fromprom()
1812 pwr2g->bw40_diff[rf][i] = 0xFE; in _rtl8192ee_read_power_value_fromprom()
1813 pwr2g->cck_diff[rf][i] = 0xFE; in _rtl8192ee_read_power_value_fromprom()
1814 pwr2g->ofdm_diff[rf][i] = 0xFE; in _rtl8192ee_read_power_value_fromprom()
1845 pwr2g->index_cck_base[rf][group] = hwinfo[addr++]; in _rtl8192ee_read_power_value_fromprom()
1846 if (pwr2g->index_cck_base[rf][group] == 0xFF) in _rtl8192ee_read_power_value_fromprom()
1847 pwr2g->index_cck_base[rf][group] = 0x2D; in _rtl8192ee_read_power_value_fromprom()
1850 pwr2g->index_bw40_base[rf][group] = hwinfo[addr++]; in _rtl8192ee_read_power_value_fromprom()
1851 if (pwr2g->index_bw40_base[rf][group] == 0xFF) in _rtl8192ee_read_power_value_fromprom()
1852 pwr2g->index_bw40_base[rf][group] = 0x2D; in _rtl8192ee_read_power_value_fromprom()
1856 pwr2g->bw40_diff[rf][i] = 0; in _rtl8192ee_read_power_value_fromprom()
1858 pwr2g->bw20_diff[rf][i] = 0x02; in _rtl8192ee_read_power_value_fromprom()
1860 pwr2g->bw20_diff[rf][i] = (hwinfo[addr] in _rtl8192ee_read_power_value_fromprom()
1862 if (pwr2g->bw20_diff[rf][i] & BIT(3)) in _rtl8192ee_read_power_value_fromprom()
1863 pwr2g->bw20_diff[rf][i] |= 0xF0; in _rtl8192ee_read_power_value_fromprom()
1867 pwr2g->ofdm_diff[rf][i] = 0x04; in _rtl8192ee_read_power_value_fromprom()
1869 pwr2g->ofdm_diff[rf][i] = (hwinfo[addr] in _rtl8192ee_read_power_value_fromprom()
1871 if (pwr2g->ofdm_diff[rf][i] & BIT(3)) in _rtl8192ee_read_power_value_fromprom()
1872 pwr2g->ofdm_diff[rf][i] |= 0xF0; in _rtl8192ee_read_power_value_fromprom()
1874 pwr2g->cck_diff[rf][i] = 0; in _rtl8192ee_read_power_value_fromprom()
1878 pwr2g->bw40_diff[rf][i] = 0xFE; in _rtl8192ee_read_power_value_fromprom()
1880 pwr2g->bw40_diff[rf][i] = (hwinfo[addr] in _rtl8192ee_read_power_value_fromprom()
1882 if (pwr2g->bw40_diff[rf][i] & BIT(3)) in _rtl8192ee_read_power_value_fromprom()
1883 pwr2g->bw40_diff[rf][i] |= 0xF0; in _rtl8192ee_read_power_value_fromprom()
1887 pwr2g->bw20_diff[rf][i] = 0xFE; in _rtl8192ee_read_power_value_fromprom()
1889 pwr2g->bw20_diff[rf][i] = (hwinfo[addr] in _rtl8192ee_read_power_value_fromprom()
1891 if (pwr2g->bw20_diff[rf][i] & BIT(3)) in _rtl8192ee_read_power_value_fromprom()
1892 pwr2g->bw20_diff[rf][i] |= 0xF0; in _rtl8192ee_read_power_value_fromprom()
1897 pwr2g->ofdm_diff[rf][i] = 0xFE; in _rtl8192ee_read_power_value_fromprom()
1899 pwr2g->ofdm_diff[rf][i] = (hwinfo[addr] in _rtl8192ee_read_power_value_fromprom()
1901 if (pwr2g->ofdm_diff[rf][i] & BIT(3)) in _rtl8192ee_read_power_value_fromprom()
1902 pwr2g->ofdm_diff[rf][i] |= 0xF0; in _rtl8192ee_read_power_value_fromprom()
1906 pwr2g->cck_diff[rf][i] = 0xFE; in _rtl8192ee_read_power_value_fromprom()
1908 pwr2g->cck_diff[rf][i] = (hwinfo[addr] in _rtl8192ee_read_power_value_fromprom()
1910 if (pwr2g->cck_diff[rf][i] & BIT(3)) in _rtl8192ee_read_power_value_fromprom()
1911 pwr2g->cck_diff[rf][i] |= 0xF0; in _rtl8192ee_read_power_value_fromprom()
2018 struct txpower_info_2g pwr2g; in _rtl92ee_read_txpower_info_from_hwpg() local
2023 _rtl8192ee_read_power_value_fromprom(hw, &pwr2g, &pwr5g, in _rtl92ee_read_txpower_info_from_hwpg()
2032 pwr2g.index_cck_base[rf][5]; in _rtl92ee_read_txpower_info_from_hwpg()
2034 pwr2g.index_bw40_base[rf][idx]; in _rtl92ee_read_txpower_info_from_hwpg()
2037 pwr2g.index_cck_base[rf][idx]; in _rtl92ee_read_txpower_info_from_hwpg()
2039 pwr2g.index_bw40_base[rf][idx]; in _rtl92ee_read_txpower_info_from_hwpg()
2057 efu->txpwr_cckdiff[rf][i] = pwr2g.cck_diff[rf][i]; in _rtl92ee_read_txpower_info_from_hwpg()
2058 efu->txpwr_legacyhtdiff[rf][i] = pwr2g.ofdm_diff[rf][i]; in _rtl92ee_read_txpower_info_from_hwpg()
2059 efu->txpwr_ht20diff[rf][i] = pwr2g.bw20_diff[rf][i]; in _rtl92ee_read_txpower_info_from_hwpg()
2060 efu->txpwr_ht40diff[rf][i] = pwr2g.bw40_diff[rf][i]; in _rtl92ee_read_txpower_info_from_hwpg()