/Linux-v4.19/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 | 139 struct rqb_dmabuf *(*rqb_alloc_buffer)(struct lpfc_hba *); 141 void (*rqb_free_buffer)(struct lpfc_hba *, 151 struct lpfc_hba *phba; 423 struct lpfc_hba; 429 struct lpfc_hba *phba; 772 void (*cmpl)(struct lpfc_hba *, struct lpfc_rdp_context*, int); 790 int lpfc_pci_function_reset(struct lpfc_hba *); 791 int lpfc_sli4_pdev_status_reg_wait(struct lpfc_hba *); 792 int lpfc_sli4_hba_setup(struct lpfc_hba *); 793 int lpfc_sli4_config(struct lpfc_hba *, struct lpfcMboxq *, uint8_t, [all …]
|
D | lpfc.h | 306 struct lpfc_hba; 339 struct lpfc_hba *phba; 504 struct hbq_dmabuf *(*hbq_alloc_buffer) (struct lpfc_hba *); 506 void (*hbq_free_buffer) (struct lpfc_hba *, 586 struct lpfc_hba { struct 591 (struct lpfc_hba *, struct lpfc_nodelist *); argument 593 (struct lpfc_hba *, struct lpfc_scsi_buf *); argument 595 (struct lpfc_hba *, struct lpfc_scsi_buf *); argument 597 (struct lpfc_hba *, struct lpfc_scsi_buf *); argument 599 (struct lpfc_hba *); argument [all …]
|
D | lpfc_sli.h | 24 struct lpfc_hba; 112 void (*fabric_iocb_cmpl)(struct lpfc_hba *, struct lpfc_iocbq *, 114 void (*wait_iocb_cmpl)(struct lpfc_hba *, struct lpfc_iocbq *, 116 void (*iocb_cmpl)(struct lpfc_hba *, struct lpfc_iocbq *, 118 void (*wqe_cmpl)(struct lpfc_hba *, struct lpfc_iocbq *, 152 void (*mbox_cmpl) (struct lpfc_hba *, struct lpfcMboxq *); 179 void (*lpfc_sli_rcv_unsol_event) (struct lpfc_hba *, 247 void (*lpfc_sli_rcv_async_status) (struct lpfc_hba *, 253 void (*lpfc_sli_cmd_available) (struct lpfc_hba *,
|
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() 219 lpfc_nvmet_mem_alloc(struct lpfc_hba *phba) in lpfc_nvmet_mem_alloc() 243 lpfc_mem_free(struct lpfc_hba *phba) in lpfc_mem_free() 325 lpfc_mem_free_all(struct lpfc_hba *phba) in lpfc_mem_free_all() 395 lpfc_mbuf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_mbuf_alloc() 428 __lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in __lpfc_mbuf_free() 456 lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in lpfc_mbuf_free() 481 lpfc_nvmet_buf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_nvmet_buf_alloc() 499 lpfc_nvmet_buf_free(struct lpfc_hba *phba, void *virt, dma_addr_t dma) in lpfc_nvmet_buf_free() [all …]
|
D | lpfc_init.c | 77 static void lpfc_get_hba_model_desc(struct lpfc_hba *, uint8_t *, uint8_t *); 78 static int lpfc_post_rcv_buf(struct lpfc_hba *); 79 static int lpfc_sli4_queue_verify(struct lpfc_hba *); 80 static int lpfc_create_bootstrap_mbox(struct lpfc_hba *); 81 static int lpfc_setup_endian_order(struct lpfc_hba *); 82 static void lpfc_destroy_bootstrap_mbox(struct lpfc_hba *); 83 static void lpfc_free_els_sgl_list(struct lpfc_hba *); 84 static void lpfc_free_nvmet_sgl_list(struct lpfc_hba *); 85 static void lpfc_init_sgl_list(struct lpfc_hba *); 86 static int lpfc_init_active_sgl_array(struct lpfc_hba *); [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_attr.c | 137 struct lpfc_hba *phba = vport->phba; in lpfc_enable_fip_show() 151 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_info_show() 518 struct lpfc_hba *phba = vport->phba; in lpfc_bg_info_show() 537 struct lpfc_hba *phba = vport->phba; in lpfc_bg_guard_err_show() 549 struct lpfc_hba *phba = vport->phba; in lpfc_bg_apptag_err_show() 561 struct lpfc_hba *phba = vport->phba; in lpfc_bg_reftag_err_show() 598 struct lpfc_hba *phba = vport->phba; in lpfc_serialnum_show() 621 struct lpfc_hba *phba = vport->phba; in lpfc_temp_sensor_show() 639 struct lpfc_hba *phba = vport->phba; in lpfc_modeldesc_show() 658 struct lpfc_hba *phba = vport->phba; in lpfc_modelname_show() [all …]
|
D | lpfc_debugfs.h | 407 lpfc_debug_dump_wq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_wq() 450 lpfc_debug_dump_cq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_cq() 515 lpfc_debug_dump_hba_eq(struct lpfc_hba *phba, int qidx) in lpfc_debug_dump_hba_eq() 533 lpfc_debug_dump_dat_rq(struct lpfc_hba *phba) in lpfc_debug_dump_dat_rq() 547 lpfc_debug_dump_hdr_rq(struct lpfc_hba *phba) in lpfc_debug_dump_hdr_rq() 563 lpfc_debug_dump_wq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_wq_by_id() 606 lpfc_debug_dump_mq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_mq_by_id() 623 lpfc_debug_dump_rq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_rq_by_id() 645 lpfc_debug_dump_cq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_cq_by_id() 696 lpfc_debug_dump_eq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_eq_by_id() [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() 209 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_handler() 345 lpfc_sli4_post_dev_loss_tmo_handler(struct lpfc_hba *phba, int fcf_inuse, in lpfc_sli4_post_dev_loss_tmo_handler() 405 lpfc_alloc_fast_evt(struct lpfc_hba *phba) { in lpfc_alloc_fast_evt() 431 lpfc_free_fast_evt(struct lpfc_hba *phba, in lpfc_free_fast_evt() 448 lpfc_send_fastpath_evt(struct lpfc_hba *phba, in lpfc_send_fastpath_evt() 515 lpfc_work_list_done(struct lpfc_hba *phba) in lpfc_work_list_done() [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 int lpfc_sli4_fp_handle_cqe(struct lpfc_hba *, struct lpfc_queue *, 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, 87 static bool lpfc_sli4_mbox_completions_pending(struct lpfc_hba *phba); 88 static bool lpfc_sli4_process_missed_mbox_completions(struct lpfc_hba *phba); 89 static int lpfc_sli4_abort_nvme_io(struct lpfc_hba *phba, 328 struct lpfc_hba *phba; in lpfc_sli4_eq_get() [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() 505 struct lpfc_hba *phba = vport->phba; in disable_vport() 557 struct lpfc_hba *phba = vport->phba; in enable_vport() 618 struct lpfc_hba *phba = vport->phba; in lpfc_vport_delete() [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 | 86 lpfc_release_scsi_buf_s4(struct lpfc_hba *phba, struct lpfc_scsi_buf *psb); 88 lpfc_release_scsi_buf_s3(struct lpfc_hba *phba, struct lpfc_scsi_buf *psb); 90 lpfc_prot_group_type(struct lpfc_hba *phba, struct scsi_cmnd *sc); 93 lpfc_debug_save_data(struct lpfc_hba *phba, struct scsi_cmnd *cmnd) in lpfc_debug_save_data() 122 lpfc_debug_save_dif(struct lpfc_hba *phba, struct scsi_cmnd *cmnd) in lpfc_debug_save_dif() 182 lpfc_sli4_set_rsp_sgl_last(struct lpfc_hba *phba, in lpfc_sli4_set_rsp_sgl_last() 203 lpfc_update_stats(struct lpfc_hba *phba, struct lpfc_scsi_buf *lpfc_cmd) in lpfc_update_stats() 260 lpfc_rampdown_queue_depth(struct lpfc_hba *phba) in lpfc_rampdown_queue_depth() 300 lpfc_ramp_down_queue_handler(struct lpfc_hba *phba) in lpfc_ramp_down_queue_handler() 350 lpfc_scsi_dev_block(struct lpfc_hba *phba) in lpfc_scsi_dev_block() [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 *, 221 lpfc_nvmet_defer_release(struct lpfc_hba *phba, struct lpfc_nvmet_rcv_ctx *ctxp) in lpfc_nvmet_defer_release() 251 lpfc_nvmet_xmt_ls_rsp_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in lpfc_nvmet_xmt_ls_rsp_cmp() 319 lpfc_nvmet_ctxbuf_post(struct lpfc_hba *phba, struct lpfc_nvmet_ctxbuf *ctx_buf) in lpfc_nvmet_ctxbuf_post() 450 lpfc_nvmet_ktime(struct lpfc_hba *phba, in lpfc_nvmet_ktime() [all …]
|
D | lpfc_els.c | 47 static int lpfc_els_retry(struct lpfc_hba *, struct lpfc_iocbq *, 49 static void lpfc_cmpl_fabric_iocb(struct lpfc_hba *, struct lpfc_iocbq *, 54 static int lpfc_issue_fabric_iocb(struct lpfc_hba *phba, 85 struct lpfc_hba *phba = vport->phba; in lpfc_els_chk_latt() 156 struct lpfc_hba *phba = vport->phba; in lpfc_prep_els_iocb() 367 struct lpfc_hba *phba = vport->phba; in lpfc_issue_fabric_reglogin() 458 struct lpfc_hba *phba = vport->phba; in lpfc_issue_reg_vfi() 542 struct lpfc_hba *phba = vport->phba; in lpfc_issue_unreg_vfi() 598 struct lpfc_hba *phba = vport->phba; in lpfc_check_clean_addr_bit() 657 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_els_flogi_fabric() [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() 402 lpfc_debugfs_dumpHBASlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHBASlim_data() 461 lpfc_debugfs_dumpHostSlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHostSlim_data() 549 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_nodelist_data() 770 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_nvmestat_data() 997 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_nvmektime_data() 1195 lpfc_debugfs_nvmeio_trc_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_nvmeio_trc_data() 1299 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_cpucheck_data() 1419 lpfc_debugfs_slow_ring_trc(struct lpfc_hba *phba, char *fmt, in lpfc_debugfs_slow_ring_trc() [all …]
|
D | lpfc_bsg.c | 138 lpfc_free_bsg_buffers(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_bsg_buffers() 156 lpfc_alloc_bsg_buffers(struct lpfc_hba *phba, unsigned int size, in lpfc_alloc_bsg_buffers() 298 lpfc_bsg_send_mgmt_cmd_cmp(struct lpfc_hba *phba, in lpfc_bsg_send_mgmt_cmd_cmp() 390 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_send_mgmt_cmd() 575 lpfc_bsg_rport_els_cmp(struct lpfc_hba *phba, in lpfc_bsg_rport_els_cmp() 664 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_rport_els() 878 diag_cmd_data_free(struct lpfc_hba *phba, struct lpfc_dmabufext *mlist) in diag_cmd_data_free() 914 lpfc_bsg_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_bsg_ct_unsol_event() 1172 lpfc_bsg_ct_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_bsg_ct_unsol_abort() 1208 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_nvme_buf *); 357 lpfc_nvme_cmpl_gen_req(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in lpfc_nvme_cmpl_gen_req() 420 void (*cmpl)(struct lpfc_hba *, struct lpfc_iocbq *, in lpfc_nvme_gen_req() argument 425 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_gen_req() 700 struct lpfc_hba *phba; in lpfc_nvme_ls_abort() 766 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_adj_fcp_sgls() 859 lpfc_nvme_ktime(struct lpfc_hba *phba, in lpfc_nvme_ktime() 955 lpfc_nvme_io_cmd_wqe_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *pwqeIn, in lpfc_nvme_io_cmd_wqe_cmpl() 1202 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_prep_io_cmd() [all …]
|
D | lpfc_nvmet.h | 36 struct lpfc_hba *phba; 111 struct lpfc_hba *phba;
|
D | lpfc_scsi.h | 25 struct lpfc_hba; 199 int lpfc_sli4_scmd_to_wqidx_distr(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() 531 lpfc_mbx_cmpl_resume_rpi(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_mbx_cmpl_resume_rpi() 647 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_logo() 774 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_prli() 869 lpfc_release_rpi(struct lpfc_hba *phba, in lpfc_release_rpi() 894 struct lpfc_hba *phba; in lpfc_disc_illegal() 999 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_plogi_plogi_issue() 1080 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_els_plogi_issue() [all …]
|
D | lpfc_disc.h | 123 struct lpfc_hba *phba;
|
/Linux-v4.19/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
|