Lines Matching defs:eeprom_data

1878 	uint16_t eeprom_data;
1894 ret_val = em_read_eeprom(hw, EEPROM_SERDES_AMPLITUDE, 1, &eeprom_data);
1898 if (eeprom_data != EEPROM_RESERVED_WORD) {
1900 eeprom_data &= EEPROM_SERDES_AMPLITUDE_MASK;
1902 eeprom_data);
1925 uint16_t eeprom_data;
1966 eeprom_control2_reg_offset, 1, &eeprom_data);
1971 if ((eeprom_data & EEPROM_WORD0F_PAUSE_MASK) == 0)
1973 else if ((eeprom_data & EEPROM_WORD0F_PAUSE_MASK) ==
2005 1, &eeprom_data);
2010 ctrl_ext = ((eeprom_data & EEPROM_WORD0F_SWPDIO_EXT) <<
7135 uint16_t i, eeprom_data;
7149 em_read_eeprom(hw, 0x10, 1, &eeprom_data);
7150 if ((eeprom_data & 0x10) == 0) {
7158 em_read_eeprom(hw, 0x23, 1, &eeprom_data);
7159 if ((eeprom_data & 0x8000) == 0) {
7160 eeprom_data |= 0x8000;
7161 em_write_eeprom(hw, 0x23, 1, &eeprom_data);
7190 em_read_eeprom(hw, word, 1, &eeprom_data);
7191 if ((eeprom_data & valid_csum_mask) == 0) {
7192 eeprom_data |= valid_csum_mask;
7193 em_write_eeprom(hw, word, 1, &eeprom_data);
7198 if (em_read_eeprom(hw, i, 1, &eeprom_data) < 0) {
7202 checksum += eeprom_data;
7226 uint16_t i, eeprom_data;
7230 if (em_read_eeprom(hw, i, 1, &eeprom_data) < 0) {
7234 checksum += eeprom_data;
7666 uint16_t eeprom_data;
7670 if (em_read_eeprom(hw, offset, 1, &eeprom_data) < 0) {
7675 *part_num = (uint32_t)eeprom_data << 16;
7678 if (em_read_eeprom(hw, ++offset, 1, &eeprom_data) < 0) {
7683 *part_num |= eeprom_data;
7698 uint16_t eeprom_data, i;
7710 if (em_read_eeprom(hw, offset + ia_base_addr, 1, &eeprom_data)
7715 hw->perm_mac_addr[i] = (uint8_t) (eeprom_data & 0x00FF);
7716 hw->perm_mac_addr[i + 1] = (uint8_t) (eeprom_data >> 8);
8182 uint16_t eeprom_data, i, temp;
8195 if (em_read_eeprom(hw, EEPROM_ID_LED_SETTINGS, 1, &eeprom_data) < 0) {
8200 (eeprom_data == ID_LED_RESERVED_82573))
8201 eeprom_data = ID_LED_DEFAULT_82573;
8202 else if ((eeprom_data == ID_LED_RESERVED_0000) ||
8203 (eeprom_data == ID_LED_RESERVED_FFFF)) {
8207 eeprom_data = ID_LED_DEFAULT_ICH8LAN;
8209 eeprom_data = ID_LED_DEFAULT;
8212 temp = (eeprom_data >> (i << 2)) & led_mask;
8948 uint16_t eeprom_data;
8954 &eeprom_data);
8958 if ((eeprom_data != EEPROM_RESERVED_WORD) &&
8959 (eeprom_data & EEPROM_PHY_CLASS_A)) {