Lines Matching refs:rf_reg18
1279 u32 rf_reg18 = 0; in rtw8822c_set_channel_rf() local
1282 rf_reg18 = rtw_read_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK); in rtw8822c_set_channel_rf()
1284 rf_reg18 &= ~(RF18_BAND_MASK | RF18_CHANNEL_MASK | RF18_RFSI_MASK | in rtw8822c_set_channel_rf()
1287 rf_reg18 |= (channel <= 14 ? RF18_BAND_2G : RF18_BAND_5G); in rtw8822c_set_channel_rf()
1288 rf_reg18 |= (channel & RF18_CHANNEL_MASK); in rtw8822c_set_channel_rf()
1290 rf_reg18 |= RF18_RFSI_GT_CH140; in rtw8822c_set_channel_rf()
1292 rf_reg18 |= RF18_RFSI_GE_CH80; in rtw8822c_set_channel_rf()
1299 rf_reg18 |= RF18_BW_20M; in rtw8822c_set_channel_rf()
1304 rf_reg18 |= RF18_BW_40M; in rtw8822c_set_channel_rf()
1308 rf_reg18 |= RF18_BW_80M; in rtw8822c_set_channel_rf()
1323 rtw_write_rf(rtwdev, RF_PATH_A, RF_CFGCH, RFREG_MASK, rf_reg18); in rtw8822c_set_channel_rf()
1324 rtw_write_rf(rtwdev, RF_PATH_B, RF_CFGCH, RFREG_MASK, rf_reg18); in rtw8822c_set_channel_rf()