/linux-4.4.14/drivers/scsi/lpfc/ |
D | lpfc_crtn.h | 24 void lpfc_down_link(struct lpfc_hba *, LPFC_MBOXQ_t *); 25 void lpfc_sli_read_link_ste(struct lpfc_hba *); 26 void lpfc_dump_mem(struct lpfc_hba *, LPFC_MBOXQ_t *, uint16_t, uint16_t); 27 void lpfc_dump_wakeup_param(struct lpfc_hba *, LPFC_MBOXQ_t *); 28 int lpfc_dump_static_vport(struct lpfc_hba *, LPFC_MBOXQ_t *, uint16_t); 29 int lpfc_sli4_dump_cfg_rg23(struct lpfc_hba *, struct lpfcMboxq *); 30 void lpfc_read_nv(struct lpfc_hba *, LPFC_MBOXQ_t *); 31 void lpfc_config_async(struct lpfc_hba *, LPFC_MBOXQ_t *, uint32_t); 33 void lpfc_heart_beat(struct lpfc_hba *, LPFC_MBOXQ_t *); 34 int lpfc_read_topology(struct lpfc_hba *, LPFC_MBOXQ_t *, struct lpfc_dmabuf *); [all …]
|
D | lpfc_sli4.h | 132 struct lpfc_hba *phba; 380 struct lpfc_hba; 384 struct lpfc_hba *phba; 661 void (*cmpl)(struct lpfc_hba *, struct lpfc_rdp_context*, int); 677 int lpfc_pci_function_reset(struct lpfc_hba *); 678 int lpfc_sli4_pdev_status_reg_wait(struct lpfc_hba *); 679 int lpfc_sli4_hba_setup(struct lpfc_hba *); 680 int lpfc_sli4_config(struct lpfc_hba *, struct lpfcMboxq *, uint8_t, 682 void lpfc_sli4_mbox_cmd_free(struct lpfc_hba *, struct lpfcMboxq *); 686 int lpfc_sli4_mbx_read_fcf_rec(struct lpfc_hba *, struct lpfcMboxq *, [all …]
|
D | lpfc.h | 268 struct lpfc_hba; 301 struct lpfc_hba *phba; 457 struct hbq_dmabuf *(*hbq_alloc_buffer) (struct lpfc_hba *); 459 void (*hbq_free_buffer) (struct lpfc_hba *, 546 struct lpfc_hba { struct 551 (struct lpfc_hba *, struct lpfc_nodelist *); argument 553 (struct lpfc_hba *, struct lpfc_scsi_buf *); argument 555 (struct lpfc_hba *, struct lpfc_scsi_buf *); argument 557 (struct lpfc_hba *, struct lpfc_scsi_buf *); argument 559 (struct lpfc_hba *); argument [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_sli.h | 22 struct lpfc_hba; 99 void (*fabric_iocb_cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, 101 void (*wait_iocb_cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, 103 void (*iocb_cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, 128 void (*mbox_cmpl) (struct lpfc_hba *, struct lpfcMboxq *); 155 void (*lpfc_sli_rcv_unsol_event) (struct lpfc_hba *, 223 void (*lpfc_sli_rcv_async_status) (struct lpfc_hba *, 229 void (*lpfc_sli_cmd_available) (struct lpfc_hba *,
|
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_init.c | 66 static void lpfc_get_hba_model_desc(struct lpfc_hba *, uint8_t *, uint8_t *); 67 static int lpfc_post_rcv_buf(struct lpfc_hba *); 68 static int lpfc_sli4_queue_verify(struct lpfc_hba *); 69 static int lpfc_create_bootstrap_mbox(struct lpfc_hba *); 70 static int lpfc_setup_endian_order(struct lpfc_hba *); 71 static void lpfc_destroy_bootstrap_mbox(struct lpfc_hba *); 72 static void lpfc_free_els_sgl_list(struct lpfc_hba *); 73 static void lpfc_init_sgl_list(struct lpfc_hba *); 74 static int lpfc_init_active_sgl_array(struct lpfc_hba *); 75 static void lpfc_free_active_sgl(struct lpfc_hba *); [all …]
|
D | lpfc_attr.c | 123 struct lpfc_hba *phba = vport->phba; in lpfc_enable_fip_show() 137 struct lpfc_hba *phba = vport->phba; in lpfc_bg_info_show() 156 struct lpfc_hba *phba = vport->phba; in lpfc_bg_guard_err_show() 168 struct lpfc_hba *phba = vport->phba; in lpfc_bg_apptag_err_show() 180 struct lpfc_hba *phba = vport->phba; in lpfc_bg_reftag_err_show() 217 struct lpfc_hba *phba = vport->phba; in lpfc_serialnum_show() 240 struct lpfc_hba *phba = vport->phba; in lpfc_temp_sensor_show() 258 struct lpfc_hba *phba = vport->phba; in lpfc_modeldesc_show() 277 struct lpfc_hba *phba = vport->phba; in lpfc_modelname_show() 296 struct lpfc_hba *phba = vport->phba; in lpfc_programtype_show() [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_vport.h | 91 struct lpfc_vport **lpfc_create_vport_work_array(struct lpfc_hba *); 92 void lpfc_destroy_vport_work_array(struct lpfc_hba *, struct lpfc_vport **); 93 int lpfc_alloc_vpi(struct lpfc_hba *phba);
|
D | lpfc_sli.c | 60 static int lpfc_sli_issue_mbox_s4(struct lpfc_hba *, LPFC_MBOXQ_t *, 62 static int lpfc_sli4_read_rev(struct lpfc_hba *, LPFC_MBOXQ_t *, 64 static struct lpfc_iocbq *lpfc_sli4_els_wcqe_to_rspiocbq(struct lpfc_hba *, 68 static int lpfc_sli4_fp_handle_wcqe(struct lpfc_hba *, struct lpfc_queue *, 70 static int lpfc_sli4_post_els_sgl_list(struct lpfc_hba *, struct list_head *, 72 static void lpfc_sli4_hba_handle_eqe(struct lpfc_hba *, struct lpfc_eqe *, 74 static bool lpfc_sli4_mbox_completions_pending(struct lpfc_hba *phba); 75 static bool lpfc_sli4_process_missed_mbox_completions(struct lpfc_hba *phba); 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() [all …]
|
D | lpfc_hbadisc.c | 66 static void lpfc_unregister_fcfi_cmpl(struct lpfc_hba *, LPFC_MBOXQ_t *); 67 static int lpfc_fcf_inuse(struct lpfc_hba *); 74 struct lpfc_hba *phba; in lpfc_terminate_rport_io() 110 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_callbk() 202 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_handler() 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() [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() 296 struct lpfc_hba *phba = pport->phba; in lpfc_vport_create() 467 struct lpfc_hba *phba = vport->phba; in disable_vport() 519 struct lpfc_hba *phba = vport->phba; in enable_vport() 572 struct lpfc_hba *phba = vport->phba; in lpfc_vport_delete() [all …]
|
D | lpfc_scsi.c | 83 lpfc_release_scsi_buf_s4(struct lpfc_hba *phba, struct lpfc_scsi_buf *psb); 85 lpfc_release_scsi_buf_s3(struct lpfc_hba *phba, struct lpfc_scsi_buf *psb); 87 lpfc_prot_group_type(struct lpfc_hba *phba, struct scsi_cmnd *sc); 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() [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() 293 void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, in lpfc_gen_req() 298 struct lpfc_hba *phba = vport->phba; in lpfc_gen_req() 376 void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, in lpfc_ct_cmd() [all …]
|
D | lpfc_els.c | 46 static int lpfc_els_retry(struct lpfc_hba *, struct lpfc_iocbq *, 48 static void lpfc_cmpl_fabric_iocb(struct lpfc_hba *, struct lpfc_iocbq *, 53 static int lpfc_issue_fabric_iocb(struct lpfc_hba *phba, 84 struct lpfc_hba *phba = vport->phba; in lpfc_els_chk_latt() 155 struct lpfc_hba *phba = vport->phba; in lpfc_prep_els_iocb() 366 struct lpfc_hba *phba = vport->phba; in lpfc_issue_fabric_reglogin() 457 struct lpfc_hba *phba = vport->phba; in lpfc_issue_reg_vfi() 531 struct lpfc_hba *phba = vport->phba; in lpfc_issue_unreg_vfi() 643 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_els_flogi_fabric() 821 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_els_flogi_nport() [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() 819 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_hbqinfo_open() 861 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_dumpHBASlim_open() 903 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_dumpHostSlim_open() 1015 struct lpfc_hba *phba = file->private_data; in lpfc_debugfs_dif_err_read() [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() 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() 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() [all …]
|
D | lpfc_scsi.h | 23 struct lpfc_hba; 188 int lpfc_sli4_scmd_to_wqidx_distr(struct lpfc_hba *phba,
|
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() 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() 796 lpfc_release_rpi(struct lpfc_hba *phba, in lpfc_release_rpi() 821 struct lpfc_hba *phba; in lpfc_disc_illegal() 926 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_plogi_plogi_issue() 1004 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_els_plogi_issue() 1034 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_plogi_plogi_issue() [all …]
|
D | lpfc_disc.h | 109 struct lpfc_hba *phba;
|
/linux-4.4.14/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
|