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()
556 struct Scsi_Host *shpnt; in aha1740_probe() local
578 shpnt = scsi_host_alloc(&aha1740_template, in aha1740_probe()
580 if(shpnt == NULL) in aha1740_probe()
583 shpnt->base = 0; in aha1740_probe()
584 shpnt->io_port = slotbase; in aha1740_probe()
585 shpnt->n_io_port = SLOTSIZE; in aha1740_probe()
586 shpnt->irq = irq_level; in aha1740_probe()
587 shpnt->dma_channel = 0xff; in aha1740_probe()
588 host = HOSTDATA(shpnt); in aha1740_probe()
596 scsi_unregister (shpnt); in aha1740_probe()
602 "aha1740",shpnt)) { in aha1740_probe()
608 eisa_set_drvdata (edev, shpnt); in aha1740_probe()
610 rc = scsi_add_host (shpnt, dev); in aha1740_probe()
614 scsi_scan_host (shpnt); in aha1740_probe()
618 free_irq(irq_level, shpnt); in aha1740_probe()
623 scsi_host_put (shpnt); in aha1740_probe()
632 struct Scsi_Host *shpnt = dev_get_drvdata(dev); in aha1740_remove() local
633 struct aha1740_hostdata *host = HOSTDATA (shpnt); in aha1740_remove()
635 scsi_remove_host(shpnt); in aha1740_remove()
637 free_irq (shpnt->irq, shpnt); in aha1740_remove()
640 release_region (shpnt->io_port, SLOTSIZE); in aha1740_remove()
642 scsi_host_put (shpnt); in aha1740_remove()