Lines Matching refs:eeprom_val
1652 u16 eeprom_val; in rtl8180_eeprom_read() local
1668 eeprom_93cx6_read(&eeprom, 0x06, &eeprom_val); in rtl8180_eeprom_read()
1669 eeprom_val &= 0xFF; in rtl8180_eeprom_read()
1670 priv->rf_type = eeprom_val; in rtl8180_eeprom_read()
1672 eeprom_93cx6_read(&eeprom, 0x17, &eeprom_val); in rtl8180_eeprom_read()
1673 priv->csthreshold = eeprom_val >> 8; in rtl8180_eeprom_read()
1709 eeprom_93cx6_read(&eeprom, 0x3F, &eeprom_val); in rtl8180_eeprom_read()
1710 priv->antenna_diversity_en = !!(eeprom_val & 0x100); in rtl8180_eeprom_read()
1711 priv->antenna_diversity_default = (eeprom_val & 0xC00) == 0x400; in rtl8180_eeprom_read()
1713 eeprom_93cx6_read(&eeprom, 0x7C, &eeprom_val); in rtl8180_eeprom_read()
1714 priv->xtal_out = eeprom_val & 0xF; in rtl8180_eeprom_read()
1715 priv->xtal_in = (eeprom_val & 0xF0) >> 4; in rtl8180_eeprom_read()
1716 priv->xtal_cal = !!(eeprom_val & 0x1000); in rtl8180_eeprom_read()
1717 priv->thermal_meter_val = (eeprom_val & 0xF00) >> 8; in rtl8180_eeprom_read()
1718 priv->thermal_meter_en = !!(eeprom_val & 0x2000); in rtl8180_eeprom_read()