Lines Matching refs:rtw89_phy_write32_mask
730 rtw89_phy_write32_mask(rtwdev, addr, mask, RF_PATH_A); in rtw8851b_set_bb_gpio()
731 rtw89_phy_write32_mask(rtwdev, R_RFE_INV0, BIT(gpio_idx), inv); in rtw8851b_set_bb_gpio()
737 rtw89_phy_write32_mask(rtwdev, addr, mask, src_sel); in rtw8851b_set_bb_gpio()
849 rtw89_phy_write32_mask(rtwdev, R_RXSCOBC, B_RXSCOBC_TH, in rtw8851b_ctrl_sco_cck()
851 rtw89_phy_write32_mask(rtwdev, R_RXSCOCCK, B_RXSCOCCK_TH, in rtw8851b_ctrl_sco_cck()
932 rtw89_phy_write32_mask(rtwdev, reg, mask, val); in rtw8851b_set_gain_error()
943 rtw89_phy_write32_mask(rtwdev, reg, mask, val); in rtw8851b_set_gain_error()
966 rtw89_phy_write32_mask(rtwdev, gain_err_addr[path], MASKBYTE0, tmp); in rtw8851b_set_gain_offset()
979 rtw89_phy_write32_mask(rtwdev, rssi_ofst_addr[RF_PATH_A], B_PATH0_R_G_OFST_MASK, tmp); in rtw8851b_set_gain_offset()
995 rtw89_phy_write32_mask(rtwdev, R_RX_RPL_OFST, in rtw8851b_set_gain_offset()
1011 rtw89_phy_write32_mask(rtwdev, R_P0_RPL1, B_P0_RPL1_MASK, val); in rtw8851b_set_rxsc_rpl_comp()
1012 rtw89_phy_write32_mask(rtwdev, R_P1_RPL1, B_P0_RPL1_MASK, val); in rtw8851b_set_rxsc_rpl_comp()
1053 rtw89_phy_write32_mask(rtwdev, R_TXFIR0, B_TXFIR_C01, 0x3b13ff); in rtw8851b_ctrl_ch()
1054 rtw89_phy_write32_mask(rtwdev, R_TXFIR2, B_TXFIR_C23, 0x1c42de); in rtw8851b_ctrl_ch()
1055 rtw89_phy_write32_mask(rtwdev, R_TXFIR4, B_TXFIR_C45, 0xfdb0ad); in rtw8851b_ctrl_ch()
1056 rtw89_phy_write32_mask(rtwdev, R_TXFIR6, B_TXFIR_C67, 0xf60f6e); in rtw8851b_ctrl_ch()
1057 rtw89_phy_write32_mask(rtwdev, R_TXFIR8, B_TXFIR_C89, 0xfd8f92); in rtw8851b_ctrl_ch()
1058 rtw89_phy_write32_mask(rtwdev, R_TXFIRA, B_TXFIR_CAB, 0x2d011); in rtw8851b_ctrl_ch()
1059 rtw89_phy_write32_mask(rtwdev, R_TXFIRC, B_TXFIR_CCD, 0x1c02c); in rtw8851b_ctrl_ch()
1060 rtw89_phy_write32_mask(rtwdev, R_TXFIRE, B_TXFIR_CEF, 0xfff00a); in rtw8851b_ctrl_ch()
1062 rtw89_phy_write32_mask(rtwdev, R_TXFIR0, B_TXFIR_C01, 0x3d23ff); in rtw8851b_ctrl_ch()
1063 rtw89_phy_write32_mask(rtwdev, R_TXFIR2, B_TXFIR_C23, 0x29b354); in rtw8851b_ctrl_ch()
1064 rtw89_phy_write32_mask(rtwdev, R_TXFIR4, B_TXFIR_C45, 0xfc1c8); in rtw8851b_ctrl_ch()
1065 rtw89_phy_write32_mask(rtwdev, R_TXFIR6, B_TXFIR_C67, 0xfdb053); in rtw8851b_ctrl_ch()
1066 rtw89_phy_write32_mask(rtwdev, R_TXFIR8, B_TXFIR_C89, 0xf86f9a); in rtw8851b_ctrl_ch()
1067 rtw89_phy_write32_mask(rtwdev, R_TXFIRA, B_TXFIR_CAB, 0xfaef92); in rtw8851b_ctrl_ch()
1068 rtw89_phy_write32_mask(rtwdev, R_TXFIRC, B_TXFIR_CCD, 0xfe5fcc); in rtw8851b_ctrl_ch()
1069 rtw89_phy_write32_mask(rtwdev, R_TXFIRE, B_TXFIR_CEF, 0xffdff5); in rtw8851b_ctrl_ch()
1079 rtw89_phy_write32_mask(rtwdev, R_P0_CFCH_BW0, B_P0_CFCH_CTL, 0x8); in rtw8851b_bw_setting()
1080 rtw89_phy_write32_mask(rtwdev, R_P0_CFCH_BW0, B_P0_CFCH_EN, 0x2); in rtw8851b_bw_setting()
1081 rtw89_phy_write32_mask(rtwdev, R_P0_CFCH_BW0, B_P0_CFCH_BW0, 0x2); in rtw8851b_bw_setting()
1082 rtw89_phy_write32_mask(rtwdev, R_P0_CFCH_BW1, B_P0_CFCH_BW1, 0x4); in rtw8851b_bw_setting()
1083 rtw89_phy_write32_mask(rtwdev, R_DRCK, B_DRCK_MUL, 0xf); in rtw8851b_bw_setting()
1084 rtw89_phy_write32_mask(rtwdev, R_ADCMOD, B_ADCMOD_LP, 0xa); in rtw8851b_bw_setting()
1085 rtw89_phy_write32_mask(rtwdev, R_P0_RXCK, B_P0_RXCK_ADJ, 0x92); in rtw8851b_bw_setting()
1089 rtw89_phy_write32_mask(rtwdev, R_DCIM, B_DCIM_FR, 0x1); in rtw8851b_bw_setting()
1090 rtw89_phy_write32_mask(rtwdev, R_WDADC, B_WDADC_SEL, 0x0); in rtw8851b_bw_setting()
1091 rtw89_phy_write32_mask(rtwdev, R_ADDCK0D, B_ADDCK_DS, 0x1); in rtw8851b_bw_setting()
1094 rtw89_phy_write32_mask(rtwdev, R_DCIM, B_DCIM_FR, 0x1); in rtw8851b_bw_setting()
1095 rtw89_phy_write32_mask(rtwdev, R_WDADC, B_WDADC_SEL, 0x1); in rtw8851b_bw_setting()
1096 rtw89_phy_write32_mask(rtwdev, R_ADDCK0D, B_ADDCK_DS, 0x0); in rtw8851b_bw_setting()
1099 rtw89_phy_write32_mask(rtwdev, R_DCIM, B_DCIM_FR, 0x2); in rtw8851b_bw_setting()
1100 rtw89_phy_write32_mask(rtwdev, R_WDADC, B_WDADC_SEL, 0x2); in rtw8851b_bw_setting()
1101 rtw89_phy_write32_mask(rtwdev, R_ADDCK0D, B_ADDCK_DS, 0x0); in rtw8851b_bw_setting()
1104 rtw89_phy_write32_mask(rtwdev, R_DCIM, B_DCIM_FR, 0x2); in rtw8851b_bw_setting()
1105 rtw89_phy_write32_mask(rtwdev, R_WDADC, B_WDADC_SEL, 0x2); in rtw8851b_bw_setting()
1106 rtw89_phy_write32_mask(rtwdev, R_ADDCK0D, B_ADDCK_DS, 0x0); in rtw8851b_bw_setting()
1109 rtw89_phy_write32_mask(rtwdev, R_DCIM, B_DCIM_FR, 0x0); in rtw8851b_bw_setting()
1110 rtw89_phy_write32_mask(rtwdev, R_WDADC, B_WDADC_SEL, 0x2); in rtw8851b_bw_setting()
1111 rtw89_phy_write32_mask(rtwdev, R_ADDCK0D, B_ADDCK_DS, 0x0); in rtw8851b_bw_setting()
1144 rtw89_phy_write32_mask(rtwdev, R_RXSC, B_RXSC_EN, 1); in rtw8851b_ctrl_bw()
1146 rtw89_phy_write32_mask(rtwdev, R_RXSC, B_RXSC_EN, 0); in rtw8851b_ctrl_bw()
1166 rtw89_phy_write32_mask(rtwdev, R_RXCCA, B_RXCCA_DIS, 0); in rtw8851b_ctrl_cck_en()
1167 rtw89_phy_write32_mask(rtwdev, R_PD_ARBITER_OFF, in rtw8851b_ctrl_cck_en()
1169 rtw89_phy_write32_mask(rtwdev, R_UPD_CLK_ADC, B_ENABLE_CCK, 1); in rtw8851b_ctrl_cck_en()
1171 rtw89_phy_write32_mask(rtwdev, R_RXCCA, B_RXCCA_DIS, 1); in rtw8851b_ctrl_cck_en()
1172 rtw89_phy_write32_mask(rtwdev, R_PD_ARBITER_OFF, in rtw8851b_ctrl_cck_en()
1174 rtw89_phy_write32_mask(rtwdev, R_UPD_CLK_ADC, B_ENABLE_CCK, 0); in rtw8851b_ctrl_cck_en()
1246 rtw89_phy_write32_mask(rtwdev, nbi->notch1_en.addr, in rtw8851b_set_nbi_tone_idx()
1248 rtw89_phy_write32_mask(rtwdev, nbi->notch2_en.addr, in rtw8851b_set_nbi_tone_idx()
1279 rtw89_phy_write32_mask(rtwdev, nbi->notch2_idx.addr, in rtw8851b_set_nbi_tone_idx()
1281 rtw89_phy_write32_mask(rtwdev, nbi->notch2_frac_idx.addr, in rtw8851b_set_nbi_tone_idx()
1283 rtw89_phy_write32_mask(rtwdev, nbi->notch2_en.addr, in rtw8851b_set_nbi_tone_idx()
1285 rtw89_phy_write32_mask(rtwdev, nbi->notch2_en.addr, in rtw8851b_set_nbi_tone_idx()
1287 rtw89_phy_write32_mask(rtwdev, nbi->notch1_en.addr, in rtw8851b_set_nbi_tone_idx()
1290 rtw89_phy_write32_mask(rtwdev, nbi->notch1_idx.addr, in rtw8851b_set_nbi_tone_idx()
1292 rtw89_phy_write32_mask(rtwdev, nbi->notch1_frac_idx.addr, in rtw8851b_set_nbi_tone_idx()
1294 rtw89_phy_write32_mask(rtwdev, nbi->notch1_en.addr, in rtw8851b_set_nbi_tone_idx()
1296 rtw89_phy_write32_mask(rtwdev, nbi->notch1_en.addr, in rtw8851b_set_nbi_tone_idx()
1298 rtw89_phy_write32_mask(rtwdev, nbi->notch2_en.addr, in rtw8851b_set_nbi_tone_idx()
1308 rtw89_phy_write32_mask(rtwdev, R_PATH0_TX_CFR, in rtw8851b_set_cfr()
1310 rtw89_phy_write32_mask(rtwdev, R_PATH0_TX_CFR, in rtw8851b_set_cfr()
1312 rtw89_phy_write32_mask(rtwdev, R_PATH0_TX_POLAR_CLIPPING, in rtw8851b_set_cfr()
1314 rtw89_phy_write32_mask(rtwdev, R_PATH0_TX_POLAR_CLIPPING, in rtw8851b_set_cfr()
1317 rtw89_phy_write32_mask(rtwdev, R_PATH0_TX_CFR, in rtw8851b_set_cfr()
1319 rtw89_phy_write32_mask(rtwdev, R_PATH0_TX_CFR, in rtw8851b_set_cfr()
1321 rtw89_phy_write32_mask(rtwdev, R_PATH0_TX_POLAR_CLIPPING, in rtw8851b_set_cfr()
1323 rtw89_phy_write32_mask(rtwdev, R_PATH0_TX_POLAR_CLIPPING, in rtw8851b_set_cfr()
1353 rtw89_phy_write32_mask(rtwdev, R_PATH0_5MDET_V1, B_PATH0_5MDET_EN, 0x0); in rtw8851b_5m_mask()
1360 rtw89_phy_write32_mask(rtwdev, R_PATH0_5MDET_V1, B_PATH0_5MDET_TH, 0x5); in rtw8851b_5m_mask()
1361 rtw89_phy_write32_mask(rtwdev, R_PATH0_5MDET_V1, B_PATH0_5MDET_EN, 0x1); in rtw8851b_5m_mask()
1362 rtw89_phy_write32_mask(rtwdev, R_PATH0_5MDET_V1, B_PATH0_5MDET_SB2, 0x0); in rtw8851b_5m_mask()
1363 rtw89_phy_write32_mask(rtwdev, R_PATH0_5MDET_V1, B_PATH0_5MDET_SB0, 0x1); in rtw8851b_5m_mask()
1365 rtw89_phy_write32_mask(rtwdev, R_PATH0_5MDET_V1, B_PATH0_5MDET_TH, 0x5); in rtw8851b_5m_mask()
1366 rtw89_phy_write32_mask(rtwdev, R_PATH0_5MDET_V1, B_PATH0_5MDET_EN, 0x1); in rtw8851b_5m_mask()
1367 rtw89_phy_write32_mask(rtwdev, R_PATH0_5MDET_V1, B_PATH0_5MDET_SB2, 0x1); in rtw8851b_5m_mask()
1368 rtw89_phy_write32_mask(rtwdev, R_PATH0_5MDET_V1, B_PATH0_5MDET_SB0, 0x0); in rtw8851b_5m_mask()
1392 rtw89_phy_write32_mask(rtwdev, R_RXCCA, B_RXCCA_DIS, 0x0); in rtw8851b_bb_reset_en()
1393 rtw89_phy_write32_mask(rtwdev, R_PD_CTRL, B_PD_HIT_DIS, 0x0); in rtw8851b_bb_reset_en()
1395 rtw89_phy_write32_mask(rtwdev, R_RXCCA, B_RXCCA_DIS, 0x1); in rtw8851b_bb_reset_en()
1396 rtw89_phy_write32_mask(rtwdev, R_PD_CTRL, B_PD_HIT_DIS, 0x1); in rtw8851b_bb_reset_en()
1407 rtw89_phy_write32_mask(rtwdev, R_P0_TXPW_RSTB, in rtw8851b_bb_reset()
1411 rtw89_phy_write32_mask(rtwdev, R_P0_TXPW_RSTB, in rtw8851b_bb_reset()
1431 rtw89_phy_write32_mask(rtwdev, R_P0_TRSW, in rtw8851b_bb_gpio_trsw()
1504 rtw89_phy_write32_mask(rtwdev, R_PATH0_BT_SHARE_V1, in rtw8851b_set_channel_bb()
1506 rtw89_phy_write32_mask(rtwdev, R_PATH0_BTG_PATH_V1, in rtw8851b_set_channel_bb()
1508 rtw89_phy_write32_mask(rtwdev, R_CHBW_MOD_V1, B_BT_SHARE, 0x0); in rtw8851b_set_channel_bb()
1509 rtw89_phy_write32_mask(rtwdev, R_FC0_BW_V1, B_ANT_RX_BT_SEG0, 0x0); in rtw8851b_set_channel_bb()
1510 rtw89_phy_write32_mask(rtwdev, R_BT_DYN_DC_EST_EN_V1, in rtw8851b_set_channel_bb()
1512 rtw89_phy_write32_mask(rtwdev, R_GNT_BT_WGT_EN, B_GNT_BT_WGT_EN, 0x0); in rtw8851b_set_channel_bb()
1516 rtw89_phy_write32_mask(rtwdev, R_MAC_PIN_SEL, B_CH_IDX_SEG0, chan_idx); in rtw8851b_set_channel_bb()
1536 rtw89_phy_write32_mask(rtwdev, R_P0_TXPW_RSTB, B_P0_TXPW_RSTB_MANON, 0x0); in rtw8851b_tssi_cont_en()
1537 rtw89_phy_write32_mask(rtwdev, R_P0_TSSI_TRK, B_P0_TSSI_TRK_EN, 0x0); in rtw8851b_tssi_cont_en()
1539 rtw89_phy_write32_mask(rtwdev, R_P0_TXPW_RSTB, B_P0_TXPW_RSTB_MANON, 0x1); in rtw8851b_tssi_cont_en()
1540 rtw89_phy_write32_mask(rtwdev, R_P0_TSSI_TRK, B_P0_TSSI_TRK_EN, 0x1); in rtw8851b_tssi_cont_en()
1553 rtw89_phy_write32_mask(rtwdev, R_ADC_FIFO, B_ADC_FIFO_RST, 0x0); in rtw8851b_adc_en()
1555 rtw89_phy_write32_mask(rtwdev, R_ADC_FIFO, B_ADC_FIFO_RST, 0xf); in rtw8851b_adc_en()
1747 rtw89_phy_write32_mask(rtwdev, R_DCFO_OPT, B_TXSHAPE_TRIANGULAR_CFG, in rtw8851b_set_tx_shape()
1823 rtw89_phy_write32_mask(rtwdev, R_PATH0_G_LNA6_OP1DB_V1, in rtw8851b_ctrl_nbtg_bt_tx()
1825 rtw89_phy_write32_mask(rtwdev, R_PATH0_G_TIA0_LNA6_OP1DB_V1, in rtw8851b_ctrl_nbtg_bt_tx()
1828 rtw89_phy_write32_mask(rtwdev, R_PATH0_G_LNA6_OP1DB_V1, in rtw8851b_ctrl_nbtg_bt_tx()
1830 rtw89_phy_write32_mask(rtwdev, R_PATH0_G_TIA0_LNA6_OP1DB_V1, in rtw8851b_ctrl_nbtg_bt_tx()
1842 rtw89_phy_write32_mask(rtwdev, R_PATH0_BT_SHARE_V1, in rtw8851b_ctrl_btg_bt_rx()
1844 rtw89_phy_write32_mask(rtwdev, R_PATH0_BTG_PATH_V1, in rtw8851b_ctrl_btg_bt_rx()
1846 rtw89_phy_write32_mask(rtwdev, R_PATH0_G_LNA6_OP1DB_V1, in rtw8851b_ctrl_btg_bt_rx()
1848 rtw89_phy_write32_mask(rtwdev, R_PATH0_G_TIA0_LNA6_OP1DB_V1, in rtw8851b_ctrl_btg_bt_rx()
1850 rtw89_phy_write32_mask(rtwdev, R_PMAC_GNT, B_PMAC_GNT_P1, 0x0); in rtw8851b_ctrl_btg_bt_rx()
1851 rtw89_phy_write32_mask(rtwdev, R_CHBW_MOD_V1, B_BT_SHARE, 0x1); in rtw8851b_ctrl_btg_bt_rx()
1852 rtw89_phy_write32_mask(rtwdev, R_FC0_BW_V1, B_ANT_RX_BT_SEG0, 0x1); in rtw8851b_ctrl_btg_bt_rx()
1853 rtw89_phy_write32_mask(rtwdev, R_BT_DYN_DC_EST_EN_V1, in rtw8851b_ctrl_btg_bt_rx()
1855 rtw89_phy_write32_mask(rtwdev, R_GNT_BT_WGT_EN, B_GNT_BT_WGT_EN, 0x1); in rtw8851b_ctrl_btg_bt_rx()
1857 rtw89_phy_write32_mask(rtwdev, R_PATH0_BT_SHARE_V1, in rtw8851b_ctrl_btg_bt_rx()
1859 rtw89_phy_write32_mask(rtwdev, R_PATH0_BTG_PATH_V1, in rtw8851b_ctrl_btg_bt_rx()
1862 rtw89_phy_write32_mask(rtwdev, R_PATH0_G_LNA6_OP1DB_V1, in rtw8851b_ctrl_btg_bt_rx()
1864 rtw89_phy_write32_mask(rtwdev, R_PATH0_G_TIA0_LNA6_OP1DB_V1, in rtw8851b_ctrl_btg_bt_rx()
1867 rtw89_phy_write32_mask(rtwdev, R_PATH0_G_LNA6_OP1DB_V1, in rtw8851b_ctrl_btg_bt_rx()
1869 rtw89_phy_write32_mask(rtwdev, R_PATH0_G_TIA0_LNA6_OP1DB_V1, in rtw8851b_ctrl_btg_bt_rx()
1872 rtw89_phy_write32_mask(rtwdev, R_PMAC_GNT, B_PMAC_GNT_P1, 0xc); in rtw8851b_ctrl_btg_bt_rx()
1873 rtw89_phy_write32_mask(rtwdev, R_CHBW_MOD_V1, B_BT_SHARE, 0x0); in rtw8851b_ctrl_btg_bt_rx()
1874 rtw89_phy_write32_mask(rtwdev, R_FC0_BW_V1, B_ANT_RX_BT_SEG0, 0x0); in rtw8851b_ctrl_btg_bt_rx()
1875 rtw89_phy_write32_mask(rtwdev, R_BT_DYN_DC_EST_EN_V1, in rtw8851b_ctrl_btg_bt_rx()
1877 rtw89_phy_write32_mask(rtwdev, R_GNT_BT_WGT_EN, B_GNT_BT_WGT_EN, 0x0); in rtw8851b_ctrl_btg_bt_rx()
1888 rtw89_phy_write32_mask(rtwdev, R_CHBW_MOD_V1, B_ANT_RX_SEG0, 1); in rtw8851b_bb_ctrl_rx_path()
1889 rtw89_phy_write32_mask(rtwdev, R_FC0_BW_V1, B_ANT_RX_1RCCA_SEG0, 1); in rtw8851b_bb_ctrl_rx_path()
1890 rtw89_phy_write32_mask(rtwdev, R_FC0_BW_V1, B_ANT_RX_1RCCA_SEG1, 1); in rtw8851b_bb_ctrl_rx_path()
1891 rtw89_phy_write32_mask(rtwdev, R_RXHT_MCS_LIMIT, B_RXHT_MCS_LIMIT, 0); in rtw8851b_bb_ctrl_rx_path()
1892 rtw89_phy_write32_mask(rtwdev, R_RXVHT_MCS_LIMIT, B_RXVHT_MCS_LIMIT, 0); in rtw8851b_bb_ctrl_rx_path()
1893 rtw89_phy_write32_mask(rtwdev, R_RXHE, B_RXHE_USER_MAX, 4); in rtw8851b_bb_ctrl_rx_path()
1894 rtw89_phy_write32_mask(rtwdev, R_RXHE, B_RXHE_MAX_NSS, 0); in rtw8851b_bb_ctrl_rx_path()
1895 rtw89_phy_write32_mask(rtwdev, R_RXHE, B_RXHETB_MAX_NSS, 0); in rtw8851b_bb_ctrl_rx_path()
1902 rtw89_phy_write32_mask(rtwdev, R_P0_TXPW_RSTB, rst_mask0, 1); in rtw8851b_bb_ctrl_rx_path()
1903 rtw89_phy_write32_mask(rtwdev, R_P0_TXPW_RSTB, rst_mask0, 3); in rtw8851b_bb_ctrl_rx_path()
1912 rtw89_phy_write32_mask(rtwdev, R_RXHT_MCS_LIMIT, B_RXHT_MCS_LIMIT, 0); in rtw8851b_bb_cfg_txrx_path()
1913 rtw89_phy_write32_mask(rtwdev, R_RXVHT_MCS_LIMIT, B_RXVHT_MCS_LIMIT, 0); in rtw8851b_bb_cfg_txrx_path()
1914 rtw89_phy_write32_mask(rtwdev, R_RXHE, B_RXHE_MAX_NSS, 0); in rtw8851b_bb_cfg_txrx_path()
1915 rtw89_phy_write32_mask(rtwdev, R_RXHE, B_RXHETB_MAX_NSS, 0); in rtw8851b_bb_cfg_txrx_path()