Home | History | Annotate | Download | only in common

Lines Matching defs:wait

100 	 * Adjust the wait values
196 int wait;
199 wait = scsi_data_wait;
201 if (--wait < 0)
210 ixfer_start(volatile struct scsidevice *hd, int len, uint8_t phase, int wait)
220 /* wait for xfer to start or svc_req interrupt */
222 if (hd->scsi_ints || --wait < 0)
232 int wait = scsi_data_wait;
236 if (hd->scsi_ints || --wait < 0)
248 int wait = scsi_data_wait;
252 if (hd->scsi_ints || --wait < 0) {
272 int wait;
280 * Wait for a phase change (or error) then let the device
286 wait = scsi_cmd_wait;
290 if (ixfer_start(hd, clen, phase, wait))
299 wait = scsi_data_wait;
300 if (ixfer_start(hd, len, phase, wait) ||
309 wait = scsi_data_wait;
310 if (ixfer_start(hd, len, phase, wait))
317 wait = scsi_data_wait;
318 if (ixfer_start(hd, sizeof(hs->sc_stat), phase, wait) ||
326 if (ixfer_start(hd, sizeof(hs->sc_msg), phase, wait) ||
352 /* wait for last command to complete */
354 if (--wait < 0)