Lines Matching refs:sh

209 			ioc->name, ioc->sh->host_no,  in mptfc_block_error_handler()
223 ioc->name, ioc->sh->host_no, in mptfc_block_error_handler()
230 ioc->name, ioc->sh->host_no, in mptfc_block_error_handler()
469 rport = fc_remote_port_add(ioc->sh, channel, &rport_ids); in mptfc_register_dev()
497 ioc->sh->host_no, in mptfc_register_dev()
993 struct Scsi_Host *sh; in mptfc_init_host_attr() local
1001 sh = ioc->sh; in mptfc_init_host_attr()
1003 sn = fc_host_symbolic_name(sh); in mptfc_init_host_attr()
1009 fc_host_tgtid_bind_type(sh) = FC_TGTID_BIND_BY_WWPN; in mptfc_init_host_attr()
1011 fc_host_maxframe_size(sh) = pp0->MaxFrameSize; in mptfc_init_host_attr()
1013 fc_host_node_name(sh) = in mptfc_init_host_attr()
1016 fc_host_port_name(sh) = in mptfc_init_host_attr()
1019 fc_host_port_id(sh) = pp0->PortIdentifier; in mptfc_init_host_attr()
1028 fc_host_supported_classes(sh) = cos; in mptfc_init_host_attr()
1040 fc_host_speed(sh) = speed; in mptfc_init_host_attr()
1051 fc_host_supported_speeds(sh) = speed; in mptfc_init_host_attr()
1058 fc_host_port_state(sh) = port_state; in mptfc_init_host_attr()
1069 fc_host_port_type(sh) = port_type; in mptfc_init_host_attr()
1071 fc_host_fabric_name(sh) = in mptfc_init_host_attr()
1118 ioc->sh->host_no, in mptfc_setup_reset()
1173 ioc->sh->host_no, in mptfc_rescan_devices()
1182 struct Scsi_Host *sh; in mptfc_probe() local
1234 sh = scsi_host_alloc(&mptfc_driver_template, sizeof(MPT_SCSI_HOST)); in mptfc_probe()
1236 if (!sh) { in mptfc_probe()
1253 ioc->sh = sh; in mptfc_probe()
1255 sh->io_port = 0; in mptfc_probe()
1256 sh->n_io_port = 0; in mptfc_probe()
1257 sh->irq = 0; in mptfc_probe()
1260 sh->max_cmd_len = 16; in mptfc_probe()
1262 sh->max_id = ioc->pfacts->MaxDevices; in mptfc_probe()
1263 sh->max_lun = max_lun; in mptfc_probe()
1267 sh->unique_id = ioc->id; in mptfc_probe()
1289 if (numSGE < sh->sg_tablesize) { in mptfc_probe()
1293 ioc->name, numSGE, sh->sg_tablesize)); in mptfc_probe()
1294 sh->sg_tablesize = numSGE; in mptfc_probe()
1299 hd = shost_priv(sh); in mptfc_probe()
1317 sh->transportt = mptfc_transport_template; in mptfc_probe()
1318 error = scsi_add_host (sh, &ioc->pcidev->dev); in mptfc_probe()
1328 "mptfc_wq_%d", sh->host_no); in mptfc_probe()
1385 if (ioc->sh == NULL || in mptfc_event_process()
1386 ((hd = shost_priv(ioc->sh)) == NULL)) in mptfc_event_process()
1516 fc_remove_host(ioc->sh); in mptfc_remove()