Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt76x2/
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 …]
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()
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()
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()
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()
Dpci_mcu.c132 val = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_2); in mt76pci_load_firmware()
Dusb_phy.c148 u8 val = mt76x02_eeprom_get(dev, MT_EE_BT_RCAL_RESULT); in mt76x2u_phy_set_channel()
Dpci_phy.c213 u8 val = mt76x02_eeprom_get(dev, MT_EE_BT_RCAL_RESULT); in mt76x2_phy_set_channel()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt76x0/
Deeprom.c50 u16 nic_conf0 = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_0); in mt76x0_set_chip_cap()
51 u16 nic_conf1 = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_1); in mt76x0_set_chip_cap()
86 val = mt76x02_eeprom_get(dev, MT_EE_2G_TARGET_POWER) >> 8; in mt76x0_set_temp_offset()
98 val = mt76x02_eeprom_get(dev, MT_EE_FREQ_OFFSET); in mt76x0_set_freq_offset()
103 val = mt76x02_eeprom_get(dev, MT_EE_TSSI_BOUND4) >> 8; in mt76x0_set_freq_offset()
136 val = mt76x02_eeprom_get(dev, MT_EE_5G_TARGET_POWER) >> 8; in mt76x0_get_delta()
140 data = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_DELTA_BW40); in mt76x0_get_delta()
163 val = mt76x02_eeprom_get(dev, MT_EE_TX_POWER_BYRATE_BASE); in mt76x0_get_tx_power_per_rate()
169 val = mt76x02_eeprom_get(dev, addr); in mt76x0_get_tx_power_per_rate()
175 val = mt76x02_eeprom_get(dev, addr); in mt76x0_get_tx_power_per_rate()
[all …]
Deeprom.h37 return (mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_1) & in mt76x0_tssi_enabled()
Dphy.c428 u16 ee_ant = mt76x02_eeprom_get(dev, MT_EE_ANTENNA); in mt76x0_phy_ant_select()
429 u16 ee_cfg1 = mt76x02_eeprom_get(dev, MT_EE_CFG1_INIT); in mt76x0_phy_ant_select()
430 u16 nic_conf2 = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_2); in mt76x0_phy_ant_select()
718 val = mt76x02_eeprom_get(dev, MT_EE_TSSI_SLOPE_5G + i * 2); in mt76x0_phy_get_delta_power()
725 val = mt76x02_eeprom_get(dev, MT_EE_TSSI_SLOPE_2G); in mt76x0_phy_get_delta_power()
Dpci.c121 val = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_0); in mt76x0e_init_hardware()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
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()
Dmt76x02_eeprom.h165 mt76x02_eeprom_get(struct mt76x02_dev *dev, in mt76x02_eeprom_get() function