Lines Matching refs:rf_reg18
2186 u32 rf_reg18 = 0; in rtw8822c_set_channel_rf() local
2189 rf_reg18 = rtw_read_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK); in rtw8822c_set_channel_rf()
2191 rf_reg18 &= ~(RF18_BAND_MASK | RF18_CHANNEL_MASK | RF18_RFSI_MASK | in rtw8822c_set_channel_rf()
2194 rf_reg18 |= (IS_CH_2G_BAND(channel) ? RF18_BAND_2G : RF18_BAND_5G); in rtw8822c_set_channel_rf()
2195 rf_reg18 |= (channel & RF18_CHANNEL_MASK); in rtw8822c_set_channel_rf()
2197 rf_reg18 |= RF18_RFSI_GT_CH140; in rtw8822c_set_channel_rf()
2199 rf_reg18 |= RF18_RFSI_GE_CH80; in rtw8822c_set_channel_rf()
2206 rf_reg18 |= RF18_BW_20M; in rtw8822c_set_channel_rf()
2211 rf_reg18 |= RF18_BW_40M; in rtw8822c_set_channel_rf()
2215 rf_reg18 |= RF18_BW_80M; in rtw8822c_set_channel_rf()
2232 rtw_write_rf(rtwdev, RF_PATH_A, RF_CFGCH, RFREG_MASK, rf_reg18); in rtw8822c_set_channel_rf()
2233 rtw_write_rf(rtwdev, RF_PATH_B, RF_CFGCH, RFREG_MASK, rf_reg18); in rtw8822c_set_channel_rf()