Lines Matching refs:pwrinfo24g

1531 static void set_24g_base(struct txpower_info_2g *pwrinfo24g, u32 rfpath)  in set_24g_base()  argument
1536 pwrinfo24g->index_cck_base[rfpath][group] = 0x2D; in set_24g_base()
1537 pwrinfo24g->index_bw40_base[rfpath][group] = 0x2D; in set_24g_base()
1541 pwrinfo24g->bw20_diff[rfpath][0] = 0x02; in set_24g_base()
1542 pwrinfo24g->ofdm_diff[rfpath][0] = 0x04; in set_24g_base()
1544 pwrinfo24g->bw20_diff[rfpath][txcnt] = 0xFE; in set_24g_base()
1545 pwrinfo24g->bw40_diff[rfpath][txcnt] = 0xFE; in set_24g_base()
1546 pwrinfo24g->cck_diff[rfpath][txcnt] = 0xFE; in set_24g_base()
1547 pwrinfo24g->ofdm_diff[rfpath][txcnt] = 0xFE; in set_24g_base()
1553 struct txpower_info_2g *pwrinfo24g, in read_power_value_fromprom() argument
1571 set_24g_base(pwrinfo24g, rfpath); in read_power_value_fromprom()
1579 pwrinfo24g->index_cck_base[rfpath][group] = in read_power_value_fromprom()
1581 if (pwrinfo24g->index_cck_base[rfpath][group] == 0xFF) in read_power_value_fromprom()
1582 pwrinfo24g->index_cck_base[rfpath][group] = in read_power_value_fromprom()
1586 pwrinfo24g->index_bw40_base[rfpath][group] = in read_power_value_fromprom()
1588 if (pwrinfo24g->index_bw40_base[rfpath][group] == 0xFF) in read_power_value_fromprom()
1589 pwrinfo24g->index_bw40_base[rfpath][group] = in read_power_value_fromprom()
1592 pwrinfo24g->bw40_diff[rfpath][0] = 0; in read_power_value_fromprom()
1594 pwrinfo24g->bw20_diff[rfpath][0] = 0x02; in read_power_value_fromprom()
1596 pwrinfo24g->bw20_diff[rfpath][0] = in read_power_value_fromprom()
1599 if (pwrinfo24g->bw20_diff[rfpath][0] & BIT(3)) in read_power_value_fromprom()
1600 pwrinfo24g->bw20_diff[rfpath][0] |= 0xF0; in read_power_value_fromprom()
1604 pwrinfo24g->ofdm_diff[rfpath][0] = 0x04; in read_power_value_fromprom()
1606 pwrinfo24g->ofdm_diff[rfpath][0] = in read_power_value_fromprom()
1609 if (pwrinfo24g->ofdm_diff[rfpath][0] & BIT(3)) in read_power_value_fromprom()
1610 pwrinfo24g->ofdm_diff[rfpath][0] |= 0xF0; in read_power_value_fromprom()
1612 pwrinfo24g->cck_diff[rfpath][0] = 0; in read_power_value_fromprom()
1616 pwrinfo24g->bw40_diff[rfpath][txcnt] = 0xFE; in read_power_value_fromprom()
1618 pwrinfo24g->bw40_diff[rfpath][txcnt] = in read_power_value_fromprom()
1620 if (pwrinfo24g->bw40_diff[rfpath][txcnt] & in read_power_value_fromprom()
1622 pwrinfo24g->bw40_diff[rfpath][txcnt] |= in read_power_value_fromprom()
1627 pwrinfo24g->bw20_diff[rfpath][txcnt] = in read_power_value_fromprom()
1630 pwrinfo24g->bw20_diff[rfpath][txcnt] = in read_power_value_fromprom()
1632 if (pwrinfo24g->bw20_diff[rfpath][txcnt] & in read_power_value_fromprom()
1634 pwrinfo24g->bw20_diff[rfpath][txcnt] |= in read_power_value_fromprom()
1640 pwrinfo24g->ofdm_diff[rfpath][txcnt] = 0xFE; in read_power_value_fromprom()
1642 pwrinfo24g->ofdm_diff[rfpath][txcnt] = in read_power_value_fromprom()
1644 if (pwrinfo24g->ofdm_diff[rfpath][txcnt] & in read_power_value_fromprom()
1646 pwrinfo24g->ofdm_diff[rfpath][txcnt] |= in read_power_value_fromprom()
1651 pwrinfo24g->cck_diff[rfpath][txcnt] = 0xFE; in read_power_value_fromprom()
1653 pwrinfo24g->cck_diff[rfpath][txcnt] = in read_power_value_fromprom()
1655 if (pwrinfo24g->cck_diff[rfpath][txcnt] & in read_power_value_fromprom()
1657 pwrinfo24g->cck_diff[rfpath][txcnt] |= in read_power_value_fromprom()
1748 struct txpower_info_2g pwrinfo24g; in _rtl88ee_read_txpower_info_from_hwpg() local
1753 read_power_value_fromprom(hw, &pwrinfo24g, in _rtl88ee_read_txpower_info_from_hwpg()
1761 pwrinfo24g.index_cck_base[rf_path][index]; in _rtl88ee_read_txpower_info_from_hwpg()
1763 pwrinfo24g.index_bw40_base[rf_path][index]; in _rtl88ee_read_txpower_info_from_hwpg()
1765 pwrinfo24g.bw20_diff[rf_path][0]; in _rtl88ee_read_txpower_info_from_hwpg()
1767 pwrinfo24g.ofdm_diff[rf_path][0]; in _rtl88ee_read_txpower_info_from_hwpg()