rf_reg18 438 drivers/net/wireless/realtek/rtw88/rtw8822b.c u32 rf_reg18, rf_reg_be; rf_reg18 440 drivers/net/wireless/realtek/rtw88/rtw8822b.c rf_reg18 = rtw_read_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK); rf_reg18 442 drivers/net/wireless/realtek/rtw88/rtw8822b.c rf_reg18 &= ~(RF18_BAND_MASK | RF18_CHANNEL_MASK | RF18_RFSI_MASK | rf_reg18 445 drivers/net/wireless/realtek/rtw88/rtw8822b.c rf_reg18 |= (channel <= 14 ? RF18_BAND_2G : RF18_BAND_5G); rf_reg18 446 drivers/net/wireless/realtek/rtw88/rtw8822b.c rf_reg18 |= (channel & RF18_CHANNEL_MASK); rf_reg18 448 drivers/net/wireless/realtek/rtw88/rtw8822b.c rf_reg18 |= RF18_RFSI_GT_CH144; rf_reg18 450 drivers/net/wireless/realtek/rtw88/rtw8822b.c rf_reg18 |= RF18_RFSI_GE_CH80; rf_reg18 457 drivers/net/wireless/realtek/rtw88/rtw8822b.c rf_reg18 |= RF18_BW_20M; rf_reg18 460 drivers/net/wireless/realtek/rtw88/rtw8822b.c rf_reg18 |= RF18_BW_40M; rf_reg18 463 drivers/net/wireless/realtek/rtw88/rtw8822b.c rf_reg18 |= RF18_BW_80M; rf_reg18 486 drivers/net/wireless/realtek/rtw88/rtw8822b.c rtw_write_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK, rf_reg18); rf_reg18 488 drivers/net/wireless/realtek/rtw88/rtw8822b.c rtw_write_rf(rtwdev, RF_PATH_B, 0x18, RFREG_MASK, rf_reg18); rf_reg18 1279 drivers/net/wireless/realtek/rtw88/rtw8822c.c u32 rf_reg18 = 0; rf_reg18 1282 drivers/net/wireless/realtek/rtw88/rtw8822c.c rf_reg18 = rtw_read_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK); rf_reg18 1284 drivers/net/wireless/realtek/rtw88/rtw8822c.c rf_reg18 &= ~(RF18_BAND_MASK | RF18_CHANNEL_MASK | RF18_RFSI_MASK | rf_reg18 1287 drivers/net/wireless/realtek/rtw88/rtw8822c.c rf_reg18 |= (channel <= 14 ? RF18_BAND_2G : RF18_BAND_5G); rf_reg18 1288 drivers/net/wireless/realtek/rtw88/rtw8822c.c rf_reg18 |= (channel & RF18_CHANNEL_MASK); rf_reg18 1290 drivers/net/wireless/realtek/rtw88/rtw8822c.c rf_reg18 |= RF18_RFSI_GT_CH140; rf_reg18 1292 drivers/net/wireless/realtek/rtw88/rtw8822c.c rf_reg18 |= RF18_RFSI_GE_CH80; rf_reg18 1299 drivers/net/wireless/realtek/rtw88/rtw8822c.c rf_reg18 |= RF18_BW_20M; rf_reg18 1304 drivers/net/wireless/realtek/rtw88/rtw8822c.c rf_reg18 |= RF18_BW_40M; rf_reg18 1308 drivers/net/wireless/realtek/rtw88/rtw8822c.c rf_reg18 |= RF18_BW_80M; rf_reg18 1323 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write_rf(rtwdev, RF_PATH_A, RF_CFGCH, RFREG_MASK, rf_reg18); rf_reg18 1324 drivers/net/wireless/realtek/rtw88/rtw8822c.c rtw_write_rf(rtwdev, RF_PATH_B, RF_CFGCH, RFREG_MASK, rf_reg18);