Searched refs:E2P_CMD_EPC_BUSY_ (Results 1 – 10 of 10) sorted by relevance
160 if (!(val & E2P_CMD_EPC_BUSY_) || in lan743x_eeprom_wait()166 if (val & (E2P_CMD_EPC_TIMEOUT_ | E2P_CMD_EPC_BUSY_)) { in lan743x_eeprom_wait()183 if (!(val & E2P_CMD_EPC_BUSY_)) in lan743x_eeprom_confirm_not_busy()208 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_READ_; in lan743x_eeprom_read()239 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_EWEN_; in lan743x_eeprom_write()252 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_WRITE_; in lan743x_eeprom_write()
64 #define E2P_CMD_EPC_BUSY_ BIT(31) macro
246 #define E2P_CMD_EPC_BUSY_ (0x80000000) macro
195 if (smsc9420_reg_read(pd, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc9420_eeprom_reload()201 (E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_RELOAD_)); in smsc9420_eeprom_reload()205 if (!(smsc9420_reg_read(pd, E2P_CMD) & E2P_CMD_EPC_BUSY_)) in smsc9420_eeprom_reload()278 if (smsc9420_reg_read(pd, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc9420_eeprom_send_cmd()283 e2cmd = op | E2P_CMD_EPC_BUSY_; in smsc9420_eeprom_send_cmd()289 } while ((e2cmd & E2P_CMD_EPC_BUSY_) && (--timeout)); in smsc9420_eeprom_send_cmd()
292 #define E2P_CMD_EPC_BUSY_ 0x80000000 macro
1629 while ((smsc911x_reg_read(pdata, E2P_CMD) & E2P_CMD_EPC_BUSY_) && in smsc911x_open()2025 if (smsc911x_reg_read(pdata, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc911x_eeprom_send_cmd()2030 e2cmd = op | E2P_CMD_EPC_BUSY_; in smsc911x_eeprom_send_cmd()2036 } while ((e2cmd & E2P_CMD_EPC_BUSY_) && (--timeout)); in smsc911x_eeprom_send_cmd()
215 while (--timeout && (SMC_GET_E2P_CMD(lp) & E2P_CMD_EPC_BUSY_)) in smc911x_reset()1585 for(timeout=10;(e2p_cmd & E2P_CMD_EPC_BUSY_) && timeout; timeout--) { in smc911x_ethtool_wait_eeprom_ready()1610 SMC_SET_E2P_CMD(lp, E2P_CMD_EPC_BUSY_ | in smc911x_ethtool_write_eeprom_cmd()
522 #define E2P_CMD_EPC_BUSY_ (0x80000000) /* Self Clearing */ macro
298 #define E2P_CMD_EPC_BUSY_ (0x80000000) macro
701 if (!(val & E2P_CMD_EPC_BUSY_) || in lan78xx_wait_eeprom()707 if (val & (E2P_CMD_EPC_TIMEOUT_ | E2P_CMD_EPC_BUSY_)) { in lan78xx_wait_eeprom()726 if (!(val & E2P_CMD_EPC_BUSY_)) in lan78xx_eeprom_confirm_not_busy()759 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_READ_; in lan78xx_read_raw_eeprom()827 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_EWEN_; in lan78xx_write_raw_eeprom()848 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_WRITE_; in lan78xx_write_raw_eeprom()