tag | line | file | source code |
mb | 66 | drivers/scsi/aha1542.c | struct mailbox mb[2*AHA1542_MAILBOXES]; |
mb | 323 | drivers/scsi/aha1542.c | struct mailbox * mb; |
mb | 333 | drivers/scsi/aha1542.c | mb = HOSTDATA(shost)->mb; |
mb | 374 | drivers/scsi/aha1542.c | if(mb[mbi].status != 0) break; |
mb | 379 | drivers/scsi/aha1542.c | if(mb[mbi].status == 0){ |
mb | 390 | drivers/scsi/aha1542.c | mbo = (scsi2int(mb[mbi].ccbptr) - ((unsigned int) &ccb[0])) / sizeof(struct ccb); |
mb | 391 | drivers/scsi/aha1542.c | mbistatus = mb[mbi].status; |
mb | 392 | drivers/scsi/aha1542.c | mb[mbi].status = 0; |
mb | 400 | drivers/scsi/aha1542.c | ccb[mbo].tarstat + ((int) ccb[mbo].hastat << 16), mb[mbi].status); |
mb | 480 | drivers/scsi/aha1542.c | struct mailbox * mb; |
mb | 485 | drivers/scsi/aha1542.c | mb = HOSTDATA(SCpnt->host)->mb; |
mb | 529 | drivers/scsi/aha1542.c | if(mb[mbo].status == 0 && HOSTDATA(SCpnt->host)->SCint[mbo] == NULL) |
mb | 535 | drivers/scsi/aha1542.c | if(mb[mbo].status || HOSTDATA(SCpnt->host)->SCint[mbo]) |
mb | 548 | drivers/scsi/aha1542.c | any2scsi(mb[mbo].ccbptr, &ccb[mbo]); /* This gets trashed for some reason*/ |
mb | 622 | drivers/scsi/aha1542.c | mb[mbo].status = 1; |
mb | 654 | drivers/scsi/aha1542.c | struct mailbox * mb; |
mb | 659 | drivers/scsi/aha1542.c | mb = HOSTDATA(shpnt)->mb; |
mb | 663 | drivers/scsi/aha1542.c | mb[i].status = mb[AHA1542_MAILBOXES+i].status = 0; |
mb | 664 | drivers/scsi/aha1542.c | any2scsi(mb[i].ccbptr, &ccb[i]); |
mb | 667 | drivers/scsi/aha1542.c | any2scsi((cmd+2), mb); |
mb | 958 | drivers/scsi/aha1542.c | HOSTDATA(shost)->mb[i].status = 1; /* Indicate ready to restart... */ |
mb | 980 | drivers/scsi/aha1542.c | struct mailbox * mb; |
mb | 988 | drivers/scsi/aha1542.c | mb = HOSTDATA(SCpnt->host)->mb; |
mb | 993 | drivers/scsi/aha1542.c | if(mb[mbi].status != 0) break; |
mb | 999 | drivers/scsi/aha1542.c | if(mb[mbi].status) { |
mb | 1015 | drivers/scsi/aha1542.c | if (HOSTDATA(SCpnt->host)->mb[i].status) { |
mb | 1030 | drivers/scsi/aha1542.c | mb[mbo].status = 2; /* Abort command */ |
mb | 1086 | drivers/scsi/aha1542.c | HOSTDATA(SCpnt->host)->mb[i].status = 0; |
mb | 137 | drivers/scsi/buslogic.c | struct mailbox mb[2 * BUSLOGIC_MAILBOXES]; |
mb | 431 | drivers/scsi/buslogic.c | struct mailbox *mb; |
mb | 441 | drivers/scsi/buslogic.c | mb = HOSTDATA(shpnt)->mb; |
mb | 496 | drivers/scsi/buslogic.c | if (mb[mbi].status != MBX_NOT_IN_USE) { |
mb | 506 | drivers/scsi/buslogic.c | mbo = (struct ccb *)mb[mbi].ccbptr - ccb; |
mb | 507 | drivers/scsi/buslogic.c | mbistatus = mb[mbi].status; |
mb | 508 | drivers/scsi/buslogic.c | mb[mbi].status = MBX_NOT_IN_USE; |
mb | 529 | drivers/scsi/buslogic.c | mb[mbi].status); |
mb | 607 | drivers/scsi/buslogic.c | struct mailbox *mb; |
mb | 653 | drivers/scsi/buslogic.c | mb = HOSTDATA(scpnt->host)->mb; |
mb | 666 | drivers/scsi/buslogic.c | if (mb[mbo].status == MBX_NOT_IN_USE |
mb | 674 | drivers/scsi/buslogic.c | if (mb[mbo].status != MBX_NOT_IN_USE |
mb | 694 | drivers/scsi/buslogic.c | mb[mbo].ccbptr = &ccb[mbo]; |
mb | 776 | drivers/scsi/buslogic.c | mb[mbo].status = MBX_ACTION_START; |
mb | 814 | drivers/scsi/buslogic.c | struct mailbox *mb = HOSTDATA(shpnt)->mb; |
mb | 819 | drivers/scsi/buslogic.c | } cmd = { CMD_INITEXTMB, BUSLOGIC_MAILBOXES, mb }; |
mb | 822 | drivers/scsi/buslogic.c | mb[i].status = mb[BUSLOGIC_MAILBOXES + i].status = MBX_NOT_IN_USE; |
mb | 823 | drivers/scsi/buslogic.c | mb[i].ccbptr = &ccb[i]; |
mb | 1188 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->mb[i].status |
mb | 1211 | drivers/scsi/buslogic.c | struct mailbox *mb; |
mb | 1220 | drivers/scsi/buslogic.c | mb = HOSTDATA(scpnt->host)->mb; |
mb | 1226 | drivers/scsi/buslogic.c | if (mb[mbi].status != MBX_NOT_IN_USE) |
mb | 1234 | drivers/scsi/buslogic.c | if (mb[mbi].status != MBX_NOT_IN_USE) { |
mb | 1254 | drivers/scsi/buslogic.c | if (HOSTDATA(scpnt->host)->mb[i].status != MBX_NOT_IN_USE) { |
mb | 1274 | drivers/scsi/buslogic.c | mb[mbo].status = MBX_ACTION_ABORT; |
mb | 1335 | drivers/scsi/buslogic.c | HOSTDATA(scpnt->host)->mb[i].status = MBX_NOT_IN_USE; |
mb | 1352 | drivers/scsi/buslogic.c | unsigned int mb = disk->capacity >> 11; |
mb | 1356 | drivers/scsi/buslogic.c | && mb > 1024) { |
mb | 1357 | drivers/scsi/buslogic.c | if (mb > 4096) { |
mb | 1360 | drivers/scsi/buslogic.c | ip[2] = mb >> 3; |
mb | 1363 | drivers/scsi/buslogic.c | } else if (mb > 2048) { |
mb | 1366 | drivers/scsi/buslogic.c | ip[2] = mb >> 2; |
mb | 1370 | drivers/scsi/buslogic.c | ip[2] = mb >> 1; |
mb | 1375 | drivers/scsi/buslogic.c | ip[2] = mb; |
mb | 166 | drivers/scsi/wd7000.c | } mb; |
mb | 688 | drivers/scsi/wd7000.c | Mailbox *ogmbs = host->mb.ogmb; |
mb | 815 | drivers/scsi/wd7000.c | Mailbox *icmbs = host->mb.icmb; |
mb | 1036 | drivers/scsi/wd7000.c | memset(&(host->mb), 0, sizeof(host->mb)); |
mb | 1039 | drivers/scsi/wd7000.c | any2scsi((unchar *) &(init_cmd.mailboxes), (int) &(host->mb)); |