• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/scsi/

Lines Matching refs:mailbox

43 	- Handle interrupts during mailbox testing
54 - Delete completion queue from srb if mailbox command failed to
97 - Use completion queue for mailbox commands instead of busy wait
125 - Rely on mailbox commands generating interrupts - do not
143 - Enable interrupts early (before any mailbox access) in preparation
144 for cleaning up the mailbox handling
781 printk(KERN_ERR "scsi(%ld): mailbox timed out, mailbox0 %04x, "
1483 /* Insure mailbox registers are free. */
2382 * Issue mailbox command and waits for completion.
2386 * mr = mailbox registers to load.
2387 * mb = data pointer for mailbox registers.
2390 * mb[MAILBOX_REGISTER_COUNT] = returned mailbox data.
2410 printk(KERN_ERR "Warning mailbox wait already in use!\n");
2415 * We really should start out by verifying that the mailbox is
2418 /* Load mailbox registers. */
2451 /* Check for mailbox command timeout. */
2466 /* Load return mailbox registers. */
3430 uint16_t mailbox[MAILBOX_REGISTER_COUNT];
3441 /* Save mailbox register 5 */
3442 mailbox[5] = RD_REG_WORD(&reg->mailbox5);
3444 /* Check for mailbox interrupt. */
3446 mailbox[0] = RD_REG_WORD_dmasync(&reg->semaphore);
3448 if (mailbox[0] & BIT_0) {
3449 /* Get mailbox data. */
3450 /* dprintk(1, "qla1280_isr: In Get mailbox data \n"); */
3452 wptr = &mailbox[0];
3456 if (mailbox[0] != MBA_SCSI_COMPLETION) {
3465 /* Release mailbox registers. */
3470 dprintk(5, "qla1280_isr: mailbox interrupt mailbox[0] = 0x%x",
3471 mailbox[0]);
3474 switch (mailbox[0]) {
3476 dprintk(5, "qla1280_isr: mailbox SCSI response "
3481 index = mailbox[2] << 16 | mailbox[1];
3510 index = mailbox[6] & BIT_0;
3520 "%xh, mbx3=%xh\n", mailbox[1], mailbox[2],
3521 mailbox[3]);
3548 index = mailbox[6] & BIT_0;
3559 if (mailbox[0] < MBA_ASYNC_EVENT) {
3560 wptr = &mailbox[0];
3575 * We will receive interrupts during mailbox testing prior to
3583 if (mailbox[5] >= RESPONSE_ENTRY_CNT)
3586 while (ha->rsp_ring_index != mailbox[5]) {
3589 dprintk(5, "qla1280_isr: ha->rsp_ring_index = 0x%x, mailbox[5]"
3590 " = 0x%x\n", ha->rsp_ring_index, mailbox[5]);
3598 "0x%x mailbox[5] = 0x%x, comp_status "
3600 ha->rsp_ring_index, mailbox[5],
3606 "0x%x, mailbox[5] = 0x%x\n",
3607 ha->rsp_ring_index, mailbox[5]);