Searched refs:low_gain (Results 1 – 13 of 13) sorted by relevance
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt76x2/ |
A D | phy.c | 280 int low_gain; in mt76x2_phy_update_channel_gain() local 287 low_gain = (dev->cal.avg_rssi_all > mt76x02_get_rssi_gain_thresh(dev)) + in mt76x2_phy_update_channel_gain() 290 gain_change = dev->cal.low_gain < 0 || in mt76x2_phy_update_channel_gain() 291 (dev->cal.low_gain & 2) ^ (low_gain & 2); in mt76x2_phy_update_channel_gain() 292 dev->cal.low_gain = low_gain; in mt76x2_phy_update_channel_gain() 303 if (low_gain == 2) in mt76x2_phy_update_channel_gain() 320 else if (low_gain == 2) in mt76x2_phy_update_channel_gain() 327 if (low_gain == 2) { in mt76x2_phy_update_channel_gain()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/mt76x0/ |
A D | phy.c | 1072 int low_gain; in mt76x0_phy_update_channel_gain() local 1078 low_gain = (dev->cal.avg_rssi_all > mt76x02_get_rssi_gain_thresh(dev)) + in mt76x0_phy_update_channel_gain() 1081 gain_change = dev->cal.low_gain < 0 || in mt76x0_phy_update_channel_gain() 1082 (dev->cal.low_gain & 2) ^ (low_gain & 2); in mt76x0_phy_update_channel_gain() 1083 dev->cal.low_gain = low_gain; in mt76x0_phy_update_channel_gain() 1091 dev->cal.agc_gain_adjust = (low_gain == 2) ? 0 : 10; in mt76x0_phy_update_channel_gain() 1092 gain_delta = (low_gain == 2) ? 10 : 0; in mt76x0_phy_update_channel_gain()
|
/linux-6.3-rc2/drivers/net/wireless/mediatek/mt76/ |
A D | mt76x02_phy.c | 171 u8 limit = dev->cal.low_gain > 0 ? 16 : 4; in mt76x02_phy_adjust_vga_gain() 201 dev->cal.low_gain = -1; in mt76x02_init_agc_gain()
|
A D | mt76x02_debugfs.c | 80 seq_printf(file, "low_gain: %d\n", dev->cal.low_gain); in read_agc()
|
A D | mt76x02.h | 47 s8 low_gain; member
|
A D | mt76x02_util.c | 617 dev->cal.low_gain = -1; in mt76x02_sw_scan_complete()
|
/linux-6.3-rc2/drivers/net/wireless/realtek/rtw88/ |
A D | coex.h | 375 void rtw_coex_set_wl_rx_gain(struct rtw_dev *rtwdev, bool low_gain) in rtw_coex_set_wl_rx_gain() argument 379 chip->ops->coex_set_wl_rx_gain(rtwdev, low_gain); in rtw_coex_set_wl_rx_gain()
|
A D | rtw8822b.c | 1319 static void rtw8822b_coex_cfg_wl_rx_gain(struct rtw_dev *rtwdev, bool low_gain) in rtw8822b_coex_cfg_wl_rx_gain() argument 1350 if (low_gain == coex_dm->cur_wl_rx_low_gain_en) in rtw8822b_coex_cfg_wl_rx_gain() 1353 coex_dm->cur_wl_rx_low_gain_en = low_gain; in rtw8822b_coex_cfg_wl_rx_gain()
|
A D | rtw8723d.c | 1629 static void rtw8723d_coex_cfg_wl_rx_gain(struct rtw_dev *rtwdev, bool low_gain) in rtw8723d_coex_cfg_wl_rx_gain() argument 1651 if (low_gain == coex_dm->cur_wl_rx_low_gain_en) in rtw8723d_coex_cfg_wl_rx_gain() 1654 coex_dm->cur_wl_rx_low_gain_en = low_gain; in rtw8723d_coex_cfg_wl_rx_gain()
|
A D | main.h | 887 void (*coex_set_wl_rx_gain)(struct rtw_dev *rtwdev, bool low_gain);
|
A D | rtw8821c.c | 952 static void rtw8821c_coex_cfg_wl_rx_gain(struct rtw_dev *rtwdev, bool low_gain) in rtw8821c_coex_cfg_wl_rx_gain() argument
|
A D | rtw8822c.c | 3100 static void rtw8822c_coex_cfg_wl_rx_gain(struct rtw_dev *rtwdev, bool low_gain) in rtw8822c_coex_cfg_wl_rx_gain() argument 3105 if (low_gain == coex_dm->cur_wl_rx_low_gain_en) in rtw8822c_coex_cfg_wl_rx_gain() 3108 coex_dm->cur_wl_rx_low_gain_en = low_gain; in rtw8822c_coex_cfg_wl_rx_gain()
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43/ |
A D | phy_lp.c | 929 u16 low_gain = gain & 0xFFFF; in lpphy_rev2plus_set_rx_gain() local 940 b43_phy_write(dev, B43_LPPHY_RX_GAIN_CTL_OVERRIDE_VAL, low_gain); in lpphy_rev2plus_set_rx_gain()
|
Completed in 61 milliseconds