Home
last modified time | relevance | path

Searched refs:ee_data (Results 1 – 6 of 6) 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.c1299 unsigned char *ee_data; in tulip_init_one() local
1499 ee_data = tp->eeprom; in tulip_init_one()
1500 memset(ee_data, 0, sizeof(tp->eeprom)); in tulip_init_one()
1529 ee_data[i] = data & 0xff; in tulip_init_one()
1530 ee_data[i + 1] = data >> 8; in tulip_init_one()
1537 if (ee_data[i] != ee_data[16+i]) in tulip_init_one()
1541 if (ee_data[0x198] == 0x04 && ee_data[0x199] == 6) in tulip_init_one()
1543 } else if (ee_data[0] == 0xff && ee_data[1] == 0xff && in tulip_init_one()
1544 ee_data[2] == 0) { in tulip_init_one()
1554 memcpy(ee_data + 16, ee_data, 8); in tulip_init_one()
[all …]
Dde2104x.c319 u8 *ee_data; member
1662 if (!de->ee_data) in de_get_eeprom()
1667 memcpy(data, de->ee_data, eeprom->len); in de_get_eeprom()
1801 u8 ee_data[DE_EEPROM_SIZE + 6] = {}; in de21041_get_srom_info() local
1808 ((__le16 *)ee_data)[i] = in de21041_get_srom_info()
1818 if (ee_data[i] != ee_data[16+i]) in de21041_get_srom_info()
1825 de->dev->dev_addr[i] = ee_data[i + sa_offset]; in de21041_get_srom_info()
1828 ofs = ee_data[SROMC0InfoLeaf]; in de21041_get_srom_info()
1829 …if (ofs >= (sizeof(ee_data) - sizeof(struct de_srom_info_leaf) - sizeof(struct de_srom_media_block… in de21041_get_srom_info()
1833 il = (struct de_srom_info_leaf *) &ee_data[ofs]; in de21041_get_srom_info()
[all …]
/drivers/net/ethernet/intel/ixgb/
Dixgb_ee.c452 u16 ee_data; in ixgb_get_eeprom_data() local
453 ee_data = ixgb_read_eeprom(hw, i); in ixgb_get_eeprom_data()
454 checksum += ee_data; in ixgb_get_eeprom_data()
455 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,
6208 unsigned short ee_data; in FPT_inisci() local
6238 ee_data = in FPT_inisci()
6245 (unsigned char)ee_data; in FPT_inisci()
6246 ee_data >>= 8; in FPT_inisci()
6248 (unsigned char)ee_data; in FPT_inisci()
6394 unsigned short ee_data, sum_data; in FPT_scsavdi() local
6413 ee_data = FPT_scamInfo[i].id_string[k + 1]; in FPT_scsavdi()
6414 ee_data <<= 8; in FPT_scsavdi()
6415 ee_data |= FPT_scamInfo[i].id_string[k]; in FPT_scsavdi()
[all …]
/drivers/net/arcnet/
Darcnet.c460 serr->ee.ee_data = skb_shinfo(skb)->tskey; in arcnet_reply_tasklet()