Home
last modified time | relevance | path

Searched refs:ecbno (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/scsi/
Daha1740.c323 int ecbno, nseg; in aha1740_queuecommand_lck() local
348 ecbno = host->last_ecb_used + 1; /* An optimization */ in aha1740_queuecommand_lck()
349 if (ecbno >= AHA1740_ECBS) in aha1740_queuecommand_lck()
350 ecbno = 0; in aha1740_queuecommand_lck()
352 if (!host->ecb[ecbno].cmdw) in aha1740_queuecommand_lck()
354 ecbno++; in aha1740_queuecommand_lck()
355 if (ecbno >= AHA1740_ECBS) in aha1740_queuecommand_lck()
356 ecbno = 0; in aha1740_queuecommand_lck()
357 } while (ecbno != host->last_ecb_used); in aha1740_queuecommand_lck()
359 if (host->ecb[ecbno].cmdw) in aha1740_queuecommand_lck()
[all …]