Lines Matching refs:mailbox

39 	- Handle interrupts during mailbox testing
50 - Delete completion queue from srb if mailbox command failed to
93 - Use completion queue for mailbox commands instead of busy wait
121 - Rely on mailbox commands generating interrupts - do not
139 - Enable interrupts early (before any mailbox access) in preparation
140 for cleaning up the mailbox handling
729 printk(KERN_ERR "scsi(%ld): mailbox timed out, mailbox0 %04x, "
907 * by the issuance of the mailbox command.
1420 /* Insure mailbox registers are free. */
2399 * Issue mailbox command and waits for completion.
2403 * mr = mailbox registers to load.
2404 * mb = data pointer for mailbox registers.
2407 * mb[MAILBOX_REGISTER_COUNT] = returned mailbox data.
2425 printk(KERN_ERR "Warning mailbox wait already in use!\n");
2430 * We really should start out by verifying that the mailbox is
2433 /* Load mailbox registers. */
2463 /* Check for mailbox command timeout. */
2478 /* Load return mailbox registers. */
3340 uint16_t mailbox[MAILBOX_REGISTER_COUNT];
3351 /* Save mailbox register 5 */
3352 mailbox[5] = RD_REG_WORD(&reg->mailbox5);
3354 /* Check for mailbox interrupt. */
3356 mailbox[0] = RD_REG_WORD_dmasync(&reg->semaphore);
3358 if (mailbox[0] & BIT_0) {
3359 /* Get mailbox data. */
3360 /* dprintk(1, "qla1280_isr: In Get mailbox data \n"); */
3362 wptr = &mailbox[0];
3366 if (mailbox[0] != MBA_SCSI_COMPLETION) {
3375 /* Release mailbox registers. */
3380 dprintk(5, "qla1280_isr: mailbox interrupt mailbox[0] = 0x%x",
3381 mailbox[0]);
3384 switch (mailbox[0]) {
3386 dprintk(5, "qla1280_isr: mailbox SCSI response "
3391 index = mailbox[2] << 16 | mailbox[1];
3421 index = mailbox[6] & BIT_0;
3431 "%xh, mbx3=%xh\n", mailbox[1], mailbox[2],
3432 mailbox[3]);
3459 index = mailbox[6] & BIT_0;
3470 if (mailbox[0] < MBA_ASYNC_EVENT) {
3471 wptr = &mailbox[0];
3486 * We will receive interrupts during mailbox testing prior to
3494 if (mailbox[5] >= RESPONSE_ENTRY_CNT)
3497 while (ha->rsp_ring_index != mailbox[5]) {
3500 dprintk(5, "qla1280_isr: ha->rsp_ring_index = 0x%x, mailbox[5]"
3501 " = 0x%x\n", ha->rsp_ring_index, mailbox[5]);
3509 "0x%x mailbox[5] = 0x%x, comp_status "
3511 ha->rsp_ring_index, mailbox[5],
3517 "0x%x, mailbox[5] = 0x%x\n",
3518 ha->rsp_ring_index, mailbox[5]);