Searched refs:getfrom_srom (Results 1 – 1 of 1) sorted by relevance
/external/u-boot/drivers/net/ |
D | dc2114x.c | 145 static int getfrom_srom(struct eth_device* dev, u_long addr); 534 getfrom_srom(struct eth_device* dev, u_long addr) in getfrom_srom() function 566 printf("%X", getfrom_srom(dev, ioaddr) & 15); in do_read_eeprom() 568 retval = (retval << 1) | ((getfrom_srom(dev, ioaddr) & EE_DATA_READ) ? 1 : 0); in do_read_eeprom() 574 printf(" :%X:", getfrom_srom(dev, ioaddr) & 15); in do_read_eeprom() 581 printf("%X", getfrom_srom(dev, ioaddr) & 15); in do_read_eeprom() 583 retval = (retval << 1) | ((getfrom_srom(dev, ioaddr) & EE_DATA_READ) ? 1 : 0); in do_read_eeprom() 621 printf("%X", getfrom_srom(dev,ioaddr) & 15); in do_eeprom_cmd() 626 retval = (retval << 1) | ((getfrom_srom(dev,ioaddr) & EE_DATA_READ) ? 1 : 0); in do_eeprom_cmd() 677 if (getfrom_srom(dev, ioaddr) & EE_DATA_READ) in write_srom()
|