Searched refs:e2cmd (Results 1 – 2 of 2) sorted by relevance
330 u32 e2cmd; in smsc9420_eeprom_send_cmd() local338 e2cmd = op | E2P_CMD_EPC_BUSY_; in smsc9420_eeprom_send_cmd()339 smsc9420_reg_write(pd, E2P_CMD, e2cmd); in smsc9420_eeprom_send_cmd()343 e2cmd = smsc9420_reg_read(pd, E2P_CMD); in smsc9420_eeprom_send_cmd()344 } while ((e2cmd & E2P_CMD_EPC_BUSY_) && (--timeout)); in smsc9420_eeprom_send_cmd()351 if (e2cmd & E2P_CMD_EPC_TIMEOUT_) { in smsc9420_eeprom_send_cmd()
1617 u32 e2cmd; in smsc911x_eeprom_send_cmd() local1625 e2cmd = op | E2P_CMD_EPC_BUSY_; in smsc911x_eeprom_send_cmd()1626 smsc911x_reg_write(pdata, E2P_CMD, e2cmd); in smsc911x_eeprom_send_cmd()1630 e2cmd = smsc911x_reg_read(pdata, E2P_CMD); in smsc911x_eeprom_send_cmd()1631 } while ((e2cmd & E2P_CMD_EPC_BUSY_) && (--timeout)); in smsc911x_eeprom_send_cmd()1638 if (e2cmd & E2P_CMD_EPC_TIMEOUT_) { in smsc911x_eeprom_send_cmd()