Home
last modified time | relevance | path

Searched refs:MT_BBP_AGC_GAIN (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dmt76x2_phy.c129 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()
176 val | FIELD_PREP(MT_BBP_AGC_GAIN, gain_val[0])); in mt76x2_phy_set_gain_val()
178 val | FIELD_PREP(MT_BBP_AGC_GAIN, gain_val[1])); in mt76x2_phy_set_gain_val()
Dmt76x2_phy_common.c36 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()
Dmt76x2_regs.h547 #define MT_BBP_AGC_GAIN GENMASK(14, 8) macro
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/
Dphy.c554 u8 gain = FIELD_GET(MT_BBP_AGC_GAIN, val); in mt76x0_phy_set_chan_bbp_params()
568 val &= ~MT_BBP_AGC_GAIN; in mt76x0_phy_set_chan_bbp_params()
569 val |= FIELD_PREP(MT_BBP_AGC_GAIN, gain); 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()
Dregs.h584 #define MT_BBP_AGC_GAIN GENMASK(14, 8) macro
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/
Dregs.h568 #define MT_BBP_AGC_GAIN GENMASK(14, 8) macro