Lines Matching full:mbi
264 int errstatus, mbi, mbo, mbistatus; in aha1542_interrupt() local
309 mbi = aha1542->aha1542_last_mbi_used + 1; in aha1542_interrupt()
310 if (mbi >= 2 * AHA1542_MAILBOXES) in aha1542_interrupt()
311 mbi = AHA1542_MAILBOXES; in aha1542_interrupt()
314 if (mb[mbi].status != 0) in aha1542_interrupt()
316 mbi++; in aha1542_interrupt()
317 if (mbi >= 2 * AHA1542_MAILBOXES) in aha1542_interrupt()
318 mbi = AHA1542_MAILBOXES; in aha1542_interrupt()
319 } while (mbi != aha1542->aha1542_last_mbi_used); in aha1542_interrupt()
321 if (mb[mbi].status == 0) { in aha1542_interrupt()
329 mbo = (scsi2int(mb[mbi].ccbptr) - (unsigned long)aha1542->ccb_handle) / sizeof(struct ccb); in aha1542_interrupt()
330 mbistatus = mb[mbi].status; in aha1542_interrupt()
331 mb[mbi].status = 0; in aha1542_interrupt()
332 aha1542->aha1542_last_mbi_used = mbi; in aha1542_interrupt()
337 ccb[mbo].tarstat + ((int) ccb[mbo].hastat << 16), mb[mbi].status); in aha1542_interrupt()
344 shost_printk(KERN_DEBUG, sh, "...done %d %d\n", mbo, mbi); in aha1542_interrupt()