Home
last modified time | relevance | path

Searched refs:eeprom (Results 1 – 18 of 18) sorted by relevance

/external/syslinux/gpxe/src/drivers/net/e1000/
De1000_hw.c4502 struct e1000_eeprom_info *eeprom = &hw->eeprom; in e1000_init_eeprom_params() local
4514 eeprom->type = e1000_eeprom_microwire; in e1000_init_eeprom_params()
4515 eeprom->word_size = 64; in e1000_init_eeprom_params()
4516 eeprom->opcode_bits = 3; in e1000_init_eeprom_params()
4517 eeprom->address_bits = 6; in e1000_init_eeprom_params()
4518 eeprom->delay_usec = 50; in e1000_init_eeprom_params()
4519 eeprom->use_eerd = FALSE; in e1000_init_eeprom_params()
4520 eeprom->use_eewr = FALSE; in e1000_init_eeprom_params()
4527 eeprom->type = e1000_eeprom_microwire; in e1000_init_eeprom_params()
4528 eeprom->opcode_bits = 3; in e1000_init_eeprom_params()
[all …]
De1000_hw.h1403 struct e1000_eeprom_info eeprom; member
/external/vboot_reference/scripts/image_signing/
Dunpack_firmwarefd.sh30 line=$(mosys -f -k eeprom map $1 | grep "$match_str")
40 line=$(mosys -f -k eeprom map $1 | grep "$match_str")
49 line=$(mosys -f -k eeprom map $1 | grep "$match_str")
/external/syslinux/gpxe/src/drivers/net/
D3c90x.c192 nvs_read(&inf_3c90x->nvs, 0, inf_3c90x->eeprom, eeprom_size); in a3c90x_internal_ReadEepromContents()
738 if ((inf_3c90x->eeprom[0x16] & 0xFF00) == XCVR_MAGIC) { in a3c90x_hw_start()
740 linktype = inf_3c90x->eeprom[0x16] & 0x000F; in a3c90x_hw_start()
934 HWAddr[0] = inf_3c90x->eeprom[eepromHwAddrOffset + 0] >> 8; in a3c90x_probe()
935 HWAddr[1] = inf_3c90x->eeprom[eepromHwAddrOffset + 0] & 0xFF; in a3c90x_probe()
936 HWAddr[2] = inf_3c90x->eeprom[eepromHwAddrOffset + 1] >> 8; in a3c90x_probe()
937 HWAddr[3] = inf_3c90x->eeprom[eepromHwAddrOffset + 1] & 0xFF; in a3c90x_probe()
938 HWAddr[4] = inf_3c90x->eeprom[eepromHwAddrOffset + 2] >> 8; in a3c90x_probe()
939 HWAddr[5] = inf_3c90x->eeprom[eepromHwAddrOffset + 2] & 0xFF; in a3c90x_probe()
Db44.c593 u8 eeprom[128]; in b44_load_mac_and_phy_addr() local
596 b44_read_eeprom(bp, &eeprom[0]); in b44_load_mac_and_phy_addr()
597 bp->netdev->hw_addr[0] = eeprom[79]; in b44_load_mac_and_phy_addr()
598 bp->netdev->hw_addr[1] = eeprom[78]; in b44_load_mac_and_phy_addr()
599 bp->netdev->hw_addr[2] = eeprom[81]; in b44_load_mac_and_phy_addr()
600 bp->netdev->hw_addr[3] = eeprom[80]; in b44_load_mac_and_phy_addr()
601 bp->netdev->hw_addr[4] = eeprom[83]; in b44_load_mac_and_phy_addr()
602 bp->netdev->hw_addr[5] = eeprom[82]; in b44_load_mac_and_phy_addr()
605 bp->phy_addr = eeprom[90] & 0x1f; in b44_load_mac_and_phy_addr()
Drtl8139.c105 struct spi_device eeprom; member
283 init_at93c56 ( &rtl->eeprom, 16 ); in rtl_init_eeprom()
286 init_at93c46 ( &rtl->eeprom, 16 ); in rtl_init_eeprom()
288 rtl->eeprom.bus = &rtl->spibit.bus; in rtl_init_eeprom()
296 nvo_init ( &rtl->nvo, &rtl->eeprom.nvs, rtl_nvo_fragments, in rtl_init_eeprom()
528 nvs_read ( &rtl->eeprom.nvs, EE_MAC, netdev->hw_addr, ETH_ALEN ); in rtl_probe()
D3c515.c680 unsigned int eeprom[0x40], checksum = 0; /* EEPROM contents */ in corkscrew_probe1() local
697 eeprom[i] = inw(ioaddr + Wn0EepromData); in corkscrew_probe1()
698 DBG ( "Value %d: %hX ", i, eeprom[i] ); in corkscrew_probe1()
699 checksum ^= eeprom[i]; in corkscrew_probe1()
701 phys_addr[i] = htons(eeprom[i]); in corkscrew_probe1()
709 if (eeprom[16] == 0x11c7) { /* Corkscrew */ in corkscrew_probe1()
745 vp->capabilities = eeprom[16]; in corkscrew_probe1()
Deepro100.c206 nvs_read ( &priv->eeprom.nvs, EEPROM_ADDR_MAC_0, netdev->hw_addr, in ifec_pci_probe()
209 nvs_read ( &priv->eeprom.nvs, EEPROM_ADDR_MDIO_REGISTER, in ifec_pci_probe()
556 priv->eeprom.bus = &priv->spi.bus; in ifec_init_eeprom()
561 init_at93c46 ( &priv->eeprom, 16 ); in ifec_init_eeprom()
564 threewire_detect_address_len ( &priv->eeprom ); in ifec_init_eeprom()
567 if ( priv->eeprom.address_len == 8 ) in ifec_init_eeprom()
568 init_at93c66 ( &priv->eeprom, 16 ); in ifec_init_eeprom()
Dnatsemi.c158 init_at93c46 ( &np->eeprom, 16 ); in natsemi_init_eeprom()
159 np->eeprom.bus = &np->spibit.bus; in natsemi_init_eeprom()
160 np->nvo.nvs = &np->eeprom.nvs; in natsemi_init_eeprom()
198 nvs_read ( &np->eeprom.nvs, EE_MAC-1, prev_bytes, 1 ); in natsemi_probe()
199 nvs_read ( &np->eeprom.nvs, EE_MAC, ll_addr_encoded, ETH_ALEN ); in natsemi_probe()
D3c90x.h225 enum eeprom { enum
290 unsigned short eeprom[0x21]; member
Depic100.c87 static unsigned short eeprom[64]; variable
174 eeprom[i] = value; in epic100_probe()
182 printf(" %hhX%s", eeprom[i], i % 16 == 15 ? "\n" : ""); in epic100_probe()
Dw89c840.c255 static unsigned short eeprom [0x40]; variable
671 eeprom[i] = value; in w89c840_probe()
676 nic->node_addr[i] = (eeprom[i/2] >> (8*(i&1))) & 0xff; in w89c840_probe()
Dnatsemi.h43 struct spi_device eeprom; member
Deepro100.h167 struct spi_device eeprom; member
Dtulip.c419 unsigned char eeprom[EEPROM_SIZE]; /* Serial EEPROM contents. */ member
750 unsigned char *p, *ee_data = tp->eeprom; in parse_eeprom()
1432 memcpy(tp->eeprom, ee_data, sizeof(tp->eeprom)); in tulip_probe()
/external/syslinux/gpxe/src/drivers/net/rtl818x/
Drtl818x.c736 init_at93c66(&priv->eeprom, 16); in rtl818x_probe()
738 init_at93c46(&priv->eeprom, 16); in rtl818x_probe()
739 priv->eeprom.bus = &priv->spibit.bus; in rtl818x_probe()
745 nvs_read(&priv->eeprom.nvs, 0x06, &eeprom_val, 2); in rtl818x_probe()
772 nvs_read(&priv->eeprom.nvs, 0x17, &eeprom_val, 2); in rtl818x_probe()
775 nvs_read(&priv->eeprom.nvs, 0xD, &priv->anaparam, 4); in rtl818x_probe()
776 nvs_read(&priv->eeprom.nvs, 0x19, &priv->rfparam, 2); in rtl818x_probe()
782 nvs_read(&priv->eeprom.nvs, 0x7, hwinfo->hwaddr, 6); in rtl818x_probe()
787 nvs_read(&priv->eeprom.nvs, 0x10 + (i >> 1), &txpwr, 2); in rtl818x_probe()
796 nvs_read(&priv->eeprom.nvs, 0x20 + (i >> 1), &txpwr, 2); in rtl818x_probe()
Drtl818x.h287 struct spi_device eeprom; member
/external/syslinux/gpxe/src/drivers/infiniband/
Dlinda.c98 struct i2c_device eeprom; member
1614 init_i2c_eeprom ( &linda->eeprom, try_eeprom_address[i] ); in linda_init_i2c()
1616 &linda->eeprom ) ) == 0 ) { in linda_init_i2c()
1640 if ( ( rc = i2c->read ( i2c, &linda->eeprom, LINDA_EEPROM_GUID_OFFSET, in linda_read_eeprom()
1656 if ( ( rc = i2c->read ( i2c, &linda->eeprom, in linda_read_eeprom()