Lines Matching refs:pwrinfo5g

1555 				      struct txpower_info_5g *pwrinfo5g,  in read_power_value_fromprom()  argument
1666 pwrinfo5g->index_bw40_base[rfpath][group] = in read_power_value_fromprom()
1668 if (pwrinfo5g->index_bw40_base[rfpath][group] == 0xFF) in read_power_value_fromprom()
1669 pwrinfo5g->index_bw40_base[rfpath][group] = in read_power_value_fromprom()
1673 pwrinfo5g->bw40_diff[rfpath][0] = 0; in read_power_value_fromprom()
1676 pwrinfo5g->bw20_diff[rfpath][0] = 0; in read_power_value_fromprom()
1678 pwrinfo5g->bw20_diff[rfpath][0] = in read_power_value_fromprom()
1680 if (pwrinfo5g->bw20_diff[rfpath][0] & BIT(3)) in read_power_value_fromprom()
1681 pwrinfo5g->bw20_diff[rfpath][0] |= 0xF0; in read_power_value_fromprom()
1685 pwrinfo5g->ofdm_diff[rfpath][0] = 0x04; in read_power_value_fromprom()
1687 pwrinfo5g->ofdm_diff[rfpath][0] = (hwinfo[eeaddr]&0x0f); in read_power_value_fromprom()
1688 if (pwrinfo5g->ofdm_diff[rfpath][0] & BIT(3)) in read_power_value_fromprom()
1689 pwrinfo5g->ofdm_diff[rfpath][0] |= 0xF0; in read_power_value_fromprom()
1694 pwrinfo5g->bw40_diff[rfpath][txcnt] = 0xFE; in read_power_value_fromprom()
1696 pwrinfo5g->bw40_diff[rfpath][txcnt] = in read_power_value_fromprom()
1698 if (pwrinfo5g->bw40_diff[rfpath][txcnt] & in read_power_value_fromprom()
1700 pwrinfo5g->bw40_diff[rfpath][txcnt] |= in read_power_value_fromprom()
1705 pwrinfo5g->bw20_diff[rfpath][txcnt] = 0xFE; in read_power_value_fromprom()
1707 pwrinfo5g->bw20_diff[rfpath][txcnt] = in read_power_value_fromprom()
1709 if (pwrinfo5g->bw20_diff[rfpath][txcnt] & in read_power_value_fromprom()
1711 pwrinfo5g->bw20_diff[rfpath][txcnt] |= in read_power_value_fromprom()
1718 pwrinfo5g->ofdm_diff[rfpath][1] = 0xFE; in read_power_value_fromprom()
1719 pwrinfo5g->ofdm_diff[rfpath][2] = 0xFE; in read_power_value_fromprom()
1721 pwrinfo5g->ofdm_diff[rfpath][1] = in read_power_value_fromprom()
1723 pwrinfo5g->ofdm_diff[rfpath][2] = in read_power_value_fromprom()
1729 pwrinfo5g->ofdm_diff[rfpath][3] = 0xFE; in read_power_value_fromprom()
1731 pwrinfo5g->ofdm_diff[rfpath][3] = (hwinfo[eeaddr]&0x0f); in read_power_value_fromprom()
1735 if (pwrinfo5g->ofdm_diff[rfpath][txcnt] == 0xFF) in read_power_value_fromprom()
1736 pwrinfo5g->ofdm_diff[rfpath][txcnt] = 0xFE; in read_power_value_fromprom()
1737 else if (pwrinfo5g->ofdm_diff[rfpath][txcnt] & BIT(3)) in read_power_value_fromprom()
1738 pwrinfo5g->ofdm_diff[rfpath][txcnt] |= 0xF0; in read_power_value_fromprom()
1750 struct txpower_info_5g pwrinfo5g; in _rtl88ee_read_txpower_info_from_hwpg() local
1755 &pwrinfo5g, autoload_fail, hwinfo); in _rtl88ee_read_txpower_info_from_hwpg()