Lines Matching refs:tries
259 int tries; in hfa384x_cmd_issue() local
276 tries = HFA384X_CMD_BUSY_TIMEOUT; in hfa384x_cmd_issue()
277 while (HFA384X_INW(HFA384X_CMD_OFF) & HFA384X_CMD_BUSY && tries > 0) { in hfa384x_cmd_issue()
278 tries--; in hfa384x_cmd_issue()
282 if (tries != HFA384X_CMD_BUSY_TIMEOUT) { in hfa384x_cmd_issue()
286 HFA384X_CMD_BUSY_TIMEOUT - tries); in hfa384x_cmd_issue()
289 if (tries == 0) { in hfa384x_cmd_issue()
557 int tries; in __hfa384x_cmd_no_wait() local
562 tries = HFA384X_CMD_BUSY_TIMEOUT; in __hfa384x_cmd_no_wait()
563 while (HFA384X_INW(HFA384X_CMD_OFF) & HFA384X_CMD_BUSY && tries > 0) { in __hfa384x_cmd_no_wait()
564 tries--; in __hfa384x_cmd_no_wait()
567 if (tries == 0) { in __hfa384x_cmd_no_wait()
591 int res, tries; in hfa384x_cmd_wait() local
600 tries = HFA384X_DL_COMPL_TIMEOUT; in hfa384x_cmd_wait()
602 tries = HFA384X_CMD_COMPL_TIMEOUT; in hfa384x_cmd_wait()
605 tries > 0) { in hfa384x_cmd_wait()
606 tries--; in hfa384x_cmd_wait()
609 if (tries == 0) { in hfa384x_cmd_wait()
738 int tries = HFA384X_BAP_BUSY_TIMEOUT; in hfa384x_wait_offset() local
741 while (res && tries > 0) { in hfa384x_wait_offset()
742 tries--; in hfa384x_wait_offset()