tag | line | file | source code |
shpnt | 114 | drivers/scsi/aha1542.c | static void setup_mailboxes(int base_io, struct Scsi_Host * shpnt); |
shpnt | 283 | drivers/scsi/aha1542.c | static int aha1542_test_port(int bse, struct Scsi_Host * shpnt) |
shpnt | 689 | drivers/scsi/aha1542.c | static void setup_mailboxes(int bse, struct Scsi_Host * shpnt) |
shpnt | 697 | drivers/scsi/aha1542.c | mb = HOSTDATA(shpnt)->mb; |
shpnt | 698 | drivers/scsi/aha1542.c | ccb = HOSTDATA(shpnt)->ccb; |
shpnt | 923 | drivers/scsi/aha1542.c | struct Scsi_Host * shpnt = NULL; |
shpnt | 931 | drivers/scsi/aha1542.c | shpnt = scsi_register(tpnt, |
shpnt | 936 | drivers/scsi/aha1542.c | if ((unsigned int) shpnt > 0xffffff) { |
shpnt | 941 | drivers/scsi/aha1542.c | if(!aha1542_test_port(bases[indx], shpnt)) goto unregister; |
shpnt | 987 | drivers/scsi/aha1542.c | setup_mailboxes(base_io, shpnt); |
shpnt | 1011 | drivers/scsi/aha1542.c | aha_host[irq_level - 9] = shpnt; |
shpnt | 1012 | drivers/scsi/aha1542.c | shpnt->io_port = base_io; |
shpnt | 1013 | drivers/scsi/aha1542.c | shpnt->n_io_port = 4; /* Number of bytes of I/O space used */ |
shpnt | 1014 | drivers/scsi/aha1542.c | shpnt->dma_channel = dma_chan; |
shpnt | 1015 | drivers/scsi/aha1542.c | shpnt->irq = irq_level; |
shpnt | 1016 | drivers/scsi/aha1542.c | HOSTDATA(shpnt)->bios_translation = trans; |
shpnt | 1019 | drivers/scsi/aha1542.c | HOSTDATA(shpnt)->aha1542_last_mbi_used = (2*AHA1542_MAILBOXES - 1); |
shpnt | 1020 | drivers/scsi/aha1542.c | HOSTDATA(shpnt)->aha1542_last_mbo_used = (AHA1542_MAILBOXES - 1); |
shpnt | 1021 | drivers/scsi/aha1542.c | memset(HOSTDATA(shpnt)->SCint, 0, sizeof(HOSTDATA(shpnt)->SCint)); |
shpnt | 1060 | drivers/scsi/aha1542.c | scsi_unregister(shpnt); |
shpnt | 182 | drivers/scsi/buslogic.c | static int setup_mailboxes(unsigned int base, struct Scsi_Host *shpnt); |
shpnt | 183 | drivers/scsi/buslogic.c | static int restart(struct Scsi_Host *shpnt); |
shpnt | 423 | drivers/scsi/buslogic.c | const char *buslogic_info(struct Scsi_Host *shpnt) |
shpnt | 434 | drivers/scsi/buslogic.c | struct Scsi_Host *shpnt; |
shpnt | 442 | drivers/scsi/buslogic.c | shpnt = host[irq - 9]; |
shpnt | 443 | drivers/scsi/buslogic.c | if (!shpnt) |
shpnt | 446 | drivers/scsi/buslogic.c | mb = HOSTDATA(shpnt)->mb; |
shpnt | 447 | drivers/scsi/buslogic.c | ccb = HOSTDATA(shpnt)->ccbs; |
shpnt | 448 | drivers/scsi/buslogic.c | base = shpnt->io_port; |
shpnt | 495 | drivers/scsi/buslogic.c | mbi = HOSTDATA(shpnt)->last_mbi_used + 1; |
shpnt | 511 | drivers/scsi/buslogic.c | } while (mbi != HOSTDATA(shpnt)->last_mbi_used); |
shpnt | 517 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->last_mbi_used = mbi; |
shpnt | 529 | drivers/scsi/buslogic.c | restart(shpnt); |
shpnt | 547 | drivers/scsi/buslogic.c | sctmp = HOSTDATA(shpnt)->sc[mbo]; |
shpnt | 587 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->sc[mbo] = NULL; /* This effectively frees up |
shpnt | 610 | drivers/scsi/buslogic.c | struct Scsi_Host *shpnt = scpnt->host; |
shpnt | 644 | drivers/scsi/buslogic.c | buslogic_stat(shpnt->io_port); |
shpnt | 654 | drivers/scsi/buslogic.c | mb = HOSTDATA(shpnt)->mb; |
shpnt | 655 | drivers/scsi/buslogic.c | ccb = HOSTDATA(shpnt)->ccbs; |
shpnt | 663 | drivers/scsi/buslogic.c | mbo = HOSTDATA(shpnt)->last_mbo_used + 1; |
shpnt | 669 | drivers/scsi/buslogic.c | && HOSTDATA(shpnt)->sc[mbo] == NULL) |
shpnt | 674 | drivers/scsi/buslogic.c | } while (mbo != HOSTDATA(shpnt)->last_mbo_used); |
shpnt | 676 | drivers/scsi/buslogic.c | if (mb[mbo].status != MBX_NOT_IN_USE || HOSTDATA(shpnt)->sc[mbo]) { |
shpnt | 684 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->sc[mbo] = scpnt; /* This will effectively |
shpnt | 688 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->last_mbo_used = mbo; |
shpnt | 727 | drivers/scsi/buslogic.c | if (scpnt->use_sg > shpnt->sg_tablesize) { |
shpnt | 729 | drivers/scsi/buslogic.c | scpnt->use_sg, shpnt->sg_tablesize); |
shpnt | 733 | drivers/scsi/buslogic.c | CHECK_DMA_ADDR(shpnt->unchecked_isa_dma, sgpnt[i].address, |
shpnt | 754 | drivers/scsi/buslogic.c | CHECK_DMA_ADDR(shpnt->unchecked_isa_dma, buff, goto baddma); |
shpnt | 780 | drivers/scsi/buslogic.c | buslogic_stat(shpnt->io_port); |
shpnt | 785 | drivers/scsi/buslogic.c | buslogic_out(shpnt->io_port, buscmd, sizeof buscmd); |
shpnt | 787 | drivers/scsi/buslogic.c | buslogic_stat(shpnt->io_port); |
shpnt | 827 | drivers/scsi/buslogic.c | static int setup_mailboxes(unsigned int base, struct Scsi_Host *shpnt) |
shpnt | 831 | drivers/scsi/buslogic.c | struct mailbox *mb = HOSTDATA(shpnt)->mb; |
shpnt | 832 | drivers/scsi/buslogic.c | struct ccb *ccb = HOSTDATA(shpnt)->ccbs; |
shpnt | 1145 | drivers/scsi/buslogic.c | struct Scsi_Host *shpnt; |
shpnt | 1157 | drivers/scsi/buslogic.c | shpnt = scsi_register(tpnt, sizeof (struct hostdata)); |
shpnt | 1161 | drivers/scsi/buslogic.c | model = HOSTDATA(shpnt)->model; |
shpnt | 1162 | drivers/scsi/buslogic.c | firmware_rev = HOSTDATA(shpnt)->firmware_rev; |
shpnt | 1192 | drivers/scsi/buslogic.c | shpnt->forbidden_addr = (unsigned long)bios; |
shpnt | 1193 | drivers/scsi/buslogic.c | shpnt->forbidden_size = 16 * 1024; |
shpnt | 1201 | drivers/scsi/buslogic.c | CHECK_DMA_ADDR(unchecked_isa_dma, shpnt, goto unregister); |
shpnt | 1203 | drivers/scsi/buslogic.c | if (setup_mailboxes(base, shpnt)) |
shpnt | 1281 | drivers/scsi/buslogic.c | host[irq - 9] = shpnt; |
shpnt | 1282 | drivers/scsi/buslogic.c | shpnt->this_id = id; |
shpnt | 1283 | drivers/scsi/buslogic.c | shpnt->unchecked_isa_dma = unchecked_isa_dma; |
shpnt | 1286 | drivers/scsi/buslogic.c | shpnt->cmd_per_lun = (unchecked_isa_dma ? 1 : BUSLOGIC_CMDLUN); |
shpnt | 1287 | drivers/scsi/buslogic.c | shpnt->sg_tablesize = max_sg; |
shpnt | 1288 | drivers/scsi/buslogic.c | if (shpnt->sg_tablesize > BUSLOGIC_MAX_SG) |
shpnt | 1289 | drivers/scsi/buslogic.c | shpnt->sg_tablesize = BUSLOGIC_MAX_SG; |
shpnt | 1291 | drivers/scsi/buslogic.c | shpnt->base = (unsigned char *)bios; |
shpnt | 1292 | drivers/scsi/buslogic.c | shpnt->io_port = base; |
shpnt | 1293 | drivers/scsi/buslogic.c | shpnt->n_io_port = 4; /* Number of bytes of I/O space used */ |
shpnt | 1294 | drivers/scsi/buslogic.c | shpnt->dma_channel = dma; |
shpnt | 1295 | drivers/scsi/buslogic.c | shpnt->irq = irq; |
shpnt | 1296 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->bios_translation = bios_translation; |
shpnt | 1299 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->last_mbi_used = 2 * BUSLOGIC_MAILBOXES - 1; |
shpnt | 1300 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->last_mbo_used = BUSLOGIC_MAILBOXES - 1; |
shpnt | 1301 | drivers/scsi/buslogic.c | memset(HOSTDATA(shpnt)->sc, 0, sizeof HOSTDATA(shpnt)->sc); |
shpnt | 1345 | drivers/scsi/buslogic.c | scsi_unregister(shpnt); |
shpnt | 1350 | drivers/scsi/buslogic.c | static int restart(struct Scsi_Host *shpnt) |
shpnt | 1359 | drivers/scsi/buslogic.c | if (HOSTDATA(shpnt)->sc[i] |
shpnt | 1360 | drivers/scsi/buslogic.c | && !HOSTDATA(shpnt)->sc[i]->device->soft_reset) { |
shpnt | 1362 | drivers/scsi/buslogic.c | HOSTDATA(shpnt)->mb[i].status |
shpnt | 1372 | drivers/scsi/buslogic.c | buslogic_out(shpnt->host->io_port, buscmd, sizeof buscmd); |
shpnt | 391 | drivers/scsi/fdomain.c | static void print_banner( struct Scsi_Host *shpnt ) |
shpnt | 393 | drivers/scsi/fdomain.c | if (!shpnt) return; /* This won't ever happen */ |
shpnt | 395 | drivers/scsi/fdomain.c | printk( "scsi%d <fdomain>: BIOS version ", shpnt->host_no ); |
shpnt | 404 | drivers/scsi/fdomain.c | (unsigned)bios_base, shpnt->this_id ); |
shpnt | 407 | drivers/scsi/fdomain.c | shpnt->host_no, |
shpnt | 536 | drivers/scsi/fdomain.c | struct Scsi_Host *shpnt; |
shpnt | 702 | drivers/scsi/fdomain.c | shpnt = scsi_register( tpnt, 0 ); |
shpnt | 703 | drivers/scsi/fdomain.c | print_banner( shpnt ); |
shpnt | 218 | drivers/scsi/hosts.c | struct Scsi_Host * shpnt; |
shpnt | 223 | drivers/scsi/hosts.c | shpnt = scsi_hostlist; |
shpnt | 224 | drivers/scsi/hosts.c | while(shpnt->next != sh) shpnt = shpnt->next; |
shpnt | 225 | drivers/scsi/hosts.c | shpnt->next = shpnt->next->next; |
shpnt | 242 | drivers/scsi/hosts.c | struct Scsi_Host * retval, *shpnt; |
shpnt | 279 | drivers/scsi/hosts.c | shpnt = scsi_hostlist; |
shpnt | 280 | drivers/scsi/hosts.c | while(shpnt->next) shpnt = shpnt->next; |
shpnt | 281 | drivers/scsi/hosts.c | shpnt->next = retval; |
shpnt | 301 | drivers/scsi/hosts.c | struct Scsi_Host * shpnt; |
shpnt | 334 | drivers/scsi/hosts.c | for(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next) |
shpnt | 336 | drivers/scsi/hosts.c | if(shpnt->hostt->info) |
shpnt | 337 | drivers/scsi/hosts.c | name = shpnt->hostt->info(shpnt); |
shpnt | 339 | drivers/scsi/hosts.c | name = shpnt->hostt->name; |
shpnt | 341 | drivers/scsi/hosts.c | shpnt->host_no, name); |
shpnt | 299 | drivers/scsi/hosts.h | void scan_scsis (struct Scsi_Host * shpnt); |
shpnt | 577 | drivers/scsi/in2000.c | struct Scsi_Host * shpnt; |
shpnt | 635 | drivers/scsi/in2000.c | shpnt = scsi_register(tpnt, 0); |
shpnt | 637 | drivers/scsi/in2000.c | shpnt->io_port = base; |
shpnt | 638 | drivers/scsi/in2000.c | shpnt->n_io_port = 12; |
shpnt | 639 | drivers/scsi/in2000.c | shpnt->irq = irq_level; |
shpnt | 214 | drivers/scsi/scsi.c | struct Scsi_Host * sh[128], * shpnt; |
shpnt | 238 | drivers/scsi/scsi.c | for(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next) { |
shpnt | 246 | drivers/scsi/scsi.c | if (shpnt->unchecked_isa_dma) shpnt->wish_block = 1; |
shpnt | 249 | drivers/scsi/scsi.c | if (shpnt->wish_block) sh[block_count++] = shpnt; |
shpnt | 303 | drivers/scsi/scsi.c | void scan_scsis (struct Scsi_Host * shpnt) |
shpnt | 323 | drivers/scsi/scsi.c | scsi_result = ((current == task[0] || !shpnt->unchecked_isa_dma) |
shpnt | 327 | drivers/scsi/scsi.c | shpnt->host_queue = SCpnt; /* We need this so that commands can time out */ |
shpnt | 330 | drivers/scsi/scsi.c | if (shpnt->this_id != dev) |
shpnt | 338 | drivers/scsi/scsi.c | SDpnt->host = shpnt; |
shpnt | 619 | drivers/scsi/scsi.c | shpnt->host_queue = NULL; /* No longer needed here */ |
shpnt | 1978 | drivers/scsi/scsi.c | struct Scsi_Host * shpnt; |
shpnt | 2000 | drivers/scsi/scsi.c | for (shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next) |
shpnt | 2001 | drivers/scsi/scsi.c | scan_scsis(shpnt); /* scan for scsi devices */ |
shpnt | 2160 | drivers/scsi/scsi.c | struct Scsi_Host * shpnt; |
shpnt | 2187 | drivers/scsi/scsi.c | for(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next) |
shpnt | 2188 | drivers/scsi/scsi.c | if(shpnt->hostt == tpnt) |
shpnt | 2191 | drivers/scsi/scsi.c | name = tpnt->info(shpnt); |
shpnt | 2195 | drivers/scsi/scsi.c | shpnt->host_no, name); |
shpnt | 2206 | drivers/scsi/scsi.c | for(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next) |
shpnt | 2207 | drivers/scsi/scsi.c | if(shpnt->hostt == tpnt) scan_scsis(shpnt); |
shpnt | 2331 | drivers/scsi/scsi.c | struct Scsi_Host * shpnt, *sh1; |
shpnt | 2341 | drivers/scsi/scsi.c | for(shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next) |
shpnt | 2343 | drivers/scsi/scsi.c | if (shpnt->hostt != tpnt) continue; |
shpnt | 2344 | drivers/scsi/scsi.c | for(SCpnt = shpnt->host_queue; SCpnt; SCpnt = SCpnt->next) |
shpnt | 2350 | drivers/scsi/scsi.c | for(SCpnt = shpnt->host_queue; SCpnt; SCpnt = SCpnt->next) |
shpnt | 2403 | drivers/scsi/scsi.c | shpnt = scsi_hostlist; |
shpnt | 2404 | drivers/scsi/scsi.c | while(shpnt) { |
shpnt | 2405 | drivers/scsi/scsi.c | sh1 = shpnt->next; |
shpnt | 2406 | drivers/scsi/scsi.c | if(shpnt->hostt == tpnt) { |
shpnt | 2407 | drivers/scsi/scsi.c | if(shpnt->loaded_as_module) { |
shpnt | 2410 | drivers/scsi/scsi.c | (*tpnt->release)(shpnt); |
shpnt | 2414 | drivers/scsi/scsi.c | if (shpnt->irq) free_irq(shpnt->irq); |
shpnt | 2415 | drivers/scsi/scsi.c | if (shpnt->dma_channel != 0xff) free_dma(shpnt->dma_channel); |
shpnt | 2416 | drivers/scsi/scsi.c | if (shpnt->io_port && shpnt->n_io_port) |
shpnt | 2417 | drivers/scsi/scsi.c | release_region(shpnt->io_port, shpnt->n_io_port); |
shpnt | 2419 | drivers/scsi/scsi.c | if(pcount == next_scsi_host) scsi_unregister(shpnt); |
shpnt | 2423 | drivers/scsi/scsi.c | shpnt = sh1; |
shpnt | 2496 | drivers/scsi/scsi.c | struct Scsi_Host * shpnt; |
shpnt | 2500 | drivers/scsi/scsi.c | for(shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next) |
shpnt | 2501 | drivers/scsi/scsi.c | for(SCpnt=shpnt->host_queue; SCpnt; SCpnt = SCpnt->next) |
shpnt | 390 | drivers/scsi/seagate.c | const char *seagate_st0x_info(struct Scsi_Host * shpnt) { |
shpnt | 521 | drivers/scsi/ultrastor.c | struct Scsi_Host * shpnt = NULL; |
shpnt | 599 | drivers/scsi/ultrastor.c | shpnt = scsi_register(tpnt, 0); |
shpnt | 600 | drivers/scsi/ultrastor.c | shpnt->irq = config.interrupt; |
shpnt | 601 | drivers/scsi/ultrastor.c | shpnt->dma_channel = config.dma_channel; |
shpnt | 602 | drivers/scsi/ultrastor.c | shpnt->io_port = config.port_address; |
shpnt | 627 | drivers/scsi/ultrastor.c | const char *ultrastor_info(struct Scsi_Host * shpnt) |
shpnt | 17 | drivers/scsi/ultrastor.h | const char *ultrastor_info(struct Scsi_Host * shpnt); |