Lines Matching refs:pwrinfo5g
1553 struct txpower_info_5g *pwrinfo5g, in read_power_value_fromprom() argument
1664 pwrinfo5g->index_bw40_base[rfpath][group] = in read_power_value_fromprom()
1666 if (pwrinfo5g->index_bw40_base[rfpath][group] == 0xFF) in read_power_value_fromprom()
1667 pwrinfo5g->index_bw40_base[rfpath][group] = in read_power_value_fromprom()
1671 pwrinfo5g->bw40_diff[rfpath][0] = 0; in read_power_value_fromprom()
1674 pwrinfo5g->bw20_diff[rfpath][0] = 0; in read_power_value_fromprom()
1676 pwrinfo5g->bw20_diff[rfpath][0] = in read_power_value_fromprom()
1678 if (pwrinfo5g->bw20_diff[rfpath][0] & BIT(3)) in read_power_value_fromprom()
1679 pwrinfo5g->bw20_diff[rfpath][0] |= 0xF0; in read_power_value_fromprom()
1683 pwrinfo5g->ofdm_diff[rfpath][0] = 0x04; in read_power_value_fromprom()
1685 pwrinfo5g->ofdm_diff[rfpath][0] = (hwinfo[eeaddr]&0x0f); in read_power_value_fromprom()
1686 if (pwrinfo5g->ofdm_diff[rfpath][0] & BIT(3)) in read_power_value_fromprom()
1687 pwrinfo5g->ofdm_diff[rfpath][0] |= 0xF0; in read_power_value_fromprom()
1692 pwrinfo5g->bw40_diff[rfpath][txcnt] = 0xFE; in read_power_value_fromprom()
1694 pwrinfo5g->bw40_diff[rfpath][txcnt] = in read_power_value_fromprom()
1696 if (pwrinfo5g->bw40_diff[rfpath][txcnt] & in read_power_value_fromprom()
1698 pwrinfo5g->bw40_diff[rfpath][txcnt] |= in read_power_value_fromprom()
1703 pwrinfo5g->bw20_diff[rfpath][txcnt] = 0xFE; in read_power_value_fromprom()
1705 pwrinfo5g->bw20_diff[rfpath][txcnt] = in read_power_value_fromprom()
1707 if (pwrinfo5g->bw20_diff[rfpath][txcnt] & in read_power_value_fromprom()
1709 pwrinfo5g->bw20_diff[rfpath][txcnt] |= in read_power_value_fromprom()
1716 pwrinfo5g->ofdm_diff[rfpath][1] = 0xFE; in read_power_value_fromprom()
1717 pwrinfo5g->ofdm_diff[rfpath][2] = 0xFE; in read_power_value_fromprom()
1719 pwrinfo5g->ofdm_diff[rfpath][1] = in read_power_value_fromprom()
1721 pwrinfo5g->ofdm_diff[rfpath][2] = in read_power_value_fromprom()
1727 pwrinfo5g->ofdm_diff[rfpath][3] = 0xFE; in read_power_value_fromprom()
1729 pwrinfo5g->ofdm_diff[rfpath][3] = (hwinfo[eeaddr]&0x0f); in read_power_value_fromprom()
1733 if (pwrinfo5g->ofdm_diff[rfpath][txcnt] == 0xFF) in read_power_value_fromprom()
1734 pwrinfo5g->ofdm_diff[rfpath][txcnt] = 0xFE; in read_power_value_fromprom()
1735 else if (pwrinfo5g->ofdm_diff[rfpath][txcnt] & BIT(3)) in read_power_value_fromprom()
1736 pwrinfo5g->ofdm_diff[rfpath][txcnt] |= 0xF0; in read_power_value_fromprom()
1748 struct txpower_info_5g pwrinfo5g; in _rtl88ee_read_txpower_info_from_hwpg() local
1753 &pwrinfo5g, autoload_fail, hwinfo); in _rtl88ee_read_txpower_info_from_hwpg()