Home
last modified time | relevance | path

Searched refs:mt76x2_eeprom_get (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/net/wireless/mediatek/mt76/
Dmt76x2_eeprom.c45 u16 val = mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_0); in mt76x2_eeprom_parse_hw_cap()
338 return mt76x2_eeprom_get(dev, MT_EE_RF_5G_GRP0_1_RX_HIGH_GAIN); in mt76x2_get_5g_rx_gain()
340 return mt76x2_eeprom_get(dev, MT_EE_RF_5G_GRP0_1_RX_HIGH_GAIN) >> 8; in mt76x2_get_5g_rx_gain()
342 return mt76x2_eeprom_get(dev, MT_EE_RF_5G_GRP2_3_RX_HIGH_GAIN); in mt76x2_get_5g_rx_gain()
344 return mt76x2_eeprom_get(dev, MT_EE_RF_5G_GRP2_3_RX_HIGH_GAIN) >> 8; in mt76x2_get_5g_rx_gain()
346 return mt76x2_eeprom_get(dev, MT_EE_RF_5G_GRP4_5_RX_HIGH_GAIN); in mt76x2_get_5g_rx_gain()
348 return mt76x2_eeprom_get(dev, MT_EE_RF_5G_GRP4_5_RX_HIGH_GAIN) >> 8; in mt76x2_get_5g_rx_gain()
361 val = mt76x2_eeprom_get(dev, MT_EE_RF_2G_RX_HIGH_GAIN) >> 8; in mt76x2_read_rx_gain()
368 val = mt76x2_eeprom_get(dev, MT_EE_RSSI_OFFSET_2G_0); in mt76x2_read_rx_gain()
372 val = mt76x2_eeprom_get(dev, MT_EE_RSSI_OFFSET_5G_0); in mt76x2_read_rx_gain()
[all …]
Dmt76x2_eeprom.h141 mt76x2_eeprom_get(struct mt76x2_dev *dev, enum mt76x2_eeprom_field field) in mt76x2_eeprom_get() function
165 val = mt76x2_eeprom_get(dev, MT_EE_TX_POWER_EXT_PA_5G); in mt76x2_temp_tx_alc_enabled()
169 return mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_1) & in mt76x2_temp_tx_alc_enabled()
177 (mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_1) & in mt76x2_tssi_enabled()
184 u32 val = mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_1); in mt76x2_has_ext_lna()
Dmt76x2u_mac.c35 eep_val = mt76x2_eeprom_get(dev, MT_EE_XTAL_TRIM_2); in mt76x2u_mac_fixup_xtal()
45 eep_val = mt76x2_eeprom_get(dev, MT_EE_XTAL_TRIM_1); in mt76x2u_mac_fixup_xtal()
70 eep_val = mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_2); in mt76x2u_mac_fixup_xtal()
Dmt76x2_mcu.c220 val = mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_2); in mt76pci_load_firmware()
280 val |= (mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_0) >> 8) & 0x00ff; in mt76x2_mcu_load_cr()
281 val |= (mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_1) << 8) & 0xff00; in mt76x2_mcu_load_cr()
Dmt76x2_init.c46 eep_val = mt76x2_eeprom_get(dev, MT_EE_XTAL_TRIM_2); in mt76x2_fixup_xtal()
56 eep_val = mt76x2_eeprom_get(dev, MT_EE_XTAL_TRIM_1); in mt76x2_fixup_xtal()
67 eep_val = mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_2); in mt76x2_fixup_xtal()
Dmt76x2u_mcu.c89 val |= (mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_0) >> 8) & 0x00ff; in mt76x2u_mcu_load_cr()
90 val |= (mt76x2_eeprom_get(dev, MT_EE_NIC_CONF_1) << 8) & 0xff00; in mt76x2u_mcu_load_cr()
Dmt76x2u_phy.c253 u8 val = mt76x2_eeprom_get(dev, MT_EE_BT_RCAL_RESULT); in mt76x2u_phy_set_channel()
Dmt76x2_phy.c363 u8 val = mt76x2_eeprom_get(dev, MT_EE_BT_RCAL_RESULT); in mt76x2_phy_set_channel()