Home
last modified time | relevance | path

Searched refs:nic_conf1 (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt7601u/
H A Deeprom.c100 u16 nic_conf1 = get_unaligned_le16(eeprom + MT_EE_NIC_CONF_1); in mt7601u_has_tssi() local
102 return (u16)~nic_conf1 && (nic_conf1 & MT_EE_NIC_CONF_1_TX_ALC_EN); in mt7601u_has_tssi()
109 u16 nic_conf1 = get_unaligned_le16(eeprom + MT_EE_NIC_CONF_1); in mt7601u_set_chip_cap() local
111 if (!field_valid(nic_conf1 & 0xff)) in mt7601u_set_chip_cap()
112 nic_conf1 &= 0xff00; in mt7601u_set_chip_cap()
115 !(nic_conf1 & MT_EE_NIC_CONF_1_TEMP_TX_ALC); in mt7601u_set_chip_cap()
117 if (nic_conf1 & MT_EE_NIC_CONF_1_HW_RF_CTRL) in mt7601u_set_chip_cap()
/linux/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Deeprom.c51 u16 nic_conf1 = mt76x02_eeprom_get(dev, MT_EE_NIC_CONF_1); in mt76x0_set_chip_cap() local
67 if (!mt76x02_field_valid(nic_conf1 & 0xff)) in mt76x0_set_chip_cap()
68 nic_conf1 &= 0xff00; in mt76x0_set_chip_cap()
70 if (nic_conf1 & MT_EE_NIC_CONF_1_HW_RF_CTRL) in mt76x0_set_chip_cap()