/linux/drivers/scsi/lpfc/ |
H A D | lpfc_init.c | 122 lpfc_config_port_prep(struct lpfc_hba *phba) in lpfc_config_port_prep() 289 lpfc_config_async_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq) in lpfc_config_async_cmpl() 310 lpfc_dump_wakeup_param_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq) in lpfc_dump_wakeup_param_cmpl() 353 struct lpfc_hba *phba = vport->phba; in lpfc_update_vport_wwn() local 417 lpfc_config_port_post(struct lpfc_hba *phba) in lpfc_config_port_post() 679 lpfc_sli4_refresh_params(struct lpfc_hba *phba) in lpfc_sli4_refresh_params() 738 lpfc_hba_init_link(struct lpfc_hba *phba, uint32_t flag) in lpfc_hba_init_link() 759 lpfc_hba_init_link_fc_topology(struct lpfc_hba *phba, uint32_t fc_topology, in lpfc_hba_init_link_fc_topology() 843 lpfc_hba_down_link(struct lpfc_hba *phba, uint32_t flag) in lpfc_hba_down_link() 885 lpfc_hba_down_prep(struct lpfc_hba *phba) in lpfc_hba_down_prep() [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() 233 lpfc_dump_wakeup_param(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_dump_wakeup_param() 266 lpfc_read_nv(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_read_nv() 291 lpfc_config_async(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb, in lpfc_config_async() 318 lpfc_heart_beat(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_heart_beat() 351 lpfc_read_topology(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, in lpfc_read_topology() [all …]
|
H A D | lpfc_mem.c | 60 lpfc_mem_free_sli_mbox(struct lpfc_hba *phba, LPFC_MBOXQ_t *mbox) in lpfc_mem_free_sli_mbox() 75 lpfc_mem_alloc_active_rrq_pool_s4(struct lpfc_hba *phba) { in lpfc_mem_alloc_active_rrq_pool_s4() 109 lpfc_mem_alloc(struct lpfc_hba *phba, int align) in lpfc_mem_alloc() 214 lpfc_nvmet_mem_alloc(struct lpfc_hba *phba) in lpfc_nvmet_mem_alloc() 238 lpfc_mem_free(struct lpfc_hba *phba) in lpfc_mem_free() 310 lpfc_mem_free_all(struct lpfc_hba *phba) in lpfc_mem_free_all() 387 lpfc_mbuf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_mbuf_alloc() 420 __lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in __lpfc_mbuf_free() 448 lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in lpfc_mbuf_free() 473 lpfc_nvmet_buf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_nvmet_buf_alloc() [all …]
|
H A D | lpfc_hbadisc.c | 161 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_callbk() local 390 static void lpfc_check_inactive_vmid(struct lpfc_hba *phba) in lpfc_check_inactive_vmid() 451 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_handler() local 614 static void lpfc_check_vmid_qfpa_issue(struct lpfc_hba *phba) in lpfc_check_vmid_qfpa_issue() 659 lpfc_sli4_post_dev_loss_tmo_handler(struct lpfc_hba *phba, int fcf_inuse, in lpfc_sli4_post_dev_loss_tmo_handler() 720 lpfc_alloc_fast_evt(struct lpfc_hba *phba) { in lpfc_alloc_fast_evt() 746 lpfc_free_fast_evt(struct lpfc_hba *phba, in lpfc_free_fast_evt() 763 lpfc_send_fastpath_evt(struct lpfc_hba *phba, in lpfc_send_fastpath_evt() 830 lpfc_work_list_done(struct lpfc_hba *phba) in lpfc_work_list_done() 940 lpfc_work_done(struct lpfc_hba *phba) in lpfc_work_done() [all …]
|
H A D | lpfc_nvmet.c | 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() 343 lpfc_nvmet_xmt_ls_rsp_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in lpfc_nvmet_xmt_ls_rsp_cmp() 386 lpfc_nvmet_ctxbuf_post(struct lpfc_hba *phba, struct lpfc_nvmet_ctxbuf *ctx_buf) in lpfc_nvmet_ctxbuf_post() 514 lpfc_nvmet_ktime(struct lpfc_hba *phba, in lpfc_nvmet_ktime() 719 lpfc_nvmet_xmt_fcp_op_cmp(struct lpfc_hba *phba, struct lpfc_iocbq *cmdwqe, in lpfc_nvmet_xmt_fcp_op_cmp() 864 void (*xmt_ls_rsp_cmp)(struct lpfc_hba *phba, in __lpfc_nvme_xmt_ls_rsp() 868 struct lpfc_hba *phba = axchg->phba; in __lpfc_nvme_xmt_ls_rsp() local [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() local 298 struct lpfc_hba *phba = pport->phba; in lpfc_vport_create() local 490 struct lpfc_hba *phba = vport->phba; in lpfc_send_npiv_logo() local 536 struct lpfc_hba *phba = vport->phba; in disable_vport() local 571 struct lpfc_hba *phba = vport->phba; in enable_vport() local [all …]
|
H A D | lpfc_attr.c | 123 struct lpfc_hba *phba = vport->phba; in lpfc_cmf_info_show() local 300 struct lpfc_hba *phba = vport->phba; in lpfc_vmid_info_show() local 455 struct lpfc_hba *phba = vport->phba; in lpfc_enable_fip_show() local 469 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_info_show() local 841 struct lpfc_hba *phba = vport->phba; in lpfc_scsi_stat_show() local 892 struct lpfc_hba *phba = vport->phba; in lpfc_bg_info_show() local 912 struct lpfc_hba *phba = vport->phba; in lpfc_bg_guard_err_show() local 924 struct lpfc_hba *phba = vport->phba; in lpfc_bg_apptag_err_show() local 936 struct lpfc_hba *phba = vport->phba; in lpfc_bg_reftag_err_show() local 973 struct lpfc_hba *phba = vport->phba; in lpfc_serialnum_show() local [all …]
|
H A D | lpfc_ct.c | 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() local 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 *phba, __be16 cmdcode, struct ulp_bde64 *bpl, in lpfc_alloc_ct_rsp() 546 lpfc_ct_free_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *ctiocb) in lpfc_ct_free_iocb() [all …]
|
H A D | lpfc_bsg.c | 140 lpfc_free_bsg_buffers(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_bsg_buffers() 158 lpfc_alloc_bsg_buffers(struct lpfc_hba *phba, unsigned int size, in lpfc_alloc_bsg_buffers() 300 lpfc_bsg_send_mgmt_cmd_cmp(struct lpfc_hba *phba, in lpfc_bsg_send_mgmt_cmd_cmp() 393 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_send_mgmt_cmd() local 563 lpfc_bsg_rport_els_cmp(struct lpfc_hba *phba, in lpfc_bsg_rport_els_cmp() 659 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_rport_els() local 869 diag_cmd_data_free(struct lpfc_hba *phba, struct lpfc_dmabufext *mlist) in diag_cmd_data_free() 902 lpfc_bsg_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_bsg_ct_unsol_event() 1147 lpfc_bsg_ct_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_bsg_ct_unsol_abort() 1183 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_hba_set_event() local [all …]
|
H A D | lpfc_logmsg.h | 62 #define lpfc_log_msg(phba, level, mask, fmt, arg...) \ argument 86 #define lpfc_printf_log(phba, level, mask, fmt, arg...) \ argument
|
H A D | lpfc_nvme.h | 101 struct lpfc_hba *phba; member 168 #define lpfc_get_ctx_list(phba, cpu, mrq) \ argument 196 struct lpfc_hba *phba; member
|
H A D | lpfc_disc.h | 142 struct lpfc_hba *phba; member 182 #define lpfc_ndlp_check_qdepth(phba, ndlp) \ argument
|
/linux/drivers/scsi/be2iscsi/ |
H A D | be_iscsi.c | 43 struct beiscsi_hba *phba; in beiscsi_session_create() local 133 struct beiscsi_hba *phba; in beiscsi_conn_create() local 179 struct beiscsi_hba *phba = iscsi_host_priv(shost); in beiscsi_conn_bind() local 239 static int beiscsi_iface_create_ipv4(struct beiscsi_hba *phba) in beiscsi_iface_create_ipv4() 258 static int beiscsi_iface_create_ipv6(struct beiscsi_hba *phba) in beiscsi_iface_create_ipv6() 277 void beiscsi_iface_create_default(struct beiscsi_hba *phba) in beiscsi_iface_create_default() 292 void beiscsi_iface_destroy_default(struct beiscsi_hba *phba) in beiscsi_iface_destroy_default() 320 struct beiscsi_hba *phba = iscsi_host_priv(shost); in beiscsi_iface_config_vlan() local 343 struct beiscsi_hba *phba = iscsi_host_priv(shost); in beiscsi_iface_config_ipv4() local 408 struct beiscsi_hba *phba = iscsi_host_priv(shost); in beiscsi_iface_config_ipv6() local [all …]
|
H A D | be_main.c | 227 struct beiscsi_hba *phba; in beiscsi_eh_abort() local 287 struct beiscsi_hba *phba; in beiscsi_eh_device_reset() local 428 struct beiscsi_hba *phba; in beiscsi_hba_alloc() local 452 static void beiscsi_unmap_pci_function(struct beiscsi_hba *phba) in beiscsi_unmap_pci_function() 468 static int beiscsi_map_pci_bars(struct beiscsi_hba *phba, in beiscsi_map_pci_bars() 543 static int be_ctrl_init(struct beiscsi_hba *phba, struct pci_dev *pdev) in be_ctrl_init() 576 static void beiscsi_get_params(struct beiscsi_hba *phba) in beiscsi_get_params() 652 static void hwi_ring_eq_db(struct beiscsi_hba *phba, in hwi_ring_eq_db() 685 struct beiscsi_hba *phba; in be_isr_mcc() local 725 struct beiscsi_hba *phba; in be_isr_msix() local [all …]
|
H A D | be_mgmt.c | 34 struct beiscsi_hba *phba, in mgmt_vendor_specific_fw_cmd() 109 int mgmt_open_connection(struct beiscsi_hba *phba, in mgmt_open_connection() 222 static int beiscsi_exec_nemb_cmd(struct beiscsi_hba *phba, in beiscsi_exec_nemb_cmd() 274 static int beiscsi_prep_nemb_cmd(struct beiscsi_hba *phba, in beiscsi_prep_nemb_cmd() 293 static void beiscsi_free_nemb_cmd(struct beiscsi_hba *phba, in beiscsi_free_nemb_cmd() 306 static void __beiscsi_eq_delay_compl(struct beiscsi_hba *phba, unsigned int tag) in __beiscsi_eq_delay_compl() 320 int beiscsi_modify_eq_delay(struct beiscsi_hba *phba, in beiscsi_modify_eq_delay() 360 int beiscsi_get_initiator_name(struct beiscsi_hba *phba, char *name, bool cfg) in beiscsi_get_initiator_name() 388 unsigned int beiscsi_if_get_handle(struct beiscsi_hba *phba) in beiscsi_if_get_handle() 437 static int beiscsi_if_mod_gw(struct beiscsi_hba *phba, in beiscsi_if_mod_gw() [all …]
|
H A D | be_cmds.c | 88 struct be_mcc_wrb *alloc_mcc_wrb(struct beiscsi_hba *phba, in alloc_mcc_wrb() 168 int __beiscsi_mcc_compl_status(struct beiscsi_hba *phba, in __beiscsi_mcc_compl_status() 234 int beiscsi_mccq_compl_wait(struct beiscsi_hba *phba, in beiscsi_mccq_compl_wait() 323 struct beiscsi_hba *phba = pci_get_drvdata(ctrl->pdev); in beiscsi_process_mbox_compl() local 362 static void beiscsi_process_async_link(struct beiscsi_hba *phba, in beiscsi_process_async_link() 400 static void beiscsi_process_async_sli(struct beiscsi_hba *phba, in beiscsi_process_async_sli() 453 void beiscsi_process_async_event(struct beiscsi_hba *phba, in beiscsi_process_async_event() 487 struct beiscsi_hba *phba = pci_get_drvdata(ctrl->pdev); in beiscsi_process_mcc_compl() local 561 void be_mcc_notify(struct beiscsi_hba *phba, unsigned int tag) in be_mcc_notify() 590 struct beiscsi_hba *phba = pci_get_drvdata(ctrl->pdev); in be_mbox_db_ready_poll() local [all …]
|
H A D | be_main.h | 251 #define chip_be2(phba) (phba->generation == BE_GEN2) argument 252 #define chip_be3_r(phba) (phba->generation == BE_GEN3) argument 253 #define is_chip_be2_be3r(phba) (chip_be3_r(phba) || (chip_be2(phba))) argument 261 #define BEISCSI_ULP_AVLBL_CID(phba, ulp_num) \ argument 263 #define BEISCSI_ULP0_AVLBL_CID(phba) \ argument 265 #define BEISCSI_ULP1_AVLBL_CID(phba) \ argument 319 #define BEISCSI_GET_CID_COUNT(phba, ulp_num) \ argument 394 #define beiscsi_hba_in_error(phba) ((phba)->state & BEISCSI_HBA_IN_ERR) argument 395 #define beiscsi_hba_is_online(phba) \ argument 408 struct beiscsi_hba *phba; member [all …]
|
H A D | be_mgmt.h | 141 #define GET_MGMT_CONTROLLER_WS(phba) (phba->pmgmt_ws) argument 154 struct beiscsi_hba *phba; member
|
H A D | be.h | 90 struct beiscsi_hba *phba; member
|