Lines Matching defs:attempts
45 * @attempts: number of check iterations
50 * up to @attempts times. If @valp is not NULL the value of the register
55 int attempts, int delay, u32 *valp)
65 if (--attempts == 0)
161 int attempts = 10;
168 while ((val & F_BUSY) && attempts--)
660 int attempts = EEPROM_MAX_POLL;
670 } while (!(val & PCI_VPD_ADDR_F) && --attempts);
693 int attempts = EEPROM_MAX_POLL;
706 } while ((val & PCI_VPD_ADDR_F) && --attempts);
1000 * @attempts: max number of polls of the status register
1005 static int flash_wait_op(adapter_t *adapter, int attempts, int delay)
1016 if (--attempts == 0)
3966 unsigned int width, density, slow, attempts;
4049 attempts = 50;
4053 } while ((val & F_BUSY) && --attempts);
4148 int err = -EIO, attempts, i;
4208 attempts = 100;
4211 } while (t3_read_reg(adapter, A_CIM_HOST_ACC_DATA) && --attempts);
4212 if (!attempts) {