Lines Matching full:mbi
282 int errstatus, mbi, mbo, mbistatus; in aha1542_interrupt() local
329 mbi = aha1542->aha1542_last_mbi_used + 1; in aha1542_interrupt()
330 if (mbi >= 2 * AHA1542_MAILBOXES) in aha1542_interrupt()
331 mbi = AHA1542_MAILBOXES; in aha1542_interrupt()
334 if (mb[mbi].status != 0) in aha1542_interrupt()
336 mbi++; in aha1542_interrupt()
337 if (mbi >= 2 * AHA1542_MAILBOXES) in aha1542_interrupt()
338 mbi = AHA1542_MAILBOXES; in aha1542_interrupt()
339 } while (mbi != aha1542->aha1542_last_mbi_used); in aha1542_interrupt()
341 if (mb[mbi].status == 0) { in aha1542_interrupt()
349 mbo = (scsi2int(mb[mbi].ccbptr) - (unsigned long)aha1542->ccb_handle) / sizeof(struct ccb); in aha1542_interrupt()
350 mbistatus = mb[mbi].status; in aha1542_interrupt()
351 mb[mbi].status = 0; in aha1542_interrupt()
352 aha1542->aha1542_last_mbi_used = mbi; in aha1542_interrupt()
357 ccb[mbo].tarstat + ((int) ccb[mbo].hastat << 16), mb[mbi].status); in aha1542_interrupt()
364 shost_printk(KERN_DEBUG, sh, "...done %d %d\n", mbo, mbi); in aha1542_interrupt()