Home
last modified time | relevance | path

Searched refs:do_eeprom_cmd (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/examples/standalone/
Dsmc911x_eeprom.c69 static int do_eeprom_cmd(struct eth_device *dev, int cmd, u8 reg) in do_eeprom_cmd() function
94 int ret = do_eeprom_cmd(dev, E2P_CMD_EPC_CMD_READ, reg); in read_eeprom_reg()
106 ret = do_eeprom_cmd(dev, E2P_CMD_EPC_CMD_EWEN, reg); in write_eeprom_reg()
111 ret = do_eeprom_cmd(dev, E2P_CMD_EPC_CMD_ERASE, reg); in write_eeprom_reg()
117 ret = do_eeprom_cmd(dev, E2P_CMD_EPC_CMD_WRITE, reg); in write_eeprom_reg()
122 ret = do_eeprom_cmd(dev, E2P_CMD_EPC_CMD_EWDS, reg); in write_eeprom_reg()
/external/u-boot/drivers/net/
Ddc2114x.c146 static int do_eeprom_cmd(struct eth_device *dev, u_long ioaddr,int cmd,int cmd_len);
604 static int do_eeprom_cmd(struct eth_device *dev, u_long ioaddr, int cmd, int cmd_len) in do_eeprom_cmd() function
646 return do_eeprom_cmd(dev, ioaddr, in read_srom()
667 do_eeprom_cmd(dev, ioaddr, (0x4f << (ee_addr_size-4)), 3+ee_addr_size); in write_srom()
670 do_eeprom_cmd(dev, ioaddr, in write_srom()
685 do_eeprom_cmd(dev, ioaddr, (0x40 << (ee_addr_size-4)), 3 + ee_addr_size); in write_srom()
688 newval = do_eeprom_cmd(dev, ioaddr, in write_srom()