tag | line | file | source code |
shpnt | 79 | drivers/scsi/aha1542.c | static void setup_mailboxes(int base_io, struct Scsi_Host * shpnt); |
shpnt | 238 | drivers/scsi/aha1542.c | static int aha1542_test_port(int bse, struct Scsi_Host * shpnt) |
shpnt | 651 | drivers/scsi/aha1542.c | static void setup_mailboxes(int bse, struct Scsi_Host * shpnt) |
shpnt | 659 | drivers/scsi/aha1542.c | mb = HOSTDATA(shpnt)->mb; |
shpnt | 660 | drivers/scsi/aha1542.c | ccb = HOSTDATA(shpnt)->ccb; |
shpnt | 824 | drivers/scsi/aha1542.c | struct Scsi_Host * shpnt = NULL; |
shpnt | 832 | drivers/scsi/aha1542.c | shpnt = scsi_register(tpnt, |
shpnt | 835 | drivers/scsi/aha1542.c | if(!aha1542_test_port(bases[indx], shpnt)) goto unregister; |
shpnt | 867 | drivers/scsi/aha1542.c | setup_mailboxes(base_io, shpnt); |
shpnt | 890 | drivers/scsi/aha1542.c | aha_host[irq_level - 9] = shpnt; |
shpnt | 891 | drivers/scsi/aha1542.c | shpnt->io_port = base_io; |
shpnt | 892 | drivers/scsi/aha1542.c | shpnt->dma_channel = dma_chan; |
shpnt | 893 | drivers/scsi/aha1542.c | shpnt->irq = irq_level; |
shpnt | 894 | drivers/scsi/aha1542.c | HOSTDATA(shpnt)->bios_translation = trans; |
shpnt | 897 | drivers/scsi/aha1542.c | HOSTDATA(shpnt)->aha1542_last_mbi_used = (2*AHA1542_MAILBOXES - 1); |
shpnt | 898 | drivers/scsi/aha1542.c | HOSTDATA(shpnt)->aha1542_last_mbo_used = (AHA1542_MAILBOXES - 1); |
shpnt | 899 | drivers/scsi/aha1542.c | memset(HOSTDATA(shpnt)->SCint, 0, sizeof(HOSTDATA(shpnt)->SCint)); |
shpnt | 938 | drivers/scsi/aha1542.c | scsi_unregister(shpnt); |
shpnt | 146 | drivers/scsi/buslogic.c | static int setup_mailboxes(unsigned int base, struct Scsi_Host *shpnt); |
shpnt | 147 | drivers/scsi/buslogic.c | static int restart(struct Scsi_Host *shpnt); |
shpnt | 343 | drivers/scsi/buslogic.c | static int test_port(unsigned int base, struct Scsi_Host *shpnt) |
shpnt | 427 | drivers/scsi/buslogic.c | struct Scsi_Host *shpnt; |
shpnt | 437 | drivers/scsi/buslogic.c | shpnt = host[irqno - 9]; |
shpnt | 438 | drivers/scsi/buslogic.c | if (!shpnt) |
shpnt | 441 | drivers/scsi/buslogic.c | mb = HOSTDATA(shpnt)->mb; |
shpnt | 442 | drivers/scsi/buslogic.c | ccb = HOSTDATA(shpnt)->ccbs; |
shpnt | 443 | drivers/scsi/buslogic.c | base = shpnt->io_port; |
shpnt | 487 | drivers/scsi/buslogic.c | mbi = HOSTDATA(shpnt)->last_mbi_used + 1; |
shpnt | 503 | drivers/scsi/buslogic.c | } while (mbi != HOSTDATA(shpnt)->last_mbi_used); |
shpnt | 509 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->last_mbi_used = mbi; |
shpnt | 521 | drivers/scsi/buslogic.c | restart(shpnt); |
shpnt | 539 | drivers/scsi/buslogic.c | sctmp = HOSTDATA(shpnt)->sc[mbo]; |
shpnt | 588 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->sc[mbo] = NULL; /* This effectively frees up |
shpnt | 810 | drivers/scsi/buslogic.c | static int setup_mailboxes(unsigned int base, struct Scsi_Host *shpnt) |
shpnt | 814 | drivers/scsi/buslogic.c | struct mailbox *mb = HOSTDATA(shpnt)->mb; |
shpnt | 815 | drivers/scsi/buslogic.c | struct ccb *ccb = HOSTDATA(shpnt)->ccbs; |
shpnt | 1005 | drivers/scsi/buslogic.c | struct Scsi_Host *shpnt = NULL; |
shpnt | 1015 | drivers/scsi/buslogic.c | shpnt = scsi_register(tpnt, sizeof (struct hostdata)); |
shpnt | 1019 | drivers/scsi/buslogic.c | if (test_port(base, shpnt)) |
shpnt | 1056 | drivers/scsi/buslogic.c | if (!setup_mailboxes(base, shpnt)) |
shpnt | 1099 | drivers/scsi/buslogic.c | host[irq - 9] = shpnt; |
shpnt | 1100 | drivers/scsi/buslogic.c | shpnt->this_id = id; |
shpnt | 1103 | drivers/scsi/buslogic.c | shpnt->unchecked_isa_dma = (bus_type == 'A'); |
shpnt | 1107 | drivers/scsi/buslogic.c | shpnt->unchecked_isa_dma = 1; |
shpnt | 1109 | drivers/scsi/buslogic.c | shpnt->sg_tablesize = max_sg; |
shpnt | 1110 | drivers/scsi/buslogic.c | if (shpnt->sg_tablesize > BUSLOGIC_MAX_SG) |
shpnt | 1111 | drivers/scsi/buslogic.c | shpnt->sg_tablesize = BUSLOGIC_MAX_SG; |
shpnt | 1114 | drivers/scsi/buslogic.c | shpnt->hostt->can_queue = BUSLOGIC_MAILBOXES; |
shpnt | 1117 | drivers/scsi/buslogic.c | shpnt->base = NULL; |
shpnt | 1118 | drivers/scsi/buslogic.c | shpnt->io_port = base; |
shpnt | 1119 | drivers/scsi/buslogic.c | shpnt->dma_channel = dma; |
shpnt | 1120 | drivers/scsi/buslogic.c | shpnt->irq = irq; |
shpnt | 1121 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->bios_translation = trans; |
shpnt | 1124 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->last_mbi_used = 2 * BUSLOGIC_MAILBOXES - 1; |
shpnt | 1125 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->last_mbo_used = BUSLOGIC_MAILBOXES - 1; |
shpnt | 1126 | drivers/scsi/buslogic.c | memset(HOSTDATA(shpnt)->sc, 0, sizeof HOSTDATA(shpnt)->sc); |
shpnt | 1171 | drivers/scsi/buslogic.c | scsi_unregister(shpnt); |
shpnt | 1176 | drivers/scsi/buslogic.c | static int restart(struct Scsi_Host *shpnt) |
shpnt | 1185 | drivers/scsi/buslogic.c | if (HOSTDATA(shpnt)->sc[i] |
shpnt | 1186 | drivers/scsi/buslogic.c | && !HOSTDATA(shpnt)->sc[i]->device->soft_reset) { |
shpnt | 1188 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->mb[i].status |
shpnt | 1198 | drivers/scsi/buslogic.c | buslogic_out(shpnt->host->io_port, buscmd, sizeof buscmd); |
shpnt | 178 | drivers/scsi/hosts.c | struct Scsi_Host * shpnt; |
shpnt | 186 | drivers/scsi/hosts.c | shpnt = scsi_hostlist; |
shpnt | 187 | drivers/scsi/hosts.c | while(shpnt->next != sh) shpnt = shpnt->next; |
shpnt | 188 | drivers/scsi/hosts.c | shpnt->next = shpnt->next->next; |
shpnt | 199 | drivers/scsi/hosts.c | struct Scsi_Host * retval, *shpnt; |
shpnt | 226 | drivers/scsi/hosts.c | shpnt = scsi_hostlist; |
shpnt | 227 | drivers/scsi/hosts.c | while(shpnt->next) shpnt = shpnt->next; |
shpnt | 228 | drivers/scsi/hosts.c | shpnt->next = retval; |
shpnt | 219 | drivers/scsi/scsi.c | static void scan_scsis (struct Scsi_Host * shpnt) |
shpnt | 239 | drivers/scsi/scsi.c | shpnt->host_queue = &SCmd; /* We need this so that |
shpnt | 242 | drivers/scsi/scsi.c | if (shpnt->this_id != dev) |
shpnt | 249 | drivers/scsi/scsi.c | SDpnt->host = shpnt; |
shpnt | 266 | drivers/scsi/scsi.c | SCmd.host = shpnt; |
shpnt | 485 | drivers/scsi/scsi.c | shpnt->host_queue = NULL; /* No longer needed here */ |
shpnt | 1741 | drivers/scsi/scsi.c | struct Scsi_Host * shpnt; |
shpnt | 1760 | drivers/scsi/scsi.c | for (shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next) |
shpnt | 1761 | drivers/scsi/scsi.c | scan_scsis(shpnt); /* scan for scsi devices */ |
shpnt | 1887 | drivers/scsi/scsi.c | Scsi_Host * shpnt; |
shpnt | 1890 | drivers/scsi/scsi.c | for(shpnt = scsi_hosts; shpnt; shpnt = shpnt->next) |
shpnt | 1891 | drivers/scsi/scsi.c | for(SCpnt=shpnt->host_queue; SCpnt; SCpnt = SCpnt->next) |
shpnt | 517 | drivers/scsi/ultrastor.c | struct Scsi_Host * shpnt = NULL; |
shpnt | 595 | drivers/scsi/ultrastor.c | shpnt = scsi_register(tpnt, 0); |
shpnt | 596 | drivers/scsi/ultrastor.c | shpnt->irq = config.interrupt; |
shpnt | 597 | drivers/scsi/ultrastor.c | shpnt->dma_channel = config.dma_channel; |
shpnt | 598 | drivers/scsi/ultrastor.c | shpnt->io_port = config.port_address; |