Lines Matching defs:host
40 struct Scsi_Host *host;
53 dev_err(&pdev->dev, "Failed to allocate host data\n");
67 host = NCR_700_detect(&a4000t_scsi_driver_template, hostdata,
69 if (!host) {
71 "No host detected; board configuration problem?\n");
75 host->this_id = 7;
76 host->base = scsi_addr;
77 host->irq = IRQ_AMIGA_PORTS;
79 if (request_irq(host->irq, NCR_700_intr, IRQF_SHARED, "a4000t-scsi",
80 host)) {
85 platform_set_drvdata(pdev, host);
86 scsi_scan_host(host);
90 scsi_host_put(host);
100 struct Scsi_Host *host = platform_get_drvdata(pdev);
101 struct NCR_700_Host_Parameters *hostdata = shost_priv(host);
104 scsi_remove_host(host);
105 NCR_700_release(host);
107 free_irq(host->irq, host);