Searched refs:eep_val (Results 1 – 2 of 2) sorted by relevance
12 u16 eep_val; in mt76x2u_mac_fixup_xtal() local16 offset = eep_val & 0x7f; in mt76x2u_mac_fixup_xtal()17 if ((eep_val & 0xff) == 0xff) in mt76x2u_mac_fixup_xtal()19 else if (eep_val & 0x80) in mt76x2u_mac_fixup_xtal()22 eep_val >>= 8; in mt76x2u_mac_fixup_xtal()23 if (eep_val == 0x00 || eep_val == 0xff) { in mt76x2u_mac_fixup_xtal()25 eep_val &= 0xff; in mt76x2u_mac_fixup_xtal()27 if (eep_val == 0x00 || eep_val == 0xff) in mt76x2u_mac_fixup_xtal()28 eep_val = 0x14; in mt76x2u_mac_fixup_xtal()31 eep_val &= 0x7f; in mt76x2u_mac_fixup_xtal()[all …]
33 u16 eep_val; in mt76x2_fixup_xtal() local36 eep_val = mt76x02_eeprom_get(dev, MT_EE_XTAL_TRIM_2); in mt76x2_fixup_xtal()38 offset = eep_val & 0x7f; in mt76x2_fixup_xtal()39 if ((eep_val & 0xff) == 0xff) in mt76x2_fixup_xtal()41 else if (eep_val & 0x80) in mt76x2_fixup_xtal()44 eep_val >>= 8; in mt76x2_fixup_xtal()45 if (eep_val == 0x00 || eep_val == 0xff) { in mt76x2_fixup_xtal()47 eep_val &= 0xff; in mt76x2_fixup_xtal()49 if (eep_val == 0x00 || eep_val == 0xff) in mt76x2_fixup_xtal()50 eep_val = 0x14; in mt76x2_fixup_xtal()[all …]
Completed in 4 milliseconds