Lines Matching refs:pwrinfo5g
2581 struct txpower_info_5g *pwrinfo5g, in _rtl8821ae_read_power_value_fromprom() argument
2616 pwrinfo5g->index_bw40_base[rfpath][group] = 0x2A; in _rtl8821ae_read_power_value_fromprom()
2620 pwrinfo5g->ofdm_diff[rfpath][0] = 0x04; in _rtl8821ae_read_power_value_fromprom()
2621 pwrinfo5g->bw20_diff[rfpath][0] = 0x00; in _rtl8821ae_read_power_value_fromprom()
2622 pwrinfo5g->bw80_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2623 pwrinfo5g->bw160_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2625 pwrinfo5g->ofdm_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2626 pwrinfo5g->bw20_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2627 pwrinfo5g->bw40_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2628 pwrinfo5g->bw80_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2629 pwrinfo5g->bw160_diff[rfpath][0] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2689 pwrinfo5g->index_bw40_base[rfpath][group] = hwinfo[eeaddr++]; in _rtl8821ae_read_power_value_fromprom()
2690 if (pwrinfo5g->index_bw40_base[rfpath][group] == 0xFF) in _rtl8821ae_read_power_value_fromprom()
2691 pwrinfo5g->index_bw40_base[rfpath][group] = 0xFE; in _rtl8821ae_read_power_value_fromprom()
2696 pwrinfo5g->bw40_diff[rfpath][txcount] = 0; in _rtl8821ae_read_power_value_fromprom()
2698 pwrinfo5g->bw20_diff[rfpath][0] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2699 if (pwrinfo5g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2700 pwrinfo5g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2702 pwrinfo5g->ofdm_diff[rfpath][0] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2703 if (pwrinfo5g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2704 pwrinfo5g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2708 pwrinfo5g->bw40_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2709 if (pwrinfo5g->bw40_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2710 pwrinfo5g->bw40_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2712 pwrinfo5g->bw20_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2713 if (pwrinfo5g->bw20_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2714 pwrinfo5g->bw20_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2720 pwrinfo5g->ofdm_diff[rfpath][1] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2721 pwrinfo5g->ofdm_diff[rfpath][2] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2725 pwrinfo5g->ofdm_diff[rfpath][3] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2730 if (pwrinfo5g->ofdm_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2731 pwrinfo5g->ofdm_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2734 pwrinfo5g->bw80_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0xf0) >> 4; in _rtl8821ae_read_power_value_fromprom()
2736 if (pwrinfo5g->bw80_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2737 pwrinfo5g->bw80_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2739 pwrinfo5g->bw160_diff[rfpath][txcount] = (hwinfo[eeaddr] & 0x0f); in _rtl8821ae_read_power_value_fromprom()
2740 if (pwrinfo5g->bw160_diff[rfpath][txcount] & BIT(3)) in _rtl8821ae_read_power_value_fromprom()
2741 pwrinfo5g->bw160_diff[rfpath][txcount] |= 0xF0; in _rtl8821ae_read_power_value_fromprom()
2755 struct txpower_info_5g pwrinfo5g;
2760 &pwrinfo5g, autoload_fail, hwinfo);
2782 pwrinfo5g.index_bw40_base[rf_path][index];
2787 upper = pwrinfo5g.index_bw40_base[rf_path][index];
2788 lower = pwrinfo5g.index_bw40_base[rf_path][index + 1];
2803 pwrinfo5g.ofdm_diff[rf_path][i];
2805 pwrinfo5g.bw20_diff[rf_path][i];
2807 pwrinfo5g.bw40_diff[rf_path][i];
2809 pwrinfo5g.bw80_diff[rf_path][i];
2833 struct txpower_info_5g pwrinfo5g; in _rtl8821ae_read_txpower_info_from_hwpg() local
2838 &pwrinfo5g, autoload_fail, hwinfo); in _rtl8821ae_read_txpower_info_from_hwpg()
2860 pwrinfo5g.index_bw40_base[rf_path][index]; in _rtl8821ae_read_txpower_info_from_hwpg()
2865 upper = pwrinfo5g.index_bw40_base[rf_path][index]; in _rtl8821ae_read_txpower_info_from_hwpg()
2866 lower = pwrinfo5g.index_bw40_base[rf_path][index + 1]; in _rtl8821ae_read_txpower_info_from_hwpg()
2881 pwrinfo5g.ofdm_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()
2883 pwrinfo5g.bw20_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()
2885 pwrinfo5g.bw40_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()
2887 pwrinfo5g.bw80_diff[rf_path][i]; in _rtl8821ae_read_txpower_info_from_hwpg()