/linux/drivers/scsi/bfa/ |
H A D | bfa_hw_ct.c | 21 bfa_hwct_msix_dummy(struct bfa_s *bfa, int vec) in bfa_hwct_msix_dummy() argument 26 bfa_hwct_reginit(struct bfa_s *bfa) in bfa_hwct_reginit() argument 28 struct bfa_iocfc_regs_s *bfa_regs = &bfa->iocfc.bfa_regs; in bfa_hwct_reginit() 29 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_hwct_reginit() 30 int fn = bfa_ioc_pcifn(&bfa->ioc); in bfa_hwct_reginit() 42 bfa_hwct2_reginit(struct bfa_s *bfa) in bfa_hwct2_reginit() argument 44 struct bfa_iocfc_regs_s *bfa_regs = &bfa->iocfc.bfa_regs; in bfa_hwct2_reginit() 45 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_hwct2_reginit() 52 bfa_hwct_reqq_ack(struct bfa_s *bfa, int reqq) in bfa_hwct_reqq_ack() argument 56 r32 = readl(bfa->iocfc.bfa_regs.cpe_q_ctrl[reqq]); in bfa_hwct_reqq_ack() [all …]
|
H A D | bfa_hw_cb.c | 16 bfa_hwcb_reginit(struct bfa_s *bfa) in bfa_hwcb_reginit() argument 18 struct bfa_iocfc_regs_s *bfa_regs = &bfa->iocfc.bfa_regs; in bfa_hwcb_reginit() 19 void __iomem *kva = bfa_ioc_bar0(&bfa->ioc); in bfa_hwcb_reginit() 20 int fn = bfa_ioc_pcifn(&bfa->ioc); in bfa_hwcb_reginit() 32 bfa_hwcb_reqq_ack_msix(struct bfa_s *bfa, int reqq) in bfa_hwcb_reqq_ack_msix() argument 34 writel(__HFN_INT_CPE_Q0 << CPE_Q_NUM(bfa_ioc_pcifn(&bfa->ioc), reqq), in bfa_hwcb_reqq_ack_msix() 35 bfa->iocfc.bfa_regs.intr_status); in bfa_hwcb_reqq_ack_msix() 46 bfa_hwcb_rspq_ack_msix(struct bfa_s *bfa, int rspq, u32 ci) in bfa_hwcb_rspq_ack_msix() argument 48 writel(__HFN_INT_RME_Q0 << RME_Q_NUM(bfa_ioc_pcifn(&bfa->ioc), rspq), in bfa_hwcb_rspq_ack_msix() 49 bfa->iocfc.bfa_regs.intr_status); in bfa_hwcb_rspq_ack_msix() [all …]
|
H A D | bfad_bsg.c | 26 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() 86 iocmd->factory_mac = bfa_get_mfg_mac(&bfad->bfa); in bfad_iocmd_ioc_get_info() 87 bfa_get_adapter_serial_num(&bfad->bfa, iocmd->serialnum); in bfad_iocmd_ioc_get_info() 117 bfa_ioc_get_attr(&bfad->bfa.ioc, &iocmd->ioc_attr); in bfad_iocmd_ioc_get_attr() [all …]
|
H A D | bfa_fcs.c | 58 struct bfa_ioc_s *ioc = &fabric->fcs->bfa->ioc; in bfa_fcs_update_cfg() 88 bfa_iocfc_get_pbc_vports(fcs->bfa, pbc_vports); in bfa_fcs_pbc_vport_init() 90 bfa_fcb_pbc_vport_create(fcs->bfa->bfad, pbc_vports[i]); in bfa_fcs_pbc_vport_init() 140 if (bfa_fcport_get_topology((__fabric)->fcs->bfa) \ 233 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_sm_created() local 240 if (!bfa_fcport_is_linkup(fabric->fcs->bfa)) { in bfa_fcs_fabric_sm_created() 244 if (bfa_fcport_get_topology(bfa) == in bfa_fcs_fabric_sm_created() 247 fabric->bport.pid = bfa_fcport_get_myalpa(bfa); in bfa_fcs_fabric_sm_created() 281 struct bfa_s *bfa = fabric->fcs->bfa; in bfa_fcs_fabric_sm_linkdown() local 288 if (bfa_fcport_get_topology(bfa) != BFA_PORT_TOPOLOGY_LOOP) { in bfa_fcs_fabric_sm_linkdown() [all …]
|
H A D | Makefile | 2 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
|
H A D | bfad_debugfs.c | 85 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()
|
H A D | bfad_im.c | 249 tskim = bfa_tskim_alloc(&bfad->bfa, (struct bfad_tskim_s *) cmnd); in bfad_im_target_reset_send() 315 tskim = bfa_tskim_alloc(&bfad->bfa, (struct bfad_tskim_s *) cmnd); in bfad_im_reset_lun_handler() 931 struct bfa_s *bfa = itnim_data->itnim->bfa_itnim->bfa; in bfad_im_check_if_make_lun_visible() local 933 struct bfa_lun_mask_s *lun_list = bfa_get_lun_mask_list(bfa); in bfad_im_check_if_make_lun_visible() 956 struct bfa_s *bfa; in bfad_im_slave_alloc() local 962 bfa = itnim_data->itnim->bfa_itnim->bfa; in bfad_im_slave_alloc() 964 if (bfa_get_lun_mask_status(bfa) == BFA_LUNMASK_ENABLED) { in bfad_im_slave_alloc() 990 bfad_im_supported_speeds(struct bfa_s *bfa) in bfad_im_supported_speeds() argument 999 bfa_ioc_get_attr(&bfa->ioc, ioc_attr); in bfad_im_supported_speeds() 1030 struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa); in bfad_fc_host_init() [all …]
|
H A D | bfa_fcs_fcpim.c | 133 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send() 139 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send() 145 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send() 174 bfa_timer_start(itnim->fcs->bfa, &itnim->timer, in bfa_fcs_itnim_sm_prli() 216 itnim->bfa_itnim = bfa_itnim_create(itnim->fcs->bfa, in bfa_fcs_itnim_sm_hal_rport_online() 473 bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &itnim->fcxp_wqe, in bfa_fcs_itnim_send_prli()
|
H A D | bfad_im.h | 33 u32 bfad_im_supported_speeds(struct bfa_s *bfa);
|
/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bfa_ioc.h | 118 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); 164 struct bfa *bfa; member 270 void bfa_nw_ioc_attach(struct bfa_ioc *ioc, void *bfa,
|
H A D | bfa_ioc.c | 274 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() 469 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry() 476 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail_retry() 508 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_fail() 541 ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE); in bfa_ioc_sm_hwfail() 545 ioc->cbfn->disable_cbfn(ioc->bfa); in bfa_ioc_sm_hwfail() [all …]
|
/linux/Documentation/scsi/ |
H A D | bfa.rst | 10 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
|
H A D | index.rst | 49 bfa
|
/linux/drivers/scsi/ |
H A D | Makefile | 90 obj-$(CONFIG_SCSI_BFA_FC) += bfa/
|
H A D | Kconfig | 1505 This bfa driver supports all Brocade PCIe FC/FCOE host adapters. 1508 be called bfa.
|
/linux/arch/m68k/ifpsp060/ |
H A D | ftest.sa | 161 dc.l $febc61ff,$00000bd4,$4a0066ff,$00000bfa
|
/linux/ |
H A D | MAINTAINERS | 4880 F: drivers/scsi/bfa/
|