| /Linux-v5.4/drivers/scsi/lpfc/ |
| D | lpfc_crtn.h | 28 void lpfc_down_link(struct lpfc_hba *, LPFC_MBOXQ_t *); 29 void lpfc_sli_read_link_ste(struct lpfc_hba *); 30 void lpfc_dump_mem(struct lpfc_hba *, LPFC_MBOXQ_t *, uint16_t, uint16_t); 31 void lpfc_dump_wakeup_param(struct lpfc_hba *, LPFC_MBOXQ_t *); 32 int lpfc_dump_static_vport(struct lpfc_hba *, LPFC_MBOXQ_t *, uint16_t); 33 int lpfc_sli4_dump_cfg_rg23(struct lpfc_hba *, struct lpfcMboxq *); 34 void lpfc_read_nv(struct lpfc_hba *, LPFC_MBOXQ_t *); 35 void lpfc_config_async(struct lpfc_hba *, LPFC_MBOXQ_t *, uint32_t); 37 void lpfc_heart_beat(struct lpfc_hba *, LPFC_MBOXQ_t *); 38 int lpfc_read_topology(struct lpfc_hba *, LPFC_MBOXQ_t *, struct lpfc_dmabuf *); [all …]
|
| D | lpfc_sli4.h | 127 struct rqb_dmabuf *(*rqb_alloc_buffer)(struct lpfc_hba *); 129 void (*rqb_free_buffer)(struct lpfc_hba *, 139 struct lpfc_hba *phba; 449 struct lpfc_hba; 455 struct lpfc_hba *phba; 784 void (*sli4_write_eq_db)(struct lpfc_hba *phba, struct lpfc_queue *eq, 786 void (*sli4_write_cq_db)(struct lpfc_hba *phba, struct lpfc_queue *cq, 973 void (*cmpl)(struct lpfc_hba *, struct lpfc_rdp_context*, int); 991 int lpfc_pci_function_reset(struct lpfc_hba *); 992 int lpfc_sli4_pdev_status_reg_wait(struct lpfc_hba *); [all …]
|
| D | lpfc.h | 306 struct lpfc_hba; 351 struct lpfc_hba *phba; 519 struct hbq_dmabuf *(*hbq_alloc_buffer) (struct lpfc_hba *); 521 void (*hbq_free_buffer) (struct lpfc_hba *, 627 struct lpfc_hba { struct 630 (struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, argument 633 (struct lpfc_hba *, struct lpfc_io_buf *); argument 635 (struct lpfc_hba *, struct lpfc_io_buf *); argument 637 (struct lpfc_hba *, struct lpfc_io_buf *); argument 639 (struct lpfc_hba *); argument [all …]
|
| D | lpfc_mem.c | 54 lpfc_mem_alloc_active_rrq_pool_s4(struct lpfc_hba *phba) { in lpfc_mem_alloc_active_rrq_pool_s4() 87 lpfc_mem_alloc(struct lpfc_hba *phba, int align) in lpfc_mem_alloc() 192 lpfc_nvmet_mem_alloc(struct lpfc_hba *phba) in lpfc_nvmet_mem_alloc() 216 lpfc_mem_free(struct lpfc_hba *phba) in lpfc_mem_free() 291 lpfc_mem_free_all(struct lpfc_hba *phba) in lpfc_mem_free_all() 368 lpfc_mbuf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_mbuf_alloc() 401 __lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in __lpfc_mbuf_free() 429 lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in lpfc_mbuf_free() 454 lpfc_nvmet_buf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_nvmet_buf_alloc() 472 lpfc_nvmet_buf_free(struct lpfc_hba *phba, void *virt, dma_addr_t dma) in lpfc_nvmet_buf_free() [all …]
|
| D | lpfc_sli.h | 28 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 *,
|
| D | lpfc_attr.c | 151 struct lpfc_hba *phba = vport->phba; in lpfc_enable_fip_show() 165 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_info_show() 538 struct lpfc_hba *phba = vport->phba; in lpfc_scsi_stat_show() 589 struct lpfc_hba *phba = vport->phba; in lpfc_bg_info_show() 609 struct lpfc_hba *phba = vport->phba; in lpfc_bg_guard_err_show() 621 struct lpfc_hba *phba = vport->phba; in lpfc_bg_apptag_err_show() 633 struct lpfc_hba *phba = vport->phba; in lpfc_bg_reftag_err_show() 670 struct lpfc_hba *phba = vport->phba; in lpfc_serialnum_show() 693 struct lpfc_hba *phba = vport->phba; in lpfc_temp_sensor_show() 711 struct lpfc_hba *phba = vport->phba; in lpfc_modeldesc_show() [all …]
|
| D | lpfc_mbox.c | 59 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 …]
|
| D | lpfc_init.c | 72 static void lpfc_get_hba_model_desc(struct lpfc_hba *, uint8_t *, uint8_t *); 73 static int lpfc_post_rcv_buf(struct lpfc_hba *); 74 static int lpfc_sli4_queue_verify(struct lpfc_hba *); 75 static int lpfc_create_bootstrap_mbox(struct lpfc_hba *); 76 static int lpfc_setup_endian_order(struct lpfc_hba *); 77 static void lpfc_destroy_bootstrap_mbox(struct lpfc_hba *); 78 static void lpfc_free_els_sgl_list(struct lpfc_hba *); 79 static void lpfc_free_nvmet_sgl_list(struct lpfc_hba *); 80 static void lpfc_init_sgl_list(struct lpfc_hba *); 81 static int lpfc_init_active_sgl_array(struct lpfc_hba *); [all …]
|
| D | lpfc_debugfs.h | 412 lpfc_debug_dump_wq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_wq() 452 lpfc_debug_dump_cq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_cq() 514 lpfc_debug_dump_hba_eq(struct lpfc_hba *phba, int qidx) in lpfc_debug_dump_hba_eq() 532 lpfc_debug_dump_dat_rq(struct lpfc_hba *phba) in lpfc_debug_dump_dat_rq() 546 lpfc_debug_dump_hdr_rq(struct lpfc_hba *phba) in lpfc_debug_dump_hdr_rq() 562 lpfc_debug_dump_wq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_wq_by_id() 596 lpfc_debug_dump_mq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_mq_by_id() 613 lpfc_debug_dump_rq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_rq_by_id() 635 lpfc_debug_dump_cq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_cq_by_id() 676 lpfc_debug_dump_eq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_eq_by_id() [all …]
|
| D | lpfc_vport.h | 93 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);
|
| D | lpfc_sli.c | 71 static int lpfc_sli_issue_mbox_s4(struct lpfc_hba *, LPFC_MBOXQ_t *, 73 static int lpfc_sli4_read_rev(struct lpfc_hba *, LPFC_MBOXQ_t *, 75 static struct lpfc_iocbq *lpfc_sli4_els_wcqe_to_rspiocbq(struct lpfc_hba *, 81 static bool lpfc_sli4_fp_handle_cqe(struct lpfc_hba *phba, 83 static int lpfc_sli4_post_sgl_list(struct lpfc_hba *, struct list_head *, 85 static void lpfc_sli4_hba_handle_eqe(struct lpfc_hba *phba, 88 static bool lpfc_sli4_mbox_completions_pending(struct lpfc_hba *phba); 89 static bool lpfc_sli4_process_missed_mbox_completions(struct lpfc_hba *phba); 396 lpfc_sli4_write_eq_db(struct lpfc_hba *phba, struct lpfc_queue *q, in lpfc_sli4_write_eq_db() 434 lpfc_sli4_if6_write_eq_db(struct lpfc_hba *phba, struct lpfc_queue *q, in lpfc_sli4_if6_write_eq_db() [all …]
|
| D | lpfc_hbadisc.c | 73 static void lpfc_unregister_fcfi_cmpl(struct lpfc_hba *, LPFC_MBOXQ_t *); 74 static int lpfc_fcf_inuse(struct lpfc_hba *); 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() 517 lpfc_work_list_done(struct lpfc_hba *phba) in lpfc_work_list_done() [all …]
|
| D | lpfc_vport.c | 88 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 …]
|
| D | lpfc_debugfs.c | 214 lpfc_debugfs_slow_ring_trc_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_slow_ring_trc_data() 282 lpfc_debugfs_hbqinfo_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_hbqinfo_data() 406 lpfc_debugfs_commonxripools_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_commonxripools_data() 458 lpfc_debugfs_multixripools_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_multixripools_data() 596 lpfc_debugfs_lockstat_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_lockstat_data() 665 lpfc_debugfs_dumpHBASlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHBASlim_data() 724 lpfc_debugfs_dumpHostSlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHostSlim_data() 812 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_nodelist_data() 1035 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_nvmestat_data() 1258 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_scsistat_data() [all …]
|
| D | lpfc_ct.c | 81 lpfc_ct_ignore_hbq_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_ignore_hbq_buffer() 97 lpfc_ct_unsol_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_unsol_buffer() 104 lpfc_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_ct_unsol_event() 192 lpfc_ct_handle_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_ct_handle_unsol_abort() 203 lpfc_free_ct_rsp(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_ct_rsp() 218 lpfc_alloc_ct_rsp(struct lpfc_hba *phba, int cmdcode, struct ulp_bde64 *bpl, in lpfc_alloc_ct_rsp() 275 lpfc_ct_free_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *ctiocb) in lpfc_ct_free_iocb() 318 void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, in lpfc_gen_req() 323 struct lpfc_hba *phba = vport->phba; in lpfc_gen_req() 411 void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, in lpfc_ct_cmd() [all …]
|
| D | lpfc_scsi.c | 84 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() 144 lpfc_update_stats(struct lpfc_hba *phba, struct lpfc_io_buf *lpfc_cmd) 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 …]
|
| D | lpfc_nvmet.c | 59 static struct lpfc_iocbq *lpfc_nvmet_prep_ls_wqe(struct lpfc_hba *, 63 static struct lpfc_iocbq *lpfc_nvmet_prep_fcp_wqe(struct lpfc_hba *, 65 static int lpfc_nvmet_sol_fcp_issue_abort(struct lpfc_hba *, 68 static int lpfc_nvmet_unsol_fcp_issue_abort(struct lpfc_hba *, 71 static int lpfc_nvmet_unsol_ls_issue_abort(struct lpfc_hba *, 74 static void lpfc_nvmet_wqfull_flush(struct lpfc_hba *, struct lpfc_queue *, 225 lpfc_nvmet_get_ctx_for_xri(struct lpfc_hba *phba, u16 xri) in lpfc_nvmet_get_ctx_for_xri() 247 lpfc_nvmet_get_ctx_for_oxid(struct lpfc_hba *phba, u16 oxid, u32 sid) in lpfc_nvmet_get_ctx_for_oxid() 270 lpfc_nvmet_defer_release(struct lpfc_hba *phba, struct lpfc_nvmet_rcv_ctx *ctxp) in lpfc_nvmet_defer_release() 301 lpfc_nvmet_xmt_ls_rsp_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in lpfc_nvmet_xmt_ls_rsp_cmp() [all …]
|
| D | lpfc_els.c | 49 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() 462 struct lpfc_hba *phba = vport->phba; in lpfc_issue_reg_vfi() 546 struct lpfc_hba *phba = vport->phba; in lpfc_issue_unreg_vfi() 602 struct lpfc_hba *phba = vport->phba; in lpfc_check_clean_addr_bit() 661 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_els_flogi_fabric() [all …]
|
| D | lpfc_bsg.c | 139 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 …]
|
| D | lpfc_nvme.c | 60 lpfc_get_nvme_buf(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, 64 lpfc_release_nvme_buf(struct lpfc_hba *, struct lpfc_io_buf *); 358 lpfc_nvme_cmpl_gen_req(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in lpfc_nvme_cmpl_gen_req() 421 void (*cmpl)(struct lpfc_hba *, struct lpfc_iocbq *, in lpfc_nvme_gen_req() argument 426 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_gen_req() 703 struct lpfc_hba *phba; in lpfc_nvme_ls_abort() 769 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_adj_fcp_sgls() 862 lpfc_nvme_ktime(struct lpfc_hba *phba, in lpfc_nvme_ktime() 958 lpfc_nvme_io_cmd_wqe_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *pwqeIn, in lpfc_nvme_io_cmd_wqe_cmpl() 1201 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_prep_io_cmd() [all …]
|
| D | lpfc_nvmet.h | 37 struct lpfc_hba *phba; 112 struct lpfc_hba *phba;
|
| D | lpfc_nportdisc.c | 170 lpfc_check_elscmpl_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_check_elscmpl_iocb() 210 lpfc_els_abort(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp) in lpfc_els_abort() 287 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_plogi() 532 lpfc_mbx_cmpl_resume_rpi(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_mbx_cmpl_resume_rpi() 648 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_logo() 775 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_prli() 881 lpfc_release_rpi(struct lpfc_hba *phba, struct lpfc_vport *vport, in lpfc_release_rpi() 931 struct lpfc_hba *phba; in lpfc_disc_illegal() 1036 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_plogi_plogi_issue() 1117 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_els_plogi_issue() [all …]
|
| D | lpfc_scsi.h | 25 struct lpfc_hba;
|
| D | lpfc_disc.h | 125 struct lpfc_hba *phba;
|
| /Linux-v5.4/Documentation/scsi/ |
| D | ChangeLog.lpfc | 562 * Added lpfc_hba load/unload flags to take care of special cases 1037 * Clock changes consolidating timers, just in the struct lpfc_hba, 1125 * Changed lpfc_printf_log to take struct lpfc_hba * directly 1205 * Changed Studly_Caps lpfcHBA_t to struct lpfc_hba. 1492 * Move lpip_stats structure from lpfc_hba.h to lpfc_ip.h. 1493 * Move lpfc_stats and HBAEVT_t structures from lpfc_hba.h to 1495 * Remove lpfc_hba.h
|