taglinefilesource code
shpnt114drivers/scsi/aha1542.cstatic void setup_mailboxes(int base_io, struct Scsi_Host * shpnt);
shpnt283drivers/scsi/aha1542.cstatic int aha1542_test_port(int bse, struct Scsi_Host * shpnt)
shpnt689drivers/scsi/aha1542.cstatic void setup_mailboxes(int bse, struct Scsi_Host * shpnt)
shpnt697drivers/scsi/aha1542.cmb = HOSTDATA(shpnt)->mb;
shpnt698drivers/scsi/aha1542.cccb = HOSTDATA(shpnt)->ccb;
shpnt923drivers/scsi/aha1542.cstruct Scsi_Host * shpnt = NULL;
shpnt931drivers/scsi/aha1542.cshpnt = scsi_register(tpnt,
shpnt936drivers/scsi/aha1542.cif ((unsigned int) shpnt > 0xffffff) {
shpnt941drivers/scsi/aha1542.cif(!aha1542_test_port(bases[indx], shpnt)) goto unregister;
shpnt987drivers/scsi/aha1542.csetup_mailboxes(base_io, shpnt);
shpnt1011drivers/scsi/aha1542.caha_host[irq_level - 9] = shpnt;
shpnt1012drivers/scsi/aha1542.cshpnt->io_port = base_io;
shpnt1013drivers/scsi/aha1542.cshpnt->n_io_port = 4;  /* Number of bytes of I/O space used */
shpnt1014drivers/scsi/aha1542.cshpnt->dma_channel = dma_chan;
shpnt1015drivers/scsi/aha1542.cshpnt->irq = irq_level;
shpnt1016drivers/scsi/aha1542.cHOSTDATA(shpnt)->bios_translation  = trans;
shpnt1019drivers/scsi/aha1542.cHOSTDATA(shpnt)->aha1542_last_mbi_used  = (2*AHA1542_MAILBOXES - 1);
shpnt1020drivers/scsi/aha1542.cHOSTDATA(shpnt)->aha1542_last_mbo_used  = (AHA1542_MAILBOXES - 1);
shpnt1021drivers/scsi/aha1542.cmemset(HOSTDATA(shpnt)->SCint, 0, sizeof(HOSTDATA(shpnt)->SCint));
shpnt1060drivers/scsi/aha1542.cscsi_unregister(shpnt);
shpnt182drivers/scsi/buslogic.cstatic int setup_mailboxes(unsigned int base, struct Scsi_Host *shpnt);
shpnt183drivers/scsi/buslogic.cstatic int restart(struct Scsi_Host *shpnt);
shpnt423drivers/scsi/buslogic.cconst char *buslogic_info(struct Scsi_Host *shpnt)
shpnt434drivers/scsi/buslogic.cstruct Scsi_Host *shpnt;
shpnt442drivers/scsi/buslogic.cshpnt = host[irq - 9];
shpnt443drivers/scsi/buslogic.cif (!shpnt)
shpnt446drivers/scsi/buslogic.cmb = HOSTDATA(shpnt)->mb;
shpnt447drivers/scsi/buslogic.cccb = HOSTDATA(shpnt)->ccbs;
shpnt448drivers/scsi/buslogic.cbase = shpnt->io_port;
shpnt495drivers/scsi/buslogic.cmbi = HOSTDATA(shpnt)->last_mbi_used + 1;
shpnt511drivers/scsi/buslogic.c} while (mbi != HOSTDATA(shpnt)->last_mbi_used);
shpnt517drivers/scsi/buslogic.cHOSTDATA(shpnt)->last_mbi_used = mbi;
shpnt529drivers/scsi/buslogic.crestart(shpnt);
shpnt547drivers/scsi/buslogic.csctmp = HOSTDATA(shpnt)->sc[mbo];
shpnt587drivers/scsi/buslogic.cHOSTDATA(shpnt)->sc[mbo] = NULL;  /* This effectively frees up
shpnt610drivers/scsi/buslogic.cstruct Scsi_Host *shpnt = scpnt->host;
shpnt644drivers/scsi/buslogic.cbuslogic_stat(shpnt->io_port);
shpnt654drivers/scsi/buslogic.cmb = HOSTDATA(shpnt)->mb;
shpnt655drivers/scsi/buslogic.cccb = HOSTDATA(shpnt)->ccbs;
shpnt663drivers/scsi/buslogic.cmbo = HOSTDATA(shpnt)->last_mbo_used + 1;
shpnt669drivers/scsi/buslogic.c&& HOSTDATA(shpnt)->sc[mbo] == NULL)
shpnt674drivers/scsi/buslogic.c} while (mbo != HOSTDATA(shpnt)->last_mbo_used);
shpnt676drivers/scsi/buslogic.cif (mb[mbo].status != MBX_NOT_IN_USE || HOSTDATA(shpnt)->sc[mbo]) {
shpnt684drivers/scsi/buslogic.cHOSTDATA(shpnt)->sc[mbo] = scpnt;    /* This will effectively
shpnt688drivers/scsi/buslogic.cHOSTDATA(shpnt)->last_mbo_used = mbo;
shpnt727drivers/scsi/buslogic.cif (scpnt->use_sg > shpnt->sg_tablesize) {
shpnt729drivers/scsi/buslogic.cscpnt->use_sg, shpnt->sg_tablesize);
shpnt733drivers/scsi/buslogic.cCHECK_DMA_ADDR(shpnt->unchecked_isa_dma, sgpnt[i].address,
shpnt754drivers/scsi/buslogic.cCHECK_DMA_ADDR(shpnt->unchecked_isa_dma, buff, goto baddma);
shpnt780drivers/scsi/buslogic.cbuslogic_stat(shpnt->io_port);
shpnt785drivers/scsi/buslogic.cbuslogic_out(shpnt->io_port, buscmd, sizeof buscmd);
shpnt787drivers/scsi/buslogic.cbuslogic_stat(shpnt->io_port);
shpnt827drivers/scsi/buslogic.cstatic int setup_mailboxes(unsigned int base, struct Scsi_Host *shpnt)
shpnt831drivers/scsi/buslogic.cstruct mailbox *mb = HOSTDATA(shpnt)->mb;
shpnt832drivers/scsi/buslogic.cstruct ccb *ccb = HOSTDATA(shpnt)->ccbs;
shpnt1145drivers/scsi/buslogic.cstruct Scsi_Host *shpnt;
shpnt1157drivers/scsi/buslogic.cshpnt = scsi_register(tpnt, sizeof (struct hostdata));
shpnt1161drivers/scsi/buslogic.cmodel = HOSTDATA(shpnt)->model;
shpnt1162drivers/scsi/buslogic.cfirmware_rev = HOSTDATA(shpnt)->firmware_rev;
shpnt1192drivers/scsi/buslogic.cshpnt->forbidden_addr = (unsigned long)bios;
shpnt1193drivers/scsi/buslogic.cshpnt->forbidden_size = 16 * 1024;
shpnt1201drivers/scsi/buslogic.cCHECK_DMA_ADDR(unchecked_isa_dma, shpnt, goto unregister);
shpnt1203drivers/scsi/buslogic.cif (setup_mailboxes(base, shpnt))
shpnt1281drivers/scsi/buslogic.chost[irq - 9] = shpnt;
shpnt1282drivers/scsi/buslogic.cshpnt->this_id = id;
shpnt1283drivers/scsi/buslogic.cshpnt->unchecked_isa_dma = unchecked_isa_dma;
shpnt1286drivers/scsi/buslogic.cshpnt->cmd_per_lun = (unchecked_isa_dma ? 1 : BUSLOGIC_CMDLUN);
shpnt1287drivers/scsi/buslogic.cshpnt->sg_tablesize = max_sg;
shpnt1288drivers/scsi/buslogic.cif (shpnt->sg_tablesize > BUSLOGIC_MAX_SG)
shpnt1289drivers/scsi/buslogic.cshpnt->sg_tablesize = BUSLOGIC_MAX_SG;
shpnt1291drivers/scsi/buslogic.cshpnt->base = (unsigned char *)bios;
shpnt1292drivers/scsi/buslogic.cshpnt->io_port = base;
shpnt1293drivers/scsi/buslogic.cshpnt->n_io_port = 4;  /* Number of bytes of I/O space used */
shpnt1294drivers/scsi/buslogic.cshpnt->dma_channel = dma;
shpnt1295drivers/scsi/buslogic.cshpnt->irq = irq;
shpnt1296drivers/scsi/buslogic.cHOSTDATA(shpnt)->bios_translation = bios_translation;
shpnt1299drivers/scsi/buslogic.cHOSTDATA(shpnt)->last_mbi_used = 2 * BUSLOGIC_MAILBOXES - 1;
shpnt1300drivers/scsi/buslogic.cHOSTDATA(shpnt)->last_mbo_used = BUSLOGIC_MAILBOXES - 1;
shpnt1301drivers/scsi/buslogic.cmemset(HOSTDATA(shpnt)->sc, 0, sizeof HOSTDATA(shpnt)->sc);
shpnt1345drivers/scsi/buslogic.cscsi_unregister(shpnt);
shpnt1350drivers/scsi/buslogic.cstatic int restart(struct Scsi_Host *shpnt)
shpnt1359drivers/scsi/buslogic.cif (HOSTDATA(shpnt)->sc[i]
shpnt1360drivers/scsi/buslogic.c&& !HOSTDATA(shpnt)->sc[i]->device->soft_reset) {
shpnt1362drivers/scsi/buslogic.cHOSTDATA(shpnt)->mb[i].status
shpnt1372drivers/scsi/buslogic.cbuslogic_out(shpnt->host->io_port, buscmd, sizeof buscmd);
shpnt391drivers/scsi/fdomain.cstatic void print_banner( struct Scsi_Host *shpnt )
shpnt393drivers/scsi/fdomain.cif (!shpnt) return;    /* This won't ever happen */
shpnt395drivers/scsi/fdomain.cprintk( "scsi%d <fdomain>: BIOS version ", shpnt->host_no );
shpnt404drivers/scsi/fdomain.c(unsigned)bios_base, shpnt->this_id );
shpnt407drivers/scsi/fdomain.cshpnt->host_no,
shpnt536drivers/scsi/fdomain.cstruct Scsi_Host *shpnt;
shpnt702drivers/scsi/fdomain.cshpnt = scsi_register( tpnt, 0 );
shpnt703drivers/scsi/fdomain.cprint_banner( shpnt );
shpnt218drivers/scsi/hosts.cstruct Scsi_Host * shpnt;
shpnt223drivers/scsi/hosts.cshpnt = scsi_hostlist;
shpnt224drivers/scsi/hosts.cwhile(shpnt->next != sh) shpnt = shpnt->next;
shpnt225drivers/scsi/hosts.cshpnt->next = shpnt->next->next;
shpnt242drivers/scsi/hosts.cstruct Scsi_Host * retval, *shpnt;
shpnt279drivers/scsi/hosts.cshpnt = scsi_hostlist;
shpnt280drivers/scsi/hosts.cwhile(shpnt->next) shpnt = shpnt->next;
shpnt281drivers/scsi/hosts.cshpnt->next = retval;
shpnt301drivers/scsi/hosts.cstruct Scsi_Host * shpnt;
shpnt334drivers/scsi/hosts.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt336drivers/scsi/hosts.cif(shpnt->hostt->info)
shpnt337drivers/scsi/hosts.cname = shpnt->hostt->info(shpnt);
shpnt339drivers/scsi/hosts.cname = shpnt->hostt->name;
shpnt341drivers/scsi/hosts.cshpnt->host_no, name);
shpnt299drivers/scsi/hosts.hvoid scan_scsis (struct Scsi_Host * shpnt);
shpnt577drivers/scsi/in2000.cstruct Scsi_Host * shpnt;
shpnt635drivers/scsi/in2000.cshpnt = scsi_register(tpnt, 0);
shpnt637drivers/scsi/in2000.cshpnt->io_port = base;
shpnt638drivers/scsi/in2000.cshpnt->n_io_port = 12;
shpnt639drivers/scsi/in2000.cshpnt->irq = irq_level;
shpnt214drivers/scsi/scsi.cstruct Scsi_Host * sh[128], * shpnt;
shpnt238drivers/scsi/scsi.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next) {
shpnt246drivers/scsi/scsi.cif (shpnt->unchecked_isa_dma) shpnt->wish_block = 1;
shpnt249drivers/scsi/scsi.cif (shpnt->wish_block) sh[block_count++] = shpnt;
shpnt303drivers/scsi/scsi.cvoid scan_scsis (struct Scsi_Host * shpnt)
shpnt323drivers/scsi/scsi.cscsi_result = ((current == task[0]  || !shpnt->unchecked_isa_dma)
shpnt327drivers/scsi/scsi.cshpnt->host_queue = SCpnt;  /* We need this so that commands can time out */
shpnt330drivers/scsi/scsi.cif (shpnt->this_id != dev)
shpnt338drivers/scsi/scsi.cSDpnt->host = shpnt;
shpnt619drivers/scsi/scsi.cshpnt->host_queue = NULL;  /* No longer needed here */
shpnt1978drivers/scsi/scsi.cstruct Scsi_Host * shpnt;
shpnt2000drivers/scsi/scsi.cfor (shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt2001drivers/scsi/scsi.cscan_scsis(shpnt);           /* scan for scsi devices */
shpnt2160drivers/scsi/scsi.cstruct Scsi_Host * shpnt;
shpnt2187drivers/scsi/scsi.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt2188drivers/scsi/scsi.cif(shpnt->hostt == tpnt)
shpnt2191drivers/scsi/scsi.cname = tpnt->info(shpnt);
shpnt2195drivers/scsi/scsi.cshpnt->host_no, name);
shpnt2206drivers/scsi/scsi.cfor(shpnt=scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt2207drivers/scsi/scsi.cif(shpnt->hostt == tpnt) scan_scsis(shpnt);
shpnt2331drivers/scsi/scsi.cstruct Scsi_Host * shpnt, *sh1;
shpnt2341drivers/scsi/scsi.cfor(shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt2343drivers/scsi/scsi.cif (shpnt->hostt != tpnt) continue;
shpnt2344drivers/scsi/scsi.cfor(SCpnt = shpnt->host_queue; SCpnt; SCpnt = SCpnt->next)
shpnt2350drivers/scsi/scsi.cfor(SCpnt = shpnt->host_queue; SCpnt; SCpnt = SCpnt->next)
shpnt2403drivers/scsi/scsi.cshpnt = scsi_hostlist;
shpnt2404drivers/scsi/scsi.cwhile(shpnt) {
shpnt2405drivers/scsi/scsi.csh1 = shpnt->next;
shpnt2406drivers/scsi/scsi.cif(shpnt->hostt == tpnt) {
shpnt2407drivers/scsi/scsi.cif(shpnt->loaded_as_module) {
shpnt2410drivers/scsi/scsi.c(*tpnt->release)(shpnt);
shpnt2414drivers/scsi/scsi.cif (shpnt->irq) free_irq(shpnt->irq);
shpnt2415drivers/scsi/scsi.cif (shpnt->dma_channel != 0xff) free_dma(shpnt->dma_channel);
shpnt2416drivers/scsi/scsi.cif (shpnt->io_port && shpnt->n_io_port)
shpnt2417drivers/scsi/scsi.crelease_region(shpnt->io_port, shpnt->n_io_port);
shpnt2419drivers/scsi/scsi.cif(pcount == next_scsi_host) scsi_unregister(shpnt);
shpnt2423drivers/scsi/scsi.cshpnt = sh1;
shpnt2496drivers/scsi/scsi.cstruct Scsi_Host * shpnt;
shpnt2500drivers/scsi/scsi.cfor(shpnt = scsi_hostlist; shpnt; shpnt = shpnt->next)
shpnt2501drivers/scsi/scsi.cfor(SCpnt=shpnt->host_queue; SCpnt; SCpnt = SCpnt->next)
shpnt390drivers/scsi/seagate.cconst char *seagate_st0x_info(struct Scsi_Host * shpnt) {
shpnt521drivers/scsi/ultrastor.cstruct Scsi_Host * shpnt = NULL;
shpnt599drivers/scsi/ultrastor.cshpnt = scsi_register(tpnt, 0);
shpnt600drivers/scsi/ultrastor.cshpnt->irq = config.interrupt;
shpnt601drivers/scsi/ultrastor.cshpnt->dma_channel = config.dma_channel;
shpnt602drivers/scsi/ultrastor.cshpnt->io_port = config.port_address;
shpnt627drivers/scsi/ultrastor.cconst char *ultrastor_info(struct Scsi_Host * shpnt)
shpnt17drivers/scsi/ultrastor.hconst char *ultrastor_info(struct Scsi_Host * shpnt);