Lines Matching refs:pwrinfo5g
2604 struct txpower_info_5g *pwrinfo5g, in _rtl8821ae_read_power_value_fromprom() argument
2639 pwrinfo5g->index_bw40_base[rfPath][group] = 0x2A; in _rtl8821ae_read_power_value_fromprom()
2643 pwrinfo5g->ofdm_diff[rfPath][0] = 0x04; in _rtl8821ae_read_power_value_fromprom()
2644 pwrinfo5g->bw20_diff[rfPath][0] = 0x00; in _rtl8821ae_read_power_value_fromprom()
2645 pwrinfo5g->bw80_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2646 pwrinfo5g->bw160_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2648 pwrinfo5g->ofdm_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2649 pwrinfo5g->bw20_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2650 pwrinfo5g->bw40_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2651 pwrinfo5g->bw80_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2652 pwrinfo5g->bw160_diff[rfPath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2712 pwrinfo5g->index_bw40_base[rfPath][group] = hwinfo[eeAddr++]; in _rtl8821ae_read_power_value_fromprom()
2713 if (pwrinfo5g->index_bw40_base[rfPath][group] == 0xFF) in _rtl8821ae_read_power_value_fromprom()
2714 pwrinfo5g->index_bw40_base[rfPath][group] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2719 pwrinfo5g->bw40_diff[rfPath][TxCount] = 0; in _rtl8821ae_read_power_value_fromprom()
2721 pwrinfo5g->bw20_diff[rfPath][0] = (hwinfo[eeAddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2722 if (pwrinfo5g->bw20_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2723 pwrinfo5g->bw20_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2725 pwrinfo5g->ofdm_diff[rfPath][0] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2726 if (pwrinfo5g->ofdm_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2727 pwrinfo5g->ofdm_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2731 pwrinfo5g->bw40_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2732 if (pwrinfo5g->bw40_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2733 pwrinfo5g->bw40_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2735 pwrinfo5g->bw20_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2736 if (pwrinfo5g->bw20_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2737 pwrinfo5g->bw20_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2743 pwrinfo5g->ofdm_diff[rfPath][1] = (hwinfo[eeAddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2744 pwrinfo5g->ofdm_diff[rfPath][2] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2748 pwrinfo5g->ofdm_diff[rfPath][3] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2753 if (pwrinfo5g->ofdm_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2754 pwrinfo5g->ofdm_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2757 pwrinfo5g->bw80_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2759 if (pwrinfo5g->bw80_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2760 pwrinfo5g->bw80_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2762 pwrinfo5g->bw160_diff[rfPath][TxCount] = (hwinfo[eeAddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2763 if (pwrinfo5g->bw160_diff[rfPath][TxCount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2764 pwrinfo5g->bw160_diff[rfPath][TxCount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2778 struct txpower_info_5g pwrinfo5g;
2783 &pwrinfo5g, autoload_fail, hwinfo);
2805 pwrinfo5g.index_bw40_base[rf_path][index];
2810 upper = pwrinfo5g.index_bw40_base[rf_path][index];
2811 lower = pwrinfo5g.index_bw40_base[rf_path][index + 1];
2826 pwrinfo5g.ofdm_diff[rf_path][i];
2828 pwrinfo5g.bw20_diff[rf_path][i];
2830 pwrinfo5g.bw40_diff[rf_path][i];
2832 pwrinfo5g.bw80_diff[rf_path][i];
2856 struct txpower_info_5g pwrinfo5g; in _rtl8821ae_read_txpower_info_from_hwpg() local
2861 &pwrinfo5g, autoload_fail, hwinfo); in _rtl8821ae_read_txpower_info_from_hwpg()
2883 pwrinfo5g.index_bw40_base[rf_path][index]; in _rtl8821ae_read_txpower_info_from_hwpg()
2888 upper = pwrinfo5g.index_bw40_base[rf_path][index]; in _rtl8821ae_read_txpower_info_from_hwpg()
2889 lower = pwrinfo5g.index_bw40_base[rf_path][index + 1]; in _rtl8821ae_read_txpower_info_from_hwpg()
2904 pwrinfo5g.ofdm_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()
2906 pwrinfo5g.bw20_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()
2908 pwrinfo5g.bw40_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()
2910 pwrinfo5g.bw80_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()