Searched refs:ee_addr_size (Results 1 – 1 of 1) sorted by relevance
/external/u-boot/drivers/net/ |
D | dc2114x.c | 644 int ee_addr_size = do_read_eeprom(dev, ioaddr, 0xff, 8) & 0x40000 ? 8 : 6; in read_srom() local 647 (((SROM_READ_CMD << ee_addr_size) | index) << 16) in read_srom() 648 | 0xffff, 3 + ee_addr_size + 16); in read_srom() 655 int ee_addr_size = do_read_eeprom(dev, ioaddr, 0xff, 8) & 0x40000 ? 8 : 6; in write_srom() local 662 printf("ee_addr_size=%d.\n", ee_addr_size); in write_srom() 667 do_eeprom_cmd(dev, ioaddr, (0x4f << (ee_addr_size-4)), 3+ee_addr_size); in write_srom() 671 (((SROM_WRITE_CMD<<ee_addr_size)|index) << 16) | new_value, in write_srom() 672 3 + ee_addr_size + 16); in write_srom() 685 do_eeprom_cmd(dev, ioaddr, (0x40 << (ee_addr_size-4)), 3 + ee_addr_size); in write_srom() 689 (((SROM_READ_CMD<<ee_addr_size)|index) << 16) in write_srom() [all …]
|