Searched refs:E2P_CMD_EPC_BUSY_ (Results 1 – 11 of 11) sorted by relevance
46 #define E2P_CMD_EPC_BUSY_ (0x80000000UL) /* Self Clearing */ macro141 if ((temp = smc911x_reg_read(E2P_CMD)) & E2P_CMD_EPC_BUSY_) { in eeprom_read_location()147 (E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_READ_ | 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 …]
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
1618 while ((smsc911x_reg_read(pdata, E2P_CMD) & E2P_CMD_EPC_BUSY_) && in smsc911x_open()2012 if (smsc911x_reg_read(pdata, E2P_CMD) & E2P_CMD_EPC_BUSY_) { in smsc911x_eeprom_send_cmd()2017 e2cmd = op | E2P_CMD_EPC_BUSY_; in smsc911x_eeprom_send_cmd()2023 } while ((e2cmd & E2P_CMD_EPC_BUSY_) && (--timeout)); in smsc911x_eeprom_send_cmd()
212 while (--timeout && (SMC_GET_E2P_CMD(lp) & E2P_CMD_EPC_BUSY_)) in smc911x_reset()1582 for(timeout=10;(e2p_cmd & E2P_CMD_EPC_BUSY_) && timeout; timeout--) { in smc911x_ethtool_wait_eeprom_ready()1607 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
653 if (!(val & E2P_CMD_EPC_BUSY_) || in lan78xx_wait_eeprom()659 if (val & (E2P_CMD_EPC_TIMEOUT_ | E2P_CMD_EPC_BUSY_)) { in lan78xx_wait_eeprom()678 if (!(val & E2P_CMD_EPC_BUSY_)) in lan78xx_eeprom_confirm_not_busy()711 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_READ_; in lan78xx_read_raw_eeprom()779 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_EWEN_; in lan78xx_write_raw_eeprom()800 val = E2P_CMD_EPC_BUSY_ | E2P_CMD_EPC_CMD_WRITE_; in lan78xx_write_raw_eeprom()