Home
last modified time | relevance | path

Searched refs:lpfc_hba (Results 1 – 25 of 26) sorted by relevance

12

/Linux-v5.10/drivers/scsi/lpfc/
Dlpfc_crtn.h27 void lpfc_down_link(struct lpfc_hba *, LPFC_MBOXQ_t *);
28 void lpfc_sli_read_link_ste(struct lpfc_hba *);
29 void lpfc_dump_mem(struct lpfc_hba *, LPFC_MBOXQ_t *, uint16_t, uint16_t);
30 void lpfc_dump_wakeup_param(struct lpfc_hba *, LPFC_MBOXQ_t *);
31 int lpfc_dump_static_vport(struct lpfc_hba *, LPFC_MBOXQ_t *, uint16_t);
32 int lpfc_sli4_dump_cfg_rg23(struct lpfc_hba *, struct lpfcMboxq *);
33 void lpfc_read_nv(struct lpfc_hba *, LPFC_MBOXQ_t *);
34 void lpfc_config_async(struct lpfc_hba *, LPFC_MBOXQ_t *, uint32_t);
36 void lpfc_heart_beat(struct lpfc_hba *, LPFC_MBOXQ_t *);
37 int lpfc_read_topology(struct lpfc_hba *, LPFC_MBOXQ_t *, struct lpfc_dmabuf *);
[all …]
Dlpfc_sli4.h135 struct rqb_dmabuf *(*rqb_alloc_buffer)(struct lpfc_hba *);
137 void (*rqb_free_buffer)(struct lpfc_hba *,
174 struct lpfc_hba *phba;
487 struct lpfc_hba;
494 struct lpfc_hba *phba;
830 void (*sli4_write_eq_db)(struct lpfc_hba *phba, struct lpfc_queue *eq,
832 void (*sli4_write_cq_db)(struct lpfc_hba *phba, struct lpfc_queue *cq,
1024 void (*cmpl)(struct lpfc_hba *, struct lpfc_rdp_context*, int);
1042 int lpfc_pci_function_reset(struct lpfc_hba *);
1043 int lpfc_sli4_pdev_status_reg_wait(struct lpfc_hba *);
[all …]
Dlpfc.h303 struct lpfc_hba;
348 struct lpfc_hba *phba;
516 struct hbq_dmabuf *(*hbq_alloc_buffer) (struct lpfc_hba *);
518 void (*hbq_free_buffer) (struct lpfc_hba *,
651 struct lpfc_hba { struct
654 (struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, argument
657 (struct lpfc_hba *, struct lpfc_io_buf *); argument
659 (struct lpfc_hba *, struct lpfc_io_buf *); argument
661 (struct lpfc_hba *, struct lpfc_io_buf *); argument
663 (struct lpfc_hba *); argument
[all …]
Dlpfc_mem.c51 lpfc_mem_alloc_active_rrq_pool_s4(struct lpfc_hba *phba) { in lpfc_mem_alloc_active_rrq_pool_s4()
85 lpfc_mem_alloc(struct lpfc_hba *phba, int align) in lpfc_mem_alloc()
190 lpfc_nvmet_mem_alloc(struct lpfc_hba *phba) in lpfc_nvmet_mem_alloc()
214 lpfc_mem_free(struct lpfc_hba *phba) in lpfc_mem_free()
286 lpfc_mem_free_all(struct lpfc_hba *phba) in lpfc_mem_free_all()
363 lpfc_mbuf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_mbuf_alloc()
396 __lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in __lpfc_mbuf_free()
424 lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in lpfc_mbuf_free()
449 lpfc_nvmet_buf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_nvmet_buf_alloc()
467 lpfc_nvmet_buf_free(struct lpfc_hba *phba, void *virt, dma_addr_t dma) in lpfc_nvmet_buf_free()
[all …]
Dlpfc_nvme.h104 struct lpfc_hba *phba;
199 struct lpfc_hba *phba;
238 void (*gen_req_cmp)(struct lpfc_hba *phba,
241 void __lpfc_nvme_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_vport *vport,
247 int lpfc_nvme_unsol_ls_issue_abort(struct lpfc_hba *phba,
252 void (*xmt_ls_rsp_cmp)(struct lpfc_hba *phba,
255 void __lpfc_nvme_xmt_ls_rsp_cmp(struct lpfc_hba *phba,
Dlpfc_sli.h28 struct lpfc_hba;
117 void (*fabric_iocb_cmpl)(struct lpfc_hba *, struct lpfc_iocbq *,
119 void (*wait_iocb_cmpl)(struct lpfc_hba *, struct lpfc_iocbq *,
121 void (*iocb_cmpl)(struct lpfc_hba *, struct lpfc_iocbq *,
123 void (*wqe_cmpl)(struct lpfc_hba *, struct lpfc_iocbq *,
157 void (*mbox_cmpl) (struct lpfc_hba *, struct lpfcMboxq *);
184 void (*lpfc_sli_rcv_unsol_event) (struct lpfc_hba *,
252 void (*lpfc_sli_rcv_async_status) (struct lpfc_hba *,
258 void (*lpfc_sli_cmd_available) (struct lpfc_hba *,
Dlpfc_init.c72 static void __lpfc_cpuhp_remove(struct lpfc_hba *phba);
73 static void lpfc_cpuhp_remove(struct lpfc_hba *phba);
74 static void lpfc_cpuhp_add(struct lpfc_hba *phba);
75 static void lpfc_get_hba_model_desc(struct lpfc_hba *, uint8_t *, uint8_t *);
76 static int lpfc_post_rcv_buf(struct lpfc_hba *);
77 static int lpfc_sli4_queue_verify(struct lpfc_hba *);
78 static int lpfc_create_bootstrap_mbox(struct lpfc_hba *);
79 static int lpfc_setup_endian_order(struct lpfc_hba *);
80 static void lpfc_destroy_bootstrap_mbox(struct lpfc_hba *);
81 static void lpfc_free_els_sgl_list(struct lpfc_hba *);
[all …]
Dlpfc_mbox.c59 lpfc_dump_static_vport(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, in lpfc_dump_static_vport()
113 lpfc_down_link(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_down_link()
135 lpfc_dump_mem(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, uint16_t offset, in lpfc_dump_mem()
168 lpfc_dump_wakeup_param(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_dump_wakeup_param()
205 lpfc_read_nv(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_read_nv()
230 lpfc_config_async(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb, in lpfc_config_async()
257 lpfc_heart_beat(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_heart_beat()
290 lpfc_read_topology(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, in lpfc_read_topology()
328 lpfc_clear_la(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_clear_la()
356 lpfc_config_link(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_config_link()
[all …]
Dlpfc_attr.c148 struct lpfc_hba *phba = vport->phba; in lpfc_enable_fip_show()
162 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_info_show()
535 struct lpfc_hba *phba = vport->phba; in lpfc_scsi_stat_show()
586 struct lpfc_hba *phba = vport->phba; in lpfc_bg_info_show()
606 struct lpfc_hba *phba = vport->phba; in lpfc_bg_guard_err_show()
618 struct lpfc_hba *phba = vport->phba; in lpfc_bg_apptag_err_show()
630 struct lpfc_hba *phba = vport->phba; in lpfc_bg_reftag_err_show()
667 struct lpfc_hba *phba = vport->phba; in lpfc_serialnum_show()
690 struct lpfc_hba *phba = vport->phba; in lpfc_temp_sensor_show()
708 struct lpfc_hba *phba = vport->phba; in lpfc_modeldesc_show()
[all …]
Dlpfc_debugfs.h411 lpfc_debug_dump_wq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_wq()
451 lpfc_debug_dump_cq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_cq()
513 lpfc_debug_dump_hba_eq(struct lpfc_hba *phba, int qidx) in lpfc_debug_dump_hba_eq()
531 lpfc_debug_dump_dat_rq(struct lpfc_hba *phba) in lpfc_debug_dump_dat_rq()
545 lpfc_debug_dump_hdr_rq(struct lpfc_hba *phba) in lpfc_debug_dump_hdr_rq()
561 lpfc_debug_dump_wq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_wq_by_id()
595 lpfc_debug_dump_mq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_mq_by_id()
612 lpfc_debug_dump_rq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_rq_by_id()
634 lpfc_debug_dump_cq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_cq_by_id()
675 lpfc_debug_dump_eq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_eq_by_id()
[all …]
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 **);
95 int lpfc_alloc_vpi(struct lpfc_hba *phba);
Dlpfc_sli.c69 static int lpfc_sli_issue_mbox_s4(struct lpfc_hba *, LPFC_MBOXQ_t *,
71 static int lpfc_sli4_read_rev(struct lpfc_hba *, LPFC_MBOXQ_t *,
73 static struct lpfc_iocbq *lpfc_sli4_els_wcqe_to_rspiocbq(struct lpfc_hba *,
79 static bool lpfc_sli4_fp_handle_cqe(struct lpfc_hba *phba,
81 static int lpfc_sli4_post_sgl_list(struct lpfc_hba *, struct list_head *,
83 static void lpfc_sli4_hba_handle_eqe(struct lpfc_hba *phba,
86 static bool lpfc_sli4_mbox_completions_pending(struct lpfc_hba *phba);
87 static bool lpfc_sli4_process_missed_mbox_completions(struct lpfc_hba *phba);
89 static void __lpfc_sli4_consume_cqe(struct lpfc_hba *phba,
389 lpfc_sli4_write_eq_db(struct lpfc_hba *phba, struct lpfc_queue *q, in lpfc_sli4_write_eq_db()
[all …]
Dlpfc_hbadisc.c72 static void lpfc_unregister_fcfi_cmpl(struct lpfc_hba *, LPFC_MBOXQ_t *);
73 static int lpfc_fcf_inuse(struct lpfc_hba *);
74 static void lpfc_mbx_cmpl_read_sparam(struct lpfc_hba *, LPFC_MBOXQ_t *);
81 struct lpfc_hba *phba; in lpfc_terminate_rport_io()
117 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_callbk()
210 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_handler()
347 lpfc_sli4_post_dev_loss_tmo_handler(struct lpfc_hba *phba, int fcf_inuse, in lpfc_sli4_post_dev_loss_tmo_handler()
407 lpfc_alloc_fast_evt(struct lpfc_hba *phba) { in lpfc_alloc_fast_evt()
433 lpfc_free_fast_evt(struct lpfc_hba *phba, in lpfc_free_fast_evt()
450 lpfc_send_fastpath_evt(struct lpfc_hba *phba, in lpfc_send_fastpath_evt()
[all …]
Dlpfc_vport.c88 lpfc_alloc_vpi(struct lpfc_hba *phba) in lpfc_alloc_vpi()
106 lpfc_free_vpi(struct lpfc_hba *phba, int vpi) in lpfc_free_vpi()
118 lpfc_vport_sparm(struct lpfc_hba *phba, struct lpfc_vport *vport) in lpfc_vport_sparm()
183 lpfc_valid_wwn_format(struct lpfc_hba *phba, struct lpfc_name *wwn, in lpfc_valid_wwn_format()
205 lpfc_unique_wwpn(struct lpfc_hba *phba, struct lpfc_vport *new_vport) in lpfc_unique_wwpn()
243 struct lpfc_hba *phba = vport->phba; in lpfc_discovery_wait()
300 struct lpfc_hba *phba = pport->phba; in lpfc_vport_create()
492 struct lpfc_hba *phba = vport->phba; in disable_vport()
546 struct lpfc_hba *phba = vport->phba; in enable_vport()
607 struct lpfc_hba *phba = vport->phba; in lpfc_vport_delete()
[all …]
Dlpfc_debugfs.c212 lpfc_debugfs_slow_ring_trc_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_slow_ring_trc_data()
280 lpfc_debugfs_hbqinfo_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_hbqinfo_data()
404 lpfc_debugfs_commonxripools_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_commonxripools_data()
456 lpfc_debugfs_multixripools_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_multixripools_data()
594 lpfc_debugfs_lockstat_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_lockstat_data()
663 lpfc_debugfs_dumpHBASlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHBASlim_data()
722 lpfc_debugfs_dumpHostSlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHostSlim_data()
810 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_nodelist_data()
1033 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_nvmestat_data()
1256 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_scsistat_data()
[all …]
Dlpfc_nvmet.c54 static struct lpfc_iocbq *lpfc_nvmet_prep_ls_wqe(struct lpfc_hba *,
58 static struct lpfc_iocbq *lpfc_nvmet_prep_fcp_wqe(struct lpfc_hba *,
60 static int lpfc_nvmet_sol_fcp_issue_abort(struct lpfc_hba *,
63 static int lpfc_nvmet_unsol_fcp_issue_abort(struct lpfc_hba *,
66 static void lpfc_nvmet_wqfull_flush(struct lpfc_hba *, struct lpfc_queue *,
217 lpfc_nvmet_get_ctx_for_xri(struct lpfc_hba *phba, u16 xri) in lpfc_nvmet_get_ctx_for_xri()
239 lpfc_nvmet_get_ctx_for_oxid(struct lpfc_hba *phba, u16 oxid, u32 sid) in lpfc_nvmet_get_ctx_for_oxid()
262 lpfc_nvmet_defer_release(struct lpfc_hba *phba, in lpfc_nvmet_defer_release()
295 __lpfc_nvme_xmt_ls_rsp_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in __lpfc_nvme_xmt_ls_rsp_cmp()
342 lpfc_nvmet_xmt_ls_rsp_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in lpfc_nvmet_xmt_ls_rsp_cmp()
[all …]
Dlpfc_ct.c80 lpfc_ct_ignore_hbq_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_ignore_hbq_buffer()
96 lpfc_ct_unsol_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_unsol_buffer()
103 lpfc_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_ct_unsol_event()
191 lpfc_ct_handle_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_ct_handle_unsol_abort()
202 lpfc_free_ct_rsp(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_ct_rsp()
217 lpfc_alloc_ct_rsp(struct lpfc_hba *phba, int cmdcode, struct ulp_bde64 *bpl, in lpfc_alloc_ct_rsp()
274 lpfc_ct_free_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *ctiocb) in lpfc_ct_free_iocb()
317 void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, in lpfc_gen_req()
322 struct lpfc_hba *phba = vport->phba; in lpfc_gen_req()
412 void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, in lpfc_ct_cmd()
[all …]
Dlpfc_scsi.c84 lpfc_release_scsi_buf_s4(struct lpfc_hba *phba, struct lpfc_io_buf *psb);
86 lpfc_release_scsi_buf_s3(struct lpfc_hba *phba, struct lpfc_io_buf *psb);
88 lpfc_prot_group_type(struct lpfc_hba *phba, struct scsi_cmnd *sc);
123 lpfc_sli4_set_rsp_sgl_last(struct lpfc_hba *phba, in lpfc_sli4_set_rsp_sgl_last()
146 struct lpfc_hba *phba = vport->phba; in lpfc_update_stats()
203 lpfc_rampdown_queue_depth(struct lpfc_hba *phba) in lpfc_rampdown_queue_depth()
243 lpfc_ramp_down_queue_handler(struct lpfc_hba *phba) in lpfc_ramp_down_queue_handler()
293 lpfc_scsi_dev_block(struct lpfc_hba *phba) in lpfc_scsi_dev_block()
332 struct lpfc_hba *phba = vport->phba; in lpfc_new_scsi_buf_s3()
468 struct lpfc_hba *phba = vport->phba; in lpfc_sli4_vport_delete_fcp_xri_aborted()
[all …]
Dlpfc_els.c49 static int lpfc_els_retry(struct lpfc_hba *, struct lpfc_iocbq *,
51 static void lpfc_cmpl_fabric_iocb(struct lpfc_hba *, struct lpfc_iocbq *,
56 static int lpfc_issue_fabric_iocb(struct lpfc_hba *phba,
87 struct lpfc_hba *phba = vport->phba; in lpfc_els_chk_latt()
158 struct lpfc_hba *phba = vport->phba; in lpfc_prep_els_iocb()
371 struct lpfc_hba *phba = vport->phba; in lpfc_issue_fabric_reglogin()
463 struct lpfc_hba *phba = vport->phba; in lpfc_issue_reg_vfi()
547 struct lpfc_hba *phba = vport->phba; in lpfc_issue_unreg_vfi()
603 struct lpfc_hba *phba = vport->phba; in lpfc_check_clean_addr_bit()
662 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_els_flogi_fabric()
[all …]
Dlpfc_bsg.c139 lpfc_free_bsg_buffers(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_bsg_buffers()
157 lpfc_alloc_bsg_buffers(struct lpfc_hba *phba, unsigned int size, in lpfc_alloc_bsg_buffers()
299 lpfc_bsg_send_mgmt_cmd_cmp(struct lpfc_hba *phba, in lpfc_bsg_send_mgmt_cmd_cmp()
391 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_send_mgmt_cmd()
576 lpfc_bsg_rport_els_cmp(struct lpfc_hba *phba, in lpfc_bsg_rport_els_cmp()
665 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_rport_els()
879 diag_cmd_data_free(struct lpfc_hba *phba, struct lpfc_dmabufext *mlist) in diag_cmd_data_free()
915 lpfc_bsg_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_bsg_ct_unsol_event()
1173 lpfc_bsg_ct_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_bsg_ct_unsol_abort()
1209 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_hba_set_event()
[all …]
Dlpfc_nvme.c57 lpfc_get_nvme_buf(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp,
61 lpfc_release_nvme_buf(struct lpfc_hba *, struct lpfc_io_buf *);
415 lpfc_nvme_handle_lsreq(struct lpfc_hba *phba, 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()
516 lpfc_nvme_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in lpfc_nvme_ls_req_cmp()
544 void (*cmpl)(struct lpfc_hba *, struct lpfc_iocbq *, in lpfc_nvme_gen_req() argument
549 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_gen_req()
689 void (*gen_req_cmp)(struct lpfc_hba *phba, in __lpfc_nvme_ls_req()
847 struct lpfc_hba *phba = vport->phba; in __lpfc_nvme_ls_abort()
943 struct lpfc_hba *phba; in lpfc_nvme_ls_abort()
[all …]
Dlpfc_logmsg.h50 void lpfc_dmp_dbg(struct lpfc_hba *phba);
51 void lpfc_dbg_print(struct lpfc_hba *phba, const char *fmt, ...);
Dlpfc_nportdisc.c168 lpfc_check_elscmpl_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_check_elscmpl_iocb()
208 lpfc_els_abort(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp) in lpfc_els_abort()
288 lpfc_defer_pt2pt_acc(struct lpfc_hba *phba, LPFC_MBOXQ_t *link_mbox) in lpfc_defer_pt2pt_acc()
342 lpfc_defer_acc_rsp(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_defer_acc_rsp()
388 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_plogi()
716 lpfc_mbx_cmpl_resume_rpi(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_mbx_cmpl_resume_rpi()
838 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_logo()
971 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_prli()
1078 lpfc_release_rpi(struct lpfc_hba *phba, struct lpfc_vport *vport, in lpfc_release_rpi()
1128 struct lpfc_hba *phba; in lpfc_disc_illegal()
[all …]
Dlpfc_scsi.h25 struct lpfc_hba;
Dlpfc_disc.h125 struct lpfc_hba *phba;

12