Searched refs:rf_reg18 (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.1/drivers/net/wireless/realtek/rtw88/ |
D | rtw8821c.c | 280 u32 rf_reg18; in rtw8821c_set_channel_rf() local 282 rf_reg18 = rtw_read_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK); in rtw8821c_set_channel_rf() 284 rf_reg18 &= ~(RF18_BAND_MASK | RF18_CHANNEL_MASK | RF18_RFSI_MASK | in rtw8821c_set_channel_rf() 287 rf_reg18 |= (channel <= 14 ? RF18_BAND_2G : RF18_BAND_5G); in rtw8821c_set_channel_rf() 288 rf_reg18 |= (channel & RF18_CHANNEL_MASK); in rtw8821c_set_channel_rf() 291 rf_reg18 |= RF18_RFSI_GE; in rtw8821c_set_channel_rf() 293 rf_reg18 |= RF18_RFSI_GT; in rtw8821c_set_channel_rf() 300 rf_reg18 |= RF18_BW_20M; in rtw8821c_set_channel_rf() 303 rf_reg18 |= RF18_BW_40M; in rtw8821c_set_channel_rf() 306 rf_reg18 |= RF18_BW_80M; in rtw8821c_set_channel_rf() [all …]
|
D | rtw8822b.c | 495 u32 rf_reg18, rf_reg_be; in rtw8822b_set_channel_rf() local 497 rf_reg18 = rtw_read_rf(rtwdev, RF_PATH_A, 0x18, RFREG_MASK); in rtw8822b_set_channel_rf() 499 rf_reg18 &= ~(RF18_BAND_MASK | RF18_CHANNEL_MASK | RF18_RFSI_MASK | in rtw8822b_set_channel_rf() 502 rf_reg18 |= (IS_CH_2G_BAND(channel) ? RF18_BAND_2G : RF18_BAND_5G); in rtw8822b_set_channel_rf() 503 rf_reg18 |= (channel & RF18_CHANNEL_MASK); in rtw8822b_set_channel_rf() 505 rf_reg18 |= RF18_RFSI_GT_CH144; in rtw8822b_set_channel_rf() 507 rf_reg18 |= RF18_RFSI_GE_CH80; in rtw8822b_set_channel_rf() 514 rf_reg18 |= RF18_BW_20M; in rtw8822b_set_channel_rf() 517 rf_reg18 |= RF18_BW_40M; in rtw8822b_set_channel_rf() 520 rf_reg18 |= RF18_BW_80M; in rtw8822b_set_channel_rf() [all …]
|
D | rtw8822c.c | 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() [all …]
|
/Linux-v6.1/drivers/net/wireless/realtek/rtw89/ |
D | rtw8852c_rfk.c | 3573 u32 rf_reg18; in _bw_setting() local 3582 rf_reg18 = rtw89_read_rf(rtwdev, path, reg_reg18_addr, RFREG_MASK); in _bw_setting() 3583 rf_reg18 &= ~RR_CFGCH_BW; in _bw_setting() 3589 rf_reg18 |= FIELD_PREP(RR_CFGCH_BW, CFGCH_BW_20M); in _bw_setting() 3594 rf_reg18 |= FIELD_PREP(RR_CFGCH_BW, CFGCH_BW_40M); in _bw_setting() 3599 rf_reg18 |= FIELD_PREP(RR_CFGCH_BW, CFGCH_BW_80M); in _bw_setting() 3604 rf_reg18 |= FIELD_PREP(RR_CFGCH_BW, CFGCH_BW_160M); in _bw_setting() 3612 rtw89_write_rf(rtwdev, path, reg_reg18_addr, RFREG_MASK, rf_reg18); in _bw_setting() 3650 u32 rf_reg18; in _ch_setting() local 3659 rf_reg18 = rtw89_read_rf(rtwdev, path, reg_reg18_addr, RFREG_MASK); in _ch_setting() [all …]
|