Home | History | Annotate | Download | only in cxgb

Lines Matching refs:attempts

49  *  @attempts: number of check iterations
54 * up to @attempts times. If @valp is not NULL the value of the register
59 int attempts, int delay, u32 *valp)
69 if (--attempts == 0)
165 int attempts = 10;
172 while ((val & F_BUSY) && attempts--)
552 int attempts = EEPROM_MAX_POLL;
562 } while (!(val & PCI_VPD_ADDR_F) && --attempts);
585 int attempts = EEPROM_MAX_POLL;
598 } while ((val & PCI_VPD_ADDR_F) && --attempts);
754 * @attempts: max number of polls of the status register
759 static int flash_wait_op(adapter_t *adapter, int attempts, int delay)
770 if (--attempts == 0)
3268 unsigned int width, density, slow, attempts;
3351 attempts = 50;
3355 } while ((val & F_BUSY) && --attempts);
3436 int err = -EIO, attempts = 100;
3488 } while (t3_read_reg(adapter, A_CIM_HOST_ACC_DATA) && --attempts);
3489 if (!attempts) {