Lines Matching refs:shp

3874 static const char *gdth_info(struct Scsi_Host *shp)  in gdth_info()  argument
3876 gdth_ha_str *ha = shost_priv(shp); in gdth_info()
4690 struct Scsi_Host *shp; in gdth_isa_probe_one() local
4698 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_isa_probe_one()
4699 if (!shp) in gdth_isa_probe_one()
4701 ha = shost_priv(shp); in gdth_isa_probe_one()
4725 shp->unchecked_isa_dma = 1; in gdth_isa_probe_one()
4726 shp->irq = ha->irq; in gdth_isa_probe_one()
4727 shp->dma_channel = ha->drq; in gdth_isa_probe_one()
4730 ha->shost = shp; in gdth_isa_probe_one()
4779 shp->max_cmd_len = 16; in gdth_isa_probe_one()
4781 shp->max_id = ha->tid_cnt; in gdth_isa_probe_one()
4782 shp->max_lun = MAXLUN; in gdth_isa_probe_one()
4783 shp->max_channel = ha->bus_cnt; in gdth_isa_probe_one()
4788 error = scsi_add_host(shp, NULL); in gdth_isa_probe_one()
4794 scsi_scan_host(shp); in gdth_isa_probe_one()
4814 scsi_host_put(shp); in gdth_isa_probe_one()
4822 struct Scsi_Host *shp; in gdth_eisa_probe_one() local
4830 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_eisa_probe_one()
4831 if (!shp) in gdth_eisa_probe_one()
4833 ha = shost_priv(shp); in gdth_eisa_probe_one()
4849 shp->unchecked_isa_dma = 0; in gdth_eisa_probe_one()
4850 shp->irq = ha->irq; in gdth_eisa_probe_one()
4851 shp->dma_channel = 0xff; in gdth_eisa_probe_one()
4854 ha->shost = shp; in gdth_eisa_probe_one()
4910 shp->max_cmd_len = 16; in gdth_eisa_probe_one()
4912 shp->max_id = ha->tid_cnt; in gdth_eisa_probe_one()
4913 shp->max_lun = MAXLUN; in gdth_eisa_probe_one()
4914 shp->max_channel = ha->bus_cnt; in gdth_eisa_probe_one()
4919 error = scsi_add_host(shp, NULL); in gdth_eisa_probe_one()
4925 scsi_scan_host(shp); in gdth_eisa_probe_one()
4947 scsi_host_put(shp); in gdth_eisa_probe_one()
4955 struct Scsi_Host *shp; in gdth_pci_probe_one() local
4963 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_pci_probe_one()
4964 if (!shp) in gdth_pci_probe_one()
4966 ha = shost_priv(shp); in gdth_pci_probe_one()
4985 shp->unchecked_isa_dma = 0; in gdth_pci_probe_one()
4986 shp->irq = ha->irq; in gdth_pci_probe_one()
4987 shp->dma_channel = 0xff; in gdth_pci_probe_one()
4990 ha->shost = shp; in gdth_pci_probe_one()
5046 shp->max_cmd_len = 16; in gdth_pci_probe_one()
5056 shp->max_id = ha->tid_cnt; in gdth_pci_probe_one()
5057 shp->max_lun = MAXLUN; in gdth_pci_probe_one()
5058 shp->max_channel = ha->bus_cnt; in gdth_pci_probe_one()
5063 error = scsi_add_host(shp, &pdev->dev); in gdth_pci_probe_one()
5071 scsi_scan_host(shp); in gdth_pci_probe_one()
5092 scsi_host_put(shp); in gdth_pci_probe_one()
5099 struct Scsi_Host *shp = ha->shost; in gdth_remove_one() local
5103 scsi_remove_host(shp); in gdth_remove_one()
5112 if (shp->irq) in gdth_remove_one()
5113 free_irq(shp->irq,ha); in gdth_remove_one()
5116 if (shp->dma_channel != 0xff) in gdth_remove_one()
5117 free_dma(shp->dma_channel); in gdth_remove_one()
5134 scsi_host_put(shp); in gdth_remove_one()