Lines Matching refs:shost
485 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fsf_exchange_config_evaluate() local
497 fc_host_port_name(shost) = be64_to_cpu(nsp->fl_wwpn); in zfcp_fsf_exchange_config_evaluate()
498 fc_host_node_name(shost) = be64_to_cpu(nsp->fl_wwnn); in zfcp_fsf_exchange_config_evaluate()
499 fc_host_supported_classes(shost) = FC_COS_CLASS2 | FC_COS_CLASS3; in zfcp_fsf_exchange_config_evaluate()
505 if (fc_host_permanent_port_name(shost) == -1) in zfcp_fsf_exchange_config_evaluate()
506 fc_host_permanent_port_name(shost) = fc_host_port_name(shost); in zfcp_fsf_exchange_config_evaluate()
515 fc_host_port_id(shost) = ntoh24(bottom->s_id); in zfcp_fsf_exchange_config_evaluate()
516 fc_host_speed(shost) = in zfcp_fsf_exchange_config_evaluate()
526 fc_host_port_type(shost) = FC_PORTTYPE_PTP; in zfcp_fsf_exchange_config_evaluate()
530 fc_host_port_type(shost) = FC_PORTTYPE_NPIV; in zfcp_fsf_exchange_config_evaluate()
532 fc_host_port_type(shost) = FC_PORTTYPE_NPORT; in zfcp_fsf_exchange_config_evaluate()
535 fc_host_port_type(shost) = FC_PORTTYPE_NLPORT; in zfcp_fsf_exchange_config_evaluate()
553 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fsf_exchange_config_data_handler() local
582 fc_host_node_name(shost) = 0; in zfcp_fsf_exchange_config_data_handler()
583 fc_host_port_name(shost) = 0; in zfcp_fsf_exchange_config_data_handler()
584 fc_host_port_id(shost) = 0; in zfcp_fsf_exchange_config_data_handler()
585 fc_host_speed(shost) = FC_PORTSPEED_UNKNOWN; in zfcp_fsf_exchange_config_data_handler()
586 fc_host_port_type(shost) = FC_PORTTYPE_UNKNOWN; in zfcp_fsf_exchange_config_data_handler()
605 memcpy(fc_host_serial_number(shost), bottom->serial_number, in zfcp_fsf_exchange_config_data_handler()
607 EBCASC(fc_host_serial_number(shost), in zfcp_fsf_exchange_config_data_handler()
630 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fsf_exchange_port_evaluate() local
636 fc_host_permanent_port_name(shost) = bottom->wwpn; in zfcp_fsf_exchange_port_evaluate()
638 fc_host_permanent_port_name(shost) = fc_host_port_name(shost); in zfcp_fsf_exchange_port_evaluate()
639 fc_host_maxframe_size(shost) = bottom->maximum_frame_size; in zfcp_fsf_exchange_port_evaluate()
640 fc_host_supported_speeds(shost) = in zfcp_fsf_exchange_port_evaluate()
642 memcpy(fc_host_supported_fc4s(shost), bottom->supported_fc4_types, in zfcp_fsf_exchange_port_evaluate()
644 memcpy(fc_host_active_fc4s(shost), bottom->active_fc4_types, in zfcp_fsf_exchange_port_evaluate()