• Home
  • Raw
  • Download

Lines Matching refs:sh

1122 	struct Scsi_Host *shost = ioc->sh;  in mpt_work_wrapper()
1153 scsi_scan_target(&ioc->sh->shost_gendev, 1, disk, 0, SCSI_SCAN_RESCAN); in mpt_work_wrapper()
1163 shost_printk(KERN_ERR, ioc->sh, MYIOC_s_FMT in mpt_dv_raid()
1179 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptspi_event_process()
1276 shost_for_each_device(sdev, ioc->sh) { in mptspi_dv_renegotiate_work()
1287 shost_for_each_device(sdev, ioc->sh) in mptspi_dv_renegotiate_work()
1321 ioc->sh) { in mptspi_ioc_reset()
1322 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptspi_ioc_reset()
1338 struct _MPT_SCSI_HOST *hd = shost_priv(ioc->sh); in mptspi_resume()
1360 struct Scsi_Host *sh; in mptspi_probe() local
1412 sh = scsi_host_alloc(&mptspi_driver_template, sizeof(MPT_SCSI_HOST)); in mptspi_probe()
1414 if (!sh) { in mptspi_probe()
1425 sh->no_write_same = 1; in mptspi_probe()
1431 ioc->sh = sh; in mptspi_probe()
1433 sh->io_port = 0; in mptspi_probe()
1434 sh->n_io_port = 0; in mptspi_probe()
1435 sh->irq = 0; in mptspi_probe()
1438 sh->max_cmd_len = 16; in mptspi_probe()
1450 sh->max_id = ioc->devices_per_bus; in mptspi_probe()
1452 sh->max_lun = MPT_LAST_LUN + 1; in mptspi_probe()
1457 sh->max_channel = 1; in mptspi_probe()
1459 sh->max_channel = 0; in mptspi_probe()
1460 sh->this_id = ioc->pfacts[0].PortSCSIID; in mptspi_probe()
1464 sh->unique_id = ioc->id; in mptspi_probe()
1486 if (numSGE < sh->sg_tablesize) { in mptspi_probe()
1490 ioc->name, numSGE, sh->sg_tablesize)); in mptspi_probe()
1491 sh->sg_tablesize = numSGE; in mptspi_probe()
1496 hd = shost_priv(sh); in mptspi_probe()
1525 sh->transportt = mptspi_transport_template; in mptspi_probe()
1527 error = scsi_add_host (sh, &ioc->pcidev->dev); in mptspi_probe()
1542 scsi_scan_host(sh); in mptspi_probe()