Lines Matching refs:txgapk

1382 	struct rtw_gapk_info *txgapk = &rtwdev->dm_info.gapk;  in _rtw8822c_txgapk_write_gain_bb_table()  local
1409 v = txgapk->rf3f_bp[band][gain][path]; in _rtw8822c_txgapk_write_gain_bb_table()
1412 tmp_3f = txgapk->rf3f_bp[band][gain][path]; in _rtw8822c_txgapk_write_gain_bb_table()
1417 txgapk->rf3f_bp[band][gain][path]); in _rtw8822c_txgapk_write_gain_bb_table()
1419 tmp_3f = txgapk->rf3f_bp[band][gain][path]; in _rtw8822c_txgapk_write_gain_bb_table()
1454 struct rtw_gapk_info *txgapk = &rtwdev->dm_info.gapk; in rtw8822c_txgapk_read_offset() local
1455 u8 channel = txgapk->channel; in rtw8822c_txgapk_read_offset()
1500 txgapk->offset[0][path] = (s8)FIELD_GET(BIT_GAPK_RPT0, val); in rtw8822c_txgapk_read_offset()
1501 txgapk->offset[1][path] = (s8)FIELD_GET(BIT_GAPK_RPT1, val); in rtw8822c_txgapk_read_offset()
1502 txgapk->offset[2][path] = (s8)FIELD_GET(BIT_GAPK_RPT2, val); in rtw8822c_txgapk_read_offset()
1503 txgapk->offset[3][path] = (s8)FIELD_GET(BIT_GAPK_RPT3, val); in rtw8822c_txgapk_read_offset()
1504 txgapk->offset[4][path] = (s8)FIELD_GET(BIT_GAPK_RPT4, val); in rtw8822c_txgapk_read_offset()
1505 txgapk->offset[5][path] = (s8)FIELD_GET(BIT_GAPK_RPT5, val); in rtw8822c_txgapk_read_offset()
1506 txgapk->offset[6][path] = (s8)FIELD_GET(BIT_GAPK_RPT6, val); in rtw8822c_txgapk_read_offset()
1507 txgapk->offset[7][path] = (s8)FIELD_GET(BIT_GAPK_RPT7, val); in rtw8822c_txgapk_read_offset()
1512 txgapk->offset[8][path] = (s8)FIELD_GET(BIT_GAPK_RPT0, val); in rtw8822c_txgapk_read_offset()
1513 txgapk->offset[9][path] = (s8)FIELD_GET(BIT_GAPK_RPT1, val); in rtw8822c_txgapk_read_offset()
1516 if (txgapk->offset[i][path] & BIT(3)) in rtw8822c_txgapk_read_offset()
1517 txgapk->offset[i][path] = txgapk->offset[i][path] | in rtw8822c_txgapk_read_offset()
1522 txgapk->offset[i][path], i, path); in rtw8822c_txgapk_read_offset()
1529 struct rtw_gapk_info *txgapk = &rtwdev->dm_info.gapk; in rtw8822c_txgapk_calculate_offset() local
1530 u8 channel = txgapk->channel; in rtw8822c_txgapk_calculate_offset()
1637 struct rtw_gapk_info *txgapk = &rtwdev->dm_info.gapk; in rtw8822c_txgapk_write_tx_gain() local
1640 u8 path, band = RF_BAND_2G_OFDM, channel = txgapk->channel; in rtw8822c_txgapk_write_tx_gain()
1665 v = txgapk->rf3f_bp[band][j][path]; in rtw8822c_txgapk_write_tx_gain()
1669 offset_tmp[i] += txgapk->offset[j][path]; in rtw8822c_txgapk_write_tx_gain()
1670 txgapk->fianl_offset[i][path] = offset_tmp[i]; in rtw8822c_txgapk_write_tx_gain()
1673 v = txgapk->rf3f_bp[band][i][path]; in rtw8822c_txgapk_write_tx_gain()
1677 txgapk->rf3f_bp[band][i][path]); in rtw8822c_txgapk_write_tx_gain()
1679 txgapk->rf3f_fs[path][i] = offset_tmp[i]; in rtw8822c_txgapk_write_tx_gain()
1692 txgapk->rf3f_bp[band][i][path], in rtw8822c_txgapk_write_tx_gain()
1707 struct rtw_gapk_info *txgapk = &rtwdev->dm_info.gapk; in rtw8822c_txgapk_save_all_tx_gain_table() local
1720 if (txgapk->read_txgain == 1) { in rtw8822c_txgapk_save_all_tx_gain_table()
1747 txgapk->rf3f_bp[band][gain][path] = v & BIT_DATA_L; in rtw8822c_txgapk_save_all_tx_gain_table()
1751 txgapk->rf3f_bp[band][gain][path], in rtw8822c_txgapk_save_all_tx_gain_table()
1761 txgapk->read_txgain = 1; in rtw8822c_txgapk_save_all_tx_gain_table()
1767 struct rtw_gapk_info *txgapk = &rtwdev->dm_info.gapk; in rtw8822c_txgapk() local
1775 if (txgapk->read_txgain == 0) { in rtw8822c_txgapk()
1792 txgapk->channel = rtw_read_rf(rtwdev, path, in rtw8822c_txgapk()