Lines Matching refs:cnt
712 u_long cnt;
753 cnt = 10;
754 while ((GET_5380_REG(NCR5380_ICOM) & SC_AIP) == 0 && --cnt)
845 cnt = 25000;
846 while ((GET_5380_REG(NCR5380_IDSTAT) & SC_S_BSY) == 0 && --cnt)
895 cnt = 1;
908 if (transfer_pio(&phase, tmp, &cnt, 0) || cnt) {
1359 u_int cnt = *len;
1363 DBG_PIOPRINT("SCSI: transfer_pio start: phase: %d, len: %d\n", ph,cnt);
1380 if ((cnt == 1) && dont_drop_ack)
1394 if (!((ph == PH_MSGOUT) && (cnt > 1) )) {
1412 } while (--cnt);
1418 *len = cnt;
1420 *phase, cnt);
1422 if (cnt == 0 || (*phase == ph))