Home
last modified time | relevance | path

Searched refs:mt76x02_eeprom_get (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/
H A Deeprom.c234 return mt76x02_eeprom_get(dev, in mt76x2_get_5g_rx_gain()
237 return mt76x02_eeprom_get(dev, in mt76x2_get_5g_rx_gain()
240 return mt76x02_eeprom_get(dev, in mt76x2_get_5g_rx_gain()
243 return mt76x02_eeprom_get(dev, in mt76x2_get_5g_rx_gain()
246 return mt76x02_eeprom_get(dev, in mt76x2_get_5g_rx_gain()
249 return mt76x02_eeprom_get(dev, in mt76x2_get_5g_rx_gain()
263 val = mt76x02_eeprom_get(dev, MT_EE_RF_2G_RX_HIGH_GAIN) >> 8; in mt76x2_read_rx_gain()
293 val = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_CCK); in mt76x2_get_rate_power()
298 val = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_OFDM_5G_6M); in mt76x2_get_rate_power()
300 val = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_OFDM_2G_6M); in mt76x2_get_rate_power()
[all …]
H A Deeprom.h54 u32 val = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_1); in mt76x2_has_ext_lna()
67 val = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_EXT_PA_5G); in mt76x2_temp_tx_alc_enabled()
71 return mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_1) & in mt76x2_temp_tx_alc_enabled()
79 (mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_1) & in mt76x2_tssi_enabled()
H A Dusb_mac.c14 eep_val = mt76x02_eeprom_get(dev, MT_EE_XTAL_TRIM_2); in mt76x2u_mac_fixup_xtal()
24 eep_val = mt76x02_eeprom_get(dev, MT_EE_XTAL_TRIM_1); in mt76x2u_mac_fixup_xtal()
49 eep_val = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_2); in mt76x2u_mac_fixup_xtal()
H A Dmcu.c65 val |= (mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_0) >> 8) & 0x00ff; in mt76x2_mcu_load_cr()
66 val |= (mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_1) << 8) & 0xff00; in mt76x2_mcu_load_cr()
H A Dpci_init.c36 eep_val = mt76x02_eeprom_get(dev, MT_EE_XTAL_TRIM_2); in mt76x2_fixup_xtal()
46 eep_val = mt76x02_eeprom_get(dev, MT_EE_XTAL_TRIM_1); in mt76x2_fixup_xtal()
57 eep_val = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_2); in mt76x2_fixup_xtal()
H A Dpci_mcu.c132 val = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_2); in mt76pci_load_firmware()
H A Dusb_phy.c148 u8 val = mt76x02_eeprom_get(dev, MT_EE_BT_RCAL_RESULT); in mt76x2u_phy_set_channel()
H A Dpci_phy.c213 u8 val = mt76x02_eeprom_get(dev, MT_EE_BT_RCAL_RESULT); in mt76x2_phy_set_channel()
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02_eeprom.c74 u16 val = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_0); in mt76x02_eeprom_parse_hw_cap()
93 u16 conf0 = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_0); in mt76x02_ext_pa_enabled()
107 val = mt76x02_eeprom_get(dev, MT_EE_LNA_GAIN); in mt76x02_get_rx_gain()
111 val = mt76x02_eeprom_get(dev, MT_EE_RSSI_OFFSET_2G_1); in mt76x02_get_rx_gain()
114 val = mt76x02_eeprom_get(dev, MT_EE_RSSI_OFFSET_5G_1); in mt76x02_get_rx_gain()
124 *rssi_offset = mt76x02_eeprom_get(dev, MT_EE_RSSI_OFFSET_2G_0); in mt76x02_get_rx_gain()
126 *rssi_offset = mt76x02_eeprom_get(dev, MT_EE_RSSI_OFFSET_5G_0); in mt76x02_get_rx_gain()
137 val = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_1); in mt76x02_get_lna_gain()
H A Dmt76x02_eeprom.h163 mt76x02_eeprom_get(struct mt76x02_dev *dev, in mt76x02_eeprom_get() function
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x0/
H A Dpci.c121 val = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_0); in mt76x0e_init_hardware()