Home
last modified time | relevance | path

Searched refs:ee_data (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/dec/tulip/
Deeprom.c155 unsigned char *ee_data = tp->eeprom; in tulip_parse_eeprom() local
162 if (ee_data[i] != ee_data[16+i]) in tulip_parse_eeprom()
165 if (ee_data[0] == 0xff) { in tulip_parse_eeprom()
171 ee_data = last_ee_data; in tulip_parse_eeprom()
183 if (dev->dev_addr[2] == 0xE8 && ee_data[0x1a] == 0x55) in tulip_parse_eeprom()
185 memcpy(ee_data + 26, eeprom_fixups[i].newtable, in tulip_parse_eeprom()
200 if (ee_data[19] > 1) { /* Multiport board. */ in tulip_parse_eeprom()
201 last_ee_data = ee_data; in tulip_parse_eeprom()
205 if (ee_data[27] == 0) { /* No valid media table. */ in tulip_parse_eeprom()
208 unsigned char *p = (void *)ee_data + ee_data[27]; in tulip_parse_eeprom()
Dtulip_core.c1313 unsigned char *ee_data; in tulip_init_one() local
1518 ee_data = tp->eeprom; in tulip_init_one()
1519 memset(ee_data, 0, sizeof(tp->eeprom)); in tulip_init_one()
1548 ee_data[i] = data & 0xff; in tulip_init_one()
1549 ee_data[i + 1] = data >> 8; in tulip_init_one()
1556 if (ee_data[i] != ee_data[16+i]) in tulip_init_one()
1560 if (ee_data[0x198] == 0x04 && ee_data[0x199] == 6) in tulip_init_one()
1562 } else if (ee_data[0] == 0xff && ee_data[1] == 0xff && in tulip_init_one()
1563 ee_data[2] == 0) { in tulip_init_one()
1574 memcpy(ee_data + 16, ee_data, 8); in tulip_init_one()
[all …]
Dde2104x.c327 u8 *ee_data; member
1651 if (!de->ee_data) in de_get_eeprom()
1656 memcpy(data, de->ee_data, eeprom->len); in de_get_eeprom()
1790 u8 ee_data[DE_EEPROM_SIZE + 6] = {}; in de21041_get_srom_info() local
1797 ((__le16 *)ee_data)[i] = in de21041_get_srom_info()
1807 if (ee_data[i] != ee_data[16+i]) in de21041_get_srom_info()
1814 de->dev->dev_addr[i] = ee_data[i + sa_offset]; in de21041_get_srom_info()
1817 ofs = ee_data[SROMC0InfoLeaf]; in de21041_get_srom_info()
1818 …if (ofs >= (sizeof(ee_data) - sizeof(struct de_srom_info_leaf) - sizeof(struct de_srom_media_block… in de21041_get_srom_info()
1822 il = (struct de_srom_info_leaf *) &ee_data[ofs]; in de21041_get_srom_info()
[all …]
/drivers/net/ethernet/intel/ixgb/
Dixgb_ee.c477 u16 ee_data; in ixgb_get_eeprom_data() local
478 ee_data = ixgb_read_eeprom(hw, i); in ixgb_get_eeprom_data()
479 checksum += ee_data; in ixgb_get_eeprom_data()
480 hw->eeprom[i] = cpu_to_le16(ee_data); in ixgb_get_eeprom_data()
/drivers/scsi/
DFlashPoint.c839 static void FPT_utilEEWrite(u32 p_port, unsigned short ee_data,
6205 unsigned short ee_data; in FPT_inisci() local
6235 ee_data = in FPT_inisci()
6242 (unsigned char)ee_data; in FPT_inisci()
6243 ee_data >>= 8; in FPT_inisci()
6245 (unsigned char)ee_data; in FPT_inisci()
6391 unsigned short ee_data, sum_data; in FPT_scsavdi() local
6410 ee_data = FPT_scamInfo[i].id_string[k + 1]; in FPT_scsavdi()
6411 ee_data <<= 8; in FPT_scsavdi()
6412 ee_data |= FPT_scamInfo[i].id_string[k]; in FPT_scsavdi()
[all …]