Lines Matching refs:AHA1542_MAILBOXES
61 struct scsi_cmnd *int_cmds[AHA1542_MAILBOXES];
310 if (mbi >= 2 * AHA1542_MAILBOXES) in aha1542_interrupt()
311 mbi = AHA1542_MAILBOXES; in aha1542_interrupt()
317 if (mbi >= 2 * AHA1542_MAILBOXES) in aha1542_interrupt()
318 mbi = AHA1542_MAILBOXES; in aha1542_interrupt()
441 if (mbo >= AHA1542_MAILBOXES) in aha1542_queuecommand()
448 if (mbo >= AHA1542_MAILBOXES) in aha1542_queuecommand()
525 u8 mb_cmd[5] = { CMD_MBINIT, AHA1542_MAILBOXES, 0, 0, 0}; in setup_mailboxes()
528 for (i = 0; i < AHA1542_MAILBOXES; i++) { in setup_mailboxes()
532 aha1542->mb[AHA1542_MAILBOXES + i].status = 0; in setup_mailboxes()
750 aha1542->aha1542_last_mbi_used = 2 * AHA1542_MAILBOXES - 1; in aha1542_hw_init()
751 aha1542->aha1542_last_mbo_used = AHA1542_MAILBOXES - 1; in aha1542_hw_init()
773 AHA1542_MAILBOXES * 2 * sizeof(struct mailbox), in aha1542_hw_init()
779 AHA1542_MAILBOXES * sizeof(struct ccb), in aha1542_hw_init()
814 dma_free_coherent(pdev, AHA1542_MAILBOXES * sizeof(struct ccb), in aha1542_hw_init()
817 dma_free_coherent(pdev, AHA1542_MAILBOXES * 2 * sizeof(struct mailbox), in aha1542_hw_init()
835 dma_free_coherent(dev, AHA1542_MAILBOXES * sizeof(struct ccb), in aha1542_release()
837 dma_free_coherent(dev, AHA1542_MAILBOXES * 2 * sizeof(struct mailbox), in aha1542_release()
865 if (mbo >= AHA1542_MAILBOXES) in aha1542_dev_reset()
872 if (mbo >= AHA1542_MAILBOXES) in aha1542_dev_reset()
947 for (i = 0; i < AHA1542_MAILBOXES; i++) { in aha1542_reset()
1011 .can_queue = AHA1542_MAILBOXES,