Home
last modified time | relevance | path

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

12

/linux/drivers/scsi/bfa/
A Dbfa_core.c95 bfa_port_attach(port, &bfa->ioc, bfa, bfa->trcmod); in bfa_com_port_attach()
119 bfa_cee_attach(cee, &bfa->ioc, bfa); in bfa_com_cee_attach()
129 bfa_sfp_attach(sfp, &bfa->ioc, bfa, bfa->trcmod); in bfa_com_sfp_attach()
139 bfa_flash_attach(flash, &bfa->ioc, bfa, bfa->trcmod, mincfg); in bfa_com_flash_attach()
150 bfa_diag_attach(diag, &bfa->ioc, bfa, bfa_fcport_beacon, bfa->trcmod); in bfa_com_diag_attach()
160 bfa_phy_attach(phy, &bfa->ioc, bfa, bfa->trcmod, mincfg); in bfa_com_phy_attach()
170 bfa_fru_attach(fru, &bfa->ioc, bfa, bfa->trcmod, mincfg); in bfa_com_fru_attach()
849 bfa_trc(bfa, bfa_ioc_pcifn(&bfa->ioc)); in bfa_isr_enable()
1042 iocfc->bfa = bfa; in bfa_iocfc_init_mem()
1176 bfa_ioim_lm_init(BFA_FCP_MOD(bfa)->bfa); in bfa_iocfc_start_submod()
[all …]
A Dbfa_hw_ct.c26 bfa_hwct_reginit(struct bfa_s *bfa) in bfa_hwct_reginit() argument
74 bfa_rspq_ci(bfa, rspq) = ci; in bfa_hwct_rspq_ack()
86 bfa_rspq_ci(bfa, rspq) = ci; in bfa_hwct2_rspq_ack()
106 bfa_trc(bfa, nvecs); in bfa_hwct_msix_init()
108 bfa->msix.nvecs = nvecs; in bfa_hwct_msix_init()
109 bfa_hwct_msix_uninstall(bfa); in bfa_hwct_msix_init()
115 if (bfa->msix.nvecs == 0) in bfa_hwct_msix_ctrl_install()
118 if (bfa->msix.nvecs == 1) in bfa_hwct_msix_ctrl_install()
129 if (bfa->msix.nvecs == 0) in bfa_hwct_msix_queue_install()
132 if (bfa->msix.nvecs == 1) { in bfa_hwct_msix_queue_install()
[all …]
A Dbfa_hw_cb.c16 bfa_hwcb_reginit(struct bfa_s *bfa) in bfa_hwcb_reginit() argument
20 int fn = bfa_ioc_pcifn(&bfa->ioc); in bfa_hwcb_reginit()
51 if (bfa_rspq_ci(bfa, rspq) == ci) in bfa_hwcb_rspq_ack_msix()
54 bfa_rspq_ci(bfa, rspq) = ci; in bfa_hwcb_rspq_ack_msix()
64 bfa_rspq_ci(bfa, rspq) = ci; in bfa_hwcb_rspq_ack()
110 bfa->msix.nvecs = nvecs; in bfa_hwcb_msix_init()
111 bfa_hwcb_msix_uninstall(bfa); in bfa_hwcb_msix_init()
119 if (bfa->msix.nvecs == 0) in bfa_hwcb_msix_ctrl_install()
122 if (bfa->msix.nvecs == 1) { in bfa_hwcb_msix_ctrl_install()
137 if (bfa->msix.nvecs == 0) in bfa_hwcb_msix_queue_install()
[all …]
A Dbfa_svc.c489 mod->bfa = bfa; in bfa_fcxp_attach()
1074 wqe->bfa = bfa; in bfa_fcxp_req_rsp_alloc_wait()
1495 lps->bfa = bfa; in bfa_lps_attach()
1583 struct bfa_s *bfa = first_lps->bfa; in bfa_lps_no_res() local
3025 fcport->bfa = bfa; in bfa_fcport_attach()
4827 rp->bfa = bfa; in bfa_rport_attach()
5058 rp->bfa = bfa; in bfa_rport_create()
5397 uf->bfa = ufm->bfa; in claim_ufs()
5452 ufm->bfa = bfa; in bfa_uf_attach()
5710 fcdiag->bfa = bfa; in bfa_fcdiag_attach()
[all …]
A Dbfa_svc.h56 struct bfa_s *bfa; member
90 struct bfa_s *bfa; /* backpointer to BFA */ member
204 struct bfa_s *bfa; member
320 struct bfa_s *bfa; /* bfa instance */ member
357 struct bfa_s *bfa; /* back pointer to BFA */ member
518 void bfa_fcport_init(struct bfa_s *bfa);
535 u8 bfa_fcport_get_myalpa(struct bfa_s *bfa);
618 void bfa_fcxp_walloc_cancel(struct bfa_s *bfa,
636 u32 bfa_fcxp_get_maxrsp(struct bfa_s *bfa);
662 u32 bfa_lps_get_max_vport(struct bfa_s *bfa);
[all …]
A Dbfa_fcpim.c312 struct bfa_s *bfa = fcp->bfa; in bfa_fcpim_attach() local
320 fcpim->bfa = bfa; in bfa_fcpim_attach()
1108 struct bfa_s *bfa = fcpim->bfa; in bfa_itnim_attach() local
1120 itnim->bfa = bfa; in bfa_itnim_attach()
2218 bfa_trc(bfa, bfa_get_lun_mask_status(bfa)); in bfa_fcpim_lunmask_update()
2240 bfa_trc(bfa, bfa_get_lun_mask_status(bfa)); in bfa_fcpim_lunmask_clear()
2262 bfa_trc(bfa, bfa_get_lun_mask_status(bfa)); in bfa_fcpim_lunmask_query()
2281 bfa_trc(bfa, bfa_get_lun_mask_status(bfa)); in bfa_fcpim_lunmask_add()
2766 ioim->bfa = fcpim->bfa; in bfa_ioim_attach()
3519 tskim->bfa = fcpim->bfa; in bfa_tskim_attach()
[all …]
A Dbfa.h177 void (*hw_reginit)(struct bfa_s *bfa);
221 struct bfa_s *bfa; member
295 struct bfa_s *bfa);
299 void bfa_iocfc_init(struct bfa_s *bfa);
300 void bfa_iocfc_start(struct bfa_s *bfa);
301 void bfa_iocfc_stop(struct bfa_s *bfa);
312 void bfa_hwcb_reginit(struct bfa_s *bfa);
398 struct bfa_s *bfa);
402 void bfa_detach(struct bfa_s *bfa);
407 void bfa_isr_enable(struct bfa_s *bfa);
[all …]
A Dbfa_fcpim.h35 void (*isr)(struct bfa_s *bfa, struct bfi_msg_s *m));
36 void bfa_itn_isr(struct bfa_s *bfa, struct bfi_msg_s *m);
110 struct bfa_s *bfa; member
140 struct bfa_s *bfa; member
163 struct bfa_s *bfa; /* BFA module */ member
195 struct bfa_s *bfa; /* BFA module */ member
217 struct bfa_s *bfa; /* bfa instance */ member
272 void bfa_ioim_good_comp_isr(struct bfa_s *bfa,
299 u16 bfa_fcpim_path_tov_get(struct bfa_s *bfa);
300 u16 bfa_fcpim_qdepth_get(struct bfa_s *bfa);
[all …]
A Dbfad_bsg.c26 if (!bfa_ioc_is_disabled(&bfad->bfa.ioc)) { in bfad_iocmd_ioc_enable()
33 bfa_iocfc_enable(&bfad->bfa); in bfad_iocmd_ioc_enable()
48 if (bfa_ioc_is_disabled(&bfad->bfa.ioc)) { in bfad_iocmd_ioc_disable()
61 bfa_iocfc_disable(&bfad->bfa); in bfad_iocmd_ioc_disable()
81 bfa_fcport_get_attr(&bfad->bfa, &pattr); in bfad_iocmd_ioc_get_info()
84 iocmd->ioc_type = bfa_get_type(&bfad->bfa); in bfad_iocmd_ioc_get_info()
85 iocmd->mac = bfa_get_mac(&bfad->bfa); in bfad_iocmd_ioc_get_info()
186 bfa_ioc_clear_stats(&bfad->bfa); in bfad_iocmd_ioc_reset_stats()
2307 bfa_fcport_disable(&bfad->bfa); in bfad_iocmd_cfg_trunk()
2311 bfa_fcport_disable(&bfad->bfa); in bfad_iocmd_cfg_trunk()
[all …]
A Dbfa_fcs.c233 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_sm_created() local
244 if (bfa_fcport_get_topology(bfa) == in bfa_fcs_fabric_sm_created()
281 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_sm_linkdown() local
548 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_sm_online() local
678 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_sm_stopping() local
935 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_login() local
1324 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_send_flogi_acc() local
1340 bfa_fcport_get_maxfrsize(bfa), in bfa_fcs_fabric_send_flogi_acc()
1585 fcs->bfa = bfa; in bfa_fcs_attach()
1590 bfa->fcs = BFA_TRUE; in bfa_fcs_attach()
[all …]
A DMakefile2 obj-$(CONFIG_SCSI_BFA_FC) := bfa.o
4 bfa-y := bfad.o bfad_im.o bfad_attr.o bfad_debugfs.o bfad_bsg.o
5 bfa-y += bfa_ioc.o bfa_ioc_cb.o bfa_ioc_ct.o bfa_hw_cb.o bfa_hw_ct.o
6 bfa-y += bfa_fcs.o bfa_fcs_lport.o bfa_fcs_rport.o bfa_fcs_fcpim.o bfa_fcbuild.o
7 bfa-y += bfa_port.o bfa_fcpim.o bfa_core.o bfa_svc.o
A Dbfa_fcs_rport.c236 bfa_timer_start(rport->fcs->bfa, &rport->timer, in bfa_fcs_rport_sm_plogi_sending()
255 bfa_timer_start(rport->fcs->bfa, &rport->timer, in bfa_fcs_rport_sm_plogi_sending()
300 bfa_timer_start(rport->fcs->bfa, &rport->timer, in bfa_fcs_rport_sm_plogiacc_sending()
530 bfa_rport_create(rport->fcs->bfa, rport); in bfa_fcs_rport_sm_fc4_fcs_online()
920 bfa_fcxp_walloc_cancel(rport->fcs->bfa, in bfa_fcs_rport_sm_adisc_offline_sending()
1715 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_rport_send_plogi()
1837 bfa_fcport_get_maxfrsize(port->fcs->bfa), in bfa_fcs_rport_send_plogiacc()
2564 bfa_fcport_set_tx_bbcredit(port->fcs->bfa, in bfa_fcs_rport_update()
2786 bfa_cb_rport_scn_online(struct bfa_s *bfa) in bfa_cb_rport_scn_online() argument
2813 bfa_cb_rport_scn_offline(struct bfa_s *bfa) in bfa_cb_rport_scn_offline() argument
[all …]
A Dbfad_debugfs.c85 rc = bfa_ioc_debug_fwtrc(&bfad->bfa.ioc, in bfad_debugfs_open_fwtrc()
127 rc = bfa_ioc_debug_fwsave(&bfad->bfa.ioc, in bfad_debugfs_open_fwsave()
191 bfad_reg_offset_check(struct bfa_s *bfa, u32 offset, u32 len) in bfad_reg_offset_check() argument
207 if ((offset + (len<<2)) > BFA_REG_ADDRMSK(&bfa->ioc)) in bfad_reg_offset_check()
244 struct bfa_s *bfa = &bfad->bfa; in bfad_debugfs_write_regrd() local
245 struct bfa_ioc_s *ioc = &bfa->ioc; in bfad_debugfs_write_regrd()
283 rc = bfad_reg_offset_check(bfa, addr, len); in bfad_debugfs_write_regrd()
313 struct bfa_s *bfa = &bfad->bfa; in bfad_debugfs_write_regwr() local
314 struct bfa_ioc_s *ioc = &bfa->ioc; in bfad_debugfs_write_regwr()
337 rc = bfad_reg_offset_check(bfa, addr, 1); in bfad_debugfs_write_regwr()
A Dbfad_attr.c153 bfa_fcport_get_attr(&bfad->bfa, &attr); in bfad_im_get_host_port_state()
209 bfa_fcport_get_attr(&bfad->bfa, &attr); in bfad_im_get_host_speed()
275 rc = bfa_port_get_stats(BFA_FCPORT(&bfad->bfa), in bfad_im_get_stats()
420 bfad_im_supported_speeds(&bfad->bfa); in bfad_im_vport_create()
422 bfa_fcport_get_maxfrsize(&bfad->bfa); in bfad_im_vport_create()
727 bfa_get_adapter_model(&bfad->bfa, model); in bfad_im_model_show()
743 bfa_get_adapter_model(&bfad->bfa, model); in bfad_im_model_desc_show()
744 nports = bfa_get_nports(&bfad->bfa); in bfad_im_model_desc_show()
852 bfa_get_pci_chip_rev(&bfad->bfa, hw_ver); in bfad_im_hw_version_show()
887 bfa_get_adapter_fw_ver(&bfad->bfa, fw_ver); in bfad_im_fw_version_show()
[all …]
A Dbfad.c215 bfa_iocfc_init(&bfad->bfa); in bfad_sm_created()
696 bfa_comp_deq(&bfad->bfa, &doneq); in bfad_bfa_tmo()
832 bfad->bfa.trcmod = bfad->trcmod; in bfad_drv_init()
860 bfa_iocfc_stop(&bfad->bfa); in bfad_drv_uninit()
865 bfa_isr_disable(&bfad->bfa); in bfad_drv_uninit()
866 bfa_detach(&bfad->bfa); in bfad_drv_uninit()
879 bfa_iocfc_start(&bfad->bfa); in bfad_drv_start()
911 bfa_iocfc_stop(&bfad->bfa); in bfad_stop()
1096 rc = bfa_intx(&bfad->bfa); in bfad_intx()
1412 bfa_detach(&bfad->bfa); in bfad_pci_remove()
[all …]
A Dbfa_modules.h83 void bfa_fcp_iocdisable(struct bfa_s *bfa);
99 void bfa_fcdiag_attach(struct bfa_s *bfa, void *, struct bfa_iocfc_cfg_s *,
102 void bfa_lps_iocdisable(struct bfa_s *bfa);
107 void bfa_rport_iocdisable(struct bfa_s *bfa);
A Dbfa_ioc.c2360 ioc->bfa = bfa; in bfa_ioc_attach()
5848 bfa_trc(dconf->bfa, event); in bfa_dconf_sm_uninit()
5892 bfa_trc(dconf->bfa, event); in bfa_dconf_sm_flash_read()
5923 bfa_trc(dconf->bfa, event); in bfa_dconf_sm_ready()
5950 bfa_trc(dconf->bfa, event); in bfa_dconf_sm_dirty()
5987 bfa_trc(dconf->bfa, event); in bfa_dconf_sm_final_sync()
6058 struct bfa_s *bfa) in bfa_dconf_meminfo() argument
6076 dconf->bfa = bfa; in bfa_dconf_attach()
6096 struct bfa_s *bfa = arg; in bfa_dconf_init_cb() local
6134 bfa_trc(dconf->bfa, 0); in bfa_dconf_flash_write()
[all …]
A Dbfad_im.c932 struct bfa_s *bfa = itnim_data->itnim->bfa_itnim->bfa; in bfad_im_check_if_make_lun_visible() local
934 struct bfa_lun_mask_s *lun_list = bfa_get_lun_mask_list(bfa); in bfad_im_check_if_make_lun_visible()
957 struct bfa_s *bfa; in bfad_im_slave_alloc() local
963 bfa = itnim_data->itnim->bfa_itnim->bfa; in bfad_im_slave_alloc()
965 if (bfa_get_lun_mask_status(bfa) == BFA_LUNMASK_ENABLED) { in bfad_im_slave_alloc()
991 bfad_im_supported_speeds(struct bfa_s *bfa) in bfad_im_supported_speeds() argument
1000 bfa_ioc_get_attr(&bfa->ioc, ioc_attr); in bfad_im_supported_speeds()
1031 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); in bfad_fc_host_init()
1156 bfa_fcpim_path_tov_get(&bfad->bfa) + 1; in bfad_im_itnim_work_handler()
1182 bfa_fcpim_path_tov_get(&bfad->bfa) + 1; in bfad_im_itnim_work_handler()
[all …]
A Dbfa_fcs_lport.c1305 bfa_trc(port->fcs->bfa, k); in bfa_fcport_get_loop_attr()
1306 bfa_trc(port->fcs->bfa, in bfa_fcport_get_loop_attr()
1340 bfa_trc(port->fcs->bfa, port->pid); in bfa_fcs_lport_loop_online()
1341 bfa_trc(port->fcs->bfa, num_alpa); in bfa_fcs_lport_loop_online()
1344 bfa_trc(port->fcs->bfa, alpa_map[i]); in bfa_fcs_lport_loop_online()
1347 bfa_trc(port->fcs->bfa, pid); in bfa_fcs_lport_loop_online()
1359 bfa_trc(port->fcs->bfa, pid); in bfa_fcs_lport_loop_online()
5319 bfa_timer_start(port->fcs->bfa, &scn->timer, in bfa_fcs_lport_scn_sm_scr()
5923 bfa_lps_get_max_vport(port->fcs->bfa); in bfa_fcs_lport_get_info()
6729 bfa_lps_get_max_vport(fcs->bfa)) in bfa_fcs_vport_create()
[all …]
A Dbfa_ioc.h249 typedef void (*bfa_ioc_enable_cbfn_t)(void *bfa, enum bfa_status status);
250 typedef void (*bfa_ioc_disable_cbfn_t)(void *bfa);
251 typedef void (*bfa_ioc_hbfail_cbfn_t)(void *bfa);
252 typedef void (*bfa_ioc_reset_cbfn_t)(void *bfa);
295 struct bfa_s *bfa; member
784 struct bfa_s *bfa; member
800 void bfa_dconf_modinit(struct bfa_s *bfa);
801 void bfa_dconf_modexit(struct bfa_s *bfa);
802 bfa_status_t bfa_dconf_update(struct bfa_s *bfa);
878 void bfa_ioc_attach(struct bfa_ioc_s *ioc, void *bfa,
A Dbfa_fcs_fcpim.c116 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
122 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
128 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
157 bfa_timer_start(itnim->fcs->bfa, &itnim->timer, in bfa_fcs_itnim_sm_prli()
199 itnim->bfa_itnim = bfa_itnim_create(itnim->fcs->bfa, in bfa_fcs_itnim_sm_hal_rport_online()
456 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &itnim->fcxp_wqe, in bfa_fcs_itnim_send_prli()
/linux/drivers/net/ethernet/brocade/bna/
A Dbfa_ioc.h118 typedef void (*bfa_ioc_enable_cbfn_t)(void *bfa, enum bfa_status status);
119 typedef void (*bfa_ioc_disable_cbfn_t)(void *bfa);
120 typedef void (*bfa_ioc_hbfail_cbfn_t)(void *bfa);
121 typedef void (*bfa_ioc_reset_cbfn_t)(void *bfa);
160 struct bfa *bfa; member
266 void bfa_nw_ioc_attach(struct bfa_ioc *ioc, void *bfa,
A Dbfa_ioc.c274 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling()
281 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_enabling()
326 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_getattr()
348 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_OK); in bfa_ioc_sm_op_entry()
437 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_disabled()
545 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_hwfail()
763 iocpf->ioc->cbfn->reset_cbfn(iocpf->ioc->bfa); in bfa_iocpf_sm_enabling_entry()
1092 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_disable_comp()
2123 mod->mbhdlr[mc].cbarg = ioc->bfa; in bfa_ioc_mbox_attach()
2289 ioc->cbfn->hbfail_cbfn(ioc->bfa); in bfa_ioc_fail_notify()
[all …]
/linux/Documentation/scsi/
A Dbfa.rst10 bfa 3.0.2.2 driver supports all Brocade FC/FCOE adapters. Below is a list of
39 The latest Firmware package for 3.0.2.2 bfa driver can be found at:
55 The latest driver configuration & management utility for 3.0.2.2 bfa driver can
A Dindex.rst17 bfa

Completed in 112 milliseconds

12