Lines Matching refs:shpnt
109 static int aha1740_show_info(struct seq_file *m, struct Scsi_Host *shpnt) in aha1740_show_info() argument
111 struct aha1740_hostdata *host = HOSTDATA(shpnt); in aha1740_show_info()
114 shpnt->io_port, shpnt->irq, host->edev->slot, in aha1740_show_info()
555 struct Scsi_Host *shpnt; in aha1740_probe() local
577 shpnt = scsi_host_alloc(&aha1740_template, in aha1740_probe()
579 if(shpnt == NULL) in aha1740_probe()
582 shpnt->base = 0; in aha1740_probe()
583 shpnt->io_port = slotbase; in aha1740_probe()
584 shpnt->n_io_port = SLOTSIZE; in aha1740_probe()
585 shpnt->irq = irq_level; in aha1740_probe()
586 shpnt->dma_channel = 0xff; in aha1740_probe()
587 host = HOSTDATA(shpnt); in aha1740_probe()
595 scsi_unregister (shpnt); in aha1740_probe()
601 "aha1740",shpnt)) { in aha1740_probe()
607 eisa_set_drvdata (edev, shpnt); in aha1740_probe()
609 rc = scsi_add_host (shpnt, dev); in aha1740_probe()
613 scsi_scan_host (shpnt); in aha1740_probe()
617 free_irq(irq_level, shpnt); in aha1740_probe()
622 scsi_host_put (shpnt); in aha1740_probe()
631 struct Scsi_Host *shpnt = dev_get_drvdata(dev); in aha1740_remove() local
632 struct aha1740_hostdata *host = HOSTDATA (shpnt); in aha1740_remove()
634 scsi_remove_host(shpnt); in aha1740_remove()
636 free_irq (shpnt->irq, shpnt); in aha1740_remove()
639 release_region (shpnt->io_port, SLOTSIZE); in aha1740_remove()
641 scsi_host_put (shpnt); in aha1740_remove()