Lines Matching refs:shost
467 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fsf_exchange_config_evaluate() local
479 fc_host_port_name(shost) = nsp->fl_wwpn; in zfcp_fsf_exchange_config_evaluate()
480 fc_host_node_name(shost) = nsp->fl_wwnn; in zfcp_fsf_exchange_config_evaluate()
481 fc_host_supported_classes(shost) = FC_COS_CLASS2 | FC_COS_CLASS3; in zfcp_fsf_exchange_config_evaluate()
487 if (fc_host_permanent_port_name(shost) == -1) in zfcp_fsf_exchange_config_evaluate()
488 fc_host_permanent_port_name(shost) = fc_host_port_name(shost); in zfcp_fsf_exchange_config_evaluate()
497 fc_host_port_id(shost) = ntoh24(bottom->s_id); in zfcp_fsf_exchange_config_evaluate()
498 fc_host_speed(shost) = in zfcp_fsf_exchange_config_evaluate()
508 fc_host_port_type(shost) = FC_PORTTYPE_PTP; in zfcp_fsf_exchange_config_evaluate()
511 fc_host_port_type(shost) = FC_PORTTYPE_NPORT; in zfcp_fsf_exchange_config_evaluate()
514 fc_host_port_type(shost) = FC_PORTTYPE_NLPORT; in zfcp_fsf_exchange_config_evaluate()
532 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fsf_exchange_config_data_handler() local
561 fc_host_node_name(shost) = 0; in zfcp_fsf_exchange_config_data_handler()
562 fc_host_port_name(shost) = 0; in zfcp_fsf_exchange_config_data_handler()
563 fc_host_port_id(shost) = 0; in zfcp_fsf_exchange_config_data_handler()
564 fc_host_speed(shost) = FC_PORTSPEED_UNKNOWN; in zfcp_fsf_exchange_config_data_handler()
565 fc_host_port_type(shost) = FC_PORTTYPE_UNKNOWN; in zfcp_fsf_exchange_config_data_handler()
584 memcpy(fc_host_serial_number(shost), bottom->serial_number, in zfcp_fsf_exchange_config_data_handler()
586 EBCASC(fc_host_serial_number(shost), in zfcp_fsf_exchange_config_data_handler()
609 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fsf_exchange_port_evaluate() local
615 fc_host_permanent_port_name(shost) = bottom->wwpn; in zfcp_fsf_exchange_port_evaluate()
616 fc_host_port_type(shost) = FC_PORTTYPE_NPIV; in zfcp_fsf_exchange_port_evaluate()
618 fc_host_permanent_port_name(shost) = fc_host_port_name(shost); in zfcp_fsf_exchange_port_evaluate()
619 fc_host_maxframe_size(shost) = bottom->maximum_frame_size; in zfcp_fsf_exchange_port_evaluate()
620 fc_host_supported_speeds(shost) = in zfcp_fsf_exchange_port_evaluate()
622 memcpy(fc_host_supported_fc4s(shost), bottom->supported_fc4_types, in zfcp_fsf_exchange_port_evaluate()
624 memcpy(fc_host_active_fc4s(shost), bottom->active_fc4_types, in zfcp_fsf_exchange_port_evaluate()