Lines Matching refs:shpnt
113 static int aha1740_show_info(struct seq_file *m, struct Scsi_Host *shpnt) in aha1740_show_info() argument
115 struct aha1740_hostdata *host = HOSTDATA(shpnt); in aha1740_show_info()
118 shpnt->io_port, shpnt->irq, host->edev->slot, in aha1740_show_info()
563 struct Scsi_Host *shpnt; in aha1740_probe() local
585 shpnt = scsi_host_alloc(&aha1740_template, in aha1740_probe()
587 if(shpnt == NULL) in aha1740_probe()
590 shpnt->base = 0; in aha1740_probe()
591 shpnt->io_port = slotbase; in aha1740_probe()
592 shpnt->n_io_port = SLOTSIZE; in aha1740_probe()
593 shpnt->irq = irq_level; in aha1740_probe()
594 shpnt->dma_channel = 0xff; in aha1740_probe()
595 host = HOSTDATA(shpnt); in aha1740_probe()
608 "aha1740",shpnt)) { in aha1740_probe()
614 eisa_set_drvdata (edev, shpnt); in aha1740_probe()
616 rc = scsi_add_host (shpnt, dev); in aha1740_probe()
620 scsi_scan_host (shpnt); in aha1740_probe()
624 free_irq(irq_level, shpnt); in aha1740_probe()
629 scsi_host_put (shpnt); in aha1740_probe()
638 struct Scsi_Host *shpnt = dev_get_drvdata(dev); in aha1740_remove() local
639 struct aha1740_hostdata *host = HOSTDATA (shpnt); in aha1740_remove()
641 scsi_remove_host(shpnt); in aha1740_remove()
643 free_irq (shpnt->irq, shpnt); in aha1740_remove()
646 release_region (shpnt->io_port, SLOTSIZE); in aha1740_remove()
648 scsi_host_put (shpnt); in aha1740_remove()