Home
last modified time | relevance | path

Searched refs:phba (Results 1 – 25 of 33) sorted by relevance

12

/linux/drivers/scsi/lpfc/
A Dlpfc_init.c528 lpfc_get_hba_model_desc(phba, phba->ModelName, phba->ModelDesc); in lpfc_config_port_post()
1220 phba = from_timer(phba, t, rrq_tmr); in lpfc_rrq_timeout()
2170 (*phba->lpfc_handle_eratt)(phba); in lpfc_handle_eratt()
4655 vport->phba = phba; in lpfc_create_port()
4984 phba->lpfc_stop_port(phba); in lpfc_stop_port()
6614 phba = vport->phba; in lpfc_sli4_perform_vport_cvl()
8999 vport = lpfc_create_port(phba, phba->brd_no, &phba->pcidev->dev); in lpfc_create_shost()
9120 lpfc_get_hba_model_desc(phba, phba->ModelName, phba->ModelDesc); in lpfc_post_init_setup()
12289 eqhdl->phba = phba; in lpfc_hba_eq_hdl_array_init()
13900 lpfc_get_hba_model_desc(phba, phba->ModelName, phba->ModelDesc); in lpfc_pci_probe_one_s3()
[all …]
A Dlpfc_mem.c92 phba->lpfc_mbuf_pool = dma_pool_create("lpfc_mbuf_pool", &phba->pcidev->dev, in lpfc_mem_alloc()
126 phba->rrq_pool = in lpfc_mem_alloc()
129 if (!phba->rrq_pool) in lpfc_mem_alloc()
241 if (phba->sli_rev == LPFC_SLI_REV4 && phba->active_rrq_pool) { in lpfc_mem_free()
329 lpfc_mem_free(phba); in lpfc_mem_free_all()
339 if (phba->cgn_i) { in lpfc_mem_free_all()
342 phba->cgn_i->virt, phba->cgn_i->phys); in lpfc_mem_free_all()
343 kfree(phba->cgn_i); in lpfc_mem_free_all()
344 phba->cgn_i = NULL; in lpfc_mem_free_all()
348 kfree(phba->rxtable); in lpfc_mem_free_all()
[all …]
A Dlpfc_hbadisc.c164 phba = vport->phba; in lpfc_dev_loss_tmo_callbk()
403 phba = vport->phba; in lpfc_dev_loss_tmo_handler()
1069 struct lpfc_hba *phba = vport->phba; in lpfc_cleanup_rpis() local
1281 struct lpfc_hba *phba = vport->phba; in lpfc_linkup_port() local
1288 phba->fc_topology, phba->fc_linkspeed, phba->link_flag); in lpfc_linkup_port()
2303 struct lpfc_hba *phba = vport->phba; in lpfc_sli4_fcf_rr_next_proc() local
3107 struct lpfc_hba *phba = vport->phba; in lpfc_issue_init_vfi() local
3945 struct lpfc_hba *phba = vport->phba; in lpfc_mbx_unreg_vpi() local
4969 ndlp->phba = vport->phba; in lpfc_initialize_node()
5295 struct lpfc_hba *phba = vport->phba; in lpfc_unreg_rpi() local
[all …]
A Dlpfc_sli.c928 if (phba->iocb_cnt > phba->iocb_max) in __lpfc_sli_get_iocbq()
929 phba->iocb_max = phba->iocb_cnt; in __lpfc_sli_get_iocbq()
1070 struct lpfc_hba *phba = vport->phba; in lpfc_get_active_rrq() local
1102 struct lpfc_hba *phba = vport->phba; in lpfc_cleanup_vports_rrqs() local
3252 axchg->phba = phba; in lpfc_nvme_unsol_ls_handler()
5556 phba->max_vports = (phba->max_vpi > phba->max_vports) ? in lpfc_sli_config_port()
5648 phba->sli_rev, phba->max_vpi); in lpfc_sli_hba_setup()
14971 struct lpfc_hba *phba = cq->phba; in __lpfc_sli4_sp_process_cq() local
15488 struct lpfc_hba *phba = cq->phba; in __lpfc_sli4_hba_process_cq() local
15585 phba = hba_eq_hdl->phba; in lpfc_sli4_hba_intr_handler()
[all …]
A Dlpfc_attr.c123 struct lpfc_hba *phba = vport->phba; in lpfc_cmf_info_show() local
323 struct lpfc_hba *phba = vport->phba; in lpfc_enable_fip_show() local
337 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_info_show() local
708 struct lpfc_hba *phba = vport->phba; in lpfc_scsi_stat_show() local
759 struct lpfc_hba *phba = vport->phba; in lpfc_bg_info_show() local
779 struct lpfc_hba *phba = vport->phba; in lpfc_bg_guard_err_show() local
791 struct lpfc_hba *phba = vport->phba; in lpfc_bg_apptag_err_show() local
803 struct lpfc_hba *phba = vport->phba; in lpfc_bg_reftag_err_show() local
840 struct lpfc_hba *phba = vport->phba; in lpfc_serialnum_show() local
1185 struct lpfc_hba *phba = vport->phba; in lpfc_sli4_protocol_show() local
[all …]
A Dlpfc_bsg.c391 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_send_mgmt_cmd() local
661 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_rport_els() local
1185 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_hba_set_event() local
1268 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_hba_get_event() local
1613 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_send_mgmt_rsp() local
2028 phba->vpi_ids[phba->pport->vpi]); in lpfc_sli4_diag_fcport_reg_setup()
2275 phba = vport->phba; in lpfc_bsg_diag_loopback_mode()
2315 phba = vport->phba; in lpfc_sli4_bsg_diag_mode_end()
2401 phba = vport->phba; in lpfc_sli4_bsg_link_diag_test()
3086 struct lpfc_hba *phba = vport->phba; in lpfc_bsg_diag_loopback_run() local
[all …]
A Dlpfc_nvmet.c442 ctxp->phba = phba; in lpfc_nvmet_ctxbuf_post()
1015 struct lpfc_hba *phba = ctxp->phba; in lpfc_nvmet_xmt_fcp_op() local
1145 struct lpfc_hba *phba = ctxp->phba; in lpfc_nvmet_xmt_fcp_abort() local
1204 struct lpfc_hba *phba = ctxp->phba; in lpfc_nvmet_xmt_fcp_release() local
1248 struct lpfc_hba *phba = ctxp->phba; in lpfc_nvmet_defer_rcv() local
1319 phba = lpfc_nvmet->phba; in lpfc_nvmet_ls_req()
1355 phba = lpfc_nvmet->phba; in lpfc_nvmet_ls_abort()
1370 struct lpfc_hba *phba = ndlp->phba; in lpfc_nvmet_host_release() local
1397 phba = tgtp->phba; in lpfc_nvmet_discovery_event()
1693 tgtp->phba = phba; in lpfc_nvmet_create_targetport()
[all …]
A Dlpfc_vport.c94 vpi = find_next_zero_bit(phba->vpi_bmask, (phba->max_vpi + 1), 1); in lpfc_alloc_vpi()
95 if (vpi > phba->max_vpi) in lpfc_alloc_vpi()
145 rc = lpfc_sli_issue_mbox_wait(phba, pmb, phba->fc_ratov * 2); in lpfc_vport_sparm()
243 struct lpfc_hba *phba = vport->phba; in lpfc_discovery_wait() local
300 struct lpfc_hba *phba = pport->phba; in lpfc_vport_create() local
307 if ((phba->sli_rev < 3) || !(phba->cfg_enable_npiv)) { in lpfc_vport_create()
311 phba->sli_rev); in lpfc_vport_create()
330 phba->max_vpi); in lpfc_vport_create()
492 struct lpfc_hba *phba = vport->phba; in disable_vport() local
543 struct lpfc_hba *phba = vport->phba; in enable_vport() local
[all …]
A Dlpfc_debugfs.c810 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_nodelist_data() local
916 if (phba->nvmet_support && phba->targetport && (vport == phba->pport)) { in lpfc_debugfs_nodelist_data()
1031 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_nvmestat_data() local
1254 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_scsistat_data() local
1394 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_ioktime_data() local
1696 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_hdwqstat_data() local
1870 !phba || !phba->slow_ring_trc) in lpfc_debugfs_slow_ring_trc()
2683 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_nvmestat_write() local
2771 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_scsistat_write() local
2825 struct lpfc_hba *phba = vport->phba; in lpfc_debugfs_ioktime_write() local
[all …]
A Dlpfc_debugfs.h209 if (phba->nvmeio_trc_on) \
401 (q->phba)->brd_no, in lpfc_debug_dump_q()
429 wq = phba->sli4_hba.mbx_wq; in lpfc_debug_dump_wq()
432 wq = phba->sli4_hba.els_wq; in lpfc_debug_dump_wq()
435 wq = phba->sli4_hba.nvmels_wq; in lpfc_debug_dump_wq()
474 wq = phba->sli4_hba.mbx_wq; in lpfc_debug_dump_cq()
475 cq = phba->sli4_hba.mbx_cq; in lpfc_debug_dump_cq()
478 wq = phba->sli4_hba.els_wq; in lpfc_debug_dump_cq()
479 cq = phba->sli4_hba.els_cq; in lpfc_debug_dump_cq()
482 wq = phba->sli4_hba.nvmels_wq; in lpfc_debug_dump_cq()
[all …]
A Dlpfc_mbox.c380 if (phba->bbcredit_support && phba->cfg_enable_bbcr) { in lpfc_config_link()
386 if (phba->cfg_ack0 && (phba->sli_rev < LPFC_SLI_REV4)) in lpfc_config_link()
846 struct lpfc_hba *phba = vport->phba; in lpfc_sli4_unreg_all_rpis() local
888 struct lpfc_hba *phba = vport->phba; in lpfc_reg_vpi() local
1305 if (phba->max_vpi && phba->cfg_enable_npiv && in lpfc_config_port()
1380 if (phba->cfg_hostmem_hgp && phba->sli_rev != 3) { in lpfc_config_port()
2096 if (phba->max_vpi && phba->cfg_enable_npiv) in lpfc_request_features()
2160 struct lpfc_hba *phba = vport->phba; in lpfc_reg_vfi() local
2194 if (phba->bbcredit_support && phba->cfg_enable_bbcr && in lpfc_reg_vfi()
2244 phba->sli4_hba.vfi_ids[phba->pport->vfi]); in lpfc_init_vpi()
[all …]
A Dlpfc_scsi.c133 struct lpfc_hba *phba = vport->phba; in lpfc_update_stats() local
319 struct lpfc_hba *phba = vport->phba; in lpfc_new_scsi_buf_s3() local
455 struct lpfc_hba *phba = vport->phba; in lpfc_sli4_vport_delete_fcp_xri_aborted() local
838 phba->lpfc_release_scsi_buf(phba, psb); in lpfc_release_scsi_buf()
4881 struct lpfc_hba *phba = vport->phba; in lpfc_scsi_prep_cmnd_buf_s4() local
5218 struct lpfc_hba *phba = vport->phba; in lpfc_info() local
5224 if (phba && phba->pcidev){ in lpfc_info()
5593 struct lpfc_hba *phba = vport->phba; in lpfc_queuecommand() local
5890 struct lpfc_hba *phba = vport->phba; in lpfc_abort_handler() local
6159 struct lpfc_hba *phba = vport->phba; in lpfc_send_taskmgmt() local
[all …]
A Dlpfc_els.c97 struct lpfc_hba *phba = vport->phba; in lpfc_els_chk_latt() local
168 struct lpfc_hba *phba = vport->phba; in lpfc_prep_els_iocb() local
377 struct lpfc_hba *phba = vport->phba; in lpfc_issue_fabric_reglogin() local
474 struct lpfc_hba *phba = vport->phba; in lpfc_issue_reg_vfi() local
558 struct lpfc_hba *phba = vport->phba; in lpfc_issue_unreg_vfi() local
614 struct lpfc_hba *phba = vport->phba; in lpfc_check_clean_addr_bit() local
673 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_els_flogi_fabric() local
866 struct lpfc_hba *phba = vport->phba; in lpfc_cmpl_els_flogi_nport() local
1288 struct lpfc_hba *phba = vport->phba; in lpfc_issue_els_flogi() local
2393 struct lpfc_hba *phba = vport->phba; in lpfc_issue_els_prli() local
[all …]
A Dlpfc_logmsg.h53 void lpfc_dmp_dbg(struct lpfc_hba *phba);
65 (phba)->pport->cfg_log_verbose : \
66 (phba)->cfg_log_verbose; \
69 fmt, phba->brd_no, ##arg); \
77 lpfc_dmp_dbg((vport)->phba); \
89 (phba)->pport->cfg_log_verbose : \
90 (phba)->cfg_log_verbose; \
93 lpfc_dmp_dbg(phba); \
95 fmt, phba->brd_no, ##arg); \
96 } else if (!(phba)->cfg_log_verbose)\
[all …]
A Dlpfc_crtn.h76 void lpfc_free_iocb_list(struct lpfc_hba *phba);
80 void lpfc_cmf_signal_init(struct lpfc_hba *phba);
81 void lpfc_cmf_start(struct lpfc_hba *phba);
82 void lpfc_cmf_stop(struct lpfc_hba *phba);
92 void lpfc_block_requests(struct lpfc_hba *phba);
225 int lpfc_sli4_setup(struct lpfc_hba *phba);
226 void lpfc_sli_queue_init(struct lpfc_hba *phba);
388 int lpfc_issue_hb_mbox(struct lpfc_hba *phba);
389 void lpfc_issue_hb_tmo(struct lpfc_hba *phba);
495 void lpfc_start_fdiscs(struct lpfc_hba *phba);
[all …]
A Dlpfc_nvme.c387 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_gen_req() local
495 rc = lpfc_sli4_issue_wqe(phba, &phba->sli4_hba.hdwq[0], genwqe); in lpfc_nvme_gen_req()
696 struct lpfc_hba *phba = vport->phba; in __lpfc_nvme_ls_abort() local
816 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_adj_fcp_sgls() local
1185 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_prep_io_cmd() local
1293 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_prep_io_dma() local
1516 phba = vport->phba; in lpfc_nvme_fcp_io_submit()
1803 phba = vport->phba; in lpfc_nvme_fcp_abort()
2068 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_create_localport() local
2155 struct lpfc_hba *phba = vport->phba; in lpfc_nvme_lport_unreg_wait() local
[all …]
A Dlpfc_ct.c158 struct lpfc_hba *phba = vport->phba; in lpfc_ct_reject_event() local
596 struct lpfc_hba *phba = vport->phba; in lpfc_gen_req() local
693 struct lpfc_hba *phba = vport->phba; in lpfc_ct_cmd() local
828 struct lpfc_hba *phba = vport->phba; in lpfc_ns_rsp_audit_did() local
1909 struct lpfc_hba *phba = vport->phba; in lpfc_ns_cmd() local
2385 struct lpfc_hba *phba = vport->phba; in lpfc_fdmi_change_check() local
2488 struct lpfc_hba *phba = vport->phba; in lpfc_fdmi_hba_attr_sn() local
2510 struct lpfc_hba *phba = vport->phba; in lpfc_fdmi_hba_attr_model() local
2531 struct lpfc_hba *phba = vport->phba; in lpfc_fdmi_hba_attr_description() local
2553 struct lpfc_hba *phba = vport->phba; in lpfc_fdmi_hba_attr_hdw_ver() local
[all …]
A Dlpfc_nportdisc.c323 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_plogi() local
776 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_logo() local
926 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_prli() local
1094 phba = vport->phba; in lpfc_disc_illegal()
1194 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_plogi_plogi_issue() local
1274 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_els_plogi_issue() local
1524 phba = vport->phba; in lpfc_cmpl_reglogin_plogi_issue()
1558 struct lpfc_hba *phba = vport->phba; in lpfc_device_recov_plogi_issue() local
1622 struct lpfc_hba *phba = vport->phba; in lpfc_rcv_logo_adisc_issue() local
1743 struct lpfc_hba *phba = vport->phba; in lpfc_device_recov_adisc_issue() local
[all …]
A Dlpfc.h568 struct lpfc_hba *phba; member
1650 wake_up(&phba->work_waitq); in lpfc_worker_wake_up()
1672 phba->sli.slistat.err_attn_event++; in lpfc_sli_read_hs()
1675 if (lpfc_readl(phba->HSregaddr, &phba->work_hs) || in lpfc_sli_read_hs()
1676 lpfc_readl(phba->MBslimaddr + 0xa8, &phba->work_status[0]) || in lpfc_sli_read_hs()
1677 lpfc_readl(phba->MBslimaddr + 0xac, &phba->work_status[1])) { in lpfc_sli_read_hs()
1682 writel(HA_ERATT, phba->HAregaddr); in lpfc_sli_read_hs()
1683 readl(phba->HAregaddr); /* flush */ in lpfc_sli_read_hs()
1684 phba->pport->stopped = 1; in lpfc_sli_read_hs()
1699 if (phba->sli4_hba.els_wq) in lpfc_phba_elsring()
[all …]
/linux/drivers/scsi/be2iscsi/
A Dbe_main.c245 phba = beiscsi_conn->phba; in beiscsi_eh_abort()
297 phba = beiscsi_conn->phba; in beiscsi_eh_device_reset()
427 memset(phba, 0, sizeof(*phba)); in beiscsi_hba_alloc()
678 phba = pbe_eq->phba; in be_isr_mcc()
716 phba = pbe_eq->phba; in be_isr_msix()
1652 phba = beiscsi_conn->phba; in beiscsi_hdl_gather_pdu()
1835 phba = pbe_eq->phba; in beiscsi_mcc_work()
1865 phba = pbe_eq->phba; in beiscsi_process_cq()
2041 phba = pbe_eq->phba; in be_iopoll()
3078 pbe_eq->phba = phba; in beiscsi_create_cqs()
[all …]
A Dbe_iscsi.c54 phba = beiscsi_ep->phba; in beiscsi_session_create()
155 beiscsi_conn->phba = phba; in beiscsi_conn_create()
198 if (beiscsi_ep->phba != phba) { in beiscsi_conn_bind()
201 beiscsi_ep->phba, phba); in beiscsi_conn_bind()
244 phba->ipv4_iface = iscsi_create_iface(phba->shost, in beiscsi_iface_create_ipv4()
263 phba->ipv6_iface = iscsi_create_iface(phba->shost, in beiscsi_iface_create_ipv6()
1008 struct beiscsi_hba *phba = beiscsi_ep->phba; in beiscsi_free_ep() local
1051 struct beiscsi_hba *phba = beiscsi_ep->phba; in beiscsi_open_conn() local
1178 beiscsi_ep->phba = phba; in beiscsi_ep_connect()
1247 struct beiscsi_hba *phba = beiscsi_ep->phba; in beiscsi_conn_close() local
[all …]
A Dbe_cmds.c107 tag = phba->ctrl.mcc_tag[phba->ctrl.mcc_alloc_index]; in alloc_mcc_wrb()
119 phba->ctrl.mcc_tag[phba->ctrl.mcc_alloc_index] = 0; in alloc_mcc_wrb()
422 phba->optic_state = state; in beiscsi_process_async_sli()
448 phba->port_name, in beiscsi_process_async_sli()
862 ctrl = &phba->ctrl; in beiscsi_cmd_mccq_create()
1420 phba->fw_config. in beiscsi_get_fw_config()
1422 phba->fw_config. in beiscsi_get_fw_config()
1424 phba->fw_config. in beiscsi_get_fw_config()
1426 phba->fw_config. in beiscsi_get_fw_config()
1502 phba->port_name = 0; in beiscsi_get_port_name()
[all …]
A Dbe_mgmt.c34 struct beiscsi_hba *phba, in mgmt_vendor_specific_fw_cmd() argument
92 be_mcc_notify(phba, tag); in mgmt_vendor_specific_fw_cmd()
186 i = phba->nxt_cqid++; in mgmt_open_connection()
187 if (phba->nxt_cqid == phba->num_cpus) in mgmt_open_connection()
188 phba->nxt_cqid = 0; in mgmt_open_connection()
208 be_mcc_notify(phba, tag); in mgmt_open_connection()
259 be_mcc_notify(phba, tag); in beiscsi_exec_nemb_cmd()
410 be_mcc_notify(phba, tag); in beiscsi_if_get_handle()
531 phba->interface_handle; in beiscsi_if_clr_ip()
570 phba->interface_handle; in beiscsi_if_set_ip()
[all …]
A Dbe_mgmt.h29 int mgmt_open_connection(struct beiscsi_hba *phba,
35 struct beiscsi_hba *phba,
141 #define GET_MGMT_CONTROLLER_WS(phba) (phba->pmgmt_ws) argument
154 struct beiscsi_hba *phba; member
166 int beiscsi_mgmt_invalidate_icds(struct beiscsi_hba *phba,
179 int beiscsi_if_get_gw(struct beiscsi_hba *phba, u32 ip_type,
182 int mgmt_get_nic_conf(struct beiscsi_hba *phba,
188 unsigned int beiscsi_if_get_handle(struct beiscsi_hba *phba);
233 unsigned int beiscsi_upload_cxn(struct beiscsi_hba *phba,
236 int be_cmd_modify_eq_delay(struct beiscsi_hba *phba,
[all …]
A Dbe_main.h252 #define chip_be2(phba) (phba->generation == BE_GEN2) argument
253 #define chip_be3_r(phba) (phba->generation == BE_GEN3) argument
254 #define is_chip_be2_be3r(phba) (chip_be3_r(phba) || (chip_be2(phba))) argument
264 #define BEISCSI_ULP0_AVLBL_CID(phba) \ argument
265 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP0)
266 #define BEISCSI_ULP1_AVLBL_CID(phba) \ argument
267 BEISCSI_ULP_AVLBL_CID(phba, BEISCSI_ULP1)
395 #define beiscsi_hba_in_error(phba) ((phba)->state & BEISCSI_HBA_IN_ERR) argument
396 #define beiscsi_hba_is_online(phba) \ argument
397 (!beiscsi_hba_in_error((phba)) && \
[all …]

Completed in 1047 milliseconds

12