Home
last modified time | relevance | path

Searched defs:phba (Results 1 – 24 of 24) sorted by relevance

/linux-3.3/drivers/scsi/lpfc/
Dlpfc_init.c95 lpfc_config_port_prep(struct lpfc_hba *phba) in lpfc_config_port_prep()
256 lpfc_config_async_cmpl(struct lpfc_hba * phba, LPFC_MBOXQ_t * pmboxq) in lpfc_config_async_cmpl()
277 lpfc_dump_wakeup_param_cmpl(struct lpfc_hba *phba, LPFC_MBOXQ_t *pmboxq) in lpfc_dump_wakeup_param_cmpl()
363 lpfc_config_port_post(struct lpfc_hba *phba) in lpfc_config_port_post()
629 lpfc_hba_init_link(struct lpfc_hba *phba, uint32_t flag) in lpfc_hba_init_link()
650 lpfc_hba_init_link_fc_topology(struct lpfc_hba *phba, uint32_t fc_topology, in lpfc_hba_init_link_fc_topology()
730 lpfc_hba_down_link(struct lpfc_hba *phba, uint32_t flag) in lpfc_hba_down_link()
774 lpfc_hba_down_prep(struct lpfc_hba *phba) in lpfc_hba_down_prep()
810 lpfc_hba_down_post_s3(struct lpfc_hba *phba) in lpfc_hba_down_post_s3()
866 lpfc_hba_down_post_s4(struct lpfc_hba *phba) in lpfc_hba_down_post_s4()
[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_mem.c62 lpfc_mem_alloc(struct lpfc_hba *phba, int align) in lpfc_mem_alloc()
179 lpfc_mem_free(struct lpfc_hba *phba) in lpfc_mem_free()
233 lpfc_mem_free_all(struct lpfc_hba *phba) in lpfc_mem_free_all()
303 lpfc_mbuf_alloc(struct lpfc_hba *phba, int mem_flags, dma_addr_t *handle) in lpfc_mbuf_alloc()
336 __lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in __lpfc_mbuf_free()
364 lpfc_mbuf_free(struct lpfc_hba * phba, void *virt, dma_addr_t dma) in lpfc_mbuf_free()
388 lpfc_els_hbq_alloc(struct lpfc_hba *phba) in lpfc_els_hbq_alloc()
419 lpfc_els_hbq_free(struct lpfc_hba *phba, struct hbq_dmabuf *hbqbp) in lpfc_els_hbq_free()
440 lpfc_sli4_rb_alloc(struct lpfc_hba *phba) in lpfc_sli4_rb_alloc()
479 lpfc_sli4_rb_free(struct lpfc_hba *phba, struct hbq_dmabuf *dmab) in lpfc_sli4_rb_free()
[all …]
Dlpfc_sli.c467 lpfc_cmd_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_cmd_iocb()
484 lpfc_resp_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring) in lpfc_resp_iocb()
500 __lpfc_sli_get_iocbq(struct lpfc_hba *phba) in __lpfc_sli_get_iocbq()
526 __lpfc_clear_active_sglq(struct lpfc_hba *phba, uint16_t xritag) in __lpfc_clear_active_sglq()
548 __lpfc_get_active_sglq(struct lpfc_hba *phba, uint16_t xritag) in __lpfc_get_active_sglq()
572 __lpfc_set_rrq_active(struct lpfc_hba *phba, struct lpfc_nodelist *ndlp, in __lpfc_set_rrq_active()
639 lpfc_clr_rrq_active(struct lpfc_hba *phba, in lpfc_clr_rrq_active()
682 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
[all …]
Dlpfc_hbadisc.c74 struct lpfc_hba *phba; in lpfc_terminate_rport_io() local
109 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_callbk() local
181 struct lpfc_hba *phba; in lpfc_dev_loss_tmo_handler() local
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()
581 lpfc_work_done(struct lpfc_hba *phba) in lpfc_work_done()
712 struct lpfc_hba *phba = p; in lpfc_do_work() local
[all …]
Dlpfc_els.c83 struct lpfc_hba *phba = vport->phba; in lpfc_els_chk_latt() local
154 struct lpfc_hba *phba = vport->phba; in lpfc_prep_els_iocb() local
342 struct lpfc_hba *phba = vport->phba; in lpfc_issue_fabric_reglogin() local
433 struct lpfc_hba *phba = vport->phba; in lpfc_issue_reg_vfi() local
507 struct lpfc_hba *phba = vport->phba; in lpfc_issue_unreg_vfi() local
619 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_els_flogi_fabric() local
780 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_els_flogi_nport() local
896 lpfc_cmpl_els_flogi(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, in lpfc_cmpl_els_flogi()
1107 struct lpfc_hba *phba = vport->phba; in lpfc_issue_els_flogi() local
1206 lpfc_els_abort_flogi(struct lpfc_hba *phba) in lpfc_els_abort_flogi()
[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() local
296 struct lpfc_hba *phba = pport->phba; in lpfc_vport_create() local
464 struct lpfc_hba *phba = vport->phba; in disable_vport() local
516 struct lpfc_hba *phba = vport->phba; in enable_vport() local
569 struct lpfc_hba *phba = vport->phba; in lpfc_vport_delete() local
[all …]
Dlpfc_scsi.c75 lpfc_debug_save_data(struct lpfc_hba *phba, struct scsi_cmnd *cmnd) in lpfc_debug_save_data()
104 lpfc_debug_save_dif(struct lpfc_hba *phba, struct scsi_cmnd *cmnd) in lpfc_debug_save_dif()
140 lpfc_sli4_set_rsp_sgl_last(struct lpfc_hba *phba, in lpfc_sli4_set_rsp_sgl_last()
161 lpfc_update_stats(struct lpfc_hba *phba, struct lpfc_scsi_buf *lpfc_cmd) in lpfc_update_stats()
219 lpfc_send_sdev_queuedepth_change_event(struct lpfc_hba *phba, in lpfc_send_sdev_queuedepth_change_event()
274 struct lpfc_hba *phba = vport->phba; in lpfc_change_queue_depth() local
302 lpfc_rampdown_queue_depth(struct lpfc_hba *phba) in lpfc_rampdown_queue_depth()
347 struct lpfc_hba *phba = vport->phba; in lpfc_rampup_queue_depth() local
384 lpfc_ramp_down_queue_handler(struct lpfc_hba *phba) in lpfc_ramp_down_queue_handler()
428 lpfc_ramp_up_queue_handler(struct lpfc_hba *phba) in lpfc_ramp_up_queue_handler()
[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()
309 struct lpfc_hba *phba = vport->phba; in lpfc_gen_req() local
391 struct lpfc_hba *phba = vport->phba; in lpfc_ct_cmd() local
420 lpfc_find_vport_by_did(struct lpfc_hba *phba, uint32_t did) { in lpfc_find_vport_by_did()
[all …]
Dlpfc_attr.c123 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 …]
Dlpfc_bsg.c162 lpfc_bsg_send_mgmt_cmd_cmp(struct lpfc_hba *phba, in lpfc_bsg_send_mgmt_cmd_cmp()
236 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_send_mgmt_cmd() local
413 lpfc_bsg_rport_els_cmp(struct lpfc_hba *phba, in lpfc_bsg_rport_els_cmp()
493 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_rport_els() local
733 diag_cmd_data_free(struct lpfc_hba *phba, struct lpfc_dmabufext *mlist) in diag_cmd_data_free()
769 lpfc_bsg_ct_unsol_event(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, in lpfc_bsg_ct_unsol_event()
1019 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_hba_set_event() local
1102 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_hba_get_event() local
1203 lpfc_issue_ct_rsp_cmp(struct lpfc_hba *phba, in lpfc_issue_ct_rsp_cmp()
1273 lpfc_issue_ct_rsp(struct lpfc_hba *phba, struct fc_bsg_job *job, uint32_t tag, in lpfc_issue_ct_rsp()
[all …]
Dlpfc_debugfs.c201 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()
666 lpfc_debugfs_slow_ring_trc(struct lpfc_hba *phba, char *fmt, in lpfc_debugfs_slow_ring_trc()
759 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_slow_ring_trc_open() local
809 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_hbqinfo_open() local
851 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_dumpHBASlim_open() local
893 struct lpfc_hba *phba = inode->i_private; in lpfc_debugfs_dumpHostSlim_open() local
1012 struct lpfc_hba *phba = file->private_data; in lpfc_debugfs_dif_err_read() local
[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() local
510 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_logo() local
666 lpfc_release_rpi(struct lpfc_hba *phba, in lpfc_release_rpi()
691 struct lpfc_hba *phba; in lpfc_disc_illegal() local
798 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_plogi_plogi_issue() local
876 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_els_plogi_issue() local
906 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_plogi_plogi_issue() local
1051 struct lpfc_hba *phba; in lpfc_cmpl_reglogin_plogi_issue() local
[all …]
Dlpfc_logmsg.h49 #define lpfc_printf_log(phba, level, mask, fmt, arg...) \ argument
Dlpfc.h283 struct lpfc_hba *phba; member
931 lpfc_set_loopback_flag(struct lpfc_hba *phba) in lpfc_set_loopback_flag()
940 lpfc_is_link_up(struct lpfc_hba *phba) in lpfc_is_link_up()
948 lpfc_worker_wake_up(struct lpfc_hba *phba) in lpfc_worker_wake_up()
970 lpfc_sli_read_hs(struct lpfc_hba *phba) in lpfc_sli_read_hs()
Dlpfc_disc.h109 struct lpfc_hba *phba; member
Dlpfc_sli4.h124 struct lpfc_hba *phba; member
344 struct lpfc_hba *phba; member
/linux-3.3/drivers/scsi/be2iscsi/
Dbe_main.c73 struct beiscsi_hba *phba; in beiscsi_eh_abort() local
144 struct beiscsi_hba *phba; in beiscsi_eh_device_reset() local
218 struct beiscsi_hba *phba = data; in beiscsi_show_boot_tgt_info() local
285 struct beiscsi_hba *phba = data; in beiscsi_show_boot_ini_info() local
302 struct beiscsi_hba *phba = data; in beiscsi_show_boot_eth_info() local
418 struct beiscsi_hba *phba; in beiscsi_hba_alloc() local
450 static void beiscsi_unmap_pci_function(struct beiscsi_hba *phba) in beiscsi_unmap_pci_function()
466 static int beiscsi_map_pci_bars(struct beiscsi_hba *phba, in beiscsi_map_pci_bars()
530 static int be_ctrl_init(struct beiscsi_hba *phba, struct pci_dev *pdev) in be_ctrl_init()
562 static void beiscsi_get_params(struct beiscsi_hba *phba) in beiscsi_get_params()
[all …]
Dbe_iscsi.c46 struct beiscsi_hba *phba; in beiscsi_session_create() local
116 struct beiscsi_hba *phba; in beiscsi_conn_create() local
150 static int beiscsi_bindconn_cid(struct beiscsi_hba *phba, in beiscsi_bindconn_cid()
181 struct beiscsi_hba *phba = iscsi_host_priv(shost); in beiscsi_conn_bind() local
292 struct beiscsi_hba *phba = iscsi_host_priv(shost); in beiscsi_get_host_param() local
310 int beiscsi_get_macaddr(char *buf, struct beiscsi_hba *phba) in beiscsi_get_macaddr()
441 static int beiscsi_get_cid(struct beiscsi_hba *phba) in beiscsi_get_cid()
460 static void beiscsi_put_cid(struct beiscsi_hba *phba, unsigned short cid) in beiscsi_put_cid()
474 struct beiscsi_hba *phba = beiscsi_ep->phba; in beiscsi_free_ep() local
493 struct beiscsi_hba *phba = beiscsi_ep->phba; in beiscsi_open_conn() local
[all …]
Dbe_mgmt.c24 unsigned int beiscsi_get_boot_target(struct beiscsi_hba *phba) in beiscsi_get_boot_target()
52 unsigned int beiscsi_get_session_info(struct beiscsi_hba *phba, in beiscsi_get_session_info()
95 struct beiscsi_hba *phba) in mgmt_get_fw_config()
139 struct beiscsi_hba *phba) in mgmt_check_supported_fw()
190 int mgmt_epfw_cleanup(struct beiscsi_hba *phba, unsigned short chute) in mgmt_epfw_cleanup()
216 unsigned int mgmt_invalidate_icds(struct beiscsi_hba *phba, in mgmt_invalidate_icds()
262 unsigned int mgmt_invalidate_connection(struct beiscsi_hba *phba, in mgmt_invalidate_connection()
299 unsigned int mgmt_upload_connection(struct beiscsi_hba *phba, in mgmt_upload_connection()
327 int mgmt_open_connection(struct beiscsi_hba *phba, in mgmt_open_connection()
422 unsigned int be_cmd_get_mac_addr(struct beiscsi_hba *phba) in be_cmd_get_mac_addr()
Dbe_cmds.c22 int beiscsi_pci_soft_reset(struct beiscsi_hba *phba) in beiscsi_pci_soft_reset()
74 int be_chk_reset_complete(struct beiscsi_hba *phba) in be_chk_reset_complete()
102 void be_mcc_notify(struct beiscsi_hba *phba) in be_mcc_notify()
112 unsigned int alloc_mcc_tag(struct beiscsi_hba *phba) in alloc_mcc_tag()
212 static struct be_mcc_compl *be_mcc_compl_get(struct beiscsi_hba *phba) in be_mcc_compl_get()
229 void beiscsi_async_link_state_process(struct beiscsi_hba *phba, in beiscsi_async_link_state_process()
253 static void beiscsi_cq_notify(struct beiscsi_hba *phba, u16 qid, bool arm, in beiscsi_cq_notify()
265 int beiscsi_process_mcc(struct beiscsi_hba *phba) in beiscsi_process_mcc()
300 static int be_mcc_wait_compl(struct beiscsi_hba *phba) in be_mcc_wait_compl()
320 int be_mcc_notify_wait(struct beiscsi_hba *phba) in be_mcc_notify_wait()
[all …]
Dbe_mgmt.h209 #define GET_MGMT_CONTROLLER_WS(phba) (phba->pmgmt_ws) argument
229 struct beiscsi_hba *phba; member
Dbe.h88 struct beiscsi_hba *phba; member
Dbe_main.h363 struct beiscsi_hba *phba; member