Home
last modified time | relevance | path

Searched refs:lpfc_hba (Results 1 – 21 of 21) sorted by relevance

/linux-2.6.39/drivers/scsi/lpfc/
Dlpfc_crtn.h24 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_dump_fcoe_param(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 …]
Dlpfc_sli4.h123 struct lpfc_hba *phba;
321 struct lpfc_hba;
325 struct lpfc_hba *phba;
510 int lpfc_pci_function_reset(struct lpfc_hba *);
511 int lpfc_sli4_hba_setup(struct lpfc_hba *);
512 int lpfc_sli4_config(struct lpfc_hba *, struct lpfcMboxq *, uint8_t,
514 void lpfc_sli4_mbox_cmd_free(struct lpfc_hba *, struct lpfcMboxq *);
518 int lpfc_sli4_mbx_read_fcf_rec(struct lpfc_hba *, struct lpfcMboxq *,
521 void lpfc_sli4_hba_reset(struct lpfc_hba *);
522 struct lpfc_queue *lpfc_sli4_queue_alloc(struct lpfc_hba *, uint32_t,
[all …]
Dlpfc.h256 struct lpfc_hba;
289 struct lpfc_hba *phba;
441 struct hbq_dmabuf *(*hbq_alloc_buffer) (struct lpfc_hba *);
443 void (*hbq_free_buffer) (struct lpfc_hba *,
489 struct lpfc_hba { struct
494 (struct lpfc_hba *, struct lpfc_nodelist *); argument
496 (struct lpfc_hba *, struct lpfc_scsi_buf *); argument
498 (struct lpfc_hba *, struct lpfc_scsi_buf *); argument
500 (struct lpfc_hba *, struct lpfc_scsi_buf *); argument
502 (struct lpfc_hba *); argument
[all …]
Dlpfc_init.c58 static void lpfc_get_hba_model_desc(struct lpfc_hba *, uint8_t *, uint8_t *);
59 static int lpfc_post_rcv_buf(struct lpfc_hba *);
60 static int lpfc_sli4_queue_create(struct lpfc_hba *);
61 static void lpfc_sli4_queue_destroy(struct lpfc_hba *);
62 static int lpfc_create_bootstrap_mbox(struct lpfc_hba *);
63 static int lpfc_setup_endian_order(struct lpfc_hba *);
64 static int lpfc_sli4_read_config(struct lpfc_hba *);
65 static void lpfc_destroy_bootstrap_mbox(struct lpfc_hba *);
66 static void lpfc_free_sgl_list(struct lpfc_hba *);
67 static int lpfc_init_sgl_list(struct lpfc_hba *);
[all …]
Dlpfc_mbox.c57 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()
202 lpfc_read_nv(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_read_nv()
227 lpfc_config_async(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb, in lpfc_config_async()
254 lpfc_heart_beat(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_heart_beat()
287 lpfc_read_topology(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmb, in lpfc_read_topology()
327 lpfc_clear_la(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_clear_la()
355 lpfc_config_link(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmb) in lpfc_config_link()
[all …]
Dlpfc_sli.h22 struct lpfc_hba;
90 void (*fabric_iocb_cmpl) (struct lpfc_hba *, struct lpfc_iocbq *,
92 void (*iocb_cmpl) (struct lpfc_hba *, struct lpfc_iocbq *,
117 void (*mbox_cmpl) (struct lpfc_hba *, struct lpfcMboxq *);
142 void (*lpfc_sli_rcv_unsol_event) (struct lpfc_hba *,
200 void (*lpfc_sli_rcv_async_status) (struct lpfc_hba *,
206 void (*lpfc_sli_cmd_available) (struct lpfc_hba *,
Dlpfc_mem.c62 lpfc_mem_alloc(struct lpfc_hba *phba, int align) in lpfc_mem_alloc()
189 lpfc_mem_free(struct lpfc_hba *phba) in lpfc_mem_free()
246 lpfc_mem_free_all(struct lpfc_hba *phba) in lpfc_mem_free_all()
316 lpfc_mbuf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_mbuf_alloc()
349 __lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in __lpfc_mbuf_free()
377 lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in lpfc_mbuf_free()
401 lpfc_els_hbq_alloc(struct lpfc_hba *phba) in lpfc_els_hbq_alloc()
432 lpfc_els_hbq_free(struct lpfc_hba *phba, struct hbq_dmabuf *hbqbp) in lpfc_els_hbq_free()
453 lpfc_sli4_rb_alloc(struct lpfc_hba *phba) in lpfc_sli4_rb_alloc()
492 lpfc_sli4_rb_free(struct lpfc_hba *phba, struct hbq_dmabuf *dmab) in lpfc_sli4_rb_free()
[all …]
Dlpfc_attr.c115 struct lpfc_hba *phba = vport->phba; in lpfc_enable_fip_show()
129 struct lpfc_hba *phba = vport->phba; in lpfc_bg_info_show()
148 struct lpfc_hba *phba = vport->phba; in lpfc_bg_guard_err_show()
160 struct lpfc_hba *phba = vport->phba; in lpfc_bg_apptag_err_show()
172 struct lpfc_hba *phba = vport->phba; in lpfc_bg_reftag_err_show()
209 struct lpfc_hba *phba = vport->phba; in lpfc_serialnum_show()
232 struct lpfc_hba *phba = vport->phba; in lpfc_temp_sensor_show()
250 struct lpfc_hba *phba = vport->phba; in lpfc_modeldesc_show()
269 struct lpfc_hba *phba = vport->phba; in lpfc_modelname_show()
288 struct lpfc_hba *phba = vport->phba; in lpfc_programtype_show()
[all …]
Dlpfc_sli.c60 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 *,
420 lpfc_cmd_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_cmd_iocb()
437 lpfc_resp_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_resp_iocb()
453 __lpfc_sli_get_iocbq(struct lpfc_hba *phba) in __lpfc_sli_get_iocbq()
480 __lpfc_clear_active_sglq(struct lpfc_hba *phba, uint16_t xritag) in __lpfc_clear_active_sglq()
505 __lpfc_get_active_sglq(struct lpfc_hba *phba, uint16_t xritag) in __lpfc_get_active_sglq()
532 __lpfc_set_rrq_active(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, in __lpfc_set_rrq_active()
602 lpfc_clr_rrq_active(struct lpfc_hba *phba, in lpfc_clr_rrq_active()
[all …]
Dlpfc_hbadisc.c66 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()
109 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_callbk()
181 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_handler()
317 lpfc_sli4_post_dev_loss_tmo_handler(struct lpfc_hba *phba, int fcf_inuse, in lpfc_sli4_post_dev_loss_tmo_handler()
377 lpfc_alloc_fast_evt(struct lpfc_hba *phba) { in lpfc_alloc_fast_evt()
403 lpfc_free_fast_evt(struct lpfc_hba *phba, in lpfc_free_fast_evt()
420 lpfc_send_fastpath_evt(struct lpfc_hba *phba, in lpfc_send_fastpath_evt()
486 lpfc_work_list_done(struct lpfc_hba *phba) in lpfc_work_list_done()
[all …]
Dlpfc_vport.c84 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()
464 struct lpfc_hba *phba = vport->phba; in disable_vport()
516 struct lpfc_hba *phba = vport->phba; in enable_vport()
569 struct lpfc_hba *phba = vport->phba; in lpfc_vport_delete()
[all …]
Dlpfc_scsi.c62 lpfc_release_scsi_buf_s4(struct lpfc_hba *phba, struct lpfc_scsi_buf *psb);
64 lpfc_release_scsi_buf_s3(struct lpfc_hba *phba, struct lpfc_scsi_buf *psb);
67 lpfc_debug_save_data(struct lpfc_hba *phba, struct scsi_cmnd *cmnd) in lpfc_debug_save_data()
96 lpfc_debug_save_dif(struct lpfc_hba *phba, struct scsi_cmnd *cmnd) in lpfc_debug_save_dif()
132 lpfc_sli4_set_rsp_sgl_last(struct lpfc_hba *phba, in lpfc_sli4_set_rsp_sgl_last()
153 lpfc_update_stats(struct lpfc_hba *phba, struct lpfc_scsi_buf *lpfc_cmd) in lpfc_update_stats()
211 lpfc_send_sdev_queuedepth_change_event(struct lpfc_hba *phba, in lpfc_send_sdev_queuedepth_change_event()
266 struct lpfc_hba *phba = vport->phba; in lpfc_change_queue_depth()
294 lpfc_rampdown_queue_depth(struct lpfc_hba *phba) in lpfc_rampdown_queue_depth()
339 struct lpfc_hba *phba = vport->phba; in lpfc_rampup_queue_depth()
[all …]
Dlpfc_ct.c66 lpfc_ct_ignore_hbq_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_ignore_hbq_buffer()
82 lpfc_ct_unsol_buffer(struct lpfc_hba *phba, struct lpfc_iocbq *piocbq, in lpfc_ct_unsol_buffer()
89 lpfc_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_ct_unsol_event()
177 lpfc_sli4_ct_abort_unsol_event(struct lpfc_hba *phba, in lpfc_sli4_ct_abort_unsol_event()
200 lpfc_free_ct_rsp(struct lpfc_hba *phba, struct lpfc_dmabuf *mlist) in lpfc_free_ct_rsp()
215 lpfc_alloc_ct_rsp(struct lpfc_hba *phba, int cmdcode, struct ulp_bde64 *bpl, in lpfc_alloc_ct_rsp()
272 lpfc_ct_free_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *ctiocb) in lpfc_ct_free_iocb()
304 void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, in lpfc_gen_req()
309 struct lpfc_hba *phba = vport->phba; in lpfc_gen_req()
385 void (*cmpl) (struct lpfc_hba *, struct lpfc_iocbq *, in lpfc_ct_cmd()
[all …]
Dlpfc_els.c45 static int lpfc_els_retry(struct lpfc_hba *, struct lpfc_iocbq *,
47 static void lpfc_cmpl_fabric_iocb(struct lpfc_hba *, struct lpfc_iocbq *,
52 static int lpfc_issue_fabric_iocb(struct lpfc_hba *phba,
83 struct lpfc_hba *phba = vport->phba; in lpfc_els_chk_latt()
154 struct lpfc_hba *phba = vport->phba; in lpfc_prep_els_iocb()
342 struct lpfc_hba *phba = vport->phba; in lpfc_issue_fabric_reglogin()
433 struct lpfc_hba *phba = vport->phba; in lpfc_issue_reg_vfi()
566 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_els_flogi_fabric()
723 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_els_flogi_nport()
839 lpfc_cmpl_els_flogi(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_cmpl_els_flogi()
[all …]
Dlpfc_vport.h91 struct lpfc_vport **lpfc_create_vport_work_array(struct lpfc_hba *);
92 void lpfc_destroy_vport_work_array(struct lpfc_hba *, struct lpfc_vport **);
Dlpfc_debugfs.c193 lpfc_debugfs_slow_ring_trc_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_slow_ring_trc_data()
256 lpfc_debugfs_hbqinfo_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_hbqinfo_data()
376 lpfc_debugfs_dumpHBASlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHBASlim_data()
429 lpfc_debugfs_dumpHostSlim_data(struct lpfc_hba *phba, char *buf, int size) in lpfc_debugfs_dumpHostSlim_data()
647 lpfc_debugfs_slow_ring_trc(struct lpfc_hba *phba, char *fmt, in lpfc_debugfs_slow_ring_trc()
740 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_slow_ring_trc_open()
790 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_hbqinfo_open()
832 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_dumpHBASlim_open()
874 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_dumpHostSlim_open()
1459 struct lpfc_hba *phba = (struct lpfc_hba *)debug->i_private; in lpfc_idiag_pcicfg_read()
[all …]
Dlpfc_nportdisc.c160 lpfc_check_elscmpl_iocb(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_check_elscmpl_iocb()
200 lpfc_els_abort(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp) in lpfc_els_abort()
262 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_plogi()
515 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_logo()
670 lpfc_release_rpi(struct lpfc_hba *phba, in lpfc_release_rpi()
695 struct lpfc_hba *phba; in lpfc_disc_illegal()
794 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_plogi_plogi_issue()
872 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_els_plogi_issue()
902 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_plogi_plogi_issue()
1047 struct lpfc_hba *phba; in lpfc_cmpl_reglogin_plogi_issue()
[all …]
Dlpfc_bsg.c161 lpfc_bsg_send_mgmt_cmd_cmp(struct lpfc_hba *phba, in lpfc_bsg_send_mgmt_cmd_cmp()
235 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_send_mgmt_cmd()
410 lpfc_bsg_rport_els_cmp(struct lpfc_hba *phba, in lpfc_bsg_rport_els_cmp()
490 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_rport_els()
730 diag_cmd_data_free(struct lpfc_hba *phba, struct lpfc_dmabufext *mlist) in diag_cmd_data_free()
766 lpfc_bsg_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_bsg_ct_unsol_event()
1011 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_hba_set_event()
1094 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_hba_get_event()
1195 lpfc_issue_ct_rsp_cmp(struct lpfc_hba *phba, in lpfc_issue_ct_rsp_cmp()
1265 lpfc_issue_ct_rsp(struct lpfc_hba *phba, struct fc_bsg_job *job, uint32_t tag, in lpfc_issue_ct_rsp()
[all …]
Dlpfc_scsi.h23 struct lpfc_hba;
Dlpfc_disc.h109 struct lpfc_hba *phba;
/linux-2.6.39/Documentation/scsi/
DChangeLog.lpfc562 * 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