Searched refs:eeprom (Results 1 – 6 of 6) sorted by relevance
275 int16 read_eeprom(ice1712 *ice, uint8 eeprom[32]) in read_eeprom()283 eeprom[i] = (uint8)tmp; in read_eeprom()287 if (eeprom[4] > 32) in read_eeprom()289 for (i = 6; i < eeprom[4]; i++) { in read_eeprom()292 eeprom[i] = (uint8)tmp; in read_eeprom()296 return eeprom[4]; in read_eeprom()
79 int16 read_eeprom(ice1712 *ice, uint8 eeprom[32]);
513 data = sc->eeprom[FXP_EEPROM_MAP_CNTR]; in fxp_attach()525 data = sc->eeprom[FXP_EEPROM_MAP_ID]; in fxp_attach()538 data = sc->eeprom[FXP_EEPROM_MAP_COMPAT]; in fxp_attach()545 data = sc->eeprom[FXP_EEPROM_MAP_COMPAT]; in fxp_attach()555 data = sc->eeprom[FXP_EEPROM_MAP_PRI_PHY]; in fxp_attach()575 data = sc->eeprom[FXP_EEPROM_MAP_ID]; in fxp_attach()583 sc->eeprom[FXP_EEPROM_MAP_ID] = data; in fxp_attach()588 cksum += sc->eeprom[i]; in fxp_attach()594 i, sc->eeprom[i], cksum); in fxp_attach()595 sc->eeprom[i] = cksum; in fxp_attach()[all …]
226 uint16_t eeprom[256]; member
841 u_int8_t eeprom[128]; in bfe_get_config() local843 bfe_read_eeprom(sc, eeprom); in bfe_get_config()845 sc->bfe_enaddr[0] = eeprom[79]; in bfe_get_config()846 sc->bfe_enaddr[1] = eeprom[78]; in bfe_get_config()847 sc->bfe_enaddr[2] = eeprom[81]; in bfe_get_config()848 sc->bfe_enaddr[3] = eeprom[80]; in bfe_get_config()849 sc->bfe_enaddr[4] = eeprom[83]; in bfe_get_config()850 sc->bfe_enaddr[5] = eeprom[82]; in bfe_get_config()852 sc->bfe_phyaddr = eeprom[90] & 0x1f; in bfe_get_config()853 sc->bfe_mdc_port = (eeprom[90] >> 14) & 0x1; in bfe_get_config()
699 int eeprom, i; in alc_get_macaddr_813x() local701 eeprom = 0; in alc_get_macaddr_813x()709 eeprom++; in alc_get_macaddr_813x()760 if (eeprom != 0) { in alc_get_macaddr_813x()