Searched refs:E2P_CMD (Results 1 – 6 of 6) sorted by relevance
| /rk3399_rockchip-uboot/board/micronas/vct/ |
| H A D | smc_eeprom.c | 45 #define E2P_CMD (SMSC9118_BASE + 0xB0) macro 141 if ((temp = smc911x_reg_read(E2P_CMD)) & E2P_CMD_EPC_BUSY_) { in eeprom_read_location() 146 smc911x_reg_write(E2P_CMD, in eeprom_read_location() 150 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_read_location() 169 if (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_) { in eeprom_enable_erase_and_write() 173 smc911x_reg_write(E2P_CMD, (E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_EWEN_)); in eeprom_enable_erase_and_write() 175 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_enable_erase_and_write() 192 if (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_) { in eeprom_disable_erase_and_write() 196 smc911x_reg_write(E2P_CMD, (E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_EWDS_)); in eeprom_disable_erase_and_write() 198 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_disable_erase_and_write() [all …]
|
| /rk3399_rockchip-uboot/examples/standalone/ |
| H A D | smc911x_eeprom.c | 71 if (smc911x_reg_read(dev, E2P_CMD) & E2P_CMD_EPC_BUSY) { in do_eeprom_cmd() 73 smc911x_reg_read(dev, E2P_CMD)); in do_eeprom_cmd() 77 smc911x_reg_write(dev, E2P_CMD, E2P_CMD_EPC_BUSY | cmd | reg); in do_eeprom_cmd() 79 while (smc911x_reg_read(dev, E2P_CMD) & E2P_CMD_EPC_BUSY) in do_eeprom_cmd() 82 smc911x_reg_read(dev, E2P_CMD)); in do_eeprom_cmd() 252 while (smc911x_reg_read(dev, E2P_CMD) & E2P_CMD_EPC_BUSY) in smc911x_init() 255 smc911x_reg_read(dev, E2P_CMD)); in smc911x_init()
|
| /rk3399_rockchip-uboot/drivers/usb/eth/ |
| H A D | lan7x.c | 141 E2P_CMD, E2P_CMD_EPC_BUSY, in lan7x_eeprom_confirm_not_busy() 148 E2P_CMD, in lan7x_wait_eeprom() 166 lan7x_write_reg(udev, E2P_CMD, val); in lan7x_read_eeprom()
|
| H A D | smsc95xx.c | 64 #define E2P_CMD 0x30 macro 271 smsc95xx_read_reg(udev, E2P_CMD, &val); in smsc95xx_eeprom_confirm_not_busy() 287 smsc95xx_read_reg(udev, E2P_CMD, &val); in smsc95xx_wait_eeprom() 312 smsc95xx_write_reg(udev, E2P_CMD, val); in smsc95xx_read_eeprom()
|
| H A D | lan7x.h | 40 #define E2P_CMD 0x040 macro
|
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | smc911x.h | 292 #define E2P_CMD 0xB0 macro 484 while (timeout-- && smc911x_reg_read(dev, E2P_CMD) & E2P_CMD_EPC_BUSY) in smc911x_reset()
|