AGC 94 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 0), 0x00021400 }, AGC 95 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 1), 0x00000003 }, AGC 96 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 2), 0x003A6464 }, AGC 97 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 15), 0x88A28CB8 }, AGC 98 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 22), 0x00001E21 }, AGC 99 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 23), 0x0000272C }, AGC 100 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 24), 0x00002F3A }, AGC 101 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 25), 0x8000005A }, AGC 102 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 26), 0x007C2005 }, AGC 103 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 33), 0x00003238 }, AGC 104 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 34), 0x000A0C0C }, AGC 105 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 37), 0x2121262C }, AGC 106 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 41), 0x38383E45 }, AGC 107 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 57), 0x00001010 }, AGC 108 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 59), 0xBAA20E96 }, AGC 109 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { MT_BBP(AGC, 63), 0x00000001 }, AGC 148 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20 | RF_BW_40, { MT_BBP(AGC, 4), 0x1FEDA049 } }, AGC 149 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 4), 0x1FECA054 } }, AGC 151 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20 | RF_BW_40, { MT_BBP(AGC, 6), 0x00000045 } }, AGC 152 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 6), 0x0000000A } }, AGC 154 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20 | RF_BW_40, { MT_BBP(AGC, 8), 0x16344EF0 } }, AGC 155 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 8), 0x122C54F2 } }, AGC 157 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20, { MT_BBP(AGC, 12), 0x05052879 } }, AGC 158 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_40, { MT_BBP(AGC, 12), 0x050528F9 } }, AGC 159 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 12), 0x050528F9 } }, AGC 161 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20 | RF_BW_40, { MT_BBP(AGC, 13), 0x35050004 } }, AGC 162 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 13), 0x2C3A0406 } }, AGC 164 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20 | RF_BW_40, { MT_BBP(AGC, 14), 0x310F2E3C } }, AGC 165 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 14), 0x310F2A3F } }, AGC 167 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20 | RF_BW_40, { MT_BBP(AGC, 26), 0x007C2005 } }, AGC 168 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 26), 0x007C2005 } }, AGC 170 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20 | RF_BW_40, { MT_BBP(AGC, 27), 0x000000E1 } }, AGC 171 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 27), 0x000000EC } }, AGC 173 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20, { MT_BBP(AGC, 28), 0x00060806 } }, AGC 174 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_40, { MT_BBP(AGC, 28), 0x00050806 } }, AGC 175 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_40, { MT_BBP(AGC, 28), 0x00060801 } }, AGC 176 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_80, { MT_BBP(AGC, 28), 0x00060806 } }, AGC 180 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20 | RF_BW_40, { MT_BBP(AGC, 31), 0x00000E23 } }, AGC 181 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 31), 0x00000E13 } }, AGC 183 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20 | RF_BW_40, { MT_BBP(AGC, 32), 0x00003218 } }, AGC 184 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 32), 0x0000181C } }, AGC 186 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20 | RF_BW_40, { MT_BBP(AGC, 33), 0x00003240 } }, AGC 187 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 33), 0x00003218 } }, AGC 189 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20, { MT_BBP(AGC, 35), 0x11111616 } }, AGC 190 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_40, { MT_BBP(AGC, 35), 0x11111516 } }, AGC 191 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 35), 0x11111111 } }, AGC 193 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20, { MT_BBP(AGC, 39), 0x2A2A3036 } }, AGC 194 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_40, { MT_BBP(AGC, 39), 0x2A2A2C36 } }, AGC 195 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 39), 0x2A2A2A2A } }, AGC 197 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20, { MT_BBP(AGC, 43), 0x27273438 } }, AGC 198 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_40, { MT_BBP(AGC, 43), 0x27272D38 } }, AGC 199 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 43), 0x27271A1A } }, AGC 201 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20 | RF_BW_40, { MT_BBP(AGC, 51), 0x17171C1C } }, AGC 202 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 51), 0xFFFFFFFF } }, AGC 204 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20, { MT_BBP(AGC, 53), 0x26262A2F } }, AGC 205 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_40, { MT_BBP(AGC, 53), 0x2626322F } }, AGC 206 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 53), 0xFFFFFFFF } }, AGC 208 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20 | RF_BW_40, { MT_BBP(AGC, 55), 0x40404040 } }, AGC 209 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 55), 0xFFFFFFFF } }, AGC 211 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_G_BAND | RF_BW_20 | RF_BW_40, { MT_BBP(AGC, 58), 0x00001010 } }, AGC 212 drivers/net/wireless/mediatek/mt76/mt76x0/initvals.h { RF_A_BAND | RF_BW_20 | RF_BW_40 | RF_BW_80, { MT_BBP(AGC, 58), 0x00000000 } }, AGC 411 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (pair->reg == MT_BBP(AGC, 8)) { AGC 1059 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c mt76_rmw_field(dev, MT_BBP(AGC, 8), MT_BBP_AGC_GAIN, gain); AGC 798 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c agc_r8 = mt76_rr(dev, MT_BBP(AGC, 8)); AGC 799 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c agc_r4 = mt76_rr(dev, MT_BBP(AGC, 4)); AGC 804 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c mt76_wr(dev, MT_BBP(AGC, 4), val_r4); AGC 1016 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_rmw(dev, MT_BBP(AGC, 2), GENMASK(15, 0), AGC 1023 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_BBP(AGC, 2), 0x00007070); AGC 1027 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c mt76_wr(dev, MT_BBP(AGC, 2), 0x003a6464); AGC 16 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c val = mt76_rr(dev, MT_BBP(AGC, 0)); AGC 28 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c mt76_wr(dev, MT_BBP(AGC, 0), val); AGC 30 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c val = mt76_rr(dev, MT_BBP(AGC, 0)); AGC 144 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c mt76_rmw_field(dev, MT_BBP(AGC, 0), MT_BBP_AGC_R0_BW, agc_val); AGC 145 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c mt76_rmw_field(dev, MT_BBP(AGC, 0), MT_BBP_AGC_R0_CTRL_CHAN, ctrl); AGC 195 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c dev->cal.agc_gain_init[0] = mt76_get_field(dev, MT_BBP(AGC, 8), AGC 197 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c dev->cal.agc_gain_init[1] = mt76_get_field(dev, MT_BBP(AGC, 9), AGC 75 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c val = mt76_rr(dev, MT_BBP(AGC, 0)); AGC 114 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76_wr(dev, MT_BBP(AGC, 0), val); AGC 227 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76_wr(dev, MT_BBP(AGC, 61), 0xFF64A4E2); AGC 228 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76_wr(dev, MT_BBP(AGC, 7), 0x08081010); AGC 229 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76_wr(dev, MT_BBP(AGC, 11), 0x00000404); AGC 230 drivers/net/wireless/mediatek/mt76/mt76x2/pci_phy.c mt76_wr(dev, MT_BBP(AGC, 2), 0x00007070); AGC 18 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_rr(dev, MT_BBP(AGC, reg))); AGC 20 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_rmw_field(dev, MT_BBP(AGC, reg), MT_BBP_AGC_LNA_HIGH_GAIN, gain); AGC 28 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c gain = FIELD_GET(MT_BBP_AGC_GAIN, mt76_rr(dev, MT_BBP(AGC, reg))); AGC 30 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_rmw_field(dev, MT_BBP(AGC, reg), MT_BBP_AGC_GAIN, gain); AGC 265 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 8), AGC 267 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 9), AGC 302 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c val = mt76_rr(dev, MT_BBP(AGC, 26)) & ~0xf; AGC 307 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 26), val); AGC 329 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 35), 0x08080808); AGC 330 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 37), 0x08080808); AGC 339 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 35), agc_35); AGC 340 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c mt76_wr(dev, MT_BBP(AGC, 37), agc_37); AGC 161 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76_wr(dev, MT_BBP(AGC, 61), 0xff64a4e2); AGC 162 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76_wr(dev, MT_BBP(AGC, 7), 0x08081010); AGC 163 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76_wr(dev, MT_BBP(AGC, 11), 0x00000404); AGC 164 drivers/net/wireless/mediatek/mt76/mt76x2/usb_phy.c mt76_wr(dev, MT_BBP(AGC, 2), 0x00007070); AGC 594 drivers/staging/rtl8192e/rtllib.h u8 AGC; AGC 715 drivers/staging/rtl8192u/ieee80211/ieee80211.h u8 AGC;