Lines Matching refs:shp
3189 static const char *gdth_info(struct Scsi_Host *shp) in gdth_info() argument
3191 gdth_ha_str *ha = shost_priv(shp); in gdth_info()
4015 struct Scsi_Host *shp; in gdth_pci_probe_one() local
4023 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_pci_probe_one()
4024 if (!shp) in gdth_pci_probe_one()
4026 ha = shost_priv(shp); in gdth_pci_probe_one()
4045 shp->unchecked_isa_dma = 0; in gdth_pci_probe_one()
4046 shp->irq = ha->irq; in gdth_pci_probe_one()
4047 shp->dma_channel = 0xff; in gdth_pci_probe_one()
4050 ha->shost = shp; in gdth_pci_probe_one()
4097 shp->max_cmd_len = 16; in gdth_pci_probe_one()
4107 shp->max_id = ha->tid_cnt; in gdth_pci_probe_one()
4108 shp->max_lun = MAXLUN; in gdth_pci_probe_one()
4109 shp->max_channel = ha->bus_cnt; in gdth_pci_probe_one()
4114 error = scsi_add_host(shp, &pdev->dev); in gdth_pci_probe_one()
4122 scsi_scan_host(shp); in gdth_pci_probe_one()
4138 scsi_host_put(shp); in gdth_pci_probe_one()
4144 struct Scsi_Host *shp = ha->shost; in gdth_remove_one() local
4148 scsi_remove_host(shp); in gdth_remove_one()
4157 if (shp->irq) in gdth_remove_one()
4158 free_irq(shp->irq,ha); in gdth_remove_one()
4170 scsi_host_put(shp); in gdth_remove_one()