Searched refs:read_eeprom_reg (Results 1 – 2 of 2) sorted by relevance
/external/u-boot/examples/standalone/ |
D | smc911x_eeprom.c | 92 static u8 read_eeprom_reg(struct eth_device *dev, u8 reg) in read_eeprom_reg() function 197 read_eeprom_reg(dev, 0x01) | in copy_from_eeprom() 198 read_eeprom_reg(dev, 0x02) << 8 | in copy_from_eeprom() 199 read_eeprom_reg(dev, 0x03) << 16 | in copy_from_eeprom() 200 read_eeprom_reg(dev, 0x04) << 24; in copy_from_eeprom() 202 read_eeprom_reg(dev, 0x05) | in copy_from_eeprom() 203 read_eeprom_reg(dev, 0x06) << 8; in copy_from_eeprom() 224 printf("%02x:", read_eeprom_reg(dev, i)); in print_macaddr() 225 printf("%02x\n", read_eeprom_reg(dev, i)); in print_macaddr() 236 printf("%02x: 0x%02x\n", i, read_eeprom_reg(dev, i)); in dump_eeprom()
|
D | smc91111_eeprom.c | 31 int read_eeprom_reg (struct eth_device *dev, int reg); 263 k = read_eeprom_reg (dev, j); in print_macaddr() 295 read_eeprom_reg (dev, j + k)); in dump_eeprom() 303 printf ("%02x:%04x ", j, read_eeprom_reg (dev, j)); in dump_eeprom() 309 int read_eeprom_reg (struct eth_device *dev, int reg) in read_eeprom_reg() function
|