Home
last modified time | relevance | path

Searched refs:AGC (Results 1 – 13 of 13) sorted by relevance

/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/
Dinitvals.h143 {MT_BBP(AGC, 0), 0x00021400},
144 {MT_BBP(AGC, 1), 0x00000003},
145 {MT_BBP(AGC, 2), 0x003A6464},
146 {MT_BBP(AGC, 15), 0x88A28CB8},
147 {MT_BBP(AGC, 22), 0x00001E21},
148 {MT_BBP(AGC, 23), 0x0000272C},
149 {MT_BBP(AGC, 24), 0x00002F3A},
150 {MT_BBP(AGC, 25), 0x8000005A},
151 {MT_BBP(AGC, 26), 0x007C2005},
152 {MT_BBP(AGC, 34), 0x000A0C0C},
[all …]
Dphy.c223 mt76_rmw_field(dev, MT_BBP(AGC, 0), MT_BBP_AGC_R0_BW, agc_val); in mt76x0_bbp_set_ctrlch()
224 mt76_rmw_field(dev, MT_BBP(AGC, 0), MT_BBP_AGC_R0_CTRL_CHAN, ctrl); in mt76x0_bbp_set_ctrlch()
552 if (pair->reg == MT_BBP(AGC, 8)) { in mt76x0_phy_set_chan_bbp_params()
819 dev->agc_save = FIELD_GET(MT_BBP_AGC_GAIN, mt76_rr(dev, MT_BBP(AGC, 8))); in mt76x0_agc_save()
824 mt76_rmw_field(dev, MT_BBP(AGC, 8), MT_BBP_AGC_GAIN, dev->agc_save); in mt76x0_agc_restore()
881 val = mt76_rr(dev, MT_BBP(AGC, 8)); in mt76x0_dynamic_vga_tuning()
884 mt76_wr(dev, MT_BBP(AGC,8), val); in mt76x0_dynamic_vga_tuning()
915 val = mt76_rr(dev, MT_BBP(AGC, 0)); in mt76x0_set_rx_chains()
921 mt76_wr(dev, MT_BBP(AGC, 0), val); in mt76x0_set_rx_chains()
924 val = mt76_rr(dev, MT_BBP(AGC, 0)); in mt76x0_set_rx_chains()
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dmt76x2_phy.c84 val = mt76_rr(dev, MT_BBP(AGC, 0)); in mt76x2_phy_set_antenna()
123 mt76_wr(dev, MT_BBP(AGC, 0), val); in mt76x2_phy_set_antenna()
129 dest[0] = mt76_get_field(dev, MT_BBP(AGC, 8), MT_BBP_AGC_GAIN); in mt76x2_get_agc_gain()
130 dest[1] = mt76_get_field(dev, MT_BBP(AGC, 9), MT_BBP_AGC_GAIN); in mt76x2_get_agc_gain()
175 mt76_wr(dev, MT_BBP(AGC, 8), in mt76x2_phy_set_gain_val()
177 mt76_wr(dev, MT_BBP(AGC, 9), in mt76x2_phy_set_gain_val()
227 val = mt76_rr(dev, MT_BBP(AGC, 26)) & ~0xf; in mt76x2_phy_update_channel_gain()
232 mt76_wr(dev, MT_BBP(AGC, 26), val); in mt76x2_phy_update_channel_gain()
244 mt76_wr(dev, MT_BBP(AGC, 35), 0x08080808); in mt76x2_phy_update_channel_gain()
245 mt76_wr(dev, MT_BBP(AGC, 37), 0x08080808); in mt76x2_phy_update_channel_gain()
[all …]
Dmt76x2u_phy.c24 val = mt76_rr(dev, MT_BBP(AGC, 0)); in mt76x2u_phy_set_rxpath()
35 mt76_wr(dev, MT_BBP(AGC, 0), val); in mt76x2u_phy_set_rxpath()
266 mt76_wr(dev, MT_BBP(AGC, 61), 0xff64a4e2); in mt76x2u_phy_set_channel()
267 mt76_wr(dev, MT_BBP(AGC, 7), 0x08081010); in mt76x2u_phy_set_channel()
268 mt76_wr(dev, MT_BBP(AGC, 11), 0x00000404); in mt76x2u_phy_set_channel()
269 mt76_wr(dev, MT_BBP(AGC, 2), 0x00007070); in mt76x2u_phy_set_channel()
Dmt76x2_phy_common.c26 gain = FIELD_GET(MT_BBP_AGC_LNA_HIGH_GAIN, mt76_rr(dev, MT_BBP(AGC, reg))); in mt76x2_adjust_high_lna_gain()
28 mt76_rmw_field(dev, MT_BBP(AGC, reg), MT_BBP_AGC_LNA_HIGH_GAIN, gain); in mt76x2_adjust_high_lna_gain()
36 gain = FIELD_GET(MT_BBP_AGC_GAIN, mt76_rr(dev, MT_BBP(AGC, reg))); in mt76x2_adjust_agc_gain()
38 mt76_rmw_field(dev, MT_BBP(AGC, reg), MT_BBP_AGC_GAIN, gain); in mt76x2_adjust_agc_gain()
280 mt76_rmw_field(dev, MT_BBP(AGC, 0), MT_BBP_AGC_R0_BW, agc_val); in mt76x2_phy_set_bw()
281 mt76_rmw_field(dev, MT_BBP(AGC, 0), MT_BBP_AGC_R0_CTRL_CHAN, ctrl); in mt76x2_phy_set_bw()
Dmt76x2_dfs.c809 agc_r8 = mt76_rr(dev, MT_BBP(AGC, 8)); in mt76x2_dfs_adjust_agc()
810 agc_r4 = mt76_rr(dev, MT_BBP(AGC, 4)); in mt76x2_dfs_adjust_agc()
815 mt76_wr(dev, MT_BBP(AGC, 4), val_r4); in mt76x2_dfs_adjust_agc()
/Linux-v4.19/Documentation/media/v4l-drivers/
Dsi476x.rst80 AGC(Automatic Gain Control)
Dbttv.rst149 chroma_agc=0/1 AGC of chroma signal, off by default.
/Linux-v4.19/Documentation/media/uapi/v4l/
Dcontrol.rst186 Adjusts the Chroma gain control (for use when chroma AGC is
Dextended-controls.rst3840 Enables/disables LNA automatic gain control (AGC)
3843 Enables/disables mixer automatic gain control (AGC)
3846 Enables/disables IF automatic gain control (AGC)
/Linux-v4.19/drivers/staging/rtl8192e/
Drtllib.h599 u8 AGC; member
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/
Dieee80211.h719 u8 AGC; member
/Linux-v4.19/Documentation/media/kapi/
Dv4l2-controls.rst473 activate and deactivate controls. For example, if the Chroma AGC control is