tag | line | file | source code |
mb | 64 | drivers/scsi/aha1542.c | struct mailbox mb[2*AHA1542_MAILBOXES]; |
mb | 289 | drivers/scsi/aha1542.c | struct mailbox * mb; |
mb | 297 | drivers/scsi/aha1542.c | mb = HOSTDATA(shost)->mb; |
mb | 340 | drivers/scsi/aha1542.c | if(mb[mbi].status != 0) break; |
mb | 345 | drivers/scsi/aha1542.c | if(mb[mbi].status == 0){ |
mb | 356 | drivers/scsi/aha1542.c | mbo = (scsi2int(mb[mbi].ccbptr) - ((unsigned int) &ccb[0])) / sizeof(struct ccb); |
mb | 357 | drivers/scsi/aha1542.c | mbistatus = mb[mbi].status; |
mb | 358 | drivers/scsi/aha1542.c | mb[mbi].status = 0; |
mb | 366 | drivers/scsi/aha1542.c | ccb[mbo].tarstat + ((int) ccb[mbo].hastat << 16), mb[mbi].status); |
mb | 446 | drivers/scsi/aha1542.c | struct mailbox * mb; |
mb | 451 | drivers/scsi/aha1542.c | mb = HOSTDATA(SCpnt->host)->mb; |
mb | 495 | drivers/scsi/aha1542.c | if(mb[mbo].status == 0 && HOSTDATA(SCpnt->host)->SCint[mbo] == NULL) |
mb | 501 | drivers/scsi/aha1542.c | if(mb[mbo].status || HOSTDATA(SCpnt->host)->SCint[mbo]) |
mb | 514 | drivers/scsi/aha1542.c | any2scsi(mb[mbo].ccbptr, &ccb[mbo]); /* This gets trashed for some reason*/ |
mb | 588 | drivers/scsi/aha1542.c | mb[mbo].status = 1; |
mb | 620 | drivers/scsi/aha1542.c | struct mailbox * mb; |
mb | 625 | drivers/scsi/aha1542.c | mb = HOSTDATA(shpnt)->mb; |
mb | 629 | drivers/scsi/aha1542.c | mb[i].status = mb[AHA1542_MAILBOXES+i].status = 0; |
mb | 630 | drivers/scsi/aha1542.c | any2scsi(mb[i].ccbptr, &ccb[i]); |
mb | 633 | drivers/scsi/aha1542.c | any2scsi((cmd+2), mb); |
mb | 923 | drivers/scsi/aha1542.c | HOSTDATA(shost)->mb[i].status = 1; /* Indicate ready to restart... */ |
mb | 945 | drivers/scsi/aha1542.c | struct mailbox * mb; |
mb | 953 | drivers/scsi/aha1542.c | mb = HOSTDATA(SCpnt->host)->mb; |
mb | 958 | drivers/scsi/aha1542.c | if(mb[mbi].status != 0) break; |
mb | 964 | drivers/scsi/aha1542.c | if(mb[mbi].status) { |
mb | 980 | drivers/scsi/aha1542.c | if (HOSTDATA(SCpnt->host)->mb[i].status) { |
mb | 995 | drivers/scsi/aha1542.c | mb[mbo].status = 2; /* Abort command */ |
mb | 143 | drivers/scsi/buslogic.c | struct mailbox mb[2 * BUSLOGIC_MAILBOXES]; |
mb | 402 | drivers/scsi/buslogic.c | struct mailbox *mb; |
mb | 412 | drivers/scsi/buslogic.c | mb = HOSTDATA(SHpnt)->mb; |
mb | 451 | drivers/scsi/buslogic.c | if (mb[mbi].status != MBX_NOT_IN_USE) { |
mb | 461 | drivers/scsi/buslogic.c | mbo = (struct ccb *)mb[mbi].ccbptr - ccb; |
mb | 462 | drivers/scsi/buslogic.c | mbistatus = mb[mbi].status; |
mb | 463 | drivers/scsi/buslogic.c | mb[mbi].status = MBX_NOT_IN_USE; |
mb | 481 | drivers/scsi/buslogic.c | mb[mbi].status); |
mb | 546 | drivers/scsi/buslogic.c | struct mailbox *mb; |
mb | 591 | drivers/scsi/buslogic.c | mb = HOSTDATA(SCpnt->host)->mb; |
mb | 604 | drivers/scsi/buslogic.c | if (mb[mbo].status == MBX_NOT_IN_USE |
mb | 612 | drivers/scsi/buslogic.c | if (mb[mbo].status != MBX_NOT_IN_USE || HOSTDATA(SCpnt->host)->SCint[mbo]) { |
mb | 631 | drivers/scsi/buslogic.c | mb[mbo].ccbptr = &ccb[mbo]; |
mb | 710 | drivers/scsi/buslogic.c | mb[mbo].status = MBX_ACTION_START; |
mb | 750 | drivers/scsi/buslogic.c | struct mailbox *mb = HOSTDATA(SHpnt)->mb; |
mb | 755 | drivers/scsi/buslogic.c | } cmd = { CMD_INITEXTMB, BUSLOGIC_MAILBOXES, mb }; |
mb | 758 | drivers/scsi/buslogic.c | mb[i].status = mb[BUSLOGIC_MAILBOXES + i].status = MBX_NOT_IN_USE; |
mb | 759 | drivers/scsi/buslogic.c | mb[i].ccbptr = &ccb[i]; |
mb | 1100 | drivers/scsi/buslogic.c | struct mailbox *mb; |
mb | 1108 | drivers/scsi/buslogic.c | mb = HOSTDATA(SCpnt->host)->mb; |
mb | 1114 | drivers/scsi/buslogic.c | if (mb[mbi].status != MBX_NOT_IN_USE) |
mb | 1122 | drivers/scsi/buslogic.c | if (mb[mbi].status != MBX_NOT_IN_USE) { |
mb | 1141 | drivers/scsi/buslogic.c | if (HOSTDATA(SCpnt->host)->mb[i].status != MBX_NOT_IN_USE) { |
mb | 1160 | drivers/scsi/buslogic.c | HOSTDATA(SCpnt->host)->mb[mbo].status = MBX_ACTION_ABORT; |
mb | 166 | drivers/scsi/wd7000.c | } mb; |
mb | 689 | drivers/scsi/wd7000.c | Mailbox *ogmbs = host->mb.ogmb; |
mb | 816 | drivers/scsi/wd7000.c | Mailbox *icmbs = host->mb.icmb; |
mb | 1038 | drivers/scsi/wd7000.c | memset(&(host->mb), 0, sizeof(host->mb)); |
mb | 1041 | drivers/scsi/wd7000.c | any2scsi((unchar *) &(init_cmd.mailboxes), (int) &(host->mb)); |