Lines Matching refs:cnt
693 u_long cnt;
733 cnt = 10;
734 while (!(GET_5380_REG(NCR5380_ICOM) & SC_AIP) && --cnt)
825 cnt = 25000;
826 while (!(GET_5380_REG(NCR5380_IDSTAT) & SC_S_BSY) && --cnt)
875 cnt = 1;
888 if (transfer_pio(&phase, tmp, &cnt, 0) || cnt) {
1334 u_int cnt = *len;
1338 DBG_PIOPRINT ("SCSI: transfer_pio start: phase: %d, len: %d\n", ph,cnt);
1353 if ((cnt == 1) && dont_drop_ack)
1366 if (!( (ph == PH_MSGOUT) && (cnt > 1) )) {
1383 } while (--cnt);
1388 *len = cnt;
1390 *phase, cnt);
1392 if (!cnt || (*phase == ph))