/kernel/linux/linux-6.6/drivers/scsi/lpfc/ |
H A D | lpfc_crtn.h | 27 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); 35 int lpfc_mbox_rsrc_prep(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox); 36 void lpfc_mbox_rsrc_cleanup(struct lpfc_hba *phb [all...] |
H A D | lpfc_sli4.h | 135 struct rqb_dmabuf *(*rqb_alloc_buffer)(struct lpfc_hba *); 137 void (*rqb_free_buffer)(struct lpfc_hba *, 174 struct lpfc_hba *phba; 486 struct lpfc_hba; 493 struct lpfc_hba *phba; 841 void (*sli4_write_eq_db)(struct lpfc_hba *phba, struct lpfc_queue *eq, 843 void (*sli4_write_cq_db)(struct lpfc_hba *phba, struct lpfc_queue *cq, 1041 void (*cmpl)(struct lpfc_hba *, struct lpfc_rdp_context*, int); 1059 int lpfc_pci_function_reset(struct lpfc_hba *); 1060 int lpfc_sli4_pdev_status_reg_wait(struct lpfc_hba *); [all...] |
H A D | lpfc.h | 307 struct lpfc_hba; 539 struct lpfc_hba *phba; 737 struct hbq_dmabuf *(*hbq_alloc_buffer) (struct lpfc_hba *); 739 void (*hbq_free_buffer) (struct lpfc_hba *, 878 struct lpfc_hba { struct 881 (struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, 884 (struct lpfc_hba *, struct lpfc_io_buf *); 886 (struct lpfc_hba *, struct lpfc_io_buf *); 888 (struct lpfc_hba *, struct lpfc_io_buf *); 890 (struct lpfc_hba *); [all...] |
H A D | lpfc_mem.c | 52 lpfc_mem_alloc_active_rrq_pool_s4(struct lpfc_hba *phba) { in lpfc_mem_alloc_active_rrq_pool_s4() 86 lpfc_mem_alloc(struct lpfc_hba *phba, int align) in lpfc_mem_alloc() 191 lpfc_nvmet_mem_alloc(struct lpfc_hba *phba) in lpfc_nvmet_mem_alloc() 215 lpfc_mem_free(struct lpfc_hba *phba) in lpfc_mem_free() 287 lpfc_mem_free_all(struct lpfc_hba *phba) in lpfc_mem_free_all() 380 lpfc_mbuf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_mbuf_alloc() 413 __lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in __lpfc_mbuf_free() 441 lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in lpfc_mbuf_free() 466 lpfc_nvmet_buf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_nvmet_buf_alloc() 484 lpfc_nvmet_buf_free(struct lpfc_hba *phb [all...] |
H A D | lpfc_nvme.h | 101 struct lpfc_hba *phba; 196 struct lpfc_hba *phba; 235 void (*gen_req_cmp)(struct lpfc_hba *phba, 238 void __lpfc_nvme_ls_req_cmp(struct lpfc_hba *phba, struct lpfc_vport *vport, 244 int lpfc_nvme_unsol_ls_issue_abort(struct lpfc_hba *phba, 249 void (*xmt_ls_rsp_cmp)(struct lpfc_hba *phba, 252 void __lpfc_nvme_xmt_ls_rsp_cmp(struct lpfc_hba *phba,
|
H A D | lpfc_attr.c | 123 struct lpfc_hba *phba = vport->phba; in lpfc_cmf_info_show() 323 struct lpfc_hba *phba = vport->phba; in lpfc_enable_fip_show() 337 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_info_show() 708 struct lpfc_hba *phba = vport->phba; in lpfc_scsi_stat_show() 759 struct lpfc_hba *phba = vport->phba; in lpfc_bg_info_show() 779 struct lpfc_hba *phba = vport->phba; in lpfc_bg_guard_err_show() 791 struct lpfc_hba *phba = vport->phba; in lpfc_bg_apptag_err_show() 803 struct lpfc_hba *phba = vport->phba; in lpfc_bg_reftag_err_show() 840 struct lpfc_hba *phba = vport->phba; in lpfc_serialnum_show() 863 struct lpfc_hba *phb in lpfc_temp_sensor_show() [all...] |
H A D | lpfc_mbox.c | 63 lpfc_mbox_rsrc_prep(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_mbox_rsrc_prep() 100 lpfc_mbox_rsrc_cleanup(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox, in lpfc_mbox_rsrc_cleanup() 133 lpfc_dump_static_vport(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, in lpfc_dump_static_vport() 181 lpfc_down_link(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_down_link() 203 lpfc_dump_mem(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, uint16_t offset, in lpfc_dump_mem() 236 lpfc_dump_wakeup_param(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_dump_wakeup_param() 273 lpfc_read_nv(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_read_nv() 298 lpfc_config_async(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb, in lpfc_config_async() 325 lpfc_heart_beat(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_heart_beat() 358 lpfc_read_topology(struct lpfc_hba *phb [all...] |
H A D | lpfc_init.c | 72 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...] |
H A D | lpfc_sli.h | 28 struct lpfc_hba; 146 void (*fabric_cmd_cmpl)(struct lpfc_hba *phba, struct lpfc_iocbq *cmd, 148 void (*wait_cmd_cmpl)(struct lpfc_hba *phba, struct lpfc_iocbq *cmd, 150 void (*cmd_cmpl)(struct lpfc_hba *phba, struct lpfc_iocbq *cmd, 189 void (*mbox_cmpl) (struct lpfc_hba *, struct lpfcMboxq *); 216 void (*lpfc_sli_rcv_unsol_event) (struct lpfc_hba *, 284 void (*lpfc_sli_rcv_async_status) (struct lpfc_hba *, 290 void (*lpfc_sli_cmd_available) (struct lpfc_hba *,
|
H A D | lpfc_debugfs.h | 420 lpfc_debug_dump_wq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_wq() 460 lpfc_debug_dump_cq(struct lpfc_hba *phba, int qtype, int wqidx) in lpfc_debug_dump_cq() 522 lpfc_debug_dump_hba_eq(struct lpfc_hba *phba, int qidx) in lpfc_debug_dump_hba_eq() 540 lpfc_debug_dump_dat_rq(struct lpfc_hba *phba) in lpfc_debug_dump_dat_rq() 554 lpfc_debug_dump_hdr_rq(struct lpfc_hba *phba) in lpfc_debug_dump_hdr_rq() 570 lpfc_debug_dump_wq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_wq_by_id() 604 lpfc_debug_dump_mq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_mq_by_id() 621 lpfc_debug_dump_rq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_rq_by_id() 643 lpfc_debug_dump_cq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_cq_by_id() 684 lpfc_debug_dump_eq_by_id(struct lpfc_hba *phb [all...] |
H A 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() 180 lpfc_valid_wwn_format(struct lpfc_hba *phba, struct lpfc_name *wwn, in lpfc_valid_wwn_format() 202 lpfc_unique_wwpn(struct lpfc_hba *phba, struct lpfc_vport *new_vport) in lpfc_unique_wwpn() 240 struct lpfc_hba *phba = vport->phba; in lpfc_discovery_wait() 297 struct lpfc_hba *phba = pport->phba; in lpfc_vport_create() 489 struct lpfc_hba *phba = vport->phba; in lpfc_send_npiv_logo() 536 struct lpfc_hba *phba = vport->phba; in disable_vport() 575 struct lpfc_hba *phb in enable_vport() [all...] |
H A 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);
|
H A D | lpfc_sli.c | 68 static int lpfc_sli_issue_mbox_s4(struct lpfc_hba *, LPFC_MBOXQ_t *, 70 static int lpfc_sli4_read_rev(struct lpfc_hba *, LPFC_MBOXQ_t *, 73 lpfc_sli4_els_preprocess_rspiocbq(struct lpfc_hba *phba, 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, 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); 90 static void __lpfc_sli4_consume_cqe(struct lpfc_hba *phba, 93 static uint16_t lpfc_wqe_bpl2sgl(struct lpfc_hba *phb [all...] |
H A D | lpfc_ct.c | 79 lpfc_cmpl_ct_cmd_vmid(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, 83 lpfc_ct_ignore_hbq_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_ignore_hbq_buffer() 99 lpfc_ct_unsol_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_unsol_buffer() 115 lpfc_ct_unsol_cmpl(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_ct_unsol_cmpl() 158 struct lpfc_hba *phba = vport->phba; in lpfc_ct_reject_event() 282 lpfc_ct_handle_mibreq(struct lpfc_hba *phba, struct lpfc_iocbq *ctiocbq) in lpfc_ct_handle_mibreq() 337 lpfc_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_ct_unsol_event() 463 lpfc_ct_handle_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_ct_handle_unsol_abort() 474 lpfc_free_ct_rsp(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_ct_rsp() 489 lpfc_alloc_ct_rsp(struct lpfc_hba *phb [all...] |
/kernel/linux/linux-5.10/drivers/scsi/lpfc/ |
H A D | lpfc_crtn.h | 27 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_ [all...] |
H A D | lpfc_sli4.h | 135 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, 1025 void (*cmpl)(struct lpfc_hba *, struct lpfc_rdp_context*, int); 1043 int lpfc_pci_function_reset(struct lpfc_hba *); 1044 int lpfc_sli4_pdev_status_reg_wait(struct lpfc_hba *); [all...] |
H A D | lpfc_mem.c | 52 lpfc_mem_alloc_active_rrq_pool_s4(struct lpfc_hba *phba) { in lpfc_mem_alloc_active_rrq_pool_s4() 86 lpfc_mem_alloc(struct lpfc_hba *phba, int align) in lpfc_mem_alloc() 191 lpfc_nvmet_mem_alloc(struct lpfc_hba *phba) in lpfc_nvmet_mem_alloc() 215 lpfc_mem_free(struct lpfc_hba *phba) in lpfc_mem_free() 287 lpfc_mem_free_all(struct lpfc_hba *phba) in lpfc_mem_free_all() 364 lpfc_mbuf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_mbuf_alloc() 397 __lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in __lpfc_mbuf_free() 425 lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in lpfc_mbuf_free() 450 lpfc_nvmet_buf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_nvmet_buf_alloc() 468 lpfc_nvmet_buf_free(struct lpfc_hba *phb [all...] |
H A D | lpfc_init.c | 72 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...] |
H A D | lpfc.h | 304 struct lpfc_hba; 349 struct lpfc_hba *phba; 518 struct hbq_dmabuf *(*hbq_alloc_buffer) (struct lpfc_hba *); 520 void (*hbq_free_buffer) (struct lpfc_hba *, 653 struct lpfc_hba { struct 656 (struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, 659 (struct lpfc_hba *, struct lpfc_io_buf *); 661 (struct lpfc_hba *, struct lpfc_io_buf *); 663 (struct lpfc_hba *, struct lpfc_io_buf *); 665 (struct lpfc_hba *); [all...] |
H A D | lpfc_attr.c | 148 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 *phb in lpfc_modeldesc_show() [all...] |
H A 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 *,
|
H A D | lpfc_nvme.h | 104 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,
|
H A 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 * phb [all...] |
H A D | lpfc_debugfs.h | 411 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 *phb [all...] |
H A 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);
|