Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/
Deeprom.c119 u16 nic_conf0 = get_unaligned_le16(eeprom + MT_EE_NIC_CONF_0); in mt76x0_set_chip_cap() local
122 dev_dbg(dev->mt76.dev, "NIC_CONF0: %04x NIC_CONF1: %04x\n", nic_conf0, nic_conf1); in mt76x0_set_chip_cap()
124 switch (FIELD_GET(MT_EE_NIC_CONF_0_BOARD_TYPE, nic_conf0)) { in mt76x0_set_chip_cap()
146 if (!field_valid(nic_conf0 >> 8)) in mt76x0_set_chip_cap()
149 if (FIELD_GET(MT_EE_NIC_CONF_0_RX_PATH, nic_conf0) > 1 || in mt76x0_set_chip_cap()
150 FIELD_GET(MT_EE_NIC_CONF_0_TX_PATH, nic_conf0) > 1) in mt76x0_set_chip_cap()
154 dev->ee->pa_type = FIELD_GET(MT_EE_NIC_CONF_0_PA_TYPE, nic_conf0); in mt76x0_set_chip_cap()
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/
Deeprom.c116 u16 nic_conf0 = get_unaligned_le16(eeprom + MT_EE_NIC_CONF_0); in mt7601u_set_chip_cap() local
129 if (!field_valid(nic_conf0 >> 8)) in mt7601u_set_chip_cap()
132 if (FIELD_GET(MT_EE_NIC_CONF_0_RX_PATH, nic_conf0) > 1 || in mt7601u_set_chip_cap()
133 FIELD_GET(MT_EE_NIC_CONF_0_TX_PATH, nic_conf0) > 1) in mt7601u_set_chip_cap()