Searched refs:usec_delay_step (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/cris/arch-v10/drivers/
H A Deeprom.c71 unsigned long usec_delay_step; /* For adaptive algorithm */ member in struct:eeprom_type
143 eeprom.usec_delay_step = 128; eeprom_init()
550 eeprom.usec_delay_writecycles, eeprom.usec_delay_step)); eeprom_write()
552 if (eeprom.usec_delay_step < 4) eeprom_write()
554 eeprom.usec_delay_step++; eeprom_write()
555 eeprom.usec_delay_writecycles += eeprom.usec_delay_step; eeprom_write()
563 eeprom.usec_delay_step *= 2; eeprom_write()
564 if (eeprom.usec_delay_step > 2) eeprom_write()
566 eeprom.usec_delay_step--; eeprom_write()
568 eeprom.usec_delay_writecycles += eeprom.usec_delay_step; eeprom_write()
573 eeprom.usec_delay_writecycles += eeprom.usec_delay_step; eeprom_write()
574 if (eeprom.usec_delay_step > 1) eeprom_write()
576 eeprom.usec_delay_step /= 2; eeprom_write()
577 eeprom.usec_delay_step--; eeprom_write()
588 eeprom.usec_delay_writecycles, eeprom.usec_delay_step)); eeprom_write()
593 if (eeprom.usec_delay_step > 1) eeprom_write()
595 eeprom.usec_delay_step *= 2; eeprom_write()
596 eeprom.usec_delay_step--; eeprom_write()
598 if (eeprom.usec_delay_writecycles > eeprom.usec_delay_step) eeprom_write()
600 eeprom.usec_delay_writecycles -= eeprom.usec_delay_step; eeprom_write()
607 if (eeprom.usec_delay_writecycles > eeprom.usec_delay_step) eeprom_write()
609 eeprom.usec_delay_writecycles -= eeprom.usec_delay_step; eeprom_write()
611 if (eeprom.usec_delay_step > 1) eeprom_write()
613 eeprom.usec_delay_step /= 2; eeprom_write()
614 eeprom.usec_delay_step--; eeprom_write()
628 eeprom.usec_delay_step++; eeprom_write()

Completed in 59 milliseconds