Searched refs:mt76x02_eeprom_get (Results 1 – 14 of 14) sorted by relevance
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt76x2/ |
D | eeprom.c | 234 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 …]
|
D | eeprom.h | 54 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()
|
D | usb_mac.c | 14 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()
|
D | mcu.c | 65 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()
|
D | pci_init.c | 36 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()
|
D | pci_mcu.c | 132 val = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_2); in mt76pci_load_firmware()
|
D | usb_phy.c | 148 u8 val = mt76x02_eeprom_get(dev, MT_EE_BT_RCAL_RESULT); in mt76x2u_phy_set_channel()
|
D | pci_phy.c | 213 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/ |
D | eeprom.c | 50 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 …]
|
D | eeprom.h | 37 return (mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_1) & in mt76x0_tssi_enabled()
|
D | phy.c | 428 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()
|
D | pci.c | 121 val = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_0); in mt76x0e_init_hardware()
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_eeprom.c | 74 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()
|
D | mt76x02_eeprom.h | 165 mt76x02_eeprom_get(struct mt76x02_dev *dev, in mt76x02_eeprom_get() function
|