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()
600 "aha1740",shpnt)) { in aha1740_probe()
606 eisa_set_drvdata (edev, shpnt); in aha1740_probe()
608 rc = scsi_add_host (shpnt, dev); in aha1740_probe()
612 scsi_scan_host (shpnt); in aha1740_probe()
616 free_irq(irq_level, shpnt); in aha1740_probe()
621 scsi_host_put (shpnt); in aha1740_probe()
630 struct Scsi_Host *shpnt = dev_get_drvdata(dev); in aha1740_remove() local
631 struct aha1740_hostdata *host = HOSTDATA (shpnt); in aha1740_remove()
633 scsi_remove_host(shpnt); in aha1740_remove()
635 free_irq (shpnt->irq, shpnt); in aha1740_remove()
638 release_region (shpnt->io_port, SLOTSIZE); in aha1740_remove()
640 scsi_host_put (shpnt); in aha1740_remove()