Home
last modified time | relevance | path

Searched refs:lpfc_vport (Results 1 – 22 of 22) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/scsi/lpfc/
H A Dlpfc_crtn.h39 void lpfc_issue_clear_la(struct lpfc_hba *, struct lpfc_vport *);
50 void lpfc_sli4_unreg_all_rpis(struct lpfc_vport *);
52 void lpfc_reg_vpi(struct lpfc_vport *, LPFC_MBOXQ_t *);
53 void lpfc_register_new_vport(struct lpfc_hba *, struct lpfc_vport *,
61 struct lpfc_vport *lpfc_find_vport_by_did(struct lpfc_hba *, uint32_t);
62 void lpfc_cleanup_rcv_buffers(struct lpfc_vport *);
63 void lpfc_rcv_seq_check_edtov(struct lpfc_vport *);
64 void lpfc_cleanup_rpis(struct lpfc_vport *, int);
65 void lpfc_cleanup_pending_mbox(struct lpfc_vport *);
67 void lpfc_linkdown_port(struct lpfc_vport *);
[all …]
H A Dlpfc_attr.c147 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_enable_fip_show()
161 struct lpfc_vport *vport = shost_priv(shost); in lpfc_nvme_info_show()
534 struct lpfc_vport *vport = shost_priv(shost); in lpfc_scsi_stat_show()
585 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_info_show()
605 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_guard_err_show()
617 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_apptag_err_show()
629 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_bg_reftag_err_show()
666 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_serialnum_show()
689 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_temp_sensor_show()
707 struct lpfc_vport *vport = (struct lpfc_vport *) shost->hostdata; in lpfc_modeldesc_show()
[all …]
H A Dlpfc_nportdisc.c52 lpfc_check_adisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_check_adisc()
73 lpfc_check_sparm(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_check_sparm()
344 struct lpfc_vport *vport = pmb->vport; in lpfc_defer_acc_rsp()
384 lpfc_rcv_plogi(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_rcv_plogi()
718 struct lpfc_vport *vport; in lpfc_mbx_cmpl_resume_rpi()
739 lpfc_rcv_padisc(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_rcv_padisc()
834 lpfc_rcv_logo(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_rcv_logo()
839 struct lpfc_vport **vports; in lpfc_rcv_logo()
939 lpfc_rcv_prli_support_check(struct lpfc_vport *vport, in lpfc_rcv_prli_support_check()
974 lpfc_rcv_prli(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_rcv_prli()
[all …]
H A Dlpfc_vport.h93 struct lpfc_vport **lpfc_create_vport_work_array(struct lpfc_hba *);
94 void lpfc_destroy_vport_work_array(struct lpfc_hba *, struct lpfc_vport **);
115 void lpfc_vport_set_state(struct lpfc_vport *vport,
118 void lpfc_vport_reset_stat_data(struct lpfc_vport *);
119 void lpfc_alloc_bucket(struct lpfc_vport *);
120 void lpfc_free_bucket(struct lpfc_vport *);
H A Dlpfc_vport.c53 inline void lpfc_vport_set_state(struct lpfc_vport *vport, in lpfc_vport_set_state()
118 lpfc_vport_sparm(struct lpfc_hba *phba, struct lpfc_vport *vport) in lpfc_vport_sparm()
205 lpfc_unique_wwpn(struct lpfc_hba *phba, struct lpfc_vport *new_vport) in lpfc_unique_wwpn()
207 struct lpfc_vport *vport; in lpfc_unique_wwpn()
241 static void lpfc_discovery_wait(struct lpfc_vport *vport) in lpfc_discovery_wait()
299 struct lpfc_vport *pport = (struct lpfc_vport *) shost->hostdata; in lpfc_vport_create()
301 struct lpfc_vport *vport = NULL; in lpfc_vport_create()
409 *(struct lpfc_vport **)fc_vport->dd_data = vport; in lpfc_vport_create()
491 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in disable_vport()
545 struct lpfc_vport *vport = *(struct lpfc_vport **)fc_vport->dd_data; in enable_vport()
[all …]
H A Dlpfc_ct.c315 lpfc_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp, in lpfc_gen_req()
410 lpfc_ct_cmd(struct lpfc_vport *vport, struct lpfc_dmabuf *inmp, in lpfc_ct_cmd()
444 struct lpfc_vport *
446 struct lpfc_vport *vport_curr; in lpfc_find_vport_by_did()
461 lpfc_prep_node_fc4type(struct lpfc_vport *vport, uint32_t Did, uint8_t fc4_type) in lpfc_prep_node_fc4type()
549 lpfc_ns_rsp_audit_did(struct lpfc_vport *vport, uint32_t Did, uint8_t fc4_type) in lpfc_ns_rsp_audit_did()
593 lpfc_ns_rsp(struct lpfc_vport *vport, struct lpfc_dmabuf *mp, uint8_t fc4_type, in lpfc_ns_rsp()
664 struct lpfc_vport *vport = cmdiocb->vport; in lpfc_cmpl_ct_cmd_gid_ft()
873 struct lpfc_vport *vport = cmdiocb->vport; in lpfc_cmpl_ct_cmd_gid_pt()
1079 struct lpfc_vport *vport = cmdiocb->vport; in lpfc_cmpl_ct_cmd_gff_id()
[all …]
H A Dlpfc_hbadisc.c70 static void lpfc_disc_timeout_handler(struct lpfc_vport *);
71 static void lpfc_disc_flush_list(struct lpfc_vport *vport);
115 struct lpfc_vport *vport; in lpfc_dev_loss_tmo_callbk()
209 struct lpfc_vport *vport; in lpfc_dev_loss_tmo_handler()
625 struct lpfc_vport **vports; in lpfc_work_done()
626 struct lpfc_vport *vport; in lpfc_work_done()
822 lpfc_cleanup_rpis(struct lpfc_vport *vport, int remove) in lpfc_cleanup_rpis()
864 lpfc_port_link_failure(struct lpfc_vport *vport) in lpfc_port_link_failure()
884 lpfc_linkdown_port(struct lpfc_vport *vport) in lpfc_linkdown_port()
908 struct lpfc_vport *vport = phba->pport; in lpfc_linkdown()
[all …]
H A Dlpfc_nvme.h52 struct lpfc_vport *vport;
236 int __lpfc_nvme_ls_req(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp,
241 void __lpfc_nvme_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_vport *vport,
243 int __lpfc_nvme_ls_abort(struct lpfc_vport *vport,
H A Dlpfc_els.c53 static void lpfc_fabric_abort_vport(struct lpfc_vport *vport);
54 static int lpfc_issue_els_fdisc(struct lpfc_vport *vport,
84 lpfc_els_chk_latt(struct lpfc_vport *vport) in lpfc_els_chk_latt()
153 lpfc_prep_els_iocb(struct lpfc_vport *vport, uint8_t expectRsp, in lpfc_prep_els_iocb()
369 lpfc_issue_fabric_reglogin(struct lpfc_vport *vport) in lpfc_issue_fabric_reglogin()
461 lpfc_issue_reg_vfi(struct lpfc_vport *vport) in lpfc_issue_reg_vfi()
545 lpfc_issue_unreg_vfi(struct lpfc_vport *vport) in lpfc_issue_unreg_vfi()
600 lpfc_check_clean_addr_bit(struct lpfc_vport *vport, in lpfc_check_clean_addr_bit()
658 lpfc_cmpl_els_flogi_fabric(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_cmpl_els_flogi_fabric()
853 lpfc_cmpl_els_flogi_nport(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in lpfc_cmpl_els_flogi_nport()
[all …]
H A Dlpfc_nvme.c258 struct lpfc_vport *vport; in lpfc_nvme_create_queue()
315 struct lpfc_vport *vport; in lpfc_nvme_delete_queue()
358 struct lpfc_vport *vport; in lpfc_nvme_remoteport_delete()
419 struct lpfc_vport *vport; in lpfc_nvme_handle_lsreq()
469 __lpfc_nvme_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_vport *vport, in __lpfc_nvme_ls_req_cmp()
519 struct lpfc_vport *vport = cmdwqe->vport; in lpfc_nvme_ls_req_cmp()
541 lpfc_nvme_gen_req(struct lpfc_vport *vport, struct lpfc_dmabuf *bmp, in lpfc_nvme_gen_req()
687 __lpfc_nvme_ls_req(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in __lpfc_nvme_ls_req()
810 struct lpfc_vport *vport; in lpfc_nvme_ls_req()
847 __lpfc_nvme_ls_abort(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp, in __lpfc_nvme_ls_abort()
[all …]
H A Dlpfc_disc.h64 struct lpfc_vport *vport;
129 struct lpfc_vport *vport;
153 struct lpfc_vport *vport;
H A Dlpfc_scsi.c75 struct lpfc_vport *vport = (struct lpfc_vport *)sdev->host->hostdata; in lpfc_rport_data_from_scsi_device()
144 lpfc_update_stats(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd) in lpfc_update_stats()
245 struct lpfc_vport **vports; in lpfc_ramp_down_queue_handler()
295 struct lpfc_vport **vports; in lpfc_scsi_dev_block()
330 lpfc_new_scsi_buf_s3(struct lpfc_vport *vport, int num_to_alloc) in lpfc_new_scsi_buf_s3()
466 lpfc_sli4_vport_delete_fcp_xri_aborted(struct lpfc_vport *vport) in lpfc_sli4_vport_delete_fcp_xri_aborted()
2532 struct lpfc_vport *vport = phba->pport; in lpfc_bg_scsi_prep_dma_buf_s3()
3271 struct lpfc_vport *vport = phba->pport; in lpfc_bg_scsi_prep_dma_buf_s4()
3488 lpfc_send_scsi_error_event(struct lpfc_hba *phba, struct lpfc_vport *vport, in lpfc_send_scsi_error_event()
3608 lpfc_handle_fcp_err(struct lpfc_vport *vport, struct lpfc_io_buf *lpfc_cmd, in lpfc_handle_fcp_err()
[all …]
H A Dlpfc_sli.h29 struct lpfc_vport;
105 struct lpfc_vport *vport;/* virtual port pointer */
152 struct lpfc_vport *vport; /* virtual port pointer */
H A Dlpfc_init.c348 lpfc_update_vport_wwn(struct lpfc_vport *vport) in lpfc_update_vport_wwn()
412 struct lpfc_vport *vport = phba->pport; in lpfc_config_port_post()
701 struct lpfc_vport *vport = phba->pport; in lpfc_hba_init_link_fc_topology()
826 struct lpfc_vport **vports; in lpfc_hba_down_prep()
1402 struct lpfc_vport **vports; in lpfc_hb_timeout_handler()
1688 struct lpfc_vport *vport = phba->pport; in lpfc_handle_eratt_s3()
1872 struct lpfc_vport *vport = phba->pport; in lpfc_handle_eratt_s4()
2077 struct lpfc_vport *vport = phba->pport; in lpfc_handle_latt()
2837 lpfc_cleanup(struct lpfc_vport *vport) in lpfc_cleanup()
2929 lpfc_stop_vport_timers(struct lpfc_vport *vport) in lpfc_stop_vport_timers()
[all …]
H A DMakefile35 lpfc_scsi.o lpfc_attr.o lpfc_vport.o lpfc_debugfs.o lpfc_bsg.o \
H A Dlpfc_bsg.c390 struct lpfc_vport *vport = shost_priv(fc_bsg_to_shost(job)); in lpfc_bsg_send_mgmt_cmd()
664 struct lpfc_vport *vport = shost_priv(fc_bsg_to_shost(job)); in lpfc_bsg_rport_els()
1208 struct lpfc_vport *vport = shost_priv(fc_bsg_to_shost(job)); in lpfc_bsg_hba_set_event()
1291 struct lpfc_vport *vport = shost_priv(fc_bsg_to_shost(job)); in lpfc_bsg_hba_get_event()
1628 struct lpfc_vport *vport = shost_priv(fc_bsg_to_shost(job)); in lpfc_bsg_send_mgmt_rsp()
1704 struct lpfc_vport **vports; in lpfc_bsg_diag_mode_enter()
1760 struct lpfc_vport **vports; in lpfc_bsg_diag_mode_exit()
2281 struct lpfc_vport *vport; in lpfc_bsg_diag_loopback_mode()
2319 struct lpfc_vport *vport; in lpfc_sli4_bsg_diag_mode_end()
2398 struct lpfc_vport *vport; in lpfc_sli4_bsg_link_diag_test()
[all …]
H A Dlpfc_debugfs.c146 lpfc_debugfs_disc_trc_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_disc_trc_data()
805 lpfc_debugfs_nodelist_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_nodelist_data()
1031 lpfc_debugfs_nvmestat_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_nvmestat_data()
1253 lpfc_debugfs_scsistat_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_scsistat_data()
1394 lpfc_debugfs_ioktime_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_ioktime_data()
1696 lpfc_debugfs_hdwqstat_data(struct lpfc_vport *vport, char *buf, int size) in lpfc_debugfs_hdwqstat_data()
1823 lpfc_debugfs_disc_trc(struct lpfc_vport *vport, int mask, char *fmt, in lpfc_debugfs_disc_trc()
1941 struct lpfc_vport *vport = inode->i_private; in lpfc_debugfs_disc_trc_open()
2487 struct lpfc_vport *vport = inode->i_private; in lpfc_debugfs_nodelist_open()
2653 struct lpfc_vport *vport = inode->i_private; in lpfc_debugfs_nvmestat_open()
[all …]
H A Dlpfc.h347 struct lpfc_vport { struct
666 (struct lpfc_vport *, struct lpfc_io_buf *,
1043 struct lpfc_vport *pport; /* physical lpfc_vport pointer */
1266 lpfc_shost_from_vport(struct lpfc_vport *vport) in lpfc_shost_from_vport()
H A Dlpfc_sli4.h1117 void lpfc_sli4_vport_delete_els_xri_aborted(struct lpfc_vport *);
1118 void lpfc_sli4_vport_delete_fcp_xri_aborted(struct lpfc_vport *);
1124 int lpfc_sli4_init_vpi(struct lpfc_vport *);
H A Dlpfc_mbox.c358 struct lpfc_vport *vport = phba->pport; in lpfc_config_link()
842 lpfc_sli4_unreg_all_rpis(struct lpfc_vport *vport) in lpfc_sli4_unreg_all_rpis()
883 lpfc_reg_vpi(struct lpfc_vport *vport, LPFC_MBOXQ_t *pmb) in lpfc_reg_vpi()
2118 lpfc_init_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport) in lpfc_init_vfi()
2149 lpfc_reg_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport, dma_addr_t phys) in lpfc_reg_vfi()
2251 lpfc_unreg_vfi(struct lpfcMboxq *mbox, struct lpfc_vport *vport) in lpfc_unreg_vfi()
H A Dlpfc_sli.c75 static void lpfc_sli4_send_seq_to_ulp(struct lpfc_vport *,
77 static void lpfc_sli4_handle_mds_loopback(struct lpfc_vport *vport,
947 lpfc_get_active_rrq(struct lpfc_vport *vport, uint16_t xri, uint32_t did) in lpfc_get_active_rrq()
978 lpfc_cleanup_vports_rrqs(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) in lpfc_cleanup_vports_rrqs()
2446 __lpfc_sli_rpi_release(struct lpfc_vport *vport, struct lpfc_nodelist *ndlp) in __lpfc_sli_rpi_release()
2473 struct lpfc_vport *vport = pmb->vport; in lpfc_sli_def_mbox_cmpl()
2578 struct lpfc_vport *vport = pmb->vport; in lpfc_sli4_unreg_rpi_cmpl_clr()
7372 struct lpfc_vport *vport = phba->pport; in lpfc_sli4_hba_setup()
10419 struct lpfc_vport *vport = NULL; in lpfc_sli_abts_err_handler()
10902 lpfc_sli_host_down(struct lpfc_vport *vport) in lpfc_sli_host_down()
[all …]
H A Dlpfc_nvmet.c1638 struct lpfc_vport *vport = phba->pport; in lpfc_nvmet_create_targetport()
1739 struct lpfc_vport *vport = phba->pport; in lpfc_nvmet_update_targetport()
1861 lpfc_nvmet_rcv_unsol_abort(struct lpfc_vport *vport, in lpfc_nvmet_rcv_unsol_abort()