Lines Matching refs:attempts
56 int polarity, int attempts, int delay, u32 *valp) in t3_wait_op_done_val() argument
66 if (--attempts == 0) in t3_wait_op_done_val()
163 int attempts = 10; in t3_mc7_bd_read() local
169 while ((val & F_BUSY) && attempts--) in t3_mc7_bd_read()
616 int attempts = EEPROM_MAX_POLL; in t3_seeprom_read() local
627 } while (!(val & PCI_VPD_ADDR_F) && --attempts); in t3_seeprom_read()
650 int attempts = EEPROM_MAX_POLL; in t3_seeprom_write() local
663 } while ((val & PCI_VPD_ADDR_F) && --attempts); in t3_seeprom_write()
814 static int flash_wait_op(struct adapter *adapter, int attempts, int delay) in flash_wait_op() argument
825 if (--attempts == 0) in flash_wait_op()
3174 unsigned int width, density, slow, attempts; in mc7_init() local
3255 attempts = 50; in mc7_init()
3259 } while ((val & F_BUSY) && --attempts); in mc7_init()
3341 int err = -EIO, attempts, i; in t3_init_hw() local
3399 attempts = 100; in t3_init_hw()
3402 } while (t3_read_reg(adapter, A_CIM_HOST_ACC_DATA) && --attempts); in t3_init_hw()
3403 if (!attempts) { in t3_init_hw()