/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_init.c | 104 lpfc_config_port_prep(struct lpfc_hba *phba) in lpfc_config_port_prep() 265 lpfc_config_async_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq) in lpfc_config_async_cmpl() 286 lpfc_dump_wakeup_param_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq) in lpfc_dump_wakeup_param_cmpl() 372 lpfc_config_port_post(struct lpfc_hba *phba) in lpfc_config_port_post() 653 lpfc_hba_init_link(struct lpfc_hba *phba, uint32_t flag) in lpfc_hba_init_link() 674 lpfc_hba_init_link_fc_topology(struct lpfc_hba *phba, uint32_t fc_topology, in lpfc_hba_init_link_fc_topology() 756 lpfc_hba_down_link(struct lpfc_hba *phba, uint32_t flag) in lpfc_hba_down_link() 800 lpfc_hba_down_prep(struct lpfc_hba *phba) in lpfc_hba_down_prep() 838 lpfc_sli4_free_sp_events(struct lpfc_hba *phba) in lpfc_sli4_free_sp_events() 882 lpfc_hba_free_post_buf(struct lpfc_hba *phba) in lpfc_hba_free_post_buf() [all …]
|
D | lpfc_mbox.c | 57 lpfc_dump_static_vport(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, in lpfc_dump_static_vport() 111 lpfc_down_link(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_down_link() 133 lpfc_dump_mem(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, uint16_t offset, in lpfc_dump_mem() 166 lpfc_dump_wakeup_param(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb) in lpfc_dump_wakeup_param() 203 lpfc_read_nv(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_read_nv() 228 lpfc_config_async(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb, in lpfc_config_async() 255 lpfc_heart_beat(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_heart_beat() 288 lpfc_read_topology(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, in lpfc_read_topology() 326 lpfc_clear_la(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_clear_la() 354 lpfc_config_link(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_config_link() [all …]
|
D | lpfc_mem.c | 48 lpfc_mem_alloc_active_rrq_pool_s4(struct lpfc_hba *phba) { in lpfc_mem_alloc_active_rrq_pool_s4() 81 lpfc_mem_alloc(struct lpfc_hba *phba, int align) in lpfc_mem_alloc() 216 lpfc_mem_free(struct lpfc_hba *phba) in lpfc_mem_free() 292 lpfc_mem_free_all(struct lpfc_hba *phba) in lpfc_mem_free_all() 362 lpfc_mbuf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_mbuf_alloc() 395 __lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in __lpfc_mbuf_free() 423 lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in lpfc_mbuf_free() 447 lpfc_els_hbq_alloc(struct lpfc_hba *phba) in lpfc_els_hbq_alloc() 478 lpfc_els_hbq_free(struct lpfc_hba *phba, struct hbq_dmabuf *hbqbp) in lpfc_els_hbq_free() 499 lpfc_sli4_rb_alloc(struct lpfc_hba *phba) in lpfc_sli4_rb_alloc() [all …]
|
D | lpfc_hbadisc.c | 74 struct lpfc_hba *phba; in lpfc_terminate_rport_io() local 110 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_callbk() local 202 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_handler() local 339 lpfc_sli4_post_dev_loss_tmo_handler(struct lpfc_hba *phba, int fcf_inuse, in lpfc_sli4_post_dev_loss_tmo_handler() 399 lpfc_alloc_fast_evt(struct lpfc_hba *phba) { in lpfc_alloc_fast_evt() 425 lpfc_free_fast_evt(struct lpfc_hba *phba, in lpfc_free_fast_evt() 442 lpfc_send_fastpath_evt(struct lpfc_hba *phba, in lpfc_send_fastpath_evt() 508 lpfc_work_list_done(struct lpfc_hba *phba) in lpfc_work_list_done() 603 lpfc_work_done(struct lpfc_hba *phba) in lpfc_work_done() 735 struct lpfc_hba *phba = p; in lpfc_do_work() local [all …]
|
D | lpfc_sli.c | 541 lpfc_cmd_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_cmd_iocb() 558 lpfc_resp_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_resp_iocb() 574 __lpfc_sli_get_iocbq(struct lpfc_hba *phba) in __lpfc_sli_get_iocbq() 600 __lpfc_clear_active_sglq(struct lpfc_hba *phba, uint16_t xritag) in __lpfc_clear_active_sglq() 622 __lpfc_get_active_sglq(struct lpfc_hba *phba, uint16_t xritag) in __lpfc_get_active_sglq() 638 lpfc_clr_rrq_active(struct lpfc_hba *phba, in lpfc_clr_rrq_active() 681 lpfc_handle_rrq_active(struct lpfc_hba *phba) in lpfc_handle_rrq_active() 730 struct lpfc_hba *phba = vport->phba; in lpfc_get_active_rrq() local 762 struct lpfc_hba *phba = vport->phba; in lpfc_cleanup_vports_rrqs() local 797 lpfc_test_rrq_active(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, in lpfc_test_rrq_active() [all …]
|
D | lpfc_els.c | 84 struct lpfc_hba *phba = vport->phba; in lpfc_els_chk_latt() local 155 struct lpfc_hba *phba = vport->phba; in lpfc_prep_els_iocb() local 366 struct lpfc_hba *phba = vport->phba; in lpfc_issue_fabric_reglogin() local 457 struct lpfc_hba *phba = vport->phba; in lpfc_issue_reg_vfi() local 531 struct lpfc_hba *phba = vport->phba; in lpfc_issue_unreg_vfi() local 643 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_els_flogi_fabric() local 821 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_els_flogi_nport() local 967 lpfc_cmpl_els_flogi(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_cmpl_els_flogi() 1207 struct lpfc_hba *phba = vport->phba; in lpfc_issue_els_flogi() local 1307 lpfc_els_abort_flogi(struct lpfc_hba *phba) in lpfc_els_abort_flogi() [all …]
|
D | lpfc_vport.c | 84 lpfc_alloc_vpi(struct lpfc_hba *phba) in lpfc_alloc_vpi() 102 lpfc_free_vpi(struct lpfc_hba *phba, int vpi) in lpfc_free_vpi() 114 lpfc_vport_sparm(struct lpfc_hba *phba, struct lpfc_vport *vport) in lpfc_vport_sparm() 179 lpfc_valid_wwn_format(struct lpfc_hba *phba, struct lpfc_name *wwn, in lpfc_valid_wwn_format() 201 lpfc_unique_wwpn(struct lpfc_hba *phba, struct lpfc_vport *new_vport) in lpfc_unique_wwpn() 239 struct lpfc_hba *phba = vport->phba; in lpfc_discovery_wait() local 296 struct lpfc_hba *phba = pport->phba; in lpfc_vport_create() local 467 struct lpfc_hba *phba = vport->phba; in disable_vport() local 519 struct lpfc_hba *phba = vport->phba; in enable_vport() local 572 struct lpfc_hba *phba = vport->phba; in lpfc_vport_delete() local [all …]
|
D | lpfc_attr.c | 123 struct lpfc_hba *phba = vport->phba; in lpfc_enable_fip_show() local 137 struct lpfc_hba *phba = vport->phba; in lpfc_bg_info_show() local 156 struct lpfc_hba *phba = vport->phba; in lpfc_bg_guard_err_show() local 168 struct lpfc_hba *phba = vport->phba; in lpfc_bg_apptag_err_show() local 180 struct lpfc_hba *phba = vport->phba; in lpfc_bg_reftag_err_show() local 217 struct lpfc_hba *phba = vport->phba; in lpfc_serialnum_show() local 240 struct lpfc_hba *phba = vport->phba; in lpfc_temp_sensor_show() local 258 struct lpfc_hba *phba = vport->phba; in lpfc_modeldesc_show() local 277 struct lpfc_hba *phba = vport->phba; in lpfc_modelname_show() local 296 struct lpfc_hba *phba = vport->phba; in lpfc_programtype_show() local [all …]
|
D | lpfc_scsi.c | 90 lpfc_debug_save_data(struct lpfc_hba *phba, struct scsi_cmnd *cmnd) in lpfc_debug_save_data() 119 lpfc_debug_save_dif(struct lpfc_hba *phba, struct scsi_cmnd *cmnd) in lpfc_debug_save_dif() 179 lpfc_sli4_set_rsp_sgl_last(struct lpfc_hba *phba, in lpfc_sli4_set_rsp_sgl_last() 200 lpfc_update_stats(struct lpfc_hba *phba, struct lpfc_scsi_buf *lpfc_cmd) in lpfc_update_stats() 257 lpfc_rampdown_queue_depth(struct lpfc_hba *phba) in lpfc_rampdown_queue_depth() 297 lpfc_ramp_down_queue_handler(struct lpfc_hba *phba) in lpfc_ramp_down_queue_handler() 347 lpfc_scsi_dev_block(struct lpfc_hba *phba) in lpfc_scsi_dev_block() 386 struct lpfc_hba *phba = vport->phba; in lpfc_new_scsi_buf_s3() local 523 struct lpfc_hba *phba = vport->phba; in lpfc_sli4_vport_delete_fcp_xri_aborted() local 548 lpfc_sli4_fcp_xri_aborted(struct lpfc_hba *phba, in lpfc_sli4_fcp_xri_aborted() [all …]
|
D | lpfc_ct.c | 67 lpfc_ct_ignore_hbq_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_ignore_hbq_buffer() 83 lpfc_ct_unsol_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_unsol_buffer() 90 lpfc_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_ct_unsol_event() 178 lpfc_ct_handle_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_ct_handle_unsol_abort() 189 lpfc_free_ct_rsp(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_ct_rsp() 204 lpfc_alloc_ct_rsp(struct lpfc_hba *phba, int cmdcode, struct ulp_bde64 *bpl, in lpfc_alloc_ct_rsp() 261 lpfc_ct_free_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *ctiocb) in lpfc_ct_free_iocb() 298 struct lpfc_hba *phba = vport->phba; in lpfc_gen_req() local 380 struct lpfc_hba *phba = vport->phba; in lpfc_ct_cmd() local 409 lpfc_find_vport_by_did(struct lpfc_hba *phba, uint32_t did) { in lpfc_find_vport_by_did() [all …]
|
D | lpfc_bsg.c | 135 lpfc_free_bsg_buffers(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_bsg_buffers() 153 lpfc_alloc_bsg_buffers(struct lpfc_hba *phba, unsigned int size, in lpfc_alloc_bsg_buffers() 295 lpfc_bsg_send_mgmt_cmd_cmp(struct lpfc_hba *phba, in lpfc_bsg_send_mgmt_cmd_cmp() 384 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_send_mgmt_cmd() local 568 lpfc_bsg_rport_els_cmp(struct lpfc_hba *phba, in lpfc_bsg_rport_els_cmp() 654 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_rport_els() local 866 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() 1157 lpfc_bsg_ct_unsol_abort(struct lpfc_hba *phba, struct hbq_dmabuf *dmabuf) in lpfc_bsg_ct_unsol_abort() 1193 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_hba_set_event() local [all …]
|
D | lpfc_debugfs.c | 201 lpfc_debugfs_slow_ring_trc_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_slow_ring_trc_data() 269 lpfc_debugfs_hbqinfo_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_hbqinfo_data() 389 lpfc_debugfs_dumpHBASlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHBASlim_data() 448 lpfc_debugfs_dumpHostSlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHostSlim_data() 676 lpfc_debugfs_slow_ring_trc(struct lpfc_hba *phba, char *fmt, in lpfc_debugfs_slow_ring_trc() 769 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_slow_ring_trc_open() local 819 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_hbqinfo_open() local 861 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_dumpHBASlim_open() local 903 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_dumpHostSlim_open() local 1015 struct lpfc_hba *phba = file->private_data; in lpfc_debugfs_dif_err_read() local [all …]
|
D | lpfc_debugfs.h | 369 lpfc_debug_dump_fcp_wq(struct lpfc_hba *phba, int fcp_wqidx) in lpfc_debug_dump_fcp_wq() 389 lpfc_debug_dump_fcp_cq(struct lpfc_hba *phba, int fcp_wqidx) in lpfc_debug_dump_fcp_cq() 424 lpfc_debug_dump_hba_eq(struct lpfc_hba *phba, int fcp_wqidx) in lpfc_debug_dump_hba_eq() 463 lpfc_debug_dump_els_wq(struct lpfc_hba *phba) in lpfc_debug_dump_els_wq() 477 lpfc_debug_dump_mbx_wq(struct lpfc_hba *phba) in lpfc_debug_dump_mbx_wq() 491 lpfc_debug_dump_dat_rq(struct lpfc_hba *phba) in lpfc_debug_dump_dat_rq() 505 lpfc_debug_dump_hdr_rq(struct lpfc_hba *phba) in lpfc_debug_dump_hdr_rq() 519 lpfc_debug_dump_els_cq(struct lpfc_hba *phba) in lpfc_debug_dump_els_cq() 534 lpfc_debug_dump_mbx_cq(struct lpfc_hba *phba) in lpfc_debug_dump_mbx_cq() 551 lpfc_debug_dump_wq_by_id(struct lpfc_hba *phba, int qid) in lpfc_debug_dump_wq_by_id() [all …]
|
D | lpfc_nportdisc.c | 164 lpfc_check_elscmpl_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_check_elscmpl_iocb() 204 lpfc_els_abort(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp) in lpfc_els_abort() 277 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_plogi() local 512 lpfc_mbx_cmpl_resume_rpi(struct lpfc_hba *phba, LPFC_MBOXQ_t *mboxq) in lpfc_mbx_cmpl_resume_rpi() 628 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_logo() local 796 lpfc_release_rpi(struct lpfc_hba *phba, in lpfc_release_rpi() 821 struct lpfc_hba *phba; in lpfc_disc_illegal() local 926 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_plogi_plogi_issue() local 1004 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_els_plogi_issue() local 1034 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_plogi_plogi_issue() local [all …]
|
D | lpfc_logmsg.h | 50 #define lpfc_printf_log(phba, level, mask, fmt, arg...) \ argument
|
D | lpfc_disc.h | 109 struct lpfc_hba *phba; member
|
D | lpfc.h | 301 struct lpfc_hba *phba; member 1007 lpfc_set_loopback_flag(struct lpfc_hba *phba) in lpfc_set_loopback_flag() 1016 lpfc_is_link_up(struct lpfc_hba *phba) in lpfc_is_link_up() 1024 lpfc_worker_wake_up(struct lpfc_hba *phba) in lpfc_worker_wake_up() 1046 lpfc_sli_read_hs(struct lpfc_hba *phba) in lpfc_sli_read_hs()
|
D | lpfc_sli4.h | 132 struct lpfc_hba *phba; member 384 struct lpfc_hba *phba; member
|
/linux-4.4.14/drivers/scsi/be2iscsi/ |
D | be_iscsi.c | 48 struct beiscsi_hba *phba; in beiscsi_session_create() local 130 struct beiscsi_hba *phba; in beiscsi_conn_create() local 166 static int beiscsi_bindconn_cid(struct beiscsi_hba *phba, in beiscsi_bindconn_cid() 202 struct beiscsi_hba *phba = iscsi_host_priv(shost); in beiscsi_conn_bind() local 240 static int beiscsi_create_ipv4_iface(struct beiscsi_hba *phba) in beiscsi_create_ipv4_iface() 259 static int beiscsi_create_ipv6_iface(struct beiscsi_hba *phba) in beiscsi_create_ipv6_iface() 278 void beiscsi_create_def_ifaces(struct beiscsi_hba *phba) in beiscsi_create_def_ifaces() 293 void beiscsi_destroy_def_ifaces(struct beiscsi_hba *phba) in beiscsi_destroy_def_ifaces() 306 struct beiscsi_hba *phba = iscsi_host_priv(shost); in beiscsi_set_static_ip() local 369 struct beiscsi_hba *phba = iscsi_host_priv(shost); in beiscsi_set_vlan_tag() local [all …]
|
D | be_main.c | 225 struct beiscsi_hba *phba; in beiscsi_eh_abort() local 302 struct beiscsi_hba *phba; in beiscsi_eh_device_reset() local 378 struct beiscsi_hba *phba = data; in beiscsi_show_boot_tgt_info() local 445 struct beiscsi_hba *phba = data; in beiscsi_show_boot_ini_info() local 462 struct beiscsi_hba *phba = data; in beiscsi_show_boot_eth_info() local 579 struct beiscsi_hba *phba; in beiscsi_hba_alloc() local 603 static void beiscsi_unmap_pci_function(struct beiscsi_hba *phba) in beiscsi_unmap_pci_function() 619 static int beiscsi_map_pci_bars(struct beiscsi_hba *phba, in beiscsi_map_pci_bars() 706 static int be_ctrl_init(struct beiscsi_hba *phba, struct pci_dev *pdev) in be_ctrl_init() 741 static void beiscsi_get_params(struct beiscsi_hba *phba) in beiscsi_get_params() [all …]
|
D | be_mgmt.c | 105 void beiscsi_ue_detect(struct beiscsi_hba *phba) in beiscsi_ue_detect() 158 int be_cmd_modify_eq_delay(struct beiscsi_hba *phba, in be_cmd_modify_eq_delay() 205 unsigned int mgmt_reopen_session(struct beiscsi_hba *phba, in mgmt_reopen_session() 242 unsigned int mgmt_get_boot_target(struct beiscsi_hba *phba) in mgmt_get_boot_target() 273 unsigned int mgmt_get_session_info(struct beiscsi_hba *phba, in mgmt_get_session_info() 331 struct beiscsi_hba *phba) in mgmt_get_fw_config() 423 struct beiscsi_hba *phba) in mgmt_check_supported_fw() 482 struct beiscsi_hba *phba, in mgmt_vendor_specific_fw_cmd() 558 int mgmt_epfw_cleanup(struct beiscsi_hba *phba, unsigned short ulp_num) in mgmt_epfw_cleanup() 583 unsigned int mgmt_invalidate_icds(struct beiscsi_hba *phba, in mgmt_invalidate_icds() [all …]
|
D | be_cmds.c | 24 int beiscsi_pci_soft_reset(struct beiscsi_hba *phba) in beiscsi_pci_soft_reset() 78 int be_chk_reset_complete(struct beiscsi_hba *phba) in be_chk_reset_complete() 107 void be_mcc_notify(struct beiscsi_hba *phba) in be_mcc_notify() 117 unsigned int alloc_mcc_tag(struct beiscsi_hba *phba) in alloc_mcc_tag() 149 int beiscsi_mccq_compl(struct beiscsi_hba *phba, in beiscsi_mccq_compl() 322 struct beiscsi_hba *phba = pci_get_drvdata(ctrl->pdev); in be_mcc_compl_process() local 355 struct beiscsi_hba *phba = pci_get_drvdata(ctrl->pdev); in be_mcc_compl_process_isr() local 404 static struct be_mcc_compl *be_mcc_compl_get(struct beiscsi_hba *phba) in be_mcc_compl_get() 425 struct beiscsi_hba *phba = iscsi_host_priv(shost); in be2iscsi_fail_session() local 436 void beiscsi_async_link_state_process(struct beiscsi_hba *phba, in beiscsi_async_link_state_process() [all …]
|
D | be_main.h | 330 #define chip_be2(phba) (phba->generation == BE_GEN2) argument 331 #define chip_be3_r(phba) (phba->generation == BE_GEN3) argument 332 #define is_chip_be2_be3r(phba) (chip_be3_r(phba) || (chip_be2(phba))) argument 340 #define BEISCSI_ULP_AVLBL_CID(phba, ulp_num) \ argument 342 #define BEISCSI_ULP0_AVLBL_CID(phba) \ argument 344 #define BEISCSI_ULP1_AVLBL_CID(phba) \ argument 405 #define BEISCSI_GET_CID_COUNT(phba, ulp_num) \ argument 452 struct beiscsi_hba *phba; member 852 static inline bool beiscsi_error(struct beiscsi_hba *phba) in beiscsi_error() 1077 #define beiscsi_log(phba, level, mask, fmt, arg...) \ argument
|
D | be_mgmt.h | 233 #define GET_MGMT_CONTROLLER_WS(phba) (phba->pmgmt_ws) argument 256 struct beiscsi_hba *phba; member
|
D | be.h | 101 struct beiscsi_hba *phba; member
|