Searched refs:eeprom_buff (Results 1 - 3 of 3) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/ixgb/
H A Dixgb_ethtool.c426 uint16_t *eeprom_buff; local
450 eeprom_buff = kmalloc(sizeof(uint16_t) *
452 if(!eeprom_buff)
457 eeprom_buff[i] = ixgb_get_eeprom_word(hw, (first_word + i));
460 memcpy(bytes, (uint8_t *)eeprom_buff + (eeprom->offset & 1),
462 kfree(eeprom_buff);
474 uint16_t *eeprom_buff; local
495 eeprom_buff = kmalloc(max_len, GFP_KERNEL);
496 if(!eeprom_buff)
499 ptr = (void *)eeprom_buff;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/e1000/
H A De1000_ethtool.c488 uint16_t *eeprom_buff; local
501 eeprom_buff = kmalloc(sizeof(uint16_t) *
503 if (!eeprom_buff)
509 eeprom_buff);
513 &eeprom_buff[i])))
519 le16_to_cpus(&eeprom_buff[i]);
521 memcpy(bytes, (uint8_t *)eeprom_buff + (eeprom->offset & 1),
523 kfree(eeprom_buff);
534 uint16_t *eeprom_buff; local
549 eeprom_buff
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dcs89x0.c517 int eeprom_buff[CHKSUM_LEN]; local
733 else if (get_eeprom_data(dev, START_EEPROM_DATA,CHKSUM_LEN,eeprom_buff) < 0) {
735 } else if (get_eeprom_cksum(START_EEPROM_DATA,CHKSUM_LEN,eeprom_buff) < 0) {
747 if (!lp->auto_neg_cnf) lp->auto_neg_cnf = eeprom_buff[AUTO_NEG_CNF_OFFSET/2];
749 if (!lp->adapter_cnf) lp->adapter_cnf = eeprom_buff[ADAPTER_CNF_OFFSET/2];
751 lp->isa_config = eeprom_buff[ISA_CNF_OFFSET/2];
752 dev->mem_start = eeprom_buff[PACKET_PAGE_OFFSET/2] << 8;
754 /* eeprom_buff has 32-bit ints, so we can't just memcpy it */
757 dev->dev_addr[i*2] = eeprom_buff[i];
758 dev->dev_addr[i*2+1] = eeprom_buff[
[all...]

Completed in 67 milliseconds