Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dinitvals.h24 { RF_G_BAND | RF_BW_20, { MT_BBP(AGC, 12), 0x05052879 } },
25 { RF_G_BAND | RF_BW_40, { MT_BBP(AGC, 12), 0x050528F9 } },
40 { RF_G_BAND | RF_BW_20, { MT_BBP(AGC, 28), 0x00060806 } },
41 { RF_G_BAND | RF_BW_40, { MT_BBP(AGC, 28), 0x00050806 } },
42 { RF_A_BAND | RF_BW_40, { MT_BBP(AGC, 28), 0x00060801 } },
56 { RF_G_BAND | RF_BW_20, { MT_BBP(AGC, 35), 0x11111616 } },
57 { RF_G_BAND | RF_BW_40, { MT_BBP(AGC, 35), 0x11111516 } },
60 { RF_G_BAND | RF_BW_20, { MT_BBP(AGC, 39), 0x2A2A3036 } },
61 { RF_G_BAND | RF_BW_40, { MT_BBP(AGC, 39), 0x2A2A2C36 } },
64 { RF_G_BAND | RF_BW_20, { MT_BBP(AGC, 43), 0x27273438 } },
[all …]
H A Dinitvals_init.h94 { MT_BBP(AGC, 0), 0x00021400 },
95 { MT_BBP(AGC, 1), 0x00000003 },
96 { MT_BBP(AGC, 2), 0x003A6464 },
97 { MT_BBP(AGC, 15), 0x88A28CB8 },
98 { MT_BBP(AGC, 22), 0x00001E21 },
99 { MT_BBP(AGC, 23), 0x0000272C },
100 { MT_BBP(AGC, 24), 0x00002F3A },
101 { MT_BBP(AGC, 25), 0x8000005A },
102 { MT_BBP(AGC, 26), 0x007C2005 },
103 { MT_BBP(AGC, 33), 0x00003238 },
[all …]
H A Dphy.c411 if (pair->reg == MT_BBP(AGC, 8)) { in mt76x0_phy_set_chan_bbp_params()
1060 mt76_rmw_field(dev, MT_BBP(AGC, 8), MT_BBP_AGC_GAIN, gain); in mt76x0_phy_set_gain_val()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dphy.c18 mt76_rr(dev, MT_BBP(AGC, reg))); in mt76x2_adjust_high_lna_gain()
28 gain = FIELD_GET(MT_BBP_AGC_GAIN, mt76_rr(dev, MT_BBP(AGC, reg))); in mt76x2_adjust_agc_gain()
30 mt76_rmw_field(dev, MT_BBP(AGC, reg), MT_BBP_AGC_GAIN, gain); in mt76x2_adjust_agc_gain()
265 mt76_wr(dev, MT_BBP(AGC, 8), in mt76x2_phy_set_gain_val()
267 mt76_wr(dev, MT_BBP(AGC, 9), in mt76x2_phy_set_gain_val()
302 val = mt76_rr(dev, MT_BBP(AGC, 26)) & ~0xf; in mt76x2_phy_update_channel_gain()
307 mt76_wr(dev, MT_BBP(AGC, 26), val); in mt76x2_phy_update_channel_gain()
329 mt76_wr(dev, MT_BBP(AGC, 35), 0x08080808); in mt76x2_phy_update_channel_gain()
330 mt76_wr(dev, MT_BBP(AGC, 37), 0x08080808); in mt76x2_phy_update_channel_gain()
339 mt76_wr(dev, MT_BBP(AGC, 35), agc_35); in mt76x2_phy_update_channel_gain()
[all …]
H A Dpci_phy.c75 val = mt76_rr(dev, MT_BBP(AGC, 0)); in mt76x2_phy_set_antenna()
114 mt76_wr(dev, MT_BBP(AGC, 0), val); in mt76x2_phy_set_antenna()
227 mt76_wr(dev, MT_BBP(AGC, 61), 0xFF64A4E2); in mt76x2_phy_set_channel()
228 mt76_wr(dev, MT_BBP(AGC, 7), 0x08081010); in mt76x2_phy_set_channel()
229 mt76_wr(dev, MT_BBP(AGC, 11), 0x00000404); in mt76x2_phy_set_channel()
230 mt76_wr(dev, MT_BBP(AGC, 2), 0x00007070); in mt76x2_phy_set_channel()
H A Dusb_phy.c161 mt76_wr(dev, MT_BBP(AGC, 61), 0xff64a4e2); in mt76x2u_phy_set_channel()
162 mt76_wr(dev, MT_BBP(AGC, 7), 0x08081010); in mt76x2u_phy_set_channel()
163 mt76_wr(dev, MT_BBP(AGC, 11), 0x00000404); in mt76x2u_phy_set_channel()
164 mt76_wr(dev, MT_BBP(AGC, 2), 0x00007070); in mt76x2u_phy_set_channel()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_phy.c16 val = mt76_rr(dev, MT_BBP(AGC, 0)); in mt76x02_phy_set_rxpath()
28 mt76_wr(dev, MT_BBP(AGC, 0), val); in mt76x02_phy_set_rxpath()
30 val = mt76_rr(dev, MT_BBP(AGC, 0)); in mt76x02_phy_set_rxpath()
144 mt76_rmw_field(dev, MT_BBP(AGC, 0), MT_BBP_AGC_R0_BW, agc_val); in mt76x02_phy_set_bw()
145 mt76_rmw_field(dev, MT_BBP(AGC, 0), MT_BBP_AGC_R0_CTRL_CHAN, ctrl); in mt76x02_phy_set_bw()
195 dev->cal.agc_gain_init[0] = mt76_get_field(dev, MT_BBP(AGC, 8), in mt76x02_init_agc_gain()
197 dev->cal.agc_gain_init[1] = mt76_get_field(dev, MT_BBP(AGC, 9), in mt76x02_init_agc_gain()
H A Dmt76x02_dfs.c799 agc_r8 = mt76_rr(dev, MT_BBP(AGC, 8)); in mt76x02_phy_dfs_adjust_agc()
800 agc_r4 = mt76_rr(dev, MT_BBP(AGC, 4)); in mt76x02_phy_dfs_adjust_agc()
805 mt76_wr(dev, MT_BBP(AGC, 4), val_r4); in mt76x02_phy_dfs_adjust_agc()
H A Dmt76x02_mac.c1113 mt76_rmw(dev, MT_BBP(AGC, 2), GENMASK(15, 0), in mt76x02_edcca_init()
1120 mt76_wr(dev, MT_BBP(AGC, 2), 0x00007070); in mt76x02_edcca_init()
1124 mt76_wr(dev, MT_BBP(AGC, 2), 0x003a6464); in mt76x02_edcca_init()
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-rf-tuner.rst50 Enables/disables LNA automatic gain control (AGC)
53 Enables/disables mixer automatic gain control (AGC)
56 Enables/disables IF automatic gain control (AGC)
H A Dcontrol.rst189 Adjusts the Chroma gain control (for use when chroma AGC is
/openbmc/linux/Documentation/admin-guide/media/
H A Dsi476x.rst82 AGC(Automatic Gain Control)
H A Dbttv.rst176 chroma_agc=0/1 AGC of chroma signal, off by default.
/openbmc/linux/arch/arm/boot/dts/st/
H A Dste-ux500-samsung-codina-tmo.dts473 /* I2C0 also known as "AGC I2C" */
H A Dste-ux500-samsung-gavini.dts548 /* I2C2 "AGC I2C" */
H A Dste-ux500-samsung-codina.dts552 /* I2C0 also known as "AGC I2C" */
/openbmc/linux/drivers/staging/rtl8192e/
H A Drtllib.h550 u8 AGC; member
/openbmc/linux/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211.h652 u8 AGC; member
/openbmc/linux/Documentation/driver-api/media/
H A Dv4l2-controls.rst482 activate and deactivate controls. For example, if the Chroma AGC control is