Lines Matching refs:timeout

73 	int timeout = req_to;  in mac_busy()  local
75 while (timeout--) { in mac_busy()
138 ulong timeout = 100000; in eeprom_read_location() local
150 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_read_location()
152 timeout--; in eeprom_read_location()
155 if (timeout == 0) { in eeprom_read_location()
167 ulong timeout = 100000; in eeprom_enable_erase_and_write() local
175 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_enable_erase_and_write()
177 timeout--; in eeprom_enable_erase_and_write()
180 if (timeout == 0) { in eeprom_enable_erase_and_write()
190 ulong timeout = 100000; in eeprom_disable_erase_and_write() local
198 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_disable_erase_and_write()
200 timeout--; in eeprom_disable_erase_and_write()
203 if (timeout == 0) { in eeprom_disable_erase_and_write()
213 ulong timeout = 100000; in eeprom_write_location() local
227 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_write_location()
229 timeout--; in eeprom_write_location()
232 if (timeout == 0) { in eeprom_write_location()
242 ulong timeout = 100000; in eeprom_erase_all() local
251 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_erase_all()
253 timeout--; in eeprom_erase_all()
256 if (timeout == 0) { in eeprom_erase_all()
266 ulong timeout = 100000; in eeprom_reload() local
275 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_reload()
277 timeout--; in eeprom_reload()
280 if (timeout == 0) in eeprom_reload()