Lines Matching refs:vport
122 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_cmf_info_show() local
123 struct lpfc_hba *phba = vport->phba; in lpfc_cmf_info_show()
322 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_enable_fip_show() local
323 struct lpfc_hba *phba = vport->phba; in lpfc_enable_fip_show()
336 struct lpfc_vport *vport = shost_priv(shost); in lpfc_nvme_info_show() local
337 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_info_show()
352 if (!(vport->cfg_enable_fc4_type & LPFC_ENABLE_NVME)) { in lpfc_nvme_info_show()
360 wwn_to_u64(vport->fc_portname.u.wwn)); in lpfc_nvme_info_show()
378 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_nvme_info_show()
379 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_nvme_info_show()
510 localport = vport->localport; in lpfc_nvme_info_show()
514 wwn_to_u64(vport->fc_portname.u.wwn)); in lpfc_nvme_info_show()
540 wwn_to_u64(vport->fc_portname.u.wwn), in lpfc_nvme_info_show()
541 wwn_to_u64(vport->fc_nodename.u.wwn), in lpfc_nvme_info_show()
548 list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp) { in lpfc_nvme_info_show()
707 struct lpfc_vport *vport = shost_priv(shost); in lpfc_scsi_stat_show() local
708 struct lpfc_hba *phba = vport->phba; in lpfc_scsi_stat_show()
716 if (!(vport->cfg_enable_fc4_type & LPFC_ENABLE_FCP) || in lpfc_scsi_stat_show()
758 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_info_show() local
759 struct lpfc_hba *phba = vport->phba; in lpfc_bg_info_show()
778 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_guard_err_show() local
779 struct lpfc_hba *phba = vport->phba; in lpfc_bg_guard_err_show()
790 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_apptag_err_show() local
791 struct lpfc_hba *phba = vport->phba; in lpfc_bg_apptag_err_show()
802 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_reftag_err_show() local
803 struct lpfc_hba *phba = vport->phba; in lpfc_bg_reftag_err_show()
839 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_serialnum_show() local
840 struct lpfc_hba *phba = vport->phba; in lpfc_serialnum_show()
862 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_temp_sensor_show() local
863 struct lpfc_hba *phba = vport->phba; in lpfc_temp_sensor_show()
880 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_modeldesc_show() local
881 struct lpfc_hba *phba = vport->phba; in lpfc_modeldesc_show()
899 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_modelname_show() local
900 struct lpfc_hba *phba = vport->phba; in lpfc_modelname_show()
918 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_programtype_show() local
919 struct lpfc_hba *phba = vport->phba; in lpfc_programtype_show()
937 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_vportnum_show() local
938 struct lpfc_hba *phba = vport->phba; in lpfc_vportnum_show()
956 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_fwrev_show() local
957 struct lpfc_hba *phba = vport->phba; in lpfc_fwrev_show()
990 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_hdw_show() local
991 struct lpfc_hba *phba = vport->phba; in lpfc_hdw_show()
1012 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_option_rom_version_show() local
1013 struct lpfc_hba *phba = vport->phba; in lpfc_option_rom_version_show()
1040 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_link_state_show() local
1041 struct lpfc_hba *phba = vport->phba; in lpfc_link_state_show()
1063 switch (vport->port_state) { in lpfc_link_state_show()
1094 if (vport->fc_flag & FC_PUBLIC_LOOP) in lpfc_link_state_show()
1101 if (vport->fc_flag & FC_FABRIC) { in lpfc_link_state_show()
1103 vport->port_type == LPFC_PHYSICAL_PORT && in lpfc_link_state_show()
1172 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_sli4_protocol_show() local
1173 struct lpfc_hba *phba = vport->phba; in lpfc_sli4_protocol_show()
1201 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_oas_supported_show() local
1202 struct lpfc_hba *phba = vport->phba; in lpfc_oas_supported_show()
1225 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_link_state_store() local
1226 struct lpfc_hba *phba = vport->phba; in lpfc_link_state_store()
1260 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_num_discovered_ports_show() local
1263 vport->fc_map_cnt + vport->fc_unmap_cnt); in lpfc_num_discovered_ports_show()
1283 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_issue_lip() local
1284 struct lpfc_hba *phba = vport->phba; in lpfc_issue_lip()
1292 if ((vport->fc_flag & FC_OFFLINE_MODE) || in lpfc_issue_lip()
1306 if ((vport->fc_flag & FC_PT2PT) && (vport->fc_flag & FC_PT2PT_NO_NVME)) in lpfc_issue_lip()
1307 vport->fc_flag &= ~FC_PT2PT_NO_NVME; in lpfc_issue_lip()
1599 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_issue_reset() local
1600 struct lpfc_hba *phba = vport->phba; in lpfc_issue_reset()
1821 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_nport_evt_cnt_show() local
1822 struct lpfc_hba *phba = vport->phba; in lpfc_nport_evt_cnt_show()
1891 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_xcvr_data_show() local
1892 struct lpfc_hba *phba = vport->phba; in lpfc_xcvr_data_show()
2007 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_board_mode_show() local
2008 struct lpfc_hba *phba = vport->phba; in lpfc_board_mode_show()
2041 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_board_mode_store() local
2042 struct lpfc_hba *phba = vport->phba; in lpfc_board_mode_store()
2053 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_board_mode_store()
2103 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_board_mode_store()
2282 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_max_rpi_show() local
2283 struct lpfc_hba *phba = vport->phba; in lpfc_max_rpi_show()
2310 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_used_rpi_show() local
2311 struct lpfc_hba *phba = vport->phba; in lpfc_used_rpi_show()
2347 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_max_xri_show() local
2348 struct lpfc_hba *phba = vport->phba; in lpfc_max_xri_show()
2375 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_used_xri_show() local
2376 struct lpfc_hba *phba = vport->phba; in lpfc_used_xri_show()
2412 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_max_vpi_show() local
2413 struct lpfc_hba *phba = vport->phba; in lpfc_max_vpi_show()
2440 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_used_vpi_show() local
2441 struct lpfc_hba *phba = vport->phba; in lpfc_used_vpi_show()
2476 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_npiv_info_show() local
2477 struct lpfc_hba *phba = vport->phba; in lpfc_npiv_info_show()
2481 if (vport->port_type == LPFC_PHYSICAL_PORT) in lpfc_npiv_info_show()
2483 return scnprintf(buf, PAGE_SIZE, "NPIV Virtual (VPI %d)\n", vport->vpi); in lpfc_npiv_info_show()
2502 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_poll_show() local
2503 struct lpfc_hba *phba = vport->phba; in lpfc_poll_show()
2527 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_poll_store() local
2528 struct lpfc_hba *phba = vport->phba; in lpfc_poll_store()
2545 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_poll_store()
2611 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_sriov_hw_max_virtfn_show() local
2612 struct lpfc_hba *phba = vport->phba; in lpfc_sriov_hw_max_virtfn_show()
2669 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata;\
2670 struct lpfc_hba *phba = vport->phba;\
2695 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata;\
2696 struct lpfc_hba *phba = vport->phba;\
2801 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata;\
2802 struct lpfc_hba *phba = vport->phba;\
2834 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata;\
2835 return scnprintf(buf, PAGE_SIZE, "%d\n", vport->cfg_##attr);\
2859 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata;\
2860 return scnprintf(buf, PAGE_SIZE, "%#x\n", vport->cfg_##attr);\
2883 lpfc_##attr##_init(struct lpfc_vport *vport, uint val) \
2886 vport->cfg_##attr = val;\
2889 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, \
2892 vport->cfg_##attr = default;\
2915 lpfc_##attr##_set(struct lpfc_vport *vport, uint val) \
2918 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, \
2921 vport->cfg_##attr, vport->cfg_##attr, \
2923 vport->cfg_##attr = val;\
2926 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, \
2955 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata;\
2961 if (lpfc_##attr##_set(vport, val) == 0) \
3716 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_nodev_tmo_show() local
3718 return scnprintf(buf, PAGE_SIZE, "%d\n", vport->cfg_devloss_tmo); in lpfc_nodev_tmo_show()
3737 lpfc_nodev_tmo_init(struct lpfc_vport *vport, int val) in lpfc_nodev_tmo_init() argument
3739 if (vport->cfg_devloss_tmo != LPFC_DEF_DEVLOSS_TMO) { in lpfc_nodev_tmo_init()
3740 vport->cfg_nodev_tmo = vport->cfg_devloss_tmo; in lpfc_nodev_tmo_init()
3742 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_nodev_tmo_init()
3750 vport->cfg_nodev_tmo = val; in lpfc_nodev_tmo_init()
3751 vport->cfg_devloss_tmo = val; in lpfc_nodev_tmo_init()
3754 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_nodev_tmo_init()
3758 vport->cfg_nodev_tmo = LPFC_DEF_DEVLOSS_TMO; in lpfc_nodev_tmo_init()
3770 lpfc_update_rport_devloss_tmo(struct lpfc_vport *vport) in lpfc_update_rport_devloss_tmo() argument
3779 shost = lpfc_shost_from_vport(vport); in lpfc_update_rport_devloss_tmo()
3781 list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp) { in lpfc_update_rport_devloss_tmo()
3783 ndlp->rport->dev_loss_tmo = vport->cfg_devloss_tmo; in lpfc_update_rport_devloss_tmo()
3792 vport->cfg_devloss_tmo); in lpfc_update_rport_devloss_tmo()
3814 lpfc_nodev_tmo_set(struct lpfc_vport *vport, int val) in lpfc_nodev_tmo_set() argument
3816 if (vport->dev_loss_tmo_changed || in lpfc_nodev_tmo_set()
3818 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_nodev_tmo_set()
3824 vport->cfg_nodev_tmo = val; in lpfc_nodev_tmo_set()
3825 vport->cfg_devloss_tmo = val; in lpfc_nodev_tmo_set()
3830 fc_host_dev_loss_tmo(lpfc_shost_from_vport(vport)) = val; in lpfc_nodev_tmo_set()
3831 lpfc_update_rport_devloss_tmo(vport); in lpfc_nodev_tmo_set()
3834 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_nodev_tmo_set()
3873 lpfc_devloss_tmo_set(struct lpfc_vport *vport, int val) in lpfc_vport_param_init()
3876 vport->cfg_nodev_tmo = val; in lpfc_vport_param_init()
3877 vport->cfg_devloss_tmo = val; in lpfc_vport_param_init()
3878 vport->dev_loss_tmo_changed = 1; in lpfc_vport_param_init()
3879 fc_host_dev_loss_tmo(lpfc_shost_from_vport(vport)) = val; in lpfc_vport_param_init()
3880 lpfc_update_rport_devloss_tmo(vport); in lpfc_vport_param_init()
3884 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_vport_param_init()
3979 lpfc_tgt_queue_depth_set(struct lpfc_vport *vport, uint val) in lpfc_tgt_queue_depth_set() argument
3981 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_tgt_queue_depth_set()
3987 if (val == vport->cfg_tgt_queue_depth) in lpfc_tgt_queue_depth_set()
3991 vport->cfg_tgt_queue_depth = val; in lpfc_tgt_queue_depth_set()
3994 list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp) in lpfc_tgt_queue_depth_set()
3995 ndlp->cmd_qdepth = vport->cfg_tgt_queue_depth; in lpfc_tgt_queue_depth_set()
4060 lpfc_restrict_login_init(struct lpfc_vport *vport, int val) in lpfc_restrict_login_init() argument
4063 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_restrict_login_init()
4067 vport->cfg_restrict_login = 1; in lpfc_restrict_login_init()
4070 if (vport->port_type == LPFC_PHYSICAL_PORT) { in lpfc_restrict_login_init()
4071 vport->cfg_restrict_login = 0; in lpfc_restrict_login_init()
4074 vport->cfg_restrict_login = val; in lpfc_restrict_login_init()
4095 lpfc_restrict_login_set(struct lpfc_vport *vport, int val) in lpfc_restrict_login_set() argument
4098 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_restrict_login_set()
4102 vport->cfg_restrict_login = 1; in lpfc_restrict_login_set()
4105 if (vport->port_type == LPFC_PHYSICAL_PORT && val != 0) { in lpfc_restrict_login_set()
4106 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_restrict_login_set()
4109 vport->cfg_restrict_login = 0; in lpfc_restrict_login_set()
4112 vport->cfg_restrict_login = val; in lpfc_restrict_login_set()
4175 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_topology_store() local
4176 struct lpfc_hba *phba = vport->phba; in lpfc_topology_store()
4198 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_topology_store()
4217 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_topology_store()
4225 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_topology_store()
4263 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_static_vport_show() local
4264 if (vport->vport_flag & STATIC_VPORT) in lpfc_static_vport_show()
4306 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_link_speed_store() local
4307 struct lpfc_hba *phba = vport->phba; in lpfc_link_speed_store()
4329 lpfc_printf_vlog(vport, KERN_ERR, LOG_INIT, in lpfc_link_speed_store()
4520 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_aer_cleanup_state() local
4521 struct lpfc_hba *phba = vport->phba; in lpfc_aer_cleanup_state()
4586 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_sriov_nr_virtfn_store() local
4587 struct lpfc_hba *phba = vport->phba; in lpfc_sriov_nr_virtfn_store()
4663 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_request_firmware_upgrade_store() local
4664 struct lpfc_hba *phba = vport->phba; in lpfc_request_firmware_upgrade_store()
4735 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_force_rscn_store() local
4738 i = lpfc_issue_els_rscn(vport, 0); in lpfc_force_rscn_store()
4793 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_fcp_imax_store() local
4794 struct lpfc_hba *phba = vport->phba; in lpfc_fcp_imax_store()
4912 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_cq_max_proc_limit_store() local
4913 struct lpfc_hba *phba = vport->phba; in lpfc_cq_max_proc_limit_store()
5019 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_fcp_cpu_map_show() local
5020 struct lpfc_hba *phba = vport->phba; in lpfc_fcp_cpu_map_show()
5241 lpfc_max_scsicmpl_time_set(struct lpfc_vport *vport, int val) in lpfc_max_scsicmpl_time_set() argument
5243 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_max_scsicmpl_time_set()
5246 if (val == vport->cfg_max_scsicmpl_time) in lpfc_max_scsicmpl_time_set()
5250 vport->cfg_max_scsicmpl_time = val; in lpfc_max_scsicmpl_time_set()
5253 list_for_each_entry_safe(ndlp, next_ndlp, &vport->fc_nodes, nlp_listp) { in lpfc_max_scsicmpl_time_set()
5256 ndlp->cmd_qdepth = vport->cfg_tgt_queue_depth; in lpfc_max_scsicmpl_time_set()
5666 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_irq_chann_show() local
5667 struct lpfc_hba *phba = vport->phba; in lpfc_irq_chann_show()
5795 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_sg_seg_cnt_show() local
5796 struct lpfc_hba *phba = vport->phba; in lpfc_sg_seg_cnt_show()
6189 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in sysfs_ctlreg_write() local
6190 struct lpfc_hba *phba = vport->phba; in sysfs_ctlreg_write()
6208 if (!(vport->fc_flag & FC_OFFLINE_MODE)) in sysfs_ctlreg_write()
6249 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in sysfs_ctlreg_read() local
6250 struct lpfc_hba *phba = vport->phba; in sysfs_ctlreg_read()
6355 lpfc_alloc_sysfs_attr(struct lpfc_vport *vport) in lpfc_alloc_sysfs_attr() argument
6357 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_alloc_sysfs_attr()
6361 if (vport->port_type == LPFC_NPIV_PORT) in lpfc_alloc_sysfs_attr()
6386 lpfc_free_sysfs_attr(struct lpfc_vport *vport) in lpfc_free_sysfs_attr() argument
6388 struct Scsi_Host *shost = lpfc_shost_from_vport(vport); in lpfc_free_sysfs_attr()
6391 if (vport->port_type == LPFC_NPIV_PORT) in lpfc_free_sysfs_attr()
6408 struct lpfc_vport *vport = (struct lpfc_vport *)shost->hostdata; in lpfc_get_host_symbolic_name() local
6410 lpfc_vport_symbolic_node_name(vport, fc_host_symbolic_name(shost), in lpfc_get_host_symbolic_name()
6421 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_get_host_port_id() local
6424 fc_host_port_id(shost) = vport->fc_myDID; in lpfc_get_host_port_id()
6434 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_get_host_port_type() local
6435 struct lpfc_hba *phba = vport->phba; in lpfc_get_host_port_type()
6439 if (vport->port_type == LPFC_NPIV_PORT) { in lpfc_get_host_port_type()
6443 if (vport->fc_flag & FC_PUBLIC_LOOP) in lpfc_get_host_port_type()
6448 if (vport->fc_flag & FC_FABRIC) in lpfc_get_host_port_type()
6466 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_get_host_port_state() local
6467 struct lpfc_hba *phba = vport->phba; in lpfc_get_host_port_state()
6471 if (vport->fc_flag & FC_OFFLINE_MODE) in lpfc_get_host_port_state()
6483 if (vport->port_state < LPFC_VPORT_READY) in lpfc_get_host_port_state()
6509 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_get_host_speed() local
6510 struct lpfc_hba *phba = vport->phba; in lpfc_get_host_speed()
6587 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_get_host_fabric_name() local
6588 struct lpfc_hba *phba = vport->phba; in lpfc_get_host_fabric_name()
6593 if ((vport->port_state > LPFC_FLOGI) && in lpfc_get_host_fabric_name()
6594 ((vport->fc_flag & FC_FABRIC) || in lpfc_get_host_fabric_name()
6596 (vport->fc_flag & FC_PUBLIC_LOOP)))) in lpfc_get_host_fabric_name()
6622 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_get_stats() local
6623 struct lpfc_hba *phba = vport->phba; in lpfc_get_stats()
6652 pmboxq->vport = vport; in lpfc_get_stats()
6654 if (vport->fc_flag & FC_OFFLINE_MODE) { in lpfc_get_stats()
6705 pmboxq->vport = vport; in lpfc_get_stats()
6707 if (vport->fc_flag & FC_OFFLINE_MODE) { in lpfc_get_stats()
6771 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_reset_stats() local
6772 struct lpfc_hba *phba = vport->phba; in lpfc_reset_stats()
6792 pmboxq->vport = vport; in lpfc_reset_stats()
6794 if ((vport->fc_flag & FC_OFFLINE_MODE) || in lpfc_reset_stats()
6814 pmboxq->vport = vport; in lpfc_reset_stats()
6816 if ((vport->fc_flag & FC_OFFLINE_MODE) || in lpfc_reset_stats()
6874 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_get_node_by_target() local
6879 list_for_each_entry(ndlp, &vport->fc_nodes, nlp_listp) { in lpfc_get_node_by_target()
7011 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in lpfc_set_vport_symbolic_name() local
7013 if (vport->port_state == LPFC_VPORT_READY) in lpfc_set_vport_symbolic_name()
7014 lpfc_ns_cmd(vport, SLI_CTNS_RSPN_ID, 0, 0); in lpfc_set_vport_symbolic_name()
7402 lpfc_get_vport_cfgparam(struct lpfc_vport *vport) in lpfc_get_vport_cfgparam() argument
7404 lpfc_log_verbose_init(vport, lpfc_log_verbose); in lpfc_get_vport_cfgparam()
7405 lpfc_lun_queue_depth_init(vport, lpfc_lun_queue_depth); in lpfc_get_vport_cfgparam()
7406 lpfc_tgt_queue_depth_init(vport, lpfc_tgt_queue_depth); in lpfc_get_vport_cfgparam()
7407 lpfc_devloss_tmo_init(vport, lpfc_devloss_tmo); in lpfc_get_vport_cfgparam()
7408 lpfc_nodev_tmo_init(vport, lpfc_nodev_tmo); in lpfc_get_vport_cfgparam()
7409 lpfc_peer_port_login_init(vport, lpfc_peer_port_login); in lpfc_get_vport_cfgparam()
7410 lpfc_restrict_login_init(vport, lpfc_restrict_login); in lpfc_get_vport_cfgparam()
7411 lpfc_fcp_class_init(vport, lpfc_fcp_class); in lpfc_get_vport_cfgparam()
7412 lpfc_use_adisc_init(vport, lpfc_use_adisc); in lpfc_get_vport_cfgparam()
7413 lpfc_first_burst_size_init(vport, lpfc_first_burst_size); in lpfc_get_vport_cfgparam()
7414 lpfc_max_scsicmpl_time_init(vport, lpfc_max_scsicmpl_time); in lpfc_get_vport_cfgparam()
7415 lpfc_discovery_threads_init(vport, lpfc_discovery_threads); in lpfc_get_vport_cfgparam()
7416 lpfc_max_luns_init(vport, lpfc_max_luns); in lpfc_get_vport_cfgparam()
7417 lpfc_scan_down_init(vport, lpfc_scan_down); in lpfc_get_vport_cfgparam()
7418 lpfc_enable_da_id_init(vport, lpfc_enable_da_id); in lpfc_get_vport_cfgparam()