• Home
  • Raw
  • Download

Lines Matching refs:sh

1116 	struct Scsi_Host *shost = ioc->sh;  in mpt_work_wrapper()
1147 scsi_scan_target(&ioc->sh->shost_gendev, 1, disk, 0, SCSI_SCAN_RESCAN); in mpt_work_wrapper()
1157 shost_printk(KERN_ERR, ioc->sh, MYIOC_s_FMT in mpt_dv_raid()
1173 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptspi_event_process()
1270 shost_for_each_device(sdev, ioc->sh) { in mptspi_dv_renegotiate_work()
1281 shost_for_each_device(sdev, ioc->sh) in mptspi_dv_renegotiate_work()
1315 ioc->sh) { in mptspi_ioc_reset()
1316 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptspi_ioc_reset()
1332 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptspi_resume()
1354 struct Scsi_Host *sh; in mptspi_probe() local
1406 sh = scsi_host_alloc(&mptspi_driver_template, sizeof(MPT_SCSI_HOST)); in mptspi_probe()
1408 if (!sh) { in mptspi_probe()
1419 sh->no_write_same = 1; in mptspi_probe()
1425 ioc->sh = sh; in mptspi_probe()
1427 sh->io_port = 0; in mptspi_probe()
1428 sh->n_io_port = 0; in mptspi_probe()
1429 sh->irq = 0; in mptspi_probe()
1432 sh->max_cmd_len = 16; in mptspi_probe()
1444 sh->max_id = ioc->devices_per_bus; in mptspi_probe()
1446 sh->max_lun = MPT_LAST_LUN + 1; in mptspi_probe()
1451 sh->max_channel = 1; in mptspi_probe()
1453 sh->max_channel = 0; in mptspi_probe()
1454 sh->this_id = ioc->pfacts[0].PortSCSIID; in mptspi_probe()
1458 sh->unique_id = ioc->id; in mptspi_probe()
1480 if (numSGE < sh->sg_tablesize) { in mptspi_probe()
1484 ioc->name, numSGE, sh->sg_tablesize)); in mptspi_probe()
1485 sh->sg_tablesize = numSGE; in mptspi_probe()
1490 hd = shost_priv(sh); in mptspi_probe()
1519 sh->transportt = mptspi_transport_template; in mptspi_probe()
1521 error = scsi_add_host (sh, &ioc->pcidev->dev); in mptspi_probe()
1536 scsi_scan_host(sh); in mptspi_probe()
1549 scsi_remove_host(ioc->sh); in mptspi_remove()