bfa               274 drivers/net/ethernet/brocade/bna/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               281 drivers/net/ethernet/brocade/bna/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               326 drivers/net/ethernet/brocade/bna/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               348 drivers/net/ethernet/brocade/bna/bfa_ioc.c 	ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_OK);
bfa               436 drivers/net/ethernet/brocade/bna/bfa_ioc.c 		ioc->cbfn->disable_cbfn(ioc->bfa);
bfa               468 drivers/net/ethernet/brocade/bna/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               475 drivers/net/ethernet/brocade/bna/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               507 drivers/net/ethernet/brocade/bna/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               540 drivers/net/ethernet/brocade/bna/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               544 drivers/net/ethernet/brocade/bna/bfa_ioc.c 		ioc->cbfn->disable_cbfn(ioc->bfa);
bfa               762 drivers/net/ethernet/brocade/bna/bfa_ioc.c 	iocpf->ioc->cbfn->reset_cbfn(iocpf->ioc->bfa);
bfa              1091 drivers/net/ethernet/brocade/bna/bfa_ioc.c 	ioc->cbfn->disable_cbfn(ioc->bfa);
bfa              2124 drivers/net/ethernet/brocade/bna/bfa_ioc.c 		mod->mbhdlr[mc].cbarg = ioc->bfa;
bfa              2290 drivers/net/ethernet/brocade/bna/bfa_ioc.c 	ioc->cbfn->hbfail_cbfn(ioc->bfa);
bfa              2326 drivers/net/ethernet/brocade/bna/bfa_ioc.c 	ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa              2476 drivers/net/ethernet/brocade/bna/bfa_ioc.c bfa_nw_ioc_attach(struct bfa_ioc *ioc, void *bfa, struct bfa_ioc_cbfn *cbfn)
bfa              2478 drivers/net/ethernet/brocade/bna/bfa_ioc.c 	ioc->bfa	= bfa;
bfa               118 drivers/net/ethernet/brocade/bna/bfa_ioc.h typedef void (*bfa_ioc_enable_cbfn_t)(void *bfa, enum bfa_status status);
bfa               119 drivers/net/ethernet/brocade/bna/bfa_ioc.h typedef void (*bfa_ioc_disable_cbfn_t)(void *bfa);
bfa               120 drivers/net/ethernet/brocade/bna/bfa_ioc.h typedef void (*bfa_ioc_hbfail_cbfn_t)(void *bfa);
bfa               121 drivers/net/ethernet/brocade/bna/bfa_ioc.h typedef void (*bfa_ioc_reset_cbfn_t)(void *bfa);
bfa               160 drivers/net/ethernet/brocade/bna/bfa_ioc.h 	struct bfa		*bfa;
bfa               266 drivers/net/ethernet/brocade/bna/bfa_ioc.h void bfa_nw_ioc_attach(struct bfa_ioc *ioc, void *bfa,
bfa                22 drivers/scsi/bfa/bfa.h typedef void (*bfa_isr_func_t) (struct bfa_s *bfa, struct bfi_msg_s *m);
bfa                28 drivers/scsi/bfa/bfa.h void bfa_isr_unhandled(struct bfa_s *bfa, struct bfi_msg_s *m);
bfa               167 drivers/scsi/bfa/bfa.h typedef void (*bfa_msix_handler_t)(struct bfa_s *bfa, int vec);
bfa               177 drivers/scsi/bfa/bfa.h 	void (*hw_reginit)(struct bfa_s *bfa);
bfa               178 drivers/scsi/bfa/bfa.h 	void (*hw_reqq_ack)(struct bfa_s *bfa, int reqq);
bfa               179 drivers/scsi/bfa/bfa.h 	void (*hw_rspq_ack)(struct bfa_s *bfa, int rspq, u32 ci);
bfa               180 drivers/scsi/bfa/bfa.h 	void (*hw_msix_init)(struct bfa_s *bfa, int nvecs);
bfa               181 drivers/scsi/bfa/bfa.h 	void (*hw_msix_ctrl_install)(struct bfa_s *bfa);
bfa               182 drivers/scsi/bfa/bfa.h 	void (*hw_msix_queue_install)(struct bfa_s *bfa);
bfa               183 drivers/scsi/bfa/bfa.h 	void (*hw_msix_uninstall)(struct bfa_s *bfa);
bfa               184 drivers/scsi/bfa/bfa.h 	void (*hw_isr_mode_set)(struct bfa_s *bfa, bfa_boolean_t msix);
bfa               185 drivers/scsi/bfa/bfa.h 	void (*hw_msix_getvecs)(struct bfa_s *bfa, u32 *vecmap,
bfa               187 drivers/scsi/bfa/bfa.h 	void (*hw_msix_get_rme_range) (struct bfa_s *bfa, u32 *start,
bfa               221 drivers/scsi/bfa/bfa.h 	struct bfa_s		*bfa;
bfa               295 drivers/scsi/bfa/bfa.h 			struct bfa_s *bfa);
bfa               296 drivers/scsi/bfa/bfa.h void bfa_iocfc_attach(struct bfa_s *bfa, void *bfad,
bfa               299 drivers/scsi/bfa/bfa.h void bfa_iocfc_init(struct bfa_s *bfa);
bfa               300 drivers/scsi/bfa/bfa.h void bfa_iocfc_start(struct bfa_s *bfa);
bfa               301 drivers/scsi/bfa/bfa.h void bfa_iocfc_stop(struct bfa_s *bfa);
bfa               302 drivers/scsi/bfa/bfa.h void bfa_iocfc_isr(void *bfa, struct bfi_mbmsg_s *msg);
bfa               303 drivers/scsi/bfa/bfa.h void bfa_iocfc_set_snsbase(struct bfa_s *bfa, int seg_no, u64 snsbase_pa);
bfa               304 drivers/scsi/bfa/bfa.h bfa_boolean_t bfa_iocfc_is_operational(struct bfa_s *bfa);
bfa               305 drivers/scsi/bfa/bfa.h void bfa_iocfc_reset_queues(struct bfa_s *bfa);
bfa               307 drivers/scsi/bfa/bfa.h void bfa_msix_all(struct bfa_s *bfa, int vec);
bfa               308 drivers/scsi/bfa/bfa.h void bfa_msix_reqq(struct bfa_s *bfa, int vec);
bfa               309 drivers/scsi/bfa/bfa.h void bfa_msix_rspq(struct bfa_s *bfa, int vec);
bfa               310 drivers/scsi/bfa/bfa.h void bfa_msix_lpu_err(struct bfa_s *bfa, int vec);
bfa               312 drivers/scsi/bfa/bfa.h void bfa_hwcb_reginit(struct bfa_s *bfa);
bfa               313 drivers/scsi/bfa/bfa.h void bfa_hwcb_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci);
bfa               314 drivers/scsi/bfa/bfa.h void bfa_hwcb_msix_init(struct bfa_s *bfa, int nvecs);
bfa               315 drivers/scsi/bfa/bfa.h void bfa_hwcb_msix_ctrl_install(struct bfa_s *bfa);
bfa               316 drivers/scsi/bfa/bfa.h void bfa_hwcb_msix_queue_install(struct bfa_s *bfa);
bfa               317 drivers/scsi/bfa/bfa.h void bfa_hwcb_msix_uninstall(struct bfa_s *bfa);
bfa               318 drivers/scsi/bfa/bfa.h void bfa_hwcb_isr_mode_set(struct bfa_s *bfa, bfa_boolean_t msix);
bfa               319 drivers/scsi/bfa/bfa.h void bfa_hwcb_msix_getvecs(struct bfa_s *bfa, u32 *vecmap, u32 *nvecs,
bfa               321 drivers/scsi/bfa/bfa.h void bfa_hwcb_msix_get_rme_range(struct bfa_s *bfa, u32 *start,
bfa               323 drivers/scsi/bfa/bfa.h void bfa_hwct_reginit(struct bfa_s *bfa);
bfa               324 drivers/scsi/bfa/bfa.h void bfa_hwct2_reginit(struct bfa_s *bfa);
bfa               325 drivers/scsi/bfa/bfa.h void bfa_hwct_reqq_ack(struct bfa_s *bfa, int rspq);
bfa               326 drivers/scsi/bfa/bfa.h void bfa_hwct_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci);
bfa               327 drivers/scsi/bfa/bfa.h void bfa_hwct2_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci);
bfa               328 drivers/scsi/bfa/bfa.h void bfa_hwct_msix_init(struct bfa_s *bfa, int nvecs);
bfa               329 drivers/scsi/bfa/bfa.h void bfa_hwct_msix_ctrl_install(struct bfa_s *bfa);
bfa               330 drivers/scsi/bfa/bfa.h void bfa_hwct_msix_queue_install(struct bfa_s *bfa);
bfa               331 drivers/scsi/bfa/bfa.h void bfa_hwct_msix_uninstall(struct bfa_s *bfa);
bfa               332 drivers/scsi/bfa/bfa.h void bfa_hwct_isr_mode_set(struct bfa_s *bfa, bfa_boolean_t msix);
bfa               333 drivers/scsi/bfa/bfa.h void bfa_hwct_msix_getvecs(struct bfa_s *bfa, u32 *vecmap, u32 *nvecs,
bfa               335 drivers/scsi/bfa/bfa.h void bfa_hwct_msix_get_rme_range(struct bfa_s *bfa, u32 *start,
bfa               337 drivers/scsi/bfa/bfa.h void bfa_iocfc_get_bootwwns(struct bfa_s *bfa, u8 *nwwns, wwn_t *wwns);
bfa               338 drivers/scsi/bfa/bfa.h int bfa_iocfc_get_pbc_vports(struct bfa_s *bfa,
bfa               398 drivers/scsi/bfa/bfa.h 			struct bfa_s *bfa);
bfa               399 drivers/scsi/bfa/bfa.h void bfa_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg,
bfa               402 drivers/scsi/bfa/bfa.h void bfa_detach(struct bfa_s *bfa);
bfa               406 drivers/scsi/bfa/bfa.h bfa_boolean_t bfa_intx(struct bfa_s *bfa);
bfa               407 drivers/scsi/bfa/bfa.h void bfa_isr_enable(struct bfa_s *bfa);
bfa               408 drivers/scsi/bfa/bfa.h void bfa_isr_disable(struct bfa_s *bfa);
bfa               410 drivers/scsi/bfa/bfa.h void bfa_comp_deq(struct bfa_s *bfa, struct list_head *comp_q);
bfa               411 drivers/scsi/bfa/bfa.h void bfa_comp_process(struct bfa_s *bfa, struct list_head *comp_q);
bfa               412 drivers/scsi/bfa/bfa.h void bfa_comp_free(struct bfa_s *bfa, struct list_head *comp_q);
bfa               415 drivers/scsi/bfa/bfa.h void bfa_iocfc_get_attr(struct bfa_s *bfa, struct bfa_iocfc_attr_s *attr);
bfa               418 drivers/scsi/bfa/bfa.h bfa_status_t bfa_iocfc_israttr_set(struct bfa_s *bfa,
bfa               421 drivers/scsi/bfa/bfa.h void bfa_iocfc_enable(struct bfa_s *bfa);
bfa               422 drivers/scsi/bfa/bfa.h void bfa_iocfc_disable(struct bfa_s *bfa);
bfa                90 drivers/scsi/bfa/bfa_core.c bfa_com_port_attach(struct bfa_s *bfa)
bfa                92 drivers/scsi/bfa/bfa_core.c 	struct bfa_port_s	*port = &bfa->modules.port;
bfa                93 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s	*port_dma = BFA_MEM_PORT_DMA(bfa);
bfa                95 drivers/scsi/bfa/bfa_core.c 	bfa_port_attach(port, &bfa->ioc, bfa, bfa->trcmod);
bfa               103 drivers/scsi/bfa/bfa_core.c bfa_com_ablk_attach(struct bfa_s *bfa)
bfa               105 drivers/scsi/bfa/bfa_core.c 	struct bfa_ablk_s	*ablk = &bfa->modules.ablk;
bfa               106 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s	*ablk_dma = BFA_MEM_ABLK_DMA(bfa);
bfa               108 drivers/scsi/bfa/bfa_core.c 	bfa_ablk_attach(ablk, &bfa->ioc);
bfa               113 drivers/scsi/bfa/bfa_core.c bfa_com_cee_attach(struct bfa_s *bfa)
bfa               115 drivers/scsi/bfa/bfa_core.c 	struct bfa_cee_s	*cee = &bfa->modules.cee;
bfa               116 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s	*cee_dma = BFA_MEM_CEE_DMA(bfa);
bfa               118 drivers/scsi/bfa/bfa_core.c 	cee->trcmod = bfa->trcmod;
bfa               119 drivers/scsi/bfa/bfa_core.c 	bfa_cee_attach(cee, &bfa->ioc, bfa);
bfa               124 drivers/scsi/bfa/bfa_core.c bfa_com_sfp_attach(struct bfa_s *bfa)
bfa               126 drivers/scsi/bfa/bfa_core.c 	struct bfa_sfp_s	*sfp = BFA_SFP_MOD(bfa);
bfa               127 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s	*sfp_dma = BFA_MEM_SFP_DMA(bfa);
bfa               129 drivers/scsi/bfa/bfa_core.c 	bfa_sfp_attach(sfp, &bfa->ioc, bfa, bfa->trcmod);
bfa               134 drivers/scsi/bfa/bfa_core.c bfa_com_flash_attach(struct bfa_s *bfa, bfa_boolean_t mincfg)
bfa               136 drivers/scsi/bfa/bfa_core.c 	struct bfa_flash_s	*flash = BFA_FLASH(bfa);
bfa               137 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s	*flash_dma = BFA_MEM_FLASH_DMA(bfa);
bfa               139 drivers/scsi/bfa/bfa_core.c 	bfa_flash_attach(flash, &bfa->ioc, bfa, bfa->trcmod, mincfg);
bfa               145 drivers/scsi/bfa/bfa_core.c bfa_com_diag_attach(struct bfa_s *bfa)
bfa               147 drivers/scsi/bfa/bfa_core.c 	struct bfa_diag_s	*diag = BFA_DIAG_MOD(bfa);
bfa               148 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s	*diag_dma = BFA_MEM_DIAG_DMA(bfa);
bfa               150 drivers/scsi/bfa/bfa_core.c 	bfa_diag_attach(diag, &bfa->ioc, bfa, bfa_fcport_beacon, bfa->trcmod);
bfa               155 drivers/scsi/bfa/bfa_core.c bfa_com_phy_attach(struct bfa_s *bfa, bfa_boolean_t mincfg)
bfa               157 drivers/scsi/bfa/bfa_core.c 	struct bfa_phy_s	*phy = BFA_PHY(bfa);
bfa               158 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s	*phy_dma = BFA_MEM_PHY_DMA(bfa);
bfa               160 drivers/scsi/bfa/bfa_core.c 	bfa_phy_attach(phy, &bfa->ioc, bfa, bfa->trcmod, mincfg);
bfa               165 drivers/scsi/bfa/bfa_core.c bfa_com_fru_attach(struct bfa_s *bfa, bfa_boolean_t mincfg)
bfa               167 drivers/scsi/bfa/bfa_core.c 	struct bfa_fru_s	*fru = BFA_FRU(bfa);
bfa               168 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s	*fru_dma = BFA_MEM_FRU_DMA(bfa);
bfa               170 drivers/scsi/bfa/bfa_core.c 	bfa_fru_attach(fru, &bfa->ioc, bfa, bfa->trcmod, mincfg);
bfa               234 drivers/scsi/bfa/bfa_core.c static void bfa_iocfc_start_submod(struct bfa_s *bfa);
bfa               235 drivers/scsi/bfa/bfa_core.c static void bfa_iocfc_disable_submod(struct bfa_s *bfa);
bfa               255 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               263 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               271 drivers/scsi/bfa/bfa_core.c 	bfa_ioc_enable(&iocfc->bfa->ioc);
bfa               277 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               296 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               304 drivers/scsi/bfa/bfa_core.c 	bfa_dconf_modinit(iocfc->bfa);
bfa               310 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               329 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               337 drivers/scsi/bfa/bfa_core.c 	bfa_iocfc_send_cfg(iocfc->bfa);
bfa               343 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               362 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               370 drivers/scsi/bfa/bfa_core.c 	iocfc->bfa->iocfc.op_status = BFA_STATUS_OK;
bfa               371 drivers/scsi/bfa/bfa_core.c 	bfa_cb_queue(iocfc->bfa, &iocfc->bfa->iocfc.init_hcb_qe,
bfa               372 drivers/scsi/bfa/bfa_core.c 		     bfa_iocfc_init_cb, iocfc->bfa);
bfa               378 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               394 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               402 drivers/scsi/bfa/bfa_core.c 	bfa_fcport_init(iocfc->bfa);
bfa               403 drivers/scsi/bfa/bfa_core.c 	bfa_iocfc_start_submod(iocfc->bfa);
bfa               409 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               422 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               430 drivers/scsi/bfa/bfa_core.c 	bfa_dconf_modexit(iocfc->bfa);
bfa               436 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               444 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               452 drivers/scsi/bfa/bfa_core.c 	bfa_ioc_disable(&iocfc->bfa->ioc);
bfa               458 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               462 drivers/scsi/bfa/bfa_core.c 		bfa_isr_disable(iocfc->bfa);
bfa               463 drivers/scsi/bfa/bfa_core.c 		bfa_iocfc_disable_submod(iocfc->bfa);
bfa               465 drivers/scsi/bfa/bfa_core.c 		iocfc->bfa->iocfc.op_status = BFA_STATUS_OK;
bfa               466 drivers/scsi/bfa/bfa_core.c 		bfa_cb_queue(iocfc->bfa, &iocfc->bfa->iocfc.stop_hcb_qe,
bfa               467 drivers/scsi/bfa/bfa_core.c 			     bfa_iocfc_stop_cb, iocfc->bfa);
bfa               476 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               484 drivers/scsi/bfa/bfa_core.c 	bfa_ioc_enable(&iocfc->bfa->ioc);
bfa               490 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               508 drivers/scsi/bfa/bfa_core.c 		if (iocfc->bfa->iocfc.cb_reqd == BFA_FALSE)
bfa               511 drivers/scsi/bfa/bfa_core.c 		iocfc->bfa->iocfc.op_status = BFA_STATUS_FAILED;
bfa               512 drivers/scsi/bfa/bfa_core.c 		bfa_cb_queue(iocfc->bfa, &iocfc->bfa->iocfc.en_hcb_qe,
bfa               513 drivers/scsi/bfa/bfa_core.c 			     bfa_iocfc_enable_cb, iocfc->bfa);
bfa               514 drivers/scsi/bfa/bfa_core.c 		iocfc->bfa->iocfc.cb_reqd = BFA_FALSE;
bfa               517 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               525 drivers/scsi/bfa/bfa_core.c 	bfa_iocfc_send_cfg(iocfc->bfa);
bfa               531 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               536 drivers/scsi/bfa/bfa_core.c 		if (iocfc->bfa->iocfc.cb_reqd == BFA_FALSE)
bfa               539 drivers/scsi/bfa/bfa_core.c 		iocfc->bfa->iocfc.op_status = BFA_STATUS_OK;
bfa               540 drivers/scsi/bfa/bfa_core.c 		bfa_cb_queue(iocfc->bfa, &iocfc->bfa->iocfc.en_hcb_qe,
bfa               541 drivers/scsi/bfa/bfa_core.c 			     bfa_iocfc_enable_cb, iocfc->bfa);
bfa               542 drivers/scsi/bfa/bfa_core.c 		iocfc->bfa->iocfc.cb_reqd = BFA_FALSE;
bfa               553 drivers/scsi/bfa/bfa_core.c 		if (iocfc->bfa->iocfc.cb_reqd == BFA_FALSE)
bfa               556 drivers/scsi/bfa/bfa_core.c 		iocfc->bfa->iocfc.op_status = BFA_STATUS_FAILED;
bfa               557 drivers/scsi/bfa/bfa_core.c 		bfa_cb_queue(iocfc->bfa, &iocfc->bfa->iocfc.en_hcb_qe,
bfa               558 drivers/scsi/bfa/bfa_core.c 			     bfa_iocfc_enable_cb, iocfc->bfa);
bfa               559 drivers/scsi/bfa/bfa_core.c 		iocfc->bfa->iocfc.cb_reqd = BFA_FALSE;
bfa               562 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               570 drivers/scsi/bfa/bfa_core.c 	bfa_ioc_disable(&iocfc->bfa->ioc);
bfa               576 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               587 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               595 drivers/scsi/bfa/bfa_core.c 	bfa_isr_disable(iocfc->bfa);
bfa               596 drivers/scsi/bfa/bfa_core.c 	bfa_iocfc_disable_submod(iocfc->bfa);
bfa               597 drivers/scsi/bfa/bfa_core.c 	iocfc->bfa->iocfc.op_status = BFA_STATUS_OK;
bfa               598 drivers/scsi/bfa/bfa_core.c 	bfa_cb_queue(iocfc->bfa, &iocfc->bfa->iocfc.dis_hcb_qe,
bfa               599 drivers/scsi/bfa/bfa_core.c 		     bfa_iocfc_disable_cb, iocfc->bfa);
bfa               605 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               615 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               623 drivers/scsi/bfa/bfa_core.c 	bfa_isr_disable(iocfc->bfa);
bfa               624 drivers/scsi/bfa/bfa_core.c 	bfa_iocfc_disable_submod(iocfc->bfa);
bfa               630 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               645 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               653 drivers/scsi/bfa/bfa_core.c 	bfa_isr_disable(iocfc->bfa);
bfa               654 drivers/scsi/bfa/bfa_core.c 	iocfc->bfa->iocfc.op_status = BFA_STATUS_FAILED;
bfa               655 drivers/scsi/bfa/bfa_core.c 	bfa_cb_queue(iocfc->bfa, &iocfc->bfa->iocfc.init_hcb_qe,
bfa               656 drivers/scsi/bfa/bfa_core.c 		     bfa_iocfc_init_cb, iocfc->bfa);
bfa               662 drivers/scsi/bfa/bfa_core.c 	bfa_trc(iocfc->bfa, event);
bfa               669 drivers/scsi/bfa/bfa_core.c 		bfa_ioc_disable(&iocfc->bfa->ioc);
bfa               676 drivers/scsi/bfa/bfa_core.c 		iocfc->bfa->iocfc.op_status = BFA_STATUS_OK;
bfa               677 drivers/scsi/bfa/bfa_core.c 		bfa_cb_queue(iocfc->bfa, &iocfc->bfa->iocfc.dis_hcb_qe,
bfa               678 drivers/scsi/bfa/bfa_core.c 			     bfa_iocfc_disable_cb, iocfc->bfa);
bfa               683 drivers/scsi/bfa/bfa_core.c 		bfa_sm_fault(iocfc->bfa, event);
bfa               692 drivers/scsi/bfa/bfa_core.c bfa_reqq_resume(struct bfa_s *bfa, int qid)
bfa               697 drivers/scsi/bfa/bfa_core.c 	waitq = bfa_reqq(bfa, qid);
bfa               702 drivers/scsi/bfa/bfa_core.c 		if (bfa_reqq_full(bfa, qid))
bfa               712 drivers/scsi/bfa/bfa_core.c bfa_isr_rspq(struct bfa_s *bfa, int qid)
bfa               719 drivers/scsi/bfa/bfa_core.c 	ci = bfa_rspq_ci(bfa, qid);
bfa               720 drivers/scsi/bfa/bfa_core.c 	pi = bfa_rspq_pi(bfa, qid);
bfa               725 drivers/scsi/bfa/bfa_core.c 		m = bfa_rspq_elem(bfa, qid, ci);
bfa               728 drivers/scsi/bfa/bfa_core.c 		bfa_isrs[m->mhdr.msg_class] (bfa, m);
bfa               729 drivers/scsi/bfa/bfa_core.c 		CQ_INCR(ci, bfa->iocfc.cfg.drvcfg.num_rspq_elems);
bfa               735 drivers/scsi/bfa/bfa_core.c 	bfa_isr_rspq_ack(bfa, qid, ci);
bfa               740 drivers/scsi/bfa/bfa_core.c 	waitq = bfa_reqq(bfa, qid);
bfa               742 drivers/scsi/bfa/bfa_core.c 		bfa_reqq_resume(bfa, qid);
bfa               748 drivers/scsi/bfa/bfa_core.c bfa_isr_reqq(struct bfa_s *bfa, int qid)
bfa               752 drivers/scsi/bfa/bfa_core.c 	bfa_isr_reqq_ack(bfa, qid);
bfa               757 drivers/scsi/bfa/bfa_core.c 	waitq = bfa_reqq(bfa, qid);
bfa               759 drivers/scsi/bfa/bfa_core.c 		bfa_reqq_resume(bfa, qid);
bfa               763 drivers/scsi/bfa/bfa_core.c bfa_msix_all(struct bfa_s *bfa, int vec)
bfa               768 drivers/scsi/bfa/bfa_core.c 	intr = readl(bfa->iocfc.bfa_regs.intr_status);
bfa               776 drivers/scsi/bfa/bfa_core.c 	if (qintr && bfa->queue_process) {
bfa               778 drivers/scsi/bfa/bfa_core.c 			bfa_isr_rspq(bfa, queue);
bfa               789 drivers/scsi/bfa/bfa_core.c 	if (qintr && bfa->queue_process) {
bfa               791 drivers/scsi/bfa/bfa_core.c 			bfa_isr_reqq(bfa, queue);
bfa               797 drivers/scsi/bfa/bfa_core.c 	bfa_msix_lpu_err(bfa, intr);
bfa               801 drivers/scsi/bfa/bfa_core.c bfa_intx(struct bfa_s *bfa)
bfa               807 drivers/scsi/bfa/bfa_core.c 	intr = readl(bfa->iocfc.bfa_regs.intr_status);
bfa               811 drivers/scsi/bfa/bfa_core.c 		writel(qintr, bfa->iocfc.bfa_regs.intr_status);
bfa               816 drivers/scsi/bfa/bfa_core.c 	if (bfa->queue_process) {
bfa               818 drivers/scsi/bfa/bfa_core.c 			if (bfa_isr_rspq(bfa, queue))
bfa               829 drivers/scsi/bfa/bfa_core.c 	if (qintr && bfa->queue_process) {
bfa               831 drivers/scsi/bfa/bfa_core.c 			bfa_isr_reqq(bfa, queue);
bfa               837 drivers/scsi/bfa/bfa_core.c 	if (bfa->intr_enabled)
bfa               838 drivers/scsi/bfa/bfa_core.c 		bfa_msix_lpu_err(bfa, intr);
bfa               844 drivers/scsi/bfa/bfa_core.c bfa_isr_enable(struct bfa_s *bfa)
bfa               847 drivers/scsi/bfa/bfa_core.c 	int port_id = bfa_ioc_portid(&bfa->ioc);
bfa               849 drivers/scsi/bfa/bfa_core.c 	bfa_trc(bfa, bfa_ioc_pcifn(&bfa->ioc));
bfa               850 drivers/scsi/bfa/bfa_core.c 	bfa_trc(bfa, port_id);
bfa               852 drivers/scsi/bfa/bfa_core.c 	bfa_msix_ctrl_install(bfa);
bfa               854 drivers/scsi/bfa/bfa_core.c 	if (bfa_asic_id_ct2(bfa->ioc.pcidev.device_id)) {
bfa               863 drivers/scsi/bfa/bfa_core.c 	writel(umsk, bfa->iocfc.bfa_regs.intr_status);
bfa               864 drivers/scsi/bfa/bfa_core.c 	writel(~umsk, bfa->iocfc.bfa_regs.intr_mask);
bfa               865 drivers/scsi/bfa/bfa_core.c 	bfa->iocfc.intr_mask = ~umsk;
bfa               866 drivers/scsi/bfa/bfa_core.c 	bfa_isr_mode_set(bfa, bfa->msix.nvecs != 0);
bfa               871 drivers/scsi/bfa/bfa_core.c 	bfa->intr_enabled = BFA_TRUE;
bfa               875 drivers/scsi/bfa/bfa_core.c bfa_isr_disable(struct bfa_s *bfa)
bfa               877 drivers/scsi/bfa/bfa_core.c 	bfa->intr_enabled = BFA_FALSE;
bfa               878 drivers/scsi/bfa/bfa_core.c 	bfa_isr_mode_set(bfa, BFA_FALSE);
bfa               879 drivers/scsi/bfa/bfa_core.c 	writel(-1L, bfa->iocfc.bfa_regs.intr_mask);
bfa               880 drivers/scsi/bfa/bfa_core.c 	bfa_msix_uninstall(bfa);
bfa               884 drivers/scsi/bfa/bfa_core.c bfa_msix_reqq(struct bfa_s *bfa, int vec)
bfa               886 drivers/scsi/bfa/bfa_core.c 	bfa_isr_reqq(bfa, vec - bfa->iocfc.hwif.cpe_vec_q0);
bfa               890 drivers/scsi/bfa/bfa_core.c bfa_isr_unhandled(struct bfa_s *bfa, struct bfi_msg_s *m)
bfa               892 drivers/scsi/bfa/bfa_core.c 	bfa_trc(bfa, m->mhdr.msg_class);
bfa               893 drivers/scsi/bfa/bfa_core.c 	bfa_trc(bfa, m->mhdr.msg_id);
bfa               894 drivers/scsi/bfa/bfa_core.c 	bfa_trc(bfa, m->mhdr.mtag.i2htok);
bfa               896 drivers/scsi/bfa/bfa_core.c 	bfa_trc_stop(bfa->trcmod);
bfa               900 drivers/scsi/bfa/bfa_core.c bfa_msix_rspq(struct bfa_s *bfa, int vec)
bfa               902 drivers/scsi/bfa/bfa_core.c 	bfa_isr_rspq(bfa, vec - bfa->iocfc.hwif.rme_vec_q0);
bfa               906 drivers/scsi/bfa/bfa_core.c bfa_msix_lpu_err(struct bfa_s *bfa, int vec)
bfa               911 drivers/scsi/bfa/bfa_core.c 	intr = readl(bfa->iocfc.bfa_regs.intr_status);
bfa               913 drivers/scsi/bfa/bfa_core.c 	if (bfa_asic_id_ct2(bfa->ioc.pcidev.device_id)) {
bfa               920 drivers/scsi/bfa/bfa_core.c 		halt_isr = bfa_asic_id_ct(bfa->ioc.pcidev.device_id) ?
bfa               928 drivers/scsi/bfa/bfa_core.c 		bfa_ioc_mbox_isr(&bfa->ioc);
bfa               937 drivers/scsi/bfa/bfa_core.c 			curr_value = readl(bfa->ioc.ioc_regs.ll_halt);
bfa               939 drivers/scsi/bfa/bfa_core.c 			writel(curr_value, bfa->ioc.ioc_regs.ll_halt);
bfa               949 drivers/scsi/bfa/bfa_core.c 					bfa->ioc.ioc_regs.pss_err_status_reg);
bfa               951 drivers/scsi/bfa/bfa_core.c 				bfa->ioc.ioc_regs.pss_err_status_reg);
bfa               954 drivers/scsi/bfa/bfa_core.c 		writel(intr, bfa->iocfc.bfa_regs.intr_status);
bfa               955 drivers/scsi/bfa/bfa_core.c 		bfa_ioc_error_isr(&bfa->ioc);
bfa               973 drivers/scsi/bfa/bfa_core.c 	struct bfa_s *bfa = bfa_arg;
bfa               974 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_s *iocfc = &bfa->iocfc;
bfa               981 drivers/scsi/bfa/bfa_core.c 	bfa_trc(bfa, cfg->fwcfg.num_cqs);
bfa               983 drivers/scsi/bfa/bfa_core.c 	bfa_iocfc_reset_queues(bfa);
bfa               989 drivers/scsi/bfa/bfa_core.c 	if (bfa->msix.nvecs == 1)
bfa               993 drivers/scsi/bfa/bfa_core.c 	cfg_info->num_ioim_reqs = cpu_to_be16(bfa_fcpim_get_throttle_cfg(bfa,
bfa              1028 drivers/scsi/bfa/bfa_core.c 		    bfa_fn_lpu(bfa));
bfa              1031 drivers/scsi/bfa/bfa_core.c 	bfa_ioc_mbox_send(&bfa->ioc, &cfg_req,
bfa              1036 drivers/scsi/bfa/bfa_core.c bfa_iocfc_init_mem(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg,
bfa              1039 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_s	*iocfc = &bfa->iocfc;
bfa              1041 drivers/scsi/bfa/bfa_core.c 	bfa->bfad = bfad;
bfa              1042 drivers/scsi/bfa/bfa_core.c 	iocfc->bfa = bfa;
bfa              1048 drivers/scsi/bfa/bfa_core.c 	if (bfa_asic_id_ctc(bfa_ioc_devid(&bfa->ioc))) {
bfa              1073 drivers/scsi/bfa/bfa_core.c 			bfa_ioc_pcifn(&bfa->ioc) * BFI_IOC_MAX_CQS;
bfa              1075 drivers/scsi/bfa/bfa_core.c 			bfa_ioc_pcifn(&bfa->ioc) * BFI_IOC_MAX_CQS;
bfa              1078 drivers/scsi/bfa/bfa_core.c 	if (bfa_asic_id_ct2(bfa_ioc_devid(&bfa->ioc))) {
bfa              1084 drivers/scsi/bfa/bfa_core.c 	iocfc->hwif.hw_reginit(bfa);
bfa              1085 drivers/scsi/bfa/bfa_core.c 	bfa->msix.nvecs = 0;
bfa              1089 drivers/scsi/bfa/bfa_core.c bfa_iocfc_mem_claim(struct bfa_s *bfa, struct bfa_iocfc_cfg_s *cfg)
bfa              1094 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_s  *iocfc = &bfa->iocfc;
bfa              1095 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s *ioc_dma = BFA_MEM_IOC_DMA(bfa);
bfa              1096 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s *iocfc_dma = BFA_MEM_IOCFC_DMA(bfa);
bfa              1100 drivers/scsi/bfa/bfa_core.c 	bfa_ioc_mem_claim(&bfa->ioc, bfa_mem_dma_virt(ioc_dma),
bfa              1110 drivers/scsi/bfa/bfa_core.c 		reqq_dma = BFA_MEM_REQQ_DMA(bfa, i);
bfa              1115 drivers/scsi/bfa/bfa_core.c 		rspq_dma = BFA_MEM_RSPQ_DMA(bfa, i);
bfa              1138 drivers/scsi/bfa/bfa_core.c 	bfa->iocfc.cfg_info.kva = dm_kva;
bfa              1139 drivers/scsi/bfa/bfa_core.c 	bfa->iocfc.cfg_info.pa = dm_pa;
bfa              1140 drivers/scsi/bfa/bfa_core.c 	bfa->iocfc.cfginfo = (struct bfi_iocfc_cfg_s *) dm_kva;
bfa              1145 drivers/scsi/bfa/bfa_core.c 	bfa->iocfc.cfgrsp_dma.kva = dm_kva;
bfa              1146 drivers/scsi/bfa/bfa_core.c 	bfa->iocfc.cfgrsp_dma.pa = dm_pa;
bfa              1147 drivers/scsi/bfa/bfa_core.c 	bfa->iocfc.cfgrsp = (struct bfi_iocfc_cfgrsp_s *) dm_kva;
bfa              1154 drivers/scsi/bfa/bfa_core.c 	bfa_ioc_debug_memclaim(&bfa->ioc, bfa_mem_kva_curp(iocfc));
bfa              1162 drivers/scsi/bfa/bfa_core.c bfa_iocfc_start_submod(struct bfa_s *bfa)
bfa              1166 drivers/scsi/bfa/bfa_core.c 	bfa->queue_process = BFA_TRUE;
bfa              1168 drivers/scsi/bfa/bfa_core.c 		bfa_isr_rspq_ack(bfa, i, bfa_rspq_ci(bfa, i));
bfa              1170 drivers/scsi/bfa/bfa_core.c 	bfa_fcport_start(bfa);
bfa              1171 drivers/scsi/bfa/bfa_core.c 	bfa_uf_start(bfa);
bfa              1176 drivers/scsi/bfa/bfa_core.c 	bfa_ioim_lm_init(BFA_FCP_MOD(bfa)->bfa);
bfa              1178 drivers/scsi/bfa/bfa_core.c 	bfa->iocfc.submod_enabled = BFA_TRUE;
bfa              1185 drivers/scsi/bfa/bfa_core.c bfa_iocfc_disable_submod(struct bfa_s *bfa)
bfa              1187 drivers/scsi/bfa/bfa_core.c 	if (bfa->iocfc.submod_enabled == BFA_FALSE)
bfa              1190 drivers/scsi/bfa/bfa_core.c 	bfa_fcdiag_iocdisable(bfa);
bfa              1191 drivers/scsi/bfa/bfa_core.c 	bfa_fcport_iocdisable(bfa);
bfa              1192 drivers/scsi/bfa/bfa_core.c 	bfa_fcxp_iocdisable(bfa);
bfa              1193 drivers/scsi/bfa/bfa_core.c 	bfa_lps_iocdisable(bfa);
bfa              1194 drivers/scsi/bfa/bfa_core.c 	bfa_rport_iocdisable(bfa);
bfa              1195 drivers/scsi/bfa/bfa_core.c 	bfa_fcp_iocdisable(bfa);
bfa              1196 drivers/scsi/bfa/bfa_core.c 	bfa_dconf_iocdisable(bfa);
bfa              1198 drivers/scsi/bfa/bfa_core.c 	bfa->iocfc.submod_enabled = BFA_FALSE;
bfa              1204 drivers/scsi/bfa/bfa_core.c 	struct bfa_s	*bfa = bfa_arg;
bfa              1207 drivers/scsi/bfa/bfa_core.c 		bfa_cb_init(bfa->bfad, bfa->iocfc.op_status);
bfa              1213 drivers/scsi/bfa/bfa_core.c 	struct bfa_s  *bfa = bfa_arg;
bfa              1214 drivers/scsi/bfa/bfa_core.c 	struct bfad_s *bfad = bfa->bfad;
bfa              1223 drivers/scsi/bfa/bfa_core.c 	struct bfa_s	*bfa = bfa_arg;
bfa              1224 drivers/scsi/bfa/bfa_core.c 	struct bfad_s *bfad = bfa->bfad;
bfa              1233 drivers/scsi/bfa/bfa_core.c 	struct bfa_s  *bfa = bfa_arg;
bfa              1234 drivers/scsi/bfa/bfa_core.c 	struct bfad_s *bfad = bfa->bfad;
bfa              1244 drivers/scsi/bfa/bfa_core.c bfa_iocfc_qreg(struct bfa_s *bfa, struct bfi_iocfc_qreg_s *qreg)
bfa              1247 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_regs_s *r = &bfa->iocfc.bfa_regs;
bfa              1248 drivers/scsi/bfa/bfa_core.c 	void __iomem *kva = bfa_ioc_bar0(&bfa->ioc);
bfa              1251 drivers/scsi/bfa/bfa_core.c 		bfa->iocfc.hw_qid[i] = qreg->hw_qid[i];
bfa              1262 drivers/scsi/bfa/bfa_core.c bfa_iocfc_res_recfg(struct bfa_s *bfa, struct bfa_iocfc_fwcfg_s *fwcfg)
bfa              1264 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_s	*iocfc   = &bfa->iocfc;
bfa              1267 drivers/scsi/bfa/bfa_core.c 	bfa_fcxp_res_recfg(bfa, fwcfg->num_fcxp_reqs);
bfa              1268 drivers/scsi/bfa/bfa_core.c 	bfa_uf_res_recfg(bfa, fwcfg->num_uf_bufs);
bfa              1269 drivers/scsi/bfa/bfa_core.c 	bfa_rport_res_recfg(bfa, fwcfg->num_rports);
bfa              1270 drivers/scsi/bfa/bfa_core.c 	bfa_fcp_res_recfg(bfa, cpu_to_be16(cfg_info->num_ioim_reqs),
bfa              1272 drivers/scsi/bfa/bfa_core.c 	bfa_tskim_res_recfg(bfa, fwcfg->num_tskim_reqs);
bfa              1279 drivers/scsi/bfa/bfa_core.c bfa_iocfc_cfgrsp(struct bfa_s *bfa)
bfa              1281 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_s		*iocfc	 = &bfa->iocfc;
bfa              1296 drivers/scsi/bfa/bfa_core.c 	bfa_iocfc_qreg(bfa, &cfgrsp->qreg);
bfa              1301 drivers/scsi/bfa/bfa_core.c 	bfa_iocfc_res_recfg(bfa, fwcfg);
bfa              1306 drivers/scsi/bfa/bfa_core.c 	bfa_msix_queue_install(bfa);
bfa              1308 drivers/scsi/bfa/bfa_core.c 	if (bfa->iocfc.cfgrsp->pbc_cfg.pbc_pwwn != 0) {
bfa              1309 drivers/scsi/bfa/bfa_core.c 		bfa->ioc.attr->pwwn = bfa->iocfc.cfgrsp->pbc_cfg.pbc_pwwn;
bfa              1310 drivers/scsi/bfa/bfa_core.c 		bfa->ioc.attr->nwwn = bfa->iocfc.cfgrsp->pbc_cfg.pbc_nwwn;
bfa              1316 drivers/scsi/bfa/bfa_core.c bfa_iocfc_reset_queues(struct bfa_s *bfa)
bfa              1321 drivers/scsi/bfa/bfa_core.c 		bfa_reqq_ci(bfa, q) = 0;
bfa              1322 drivers/scsi/bfa/bfa_core.c 		bfa_reqq_pi(bfa, q) = 0;
bfa              1323 drivers/scsi/bfa/bfa_core.c 		bfa_rspq_ci(bfa, q) = 0;
bfa              1324 drivers/scsi/bfa/bfa_core.c 		bfa_rspq_pi(bfa, q) = 0;
bfa              1332 drivers/scsi/bfa/bfa_core.c bfa_iocfc_process_faa_addr(struct bfa_s *bfa, struct bfi_faa_addr_msg_s *msg)
bfa              1334 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_s		*iocfc   = &bfa->iocfc;
bfa              1340 drivers/scsi/bfa/bfa_core.c 	bfa->ioc.attr->pwwn = msg->pwwn;
bfa              1341 drivers/scsi/bfa/bfa_core.c 	bfa->ioc.attr->nwwn = msg->nwwn;
bfa              1351 drivers/scsi/bfa/bfa_core.c bfa_faa_validate_request(struct bfa_s *bfa)
bfa              1353 drivers/scsi/bfa/bfa_core.c 	enum bfa_ioc_type_e	ioc_type = bfa_get_type(bfa);
bfa              1354 drivers/scsi/bfa/bfa_core.c 	u32	card_type = bfa->ioc.attr->card_type;
bfa              1356 drivers/scsi/bfa/bfa_core.c 	if (bfa_ioc_is_operational(&bfa->ioc)) {
bfa              1367 drivers/scsi/bfa/bfa_core.c bfa_faa_query(struct bfa_s *bfa, struct bfa_faa_attr_s *attr,
bfa              1371 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_s      *iocfc = &bfa->iocfc;
bfa              1374 drivers/scsi/bfa/bfa_core.c 	status = bfa_faa_validate_request(bfa);
bfa              1388 drivers/scsi/bfa/bfa_core.c 		BFI_IOCFC_H2I_FAA_QUERY_REQ, bfa_fn_lpu(bfa));
bfa              1390 drivers/scsi/bfa/bfa_core.c 	bfa_ioc_mbox_send(&bfa->ioc, &faa_attr_req,
bfa              1423 drivers/scsi/bfa/bfa_core.c 	struct bfa_s	*bfa = bfa_arg;
bfa              1426 drivers/scsi/bfa/bfa_core.c 		bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_IOC_ENABLED);
bfa              1428 drivers/scsi/bfa/bfa_core.c 		bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_IOC_FAILED);
bfa              1437 drivers/scsi/bfa/bfa_core.c 	struct bfa_s	*bfa = bfa_arg;
bfa              1439 drivers/scsi/bfa/bfa_core.c 	bfa->queue_process = BFA_FALSE;
bfa              1440 drivers/scsi/bfa/bfa_core.c 	bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_IOC_DISABLED);
bfa              1449 drivers/scsi/bfa/bfa_core.c 	struct bfa_s	*bfa = bfa_arg;
bfa              1451 drivers/scsi/bfa/bfa_core.c 	bfa->queue_process = BFA_FALSE;
bfa              1452 drivers/scsi/bfa/bfa_core.c 	bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_IOC_FAILED);
bfa              1461 drivers/scsi/bfa/bfa_core.c 	struct bfa_s	*bfa = bfa_arg;
bfa              1463 drivers/scsi/bfa/bfa_core.c 	bfa_iocfc_reset_queues(bfa);
bfa              1464 drivers/scsi/bfa/bfa_core.c 	bfa_isr_enable(bfa);
bfa              1472 drivers/scsi/bfa/bfa_core.c 		  struct bfa_s *bfa)
bfa              1475 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s *ioc_dma = BFA_MEM_IOC_DMA(bfa);
bfa              1476 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s *iocfc_dma = BFA_MEM_IOCFC_DMA(bfa);
bfa              1477 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_kva_s *iocfc_kva = BFA_MEM_IOCFC_KVA(bfa);
bfa              1491 drivers/scsi/bfa/bfa_core.c 		bfa_mem_dma_setup(meminfo, BFA_MEM_REQQ_DMA(bfa, q),
bfa              1493 drivers/scsi/bfa/bfa_core.c 		bfa_mem_dma_setup(meminfo, BFA_MEM_RSPQ_DMA(bfa, q),
bfa              1517 drivers/scsi/bfa/bfa_core.c bfa_iocfc_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg,
bfa              1521 drivers/scsi/bfa/bfa_core.c 	struct bfa_ioc_s *ioc = &bfa->ioc;
bfa              1528 drivers/scsi/bfa/bfa_core.c 	ioc->trcmod = bfa->trcmod;
bfa              1529 drivers/scsi/bfa/bfa_core.c 	bfa_ioc_attach(&bfa->ioc, bfa, &bfa_iocfc_cbfn, &bfa->timer_mod);
bfa              1531 drivers/scsi/bfa/bfa_core.c 	bfa_ioc_pci_init(&bfa->ioc, pcidev, BFI_PCIFN_CLASS_FC);
bfa              1532 drivers/scsi/bfa/bfa_core.c 	bfa_ioc_mbox_register(&bfa->ioc, bfa_mbox_isrs);
bfa              1534 drivers/scsi/bfa/bfa_core.c 	bfa_iocfc_init_mem(bfa, bfad, cfg, pcidev);
bfa              1535 drivers/scsi/bfa/bfa_core.c 	bfa_iocfc_mem_claim(bfa, cfg);
bfa              1536 drivers/scsi/bfa/bfa_core.c 	INIT_LIST_HEAD(&bfa->timer_mod.timer_q);
bfa              1538 drivers/scsi/bfa/bfa_core.c 	INIT_LIST_HEAD(&bfa->comp_q);
bfa              1540 drivers/scsi/bfa/bfa_core.c 		INIT_LIST_HEAD(&bfa->reqq_waitq[i]);
bfa              1542 drivers/scsi/bfa/bfa_core.c 	bfa->iocfc.cb_reqd = BFA_FALSE;
bfa              1543 drivers/scsi/bfa/bfa_core.c 	bfa->iocfc.op_status = BFA_STATUS_OK;
bfa              1544 drivers/scsi/bfa/bfa_core.c 	bfa->iocfc.submod_enabled = BFA_FALSE;
bfa              1546 drivers/scsi/bfa/bfa_core.c 	bfa_fsm_set_state(&bfa->iocfc, bfa_iocfc_sm_stopped);
bfa              1553 drivers/scsi/bfa/bfa_core.c bfa_iocfc_init(struct bfa_s *bfa)
bfa              1555 drivers/scsi/bfa/bfa_core.c 	bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_INIT);
bfa              1563 drivers/scsi/bfa/bfa_core.c bfa_iocfc_start(struct bfa_s *bfa)
bfa              1565 drivers/scsi/bfa/bfa_core.c 	bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_START);
bfa              1573 drivers/scsi/bfa/bfa_core.c bfa_iocfc_stop(struct bfa_s *bfa)
bfa              1575 drivers/scsi/bfa/bfa_core.c 	bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_STOP);
bfa              1581 drivers/scsi/bfa/bfa_core.c 	struct bfa_s		*bfa = bfaarg;
bfa              1582 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_s	*iocfc = &bfa->iocfc;
bfa              1586 drivers/scsi/bfa/bfa_core.c 	bfa_trc(bfa, msg->mh.msg_id);
bfa              1590 drivers/scsi/bfa/bfa_core.c 		bfa_iocfc_cfgrsp(bfa);
bfa              1596 drivers/scsi/bfa/bfa_core.c 		bfa_iocfc_process_faa_addr(bfa,
bfa              1608 drivers/scsi/bfa/bfa_core.c bfa_iocfc_get_attr(struct bfa_s *bfa, struct bfa_iocfc_attr_s *attr)
bfa              1610 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_s	*iocfc = &bfa->iocfc;
bfa              1626 drivers/scsi/bfa/bfa_core.c bfa_iocfc_israttr_set(struct bfa_s *bfa, struct bfa_iocfc_intr_attr_s *attr)
bfa              1628 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_s		*iocfc = &bfa->iocfc;
bfa              1635 drivers/scsi/bfa/bfa_core.c 	if (!bfa_iocfc_is_operational(bfa))
bfa              1638 drivers/scsi/bfa/bfa_core.c 	m = bfa_reqq_next(bfa, BFA_REQQ_IOC);
bfa              1643 drivers/scsi/bfa/bfa_core.c 		    bfa_fn_lpu(bfa));
bfa              1648 drivers/scsi/bfa/bfa_core.c 	bfa_trc(bfa, attr->delay);
bfa              1649 drivers/scsi/bfa/bfa_core.c 	bfa_trc(bfa, attr->latency);
bfa              1651 drivers/scsi/bfa/bfa_core.c 	bfa_reqq_produce(bfa, BFA_REQQ_IOC, m->mh);
bfa              1656 drivers/scsi/bfa/bfa_core.c bfa_iocfc_set_snsbase(struct bfa_s *bfa, int seg_no, u64 snsbase_pa)
bfa              1658 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_s	*iocfc = &bfa->iocfc;
bfa              1667 drivers/scsi/bfa/bfa_core.c bfa_iocfc_enable(struct bfa_s *bfa)
bfa              1669 drivers/scsi/bfa/bfa_core.c 	bfa_plog_str(bfa->plog, BFA_PL_MID_HAL, BFA_PL_EID_MISC, 0,
bfa              1671 drivers/scsi/bfa/bfa_core.c 	bfa->iocfc.cb_reqd = BFA_TRUE;
bfa              1672 drivers/scsi/bfa/bfa_core.c 	bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_ENABLE);
bfa              1676 drivers/scsi/bfa/bfa_core.c bfa_iocfc_disable(struct bfa_s *bfa)
bfa              1678 drivers/scsi/bfa/bfa_core.c 	bfa_plog_str(bfa->plog, BFA_PL_MID_HAL, BFA_PL_EID_MISC, 0,
bfa              1681 drivers/scsi/bfa/bfa_core.c 	bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_DISABLE);
bfa              1685 drivers/scsi/bfa/bfa_core.c bfa_iocfc_is_operational(struct bfa_s *bfa)
bfa              1687 drivers/scsi/bfa/bfa_core.c 	return bfa_ioc_is_operational(&bfa->ioc) &&
bfa              1688 drivers/scsi/bfa/bfa_core.c 		bfa_fsm_cmp_state(&bfa->iocfc, bfa_iocfc_sm_operational);
bfa              1695 drivers/scsi/bfa/bfa_core.c bfa_iocfc_get_bootwwns(struct bfa_s *bfa, u8 *nwwns, wwn_t *wwns)
bfa              1697 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_s *iocfc = &bfa->iocfc;
bfa              1702 drivers/scsi/bfa/bfa_core.c 		bfa_trc(bfa, cfgrsp->pbc_cfg.nbluns);
bfa              1715 drivers/scsi/bfa/bfa_core.c bfa_iocfc_get_pbc_vports(struct bfa_s *bfa, struct bfi_pbc_vport_s *pbc_vport)
bfa              1717 drivers/scsi/bfa/bfa_core.c 	struct bfa_iocfc_s *iocfc = &bfa->iocfc;
bfa              1758 drivers/scsi/bfa/bfa_core.c 		struct bfa_s *bfa)
bfa              1760 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s *port_dma = BFA_MEM_PORT_DMA(bfa);
bfa              1761 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s *ablk_dma = BFA_MEM_ABLK_DMA(bfa);
bfa              1762 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s *cee_dma = BFA_MEM_CEE_DMA(bfa);
bfa              1763 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s *sfp_dma = BFA_MEM_SFP_DMA(bfa);
bfa              1764 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s *flash_dma = BFA_MEM_FLASH_DMA(bfa);
bfa              1765 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s *diag_dma = BFA_MEM_DIAG_DMA(bfa);
bfa              1766 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s *phy_dma = BFA_MEM_PHY_DMA(bfa);
bfa              1767 drivers/scsi/bfa/bfa_core.c 	struct bfa_mem_dma_s *fru_dma = BFA_MEM_FRU_DMA(bfa);
bfa              1777 drivers/scsi/bfa/bfa_core.c 	bfa_iocfc_meminfo(cfg, meminfo, bfa);
bfa              1778 drivers/scsi/bfa/bfa_core.c 	bfa_sgpg_meminfo(cfg, meminfo, bfa);
bfa              1779 drivers/scsi/bfa/bfa_core.c 	bfa_fcport_meminfo(cfg, meminfo, bfa);
bfa              1780 drivers/scsi/bfa/bfa_core.c 	bfa_fcxp_meminfo(cfg, meminfo, bfa);
bfa              1781 drivers/scsi/bfa/bfa_core.c 	bfa_lps_meminfo(cfg, meminfo, bfa);
bfa              1782 drivers/scsi/bfa/bfa_core.c 	bfa_uf_meminfo(cfg, meminfo, bfa);
bfa              1783 drivers/scsi/bfa/bfa_core.c 	bfa_rport_meminfo(cfg, meminfo, bfa);
bfa              1784 drivers/scsi/bfa/bfa_core.c 	bfa_fcp_meminfo(cfg, meminfo, bfa);
bfa              1785 drivers/scsi/bfa/bfa_core.c 	bfa_dconf_meminfo(cfg, meminfo, bfa);
bfa              1828 drivers/scsi/bfa/bfa_core.c bfa_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg,
bfa              1835 drivers/scsi/bfa/bfa_core.c 	bfa->fcs = BFA_FALSE;
bfa              1858 drivers/scsi/bfa/bfa_core.c 	bfa_iocfc_attach(bfa, bfad, cfg, pcidev);
bfa              1859 drivers/scsi/bfa/bfa_core.c 	bfa_fcdiag_attach(bfa, bfad, cfg, pcidev);
bfa              1860 drivers/scsi/bfa/bfa_core.c 	bfa_sgpg_attach(bfa, bfad, cfg, pcidev);
bfa              1861 drivers/scsi/bfa/bfa_core.c 	bfa_fcport_attach(bfa, bfad, cfg, pcidev);
bfa              1862 drivers/scsi/bfa/bfa_core.c 	bfa_fcxp_attach(bfa, bfad, cfg, pcidev);
bfa              1863 drivers/scsi/bfa/bfa_core.c 	bfa_lps_attach(bfa, bfad, cfg, pcidev);
bfa              1864 drivers/scsi/bfa/bfa_core.c 	bfa_uf_attach(bfa, bfad, cfg, pcidev);
bfa              1865 drivers/scsi/bfa/bfa_core.c 	bfa_rport_attach(bfa, bfad, cfg, pcidev);
bfa              1866 drivers/scsi/bfa/bfa_core.c 	bfa_fcp_attach(bfa, bfad, cfg, pcidev);
bfa              1867 drivers/scsi/bfa/bfa_core.c 	bfa_dconf_attach(bfa, bfad, cfg);
bfa              1868 drivers/scsi/bfa/bfa_core.c 	bfa_com_port_attach(bfa);
bfa              1869 drivers/scsi/bfa/bfa_core.c 	bfa_com_ablk_attach(bfa);
bfa              1870 drivers/scsi/bfa/bfa_core.c 	bfa_com_cee_attach(bfa);
bfa              1871 drivers/scsi/bfa/bfa_core.c 	bfa_com_sfp_attach(bfa);
bfa              1872 drivers/scsi/bfa/bfa_core.c 	bfa_com_flash_attach(bfa, cfg->drvcfg.min_cfg);
bfa              1873 drivers/scsi/bfa/bfa_core.c 	bfa_com_diag_attach(bfa);
bfa              1874 drivers/scsi/bfa/bfa_core.c 	bfa_com_phy_attach(bfa, cfg->drvcfg.min_cfg);
bfa              1875 drivers/scsi/bfa/bfa_core.c 	bfa_com_fru_attach(bfa, cfg->drvcfg.min_cfg);
bfa              1892 drivers/scsi/bfa/bfa_core.c bfa_detach(struct bfa_s *bfa)
bfa              1894 drivers/scsi/bfa/bfa_core.c 	bfa_ioc_detach(&bfa->ioc);
bfa              1898 drivers/scsi/bfa/bfa_core.c bfa_comp_deq(struct bfa_s *bfa, struct list_head *comp_q)
bfa              1901 drivers/scsi/bfa/bfa_core.c 	list_splice_tail_init(&bfa->comp_q, comp_q);
bfa              1905 drivers/scsi/bfa/bfa_core.c bfa_comp_process(struct bfa_s *bfa, struct list_head *comp_q)
bfa              1925 drivers/scsi/bfa/bfa_core.c bfa_comp_free(struct bfa_s *bfa, struct list_head *comp_q)
bfa                36 drivers/scsi/bfa/bfa_fcpim.c 	if ((__itnim)->bfa->fcs)					\
bfa                39 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue((__itnim)->bfa, &(__itnim)->hcb_qe,	\
bfa                45 drivers/scsi/bfa/bfa_fcpim.c 	if ((__itnim)->bfa->fcs)					\
bfa                48 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue((__itnim)->bfa, &(__itnim)->hcb_qe,	\
bfa                54 drivers/scsi/bfa/bfa_fcpim.c 	if ((__itnim)->bfa->fcs)					\
bfa                57 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue((__itnim)->bfa, &(__itnim)->hcb_qe,	\
bfa               134 drivers/scsi/bfa/bfa_fcpim.c 	bfa_cb_queue((__tskim)->bfa, &(__tskim)->hcb_qe, __cbfn, (__tskim));\
bfa               312 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_s *bfa = fcp->bfa;
bfa               314 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(bfa, cfg->drvcfg.path_tov);
bfa               315 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(bfa, cfg->fwcfg.num_rports);
bfa               316 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(bfa, cfg->fwcfg.num_ioim_reqs);
bfa               317 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(bfa, cfg->fwcfg.num_tskim_reqs);
bfa               320 drivers/scsi/bfa/bfa_fcpim.c 	fcpim->bfa		= bfa;
bfa               350 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_path_tov_set(struct bfa_s *bfa, u16 path_tov)
bfa               352 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa               360 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_path_tov_get(struct bfa_s *bfa)
bfa               362 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa               421 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_port_iostats(struct bfa_s *bfa,
bfa               424 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa               463 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_profile_on(struct bfa_s *bfa, time64_t time)
bfa               466 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa               482 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_profile_off(struct bfa_s *bfa)
bfa               484 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa               493 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_qdepth_get(struct bfa_s *bfa)
bfa               495 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa               510 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               511 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               521 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               531 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               532 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               552 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               562 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               563 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               589 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               597 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               598 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               624 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               635 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               636 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               652 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               662 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               663 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               694 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               704 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               705 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               725 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               736 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               737 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               762 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               773 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               774 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               790 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               800 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               801 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               819 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               827 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               828 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               847 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               857 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               858 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               879 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               887 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               888 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               912 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               922 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               923 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               933 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa               941 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, itnim->rport->rport_tag);
bfa               942 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(itnim->bfa, event);
bfa               957 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(itnim->bfa, event);
bfa              1108 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_s	*bfa = fcpim->bfa;
bfa              1120 drivers/scsi/bfa/bfa_fcpim.c 		itnim->bfa = bfa;
bfa              1123 drivers/scsi/bfa/bfa_fcpim.c 		itnim->rport = BFA_RPORT_FROM_TAG(bfa, i);
bfa              1157 drivers/scsi/bfa/bfa_fcpim.c 	m = bfa_reqq_next(itnim->bfa, itnim->reqq);
bfa              1159 drivers/scsi/bfa/bfa_fcpim.c 		bfa_reqq_wait(itnim->bfa, itnim->reqq, &itnim->reqq_wait);
bfa              1164 drivers/scsi/bfa/bfa_fcpim.c 			bfa_fn_lpu(itnim->bfa));
bfa              1174 drivers/scsi/bfa/bfa_fcpim.c 	bfa_reqq_produce(itnim->bfa, itnim->reqq, m->mh);
bfa              1186 drivers/scsi/bfa/bfa_fcpim.c 	m = bfa_reqq_next(itnim->bfa, itnim->reqq);
bfa              1188 drivers/scsi/bfa/bfa_fcpim.c 		bfa_reqq_wait(itnim->bfa, itnim->reqq, &itnim->reqq_wait);
bfa              1193 drivers/scsi/bfa/bfa_fcpim.c 			bfa_fn_lpu(itnim->bfa));
bfa              1200 drivers/scsi/bfa/bfa_fcpim.c 	bfa_reqq_produce(itnim->bfa, itnim->reqq, m->mh);
bfa              1292 drivers/scsi/bfa/bfa_fcpim.c 		bfa_timer_start(itnim->bfa, &itnim->timer,
bfa              1331 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(itnim->bfa);
bfa              1355 drivers/scsi/bfa/bfa_fcpim.c bfa_itnim_isr(struct bfa_s *bfa, struct bfi_msg_s *m)
bfa              1357 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa              1361 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(bfa, m->mhdr.msg_id);
bfa              1390 drivers/scsi/bfa/bfa_fcpim.c 		bfa_trc(bfa, m->mhdr.msg_id);
bfa              1400 drivers/scsi/bfa/bfa_fcpim.c bfa_itnim_create(struct bfa_s *bfa, struct bfa_rport_s *rport, void *ditn)
bfa              1402 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa              1405 drivers/scsi/bfa/bfa_fcpim.c 	bfa_itn_create(bfa, rport, bfa_itnim_isr);
bfa              1467 drivers/scsi/bfa/bfa_fcpim.c 	fcpim = BFA_FCPIM(itnim->bfa);
bfa              1475 drivers/scsi/bfa/bfa_fcpim.c 				bfa_io_profile_start_time(itnim->bfa);
bfa              1515 drivers/scsi/bfa/bfa_fcpim.c 				bfa_cb_queue(ioim->bfa, &ioim->hcb_qe,
bfa              1543 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe,
bfa              1554 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe,
bfa              1559 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(ioim->bfa, event);
bfa              1569 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              1570 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, event);
bfa              1583 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sgpg_wcancel(ioim->bfa, &ioim->iosp->sgpg_wqe);
bfa              1584 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_failed,
bfa              1591 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sgpg_wcancel(ioim->bfa, &ioim->iosp->sgpg_wqe);
bfa              1593 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_abort,
bfa              1599 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sgpg_wcancel(ioim->bfa, &ioim->iosp->sgpg_wqe);
bfa              1601 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_failed,
bfa              1606 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(ioim->bfa, event);
bfa              1620 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe,
bfa              1627 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_comp,
bfa              1634 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_comp,
bfa              1647 drivers/scsi/bfa/bfa_fcpim.c 			bfa_reqq_wait(ioim->bfa, ioim->reqq,
bfa              1661 drivers/scsi/bfa/bfa_fcpim.c 			bfa_reqq_wait(ioim->bfa, ioim->reqq,
bfa              1669 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_failed,
bfa              1678 drivers/scsi/bfa/bfa_fcpim.c 			bfa_cb_queue(ioim->bfa, &ioim->hcb_qe,
bfa              1687 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(ioim->bfa, event);
bfa              1717 drivers/scsi/bfa/bfa_fcpim.c 			bfa_reqq_wait(ioim->bfa, ioim->reqq,
bfa              1725 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe,
bfa              1734 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_abort,
bfa              1739 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(ioim->bfa, event);
bfa              1749 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              1750 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, event);
bfa              1761 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_abort,
bfa              1768 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_abort,
bfa              1775 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_abort,
bfa              1788 drivers/scsi/bfa/bfa_fcpim.c 			bfa_reqq_wait(ioim->bfa, ioim->reqq,
bfa              1796 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_failed,
bfa              1801 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(ioim->bfa, event);
bfa              1812 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              1813 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, event);
bfa              1831 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, ioim->io_cbfn, ioim);
bfa              1837 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, ioim->io_cbfn, ioim);
bfa              1843 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, ioim->io_cbfn, ioim);
bfa              1850 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_failed,
bfa              1862 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(ioim->bfa, event);
bfa              1872 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              1873 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, event);
bfa              1885 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_abort,
bfa              1892 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_failed,
bfa              1901 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_failed,
bfa              1906 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(ioim->bfa, event);
bfa              1916 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              1917 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, event);
bfa              1936 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_abort,
bfa              1944 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_abort,
bfa              1952 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_failed,
bfa              1957 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(ioim->bfa, event);
bfa              1967 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              1968 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, event);
bfa              1987 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, ioim->io_cbfn, ioim);
bfa              1994 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, ioim->io_cbfn, ioim);
bfa              2002 drivers/scsi/bfa/bfa_fcpim.c 		bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, __bfa_cb_ioim_failed,
bfa              2007 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(ioim->bfa, event);
bfa              2031 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(ioim->bfa, event);
bfa              2041 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              2042 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, event);
bfa              2064 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(ioim->bfa, event);
bfa              2074 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              2075 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, event);
bfa              2091 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(ioim->bfa, event);
bfa              2101 drivers/scsi/bfa/bfa_fcpim.c bfa_ioim_lm_init(struct bfa_s *bfa)
bfa              2106 drivers/scsi/bfa/bfa_fcpim.c 	if (bfa_get_lun_mask_status(bfa) == BFA_LUNMASK_MINCFG)
bfa              2109 drivers/scsi/bfa/bfa_fcpim.c 	lunm_list = bfa_get_lun_mask_list(bfa);
bfa              2127 drivers/scsi/bfa/bfa_fcpim.c 	bfa_cb_ioim_good_comp(ioim->bfa->bfad, ioim->dio);
bfa              2170 drivers/scsi/bfa/bfa_fcpim.c 	bfa_cb_ioim_done(ioim->bfa->bfad, ioim->dio, m->io_status,
bfa              2175 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_lunmask_rp_update(struct bfa_s *bfa, wwn_t lp_wwn, wwn_t rp_wwn,
bfa              2181 drivers/scsi/bfa/bfa_fcpim.c 	if (bfa_get_lun_mask_status(bfa) == BFA_LUNMASK_MINCFG)
bfa              2184 drivers/scsi/bfa/bfa_fcpim.c 	lun_list = bfa_get_lun_mask_list(bfa);
bfa              2200 drivers/scsi/bfa/bfa_fcpim.c bfa_ioim_lm_set_ua(struct bfa_s *bfa)
bfa              2205 drivers/scsi/bfa/bfa_fcpim.c 	lunm_list = bfa_get_lun_mask_list(bfa);
bfa              2214 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_lunmask_update(struct bfa_s *bfa, u32 update)
bfa              2218 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(bfa, bfa_get_lun_mask_status(bfa));
bfa              2219 drivers/scsi/bfa/bfa_fcpim.c 	if (bfa_get_lun_mask_status(bfa) == BFA_LUNMASK_MINCFG)
bfa              2222 drivers/scsi/bfa/bfa_fcpim.c 	if (bfa_get_lun_mask_status(bfa) == update)
bfa              2225 drivers/scsi/bfa/bfa_fcpim.c 	lun_mask = bfa_get_lun_mask(bfa);
bfa              2228 drivers/scsi/bfa/bfa_fcpim.c 	if (bfa_get_lun_mask_status(bfa) == BFA_LUNMASK_ENABLED)
bfa              2229 drivers/scsi/bfa/bfa_fcpim.c 		bfa_ioim_lm_set_ua(bfa);
bfa              2231 drivers/scsi/bfa/bfa_fcpim.c 	return  bfa_dconf_update(bfa);
bfa              2235 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_lunmask_clear(struct bfa_s *bfa)
bfa              2240 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(bfa, bfa_get_lun_mask_status(bfa));
bfa              2241 drivers/scsi/bfa/bfa_fcpim.c 	if (bfa_get_lun_mask_status(bfa) == BFA_LUNMASK_MINCFG)
bfa              2244 drivers/scsi/bfa/bfa_fcpim.c 	lunm_list = bfa_get_lun_mask_list(bfa);
bfa              2248 drivers/scsi/bfa/bfa_fcpim.c 				bfa_rport_unset_lunmask(bfa,
bfa              2249 drivers/scsi/bfa/bfa_fcpim.c 				  BFA_RPORT_FROM_TAG(bfa, lunm_list[i].rp_tag));
bfa              2254 drivers/scsi/bfa/bfa_fcpim.c 	return bfa_dconf_update(bfa);
bfa              2258 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_lunmask_query(struct bfa_s *bfa, void *buf)
bfa              2262 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(bfa, bfa_get_lun_mask_status(bfa));
bfa              2263 drivers/scsi/bfa/bfa_fcpim.c 	if (bfa_get_lun_mask_status(bfa) == BFA_LUNMASK_MINCFG)
bfa              2266 drivers/scsi/bfa/bfa_fcpim.c 	lun_mask = bfa_get_lun_mask(bfa);
bfa              2272 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_lunmask_add(struct bfa_s *bfa, u16 vf_id, wwn_t *pwwn,
bfa              2281 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(bfa, bfa_get_lun_mask_status(bfa));
bfa              2282 drivers/scsi/bfa/bfa_fcpim.c 	if (bfa_get_lun_mask_status(bfa) == BFA_LUNMASK_MINCFG)
bfa              2285 drivers/scsi/bfa/bfa_fcpim.c 	port = bfa_fcs_lookup_port(&((struct bfad_s *)bfa->bfad)->bfa_fcs,
bfa              2294 drivers/scsi/bfa/bfa_fcpim.c 	lunm_list = bfa_get_lun_mask_list(bfa);
bfa              2310 drivers/scsi/bfa/bfa_fcpim.c 		lunm_list[free_index].lp_tag = bfa_lps_get_tag_from_pid(bfa,
bfa              2330 drivers/scsi/bfa/bfa_fcpim.c 	return bfa_dconf_update(bfa);
bfa              2334 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_lunmask_delete(struct bfa_s *bfa, u16 vf_id, wwn_t *pwwn,
bfa              2344 drivers/scsi/bfa/bfa_fcpim.c 	if (bfa_get_lun_mask_status(bfa) == BFA_LUNMASK_MINCFG)
bfa              2347 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(bfa, bfa_get_lun_mask_status(bfa));
bfa              2348 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(bfa, *pwwn);
bfa              2349 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(bfa, rpwwn);
bfa              2350 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(bfa, scsilun_to_int((struct scsi_lun *)&lun));
bfa              2354 drivers/scsi/bfa/bfa_fcpim.c 				&((struct bfad_s *)bfa->bfad)->bfa_fcs,
bfa              2364 drivers/scsi/bfa/bfa_fcpim.c 	lunm_list = bfa_get_lun_mask_list(bfa);
bfa              2378 drivers/scsi/bfa/bfa_fcpim.c 			return bfa_dconf_update(bfa);
bfa              2402 drivers/scsi/bfa/bfa_fcpim.c 	bfa_cb_ioim_done(ioim->bfa->bfad, ioim->dio, BFI_IOIM_STS_ABORTED,
bfa              2417 drivers/scsi/bfa/bfa_fcpim.c 	bfa_cb_ioim_done(ioim->bfa->bfad, ioim->dio, BFI_IOIM_STS_PATHTOV,
bfa              2431 drivers/scsi/bfa/bfa_fcpim.c 	bfa_cb_ioim_abort(ioim->bfa->bfad, ioim->dio);
bfa              2467 drivers/scsi/bfa/bfa_fcpim.c 	m = bfa_reqq_next(ioim->bfa, ioim->reqq);
bfa              2470 drivers/scsi/bfa/bfa_fcpim.c 		bfa_reqq_wait(ioim->bfa, ioim->reqq,
bfa              2569 drivers/scsi/bfa/bfa_fcpim.c 		bfi_h2i_set(m->mh, BFI_MC_IOIM_READ, 0, bfa_fn_lpu(ioim->bfa));
bfa              2574 drivers/scsi/bfa/bfa_fcpim.c 		bfi_h2i_set(m->mh, BFI_MC_IOIM_WRITE, 0, bfa_fn_lpu(ioim->bfa));
bfa              2583 drivers/scsi/bfa/bfa_fcpim.c 		bfi_h2i_set(m->mh, BFI_MC_IOIM_IO, 0, bfa_fn_lpu(ioim->bfa));
bfa              2587 drivers/scsi/bfa/bfa_fcpim.c 		bfi_h2i_set(m->mh, BFI_MC_IOIM_IO, 0, bfa_fn_lpu(ioim->bfa));
bfa              2592 drivers/scsi/bfa/bfa_fcpim.c 	bfa_reqq_produce(ioim->bfa, ioim->reqq, m->mh);
bfa              2614 drivers/scsi/bfa/bfa_fcpim.c 	if (bfa_sgpg_malloc(ioim->bfa, &ioim->sgpg_q, nsgpgs)
bfa              2616 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sgpg_wait(ioim->bfa, &ioim->iosp->sgpg_wqe, nsgpgs);
bfa              2638 drivers/scsi/bfa/bfa_fcpim.c 	m = bfa_reqq_next(ioim->bfa, ioim->reqq);
bfa              2650 drivers/scsi/bfa/bfa_fcpim.c 	bfi_h2i_set(m->mh, BFI_MC_IOIM, msgop, bfa_fn_lpu(ioim->bfa));
bfa              2657 drivers/scsi/bfa/bfa_fcpim.c 	bfa_reqq_produce(ioim->bfa, ioim->reqq, m->mh);
bfa              2726 drivers/scsi/bfa/bfa_fcpim.c 	bfa_cb_queue(ioim->bfa, &ioim->hcb_qe, ioim->io_cbfn, ioim);
bfa              2772 drivers/scsi/bfa/bfa_fcpim.c 		ioim->bfa     = fcpim->bfa;
bfa              2785 drivers/scsi/bfa/bfa_fcpim.c bfa_ioim_isr(struct bfa_s *bfa, struct bfi_msg_s *m)
bfa              2787 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa              2798 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              2799 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, rsp->io_status);
bfa              2800 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, rsp->reuse_io_tag);
bfa              2846 drivers/scsi/bfa/bfa_fcpim.c 			bfa_trc(ioim->bfa, rsp->abort_tag);
bfa              2847 drivers/scsi/bfa/bfa_fcpim.c 			bfa_trc(ioim->bfa, ioim->abort_tag);
bfa              2870 drivers/scsi/bfa/bfa_fcpim.c bfa_ioim_good_comp_isr(struct bfa_s *bfa, struct bfi_msg_s *m)
bfa              2872 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa              2893 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              2903 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              2916 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              2927 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              2936 drivers/scsi/bfa/bfa_fcpim.c bfa_ioim_alloc(struct bfa_s *bfa, struct bfad_ioim_s *dio,
bfa              2939 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa              2974 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sgpg_mfree(ioim->bfa, &ioim->sgpg_q, ioim->nsgpgs);
bfa              3001 drivers/scsi/bfa/bfa_fcpim.c 	ioim->reqq = bfa_fcpim_ioredirect_enabled(ioim->bfa) ?
bfa              3014 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(ioim->bfa, ioim->iotag);
bfa              3035 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(tskim->bfa, tskim->tsk_tag << 16 | event);
bfa              3056 drivers/scsi/bfa/bfa_fcpim.c 			bfa_reqq_wait(tskim->bfa, tskim->itnim->reqq,
bfa              3062 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(tskim->bfa, event);
bfa              3073 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(tskim->bfa, tskim->tsk_tag << 16 | event);
bfa              3086 drivers/scsi/bfa/bfa_fcpim.c 			bfa_reqq_wait(tskim->bfa, tskim->itnim->reqq,
bfa              3098 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(tskim->bfa, event);
bfa              3109 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(tskim->bfa, tskim->tsk_tag << 16 | event);
bfa              3131 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(tskim->bfa, event);
bfa              3138 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(tskim->bfa, tskim->tsk_tag << 16 | event);
bfa              3160 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(tskim->bfa, event);
bfa              3170 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(tskim->bfa, tskim->tsk_tag << 16 | event);
bfa              3195 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(tskim->bfa, event);
bfa              3207 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(tskim->bfa, tskim->tsk_tag << 16 | event);
bfa              3226 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(tskim->bfa, event);
bfa              3236 drivers/scsi/bfa/bfa_fcpim.c 	bfa_trc(tskim->bfa, tskim->tsk_tag << 16 | event);
bfa              3252 drivers/scsi/bfa/bfa_fcpim.c 		bfa_sm_fault(tskim->bfa, event);
bfa              3267 drivers/scsi/bfa/bfa_fcpim.c 	bfa_cb_tskim_done(tskim->bfa->bfad, tskim->dtsk, tskim->tsk_status);
bfa              3281 drivers/scsi/bfa/bfa_fcpim.c 	bfa_cb_tskim_done(tskim->bfa->bfad, tskim->dtsk,
bfa              3391 drivers/scsi/bfa/bfa_fcpim.c 	m = bfa_reqq_next(tskim->bfa, itnim->reqq);
bfa              3399 drivers/scsi/bfa/bfa_fcpim.c 			bfa_fn_lpu(tskim->bfa));
bfa              3410 drivers/scsi/bfa/bfa_fcpim.c 	bfa_reqq_produce(tskim->bfa, itnim->reqq, m->mh);
bfa              3426 drivers/scsi/bfa/bfa_fcpim.c 	m = bfa_reqq_next(tskim->bfa, itnim->reqq);
bfa              3434 drivers/scsi/bfa/bfa_fcpim.c 			bfa_fn_lpu(tskim->bfa));
bfa              3441 drivers/scsi/bfa/bfa_fcpim.c 	bfa_reqq_produce(tskim->bfa, itnim->reqq, m->mh);
bfa              3525 drivers/scsi/bfa/bfa_fcpim.c 		tskim->bfa	= fcpim->bfa;
bfa              3539 drivers/scsi/bfa/bfa_fcpim.c bfa_tskim_isr(struct bfa_s *bfa, struct bfi_msg_s *m)
bfa              3541 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa              3568 drivers/scsi/bfa/bfa_fcpim.c bfa_tskim_alloc(struct bfa_s *bfa, struct bfad_tskim_s *dtsk)
bfa              3570 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa              3617 drivers/scsi/bfa/bfa_fcpim.c bfa_tskim_res_recfg(struct bfa_s *bfa, u16 num_tskim_fw)
bfa              3619 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s	*fcpim = BFA_FCPIM(bfa);
bfa              3631 drivers/scsi/bfa/bfa_fcpim.c 		struct bfa_s *bfa)
bfa              3633 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcp_mod_s *fcp = BFA_FCP_MOD(bfa);
bfa              3634 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_mem_kva_s *fcp_kva = BFA_MEM_FCP_KVA(bfa);
bfa              3688 drivers/scsi/bfa/bfa_fcpim.c bfa_fcp_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg,
bfa              3691 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcp_mod_s *fcp = BFA_FCP_MOD(bfa);
bfa              3699 drivers/scsi/bfa/bfa_fcpim.c 	fcp->bfa = bfa;
bfa              3715 drivers/scsi/bfa/bfa_fcpim.c 		bfa_iocfc_set_snsbase(bfa, idx, fcp->snsbase[idx].pa);
bfa              3731 drivers/scsi/bfa/bfa_fcpim.c bfa_fcp_iocdisable(struct bfa_s *bfa)
bfa              3733 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcp_mod_s *fcp = BFA_FCP_MOD(bfa);
bfa              3739 drivers/scsi/bfa/bfa_fcpim.c bfa_fcp_res_recfg(struct bfa_s *bfa, u16 num_ioim_fw, u16 max_ioim_fw)
bfa              3741 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcp_mod_s	*mod = BFA_FCP_MOD(bfa);
bfa              3755 drivers/scsi/bfa/bfa_fcpim.c 		bfa_trc(bfa, mod->num_ioim_reqs);
bfa              3756 drivers/scsi/bfa/bfa_fcpim.c 		bfa_trc(bfa, num_ioim_fw);
bfa              3765 drivers/scsi/bfa/bfa_fcpim.c bfa_itn_create(struct bfa_s *bfa, struct bfa_rport_s *rport,
bfa              3766 drivers/scsi/bfa/bfa_fcpim.c 		void (*isr)(struct bfa_s *bfa, struct bfi_msg_s *m))
bfa              3768 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcp_mod_s *fcp = BFA_FCP_MOD(bfa);
bfa              3779 drivers/scsi/bfa/bfa_fcpim.c bfa_itn_isr(struct bfa_s *bfa, struct bfi_msg_s *m)
bfa              3781 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcp_mod_s *fcp = BFA_FCP_MOD(bfa);
bfa              3789 drivers/scsi/bfa/bfa_fcpim.c 		itn->isr(bfa, m);
bfa              3828 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_get_throttle_cfg(struct bfa_s *bfa, u16 drv_cfg_param)
bfa              3831 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcp_mod_s *fcp = BFA_FCP_MOD(bfa);
bfa              3841 drivers/scsi/bfa/bfa_fcpim.c 	tmp = bfa_dconf_read_data_valid(bfa) ? bfa_fcpim_read_throttle(bfa) : 0;
bfa              3849 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_write_throttle(struct bfa_s *bfa, u16 value)
bfa              3851 drivers/scsi/bfa/bfa_fcpim.c 	if (!bfa_dconf_get_min_cfg(bfa)) {
bfa              3852 drivers/scsi/bfa/bfa_fcpim.c 		BFA_DCONF_MOD(bfa)->dconf->throttle_cfg.value = value;
bfa              3853 drivers/scsi/bfa/bfa_fcpim.c 		BFA_DCONF_MOD(bfa)->dconf->throttle_cfg.is_valid = 1;
bfa              3861 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_read_throttle(struct bfa_s *bfa)
bfa              3864 drivers/scsi/bfa/bfa_fcpim.c 			&(BFA_DCONF_MOD(bfa)->dconf->throttle_cfg);
bfa              3866 drivers/scsi/bfa/bfa_fcpim.c 	return ((!bfa_dconf_get_min_cfg(bfa)) ?
bfa              3871 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_throttle_set(struct bfa_s *bfa, u16 value)
bfa              3874 drivers/scsi/bfa/bfa_fcpim.c 	if ((bfa_dconf_get_min_cfg(bfa) == BFA_TRUE) ||
bfa              3875 drivers/scsi/bfa/bfa_fcpim.c 	    (!bfa_dconf_read_data_valid(bfa)))
bfa              3878 drivers/scsi/bfa/bfa_fcpim.c 	bfa_fcpim_write_throttle(bfa, value);
bfa              3880 drivers/scsi/bfa/bfa_fcpim.c 	return bfa_dconf_update(bfa);
bfa              3884 drivers/scsi/bfa/bfa_fcpim.c bfa_fcpim_throttle_get(struct bfa_s *bfa, void *buf)
bfa              3886 drivers/scsi/bfa/bfa_fcpim.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(bfa);
bfa              3889 drivers/scsi/bfa/bfa_fcpim.c 	if ((bfa_dconf_get_min_cfg(bfa) == BFA_TRUE) ||
bfa              3890 drivers/scsi/bfa/bfa_fcpim.c 	    (!bfa_dconf_read_data_valid(bfa)))
bfa              3896 drivers/scsi/bfa/bfa_fcpim.c 	throttle.cfg_value = bfa_fcpim_read_throttle(bfa);
bfa                34 drivers/scsi/bfa/bfa_fcpim.h void bfa_itn_create(struct bfa_s *bfa, struct bfa_rport_s *rport,
bfa                35 drivers/scsi/bfa/bfa_fcpim.h 		void (*isr)(struct bfa_s *bfa, struct bfi_msg_s *m));
bfa                36 drivers/scsi/bfa/bfa_fcpim.h void bfa_itn_isr(struct bfa_s *bfa, struct bfi_msg_s *m);
bfa                38 drivers/scsi/bfa/bfa_fcpim.h void bfa_fcp_res_recfg(struct bfa_s *bfa, u16 num_ioim_fw, u16 max_ioim_fw);
bfa               110 drivers/scsi/bfa/bfa_fcpim.h 	struct bfa_s		*bfa;
bfa               140 drivers/scsi/bfa/bfa_fcpim.h 	struct bfa_s		*bfa;
bfa               163 drivers/scsi/bfa/bfa_fcpim.h 	struct bfa_s		*bfa;		/*  BFA module	*/
bfa               195 drivers/scsi/bfa/bfa_fcpim.h 	struct bfa_s		*bfa;	/*  BFA module  */
bfa               217 drivers/scsi/bfa/bfa_fcpim.h 	struct bfa_s		*bfa;	/*  bfa instance	*/
bfa               271 drivers/scsi/bfa/bfa_fcpim.h void	bfa_ioim_isr(struct bfa_s *bfa, struct bfi_msg_s *msg);
bfa               272 drivers/scsi/bfa/bfa_fcpim.h void	bfa_ioim_good_comp_isr(struct bfa_s *bfa,
bfa               281 drivers/scsi/bfa/bfa_fcpim.h void	bfa_tskim_isr(struct bfa_s *bfa, struct bfi_msg_s *msg);
bfa               285 drivers/scsi/bfa/bfa_fcpim.h void	bfa_tskim_res_recfg(struct bfa_s *bfa, u16 num_tskim_fw);
bfa               290 drivers/scsi/bfa/bfa_fcpim.h void	bfa_itnim_isr(struct bfa_s *bfa, struct bfi_msg_s *msg);
bfa               298 drivers/scsi/bfa/bfa_fcpim.h void	bfa_fcpim_path_tov_set(struct bfa_s *bfa, u16 path_tov);
bfa               299 drivers/scsi/bfa/bfa_fcpim.h u16	bfa_fcpim_path_tov_get(struct bfa_s *bfa);
bfa               300 drivers/scsi/bfa/bfa_fcpim.h u16	bfa_fcpim_qdepth_get(struct bfa_s *bfa);
bfa               301 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t bfa_fcpim_port_iostats(struct bfa_s *bfa,
bfa               305 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t bfa_fcpim_profile_on(struct bfa_s *bfa, time64_t time);
bfa               306 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t bfa_fcpim_profile_off(struct bfa_s *bfa);
bfa               324 drivers/scsi/bfa/bfa_fcpim.h struct bfa_itnim_s *bfa_itnim_create(struct bfa_s *bfa,
bfa               358 drivers/scsi/bfa/bfa_fcpim.h struct bfa_ioim_s	*bfa_ioim_alloc(struct bfa_s *bfa,
bfa               398 drivers/scsi/bfa/bfa_fcpim.h struct bfa_tskim_s *bfa_tskim_alloc(struct bfa_s *bfa,
bfa               407 drivers/scsi/bfa/bfa_fcpim.h void	bfa_fcpim_lunmask_rp_update(struct bfa_s *bfa, wwn_t lp_wwn,
bfa               409 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t	bfa_fcpim_lunmask_update(struct bfa_s *bfa, u32 on_off);
bfa               410 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t	bfa_fcpim_lunmask_query(struct bfa_s *bfa, void *buf);
bfa               411 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t	bfa_fcpim_lunmask_delete(struct bfa_s *bfa, u16 vf_id,
bfa               413 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t	bfa_fcpim_lunmask_add(struct bfa_s *bfa, u16 vf_id,
bfa               415 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t	bfa_fcpim_lunmask_clear(struct bfa_s *bfa);
bfa               416 drivers/scsi/bfa/bfa_fcpim.h u16		bfa_fcpim_read_throttle(struct bfa_s *bfa);
bfa               417 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t	bfa_fcpim_write_throttle(struct bfa_s *bfa, u16 value);
bfa               418 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t	bfa_fcpim_throttle_set(struct bfa_s *bfa, u16 value);
bfa               419 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t	bfa_fcpim_throttle_get(struct bfa_s *bfa, void *buf);
bfa               420 drivers/scsi/bfa/bfa_fcpim.h u16     bfa_fcpim_get_throttle_cfg(struct bfa_s *bfa, u16 drv_cfg_param);
bfa                58 drivers/scsi/bfa/bfa_fcs.c 	struct bfa_ioc_s *ioc = &fabric->fcs->bfa->ioc;
bfa                88 drivers/scsi/bfa/bfa_fcs.c 			bfa_iocfc_get_pbc_vports(fcs->bfa, pbc_vports);
bfa                90 drivers/scsi/bfa/bfa_fcs.c 			bfa_fcb_pbc_vport_create(fcs->bfa->bfad, pbc_vports[i]);
bfa               140 drivers/scsi/bfa/bfa_fcs.c 	if (bfa_fcport_get_topology((__fabric)->fcs->bfa)		\
bfa               233 drivers/scsi/bfa/bfa_fcs.c 	struct bfa_s	*bfa = fabric->fcs->bfa;
bfa               240 drivers/scsi/bfa/bfa_fcs.c 		if (!bfa_fcport_is_linkup(fabric->fcs->bfa)) {
bfa               244 drivers/scsi/bfa/bfa_fcs.c 		if (bfa_fcport_get_topology(bfa) ==
bfa               247 drivers/scsi/bfa/bfa_fcs.c 			fabric->bport.pid = bfa_fcport_get_myalpa(bfa);
bfa               281 drivers/scsi/bfa/bfa_fcs.c 	struct bfa_s	*bfa = fabric->fcs->bfa;
bfa               288 drivers/scsi/bfa/bfa_fcs.c 		if (bfa_fcport_get_topology(bfa) != BFA_PORT_TOPOLOGY_LOOP) {
bfa               294 drivers/scsi/bfa/bfa_fcs.c 		fabric->bport.pid = bfa_fcport_get_myalpa(bfa);
bfa               333 drivers/scsi/bfa/bfa_fcs.c 		bfa_fcport_set_tx_bbcredit(fabric->fcs->bfa,
bfa               348 drivers/scsi/bfa/bfa_fcs.c 		bfa_timer_start(fabric->fcs->bfa, &fabric->delay_timer,
bfa               361 drivers/scsi/bfa/bfa_fcs.c 		bfa_fcport_set_tx_bbcredit(fabric->fcs->bfa,
bfa               529 drivers/scsi/bfa/bfa_fcs.c 		bfa_fcport_set_tx_bbcredit(fabric->fcs->bfa,
bfa               548 drivers/scsi/bfa/bfa_fcs.c 	struct bfa_s	*bfa = fabric->fcs->bfa;
bfa               556 drivers/scsi/bfa/bfa_fcs.c 		if (bfa_fcport_get_topology(bfa) == BFA_PORT_TOPOLOGY_LOOP) {
bfa               678 drivers/scsi/bfa/bfa_fcs.c 	struct bfa_s	*bfa = fabric->fcs->bfa;
bfa               685 drivers/scsi/bfa/bfa_fcs.c 		if (bfa_fcport_get_topology(bfa) == BFA_PORT_TOPOLOGY_LOOP) {
bfa               697 drivers/scsi/bfa/bfa_fcs.c 		if (bfa_fcport_get_topology(bfa) == BFA_PORT_TOPOLOGY_LOOP)
bfa               747 drivers/scsi/bfa/bfa_fcs.c 	port_cfg->nwwn = fabric->fcs->bfa->ioc.attr->nwwn;
bfa               748 drivers/scsi/bfa/bfa_fcs.c 	port_cfg->pwwn = fabric->fcs->bfa->ioc.attr->pwwn;
bfa               761 drivers/scsi/bfa/bfa_fcs.c 	bfa_ioc_get_adapter_model(&fabric->fcs->bfa->ioc, model);
bfa               822 drivers/scsi/bfa/bfa_fcs.c 	bfa_ioc_get_adapter_model(&fabric->fcs->bfa->ioc, model);
bfa               935 drivers/scsi/bfa/bfa_fcs.c 	struct bfa_s		*bfa = fabric->fcs->bfa;
bfa               940 drivers/scsi/bfa/bfa_fcs.c 	bfa_lps_flogi(fabric->lps, fabric, alpa, bfa_fcport_get_maxfrsize(bfa),
bfa              1324 drivers/scsi/bfa/bfa_fcs.c 	struct bfa_s	  *bfa = fabric->fcs->bfa;
bfa              1340 drivers/scsi/bfa/bfa_fcs.c 				    bfa_fcport_get_maxfrsize(bfa),
bfa              1341 drivers/scsi/bfa/bfa_fcs.c 				    bfa_fcport_get_rx_bbcredit(bfa), 0);
bfa              1580 drivers/scsi/bfa/bfa_fcs.c bfa_fcs_attach(struct bfa_fcs_s *fcs, struct bfa_s *bfa, struct bfad_s *bfad,
bfa              1585 drivers/scsi/bfa/bfa_fcs.c 	fcs->bfa = bfa;
bfa              1590 drivers/scsi/bfa/bfa_fcs.c 	bfa->fcs = BFA_TRUE;
bfa              1593 drivers/scsi/bfa/bfa_fcs.c 	bfa_fcport_event_register(fcs->bfa, bfa_fcs_port_event_handler, fcs);
bfa              1594 drivers/scsi/bfa/bfa_fcs.c 	bfa_uf_recv_register(fcs->bfa, bfa_fcs_uf_recv, fcs);
bfa              1604 drivers/scsi/bfa/bfa_fcs.c 	fabric->lps = bfa_lps_alloc(fcs->bfa);
bfa               154 drivers/scsi/bfa/bfa_fcs.h #define BFA_FCS_GET_HAL_FROM_PORT(port)  (port->fcs->bfa)
bfa               515 drivers/scsi/bfa/bfa_fcs.h 	bfa_fcxp_req_rsp_alloc(NULL, (__fcs)->bfa, 0, 0,		\
bfa               689 drivers/scsi/bfa/bfa_fcs.h 	struct bfa_s	  *bfa;	/*  corresponding BFA bfa instance */
bfa               783 drivers/scsi/bfa/bfa_fcs.h void bfa_fcs_attach(struct bfa_fcs_s *fcs, struct bfa_s *bfa,
bfa               116 drivers/scsi/bfa/bfa_fcs_fcpim.c 		bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe);
bfa               122 drivers/scsi/bfa/bfa_fcs_fcpim.c 		bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe);
bfa               128 drivers/scsi/bfa/bfa_fcs_fcpim.c 		bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe);
bfa               157 drivers/scsi/bfa/bfa_fcs_fcpim.c 		bfa_timer_start(itnim->fcs->bfa, &itnim->timer,
bfa               199 drivers/scsi/bfa/bfa_fcs_fcpim.c 			itnim->bfa_itnim = bfa_itnim_create(itnim->fcs->bfa,
bfa               456 drivers/scsi/bfa/bfa_fcs_fcpim.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &itnim->fcxp_wqe,
bfa              1291 drivers/scsi/bfa/bfa_fcs_lport.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(port->fcs->bfa);
bfa              1299 drivers/scsi/bfa/bfa_fcs_lport.c 			bfa_trc(port->fcs->bfa, fcport->alpabm.alpa_bm[i]);
bfa              1305 drivers/scsi/bfa/bfa_fcs_lport.c 				bfa_trc(port->fcs->bfa, k);
bfa              1306 drivers/scsi/bfa/bfa_fcs_lport.c 				bfa_trc(port->fcs->bfa,
bfa              1340 drivers/scsi/bfa/bfa_fcs_lport.c 	bfa_trc(port->fcs->bfa, port->pid);
bfa              1341 drivers/scsi/bfa/bfa_fcs_lport.c 	bfa_trc(port->fcs->bfa, num_alpa);
bfa              1344 drivers/scsi/bfa/bfa_fcs_lport.c 			bfa_trc(port->fcs->bfa, alpa_map[i]);
bfa              1347 drivers/scsi/bfa/bfa_fcs_lport.c 				bfa_trc(port->fcs->bfa, pid);
bfa              1359 drivers/scsi/bfa/bfa_fcs_lport.c 				bfa_trc(port->fcs->bfa, pid);
bfa              1874 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe,
bfa              2207 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe,
bfa              2530 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &fdmi->fcxp_wqe,
bfa              2622 drivers/scsi/bfa/bfa_fcs_lport.c 	bfa_ioc_get_adapter_manufacturer(&port->fcs->bfa->ioc,
bfa              2624 drivers/scsi/bfa/bfa_fcs_lport.c 	bfa_ioc_get_adapter_serial_num(&port->fcs->bfa->ioc,
bfa              2626 drivers/scsi/bfa/bfa_fcs_lport.c 	bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc,
bfa              2628 drivers/scsi/bfa/bfa_fcs_lport.c 	bfa_ioc_get_adapter_model(&port->fcs->bfa->ioc,
bfa              2630 drivers/scsi/bfa/bfa_fcs_lport.c 	bfa_ioc_get_pci_chip_rev(&port->fcs->bfa->ioc,
bfa              2632 drivers/scsi/bfa/bfa_fcs_lport.c 	bfa_ioc_get_adapter_optrom_ver(&port->fcs->bfa->ioc,
bfa              2634 drivers/scsi/bfa/bfa_fcs_lport.c 	bfa_ioc_get_adapter_fw_ver(&port->fcs->bfa->ioc,
bfa              2662 drivers/scsi/bfa/bfa_fcs_lport.c 		cpu_to_be32(bfa_ioc_get_nports(&port->fcs->bfa->ioc));
bfa              2682 drivers/scsi/bfa/bfa_fcs_lport.c 	bfa_fcport_get_attr(port->fcs->bfa, &pport_attr);
bfa              3146 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe,
bfa              3347 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe,
bfa              3425 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ms->fcxp_wqe,
bfa              3435 drivers/scsi/bfa/bfa_fcs_lport.c 			     bfa_fcport_get_maxfrsize(port->fcs->bfa),
bfa              3436 drivers/scsi/bfa/bfa_fcs_lport.c 			     bfa_fcport_get_rx_bbcredit(port->fcs->bfa));
bfa              4390 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe,
bfa              4400 drivers/scsi/bfa/bfa_fcs_lport.c 			     bfa_fcport_get_maxfrsize(port->fcs->bfa),
bfa              4401 drivers/scsi/bfa/bfa_fcs_lport.c 			     bfa_fcport_get_rx_bbcredit(port->fcs->bfa));
bfa              4487 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe,
bfa              4565 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe,
bfa              4647 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe,
bfa              4741 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe,
bfa              4815 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe,
bfa              4899 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe,
bfa              4914 drivers/scsi/bfa/bfa_fcs_lport.c 			  bfa_fcxp_get_maxrsp(port->fcs->bfa), FC_FCCT_TOV);
bfa              5144 drivers/scsi/bfa/bfa_fcs_lport.c 	bfa_iocfc_get_bootwwns(port->fcs->bfa, &nwwns, wwns);
bfa              5177 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &ns->fcxp_wqe,
bfa              5290 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcxp_walloc_cancel(scn->port->fcs->bfa, &scn->fcxp_wqe);
bfa              5311 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_timer_start(port->fcs->bfa, &scn->timer,
bfa              5384 drivers/scsi/bfa/bfa_fcs_lport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &scn->fcxp_wqe,
bfa              5391 drivers/scsi/bfa/bfa_fcs_lport.c 	if ((!port->vport) && bfa_ioc_get_fcmode(&port->fcs->bfa->ioc)) {
bfa              5825 drivers/scsi/bfa/bfa_fcs_lport.c 	trl_enabled = bfa_fcport_is_ratelim(port->fcs->bfa);
bfa              5828 drivers/scsi/bfa/bfa_fcs_lport.c 	bfa_fcport_get_attr(port->fcs->bfa, &port_attr);
bfa              5849 drivers/scsi/bfa/bfa_fcs_lport.c 				bfa_fcport_get_ratelim_speed(port->fcs->bfa);
bfa              5915 drivers/scsi/bfa/bfa_fcs_lport.c 			bfa_lps_get_max_vport(port->fcs->bfa);
bfa              5966 drivers/scsi/bfa/bfa_fcs_lport.c #define __vport_bfa(__vp)       ((__vp)->lport.fcs->bfa)
bfa              6721 drivers/scsi/bfa/bfa_fcs_lport.c 			bfa_lps_get_max_vport(fcs->bfa))
bfa              6724 drivers/scsi/bfa/bfa_fcs_lport.c 	vport->lps = bfa_lps_alloc(fcs->bfa);
bfa               223 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               229 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               235 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               236 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa               243 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               244 drivers/scsi/bfa/bfa_fcs_rport.c 		WARN_ON(!(bfa_fcport_get_topology(rport->port->fcs->bfa) !=
bfa               254 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               255 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa               285 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               299 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               300 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa               306 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               315 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               316 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa               368 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa               376 drivers/scsi/bfa/bfa_fcs_rport.c 		WARN_ON(!(bfa_fcport_get_topology(rport->port->fcs->bfa) !=
bfa               387 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa               433 drivers/scsi/bfa/bfa_fcs_rport.c 			bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa               441 drivers/scsi/bfa/bfa_fcs_rport.c 			bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa               453 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa               461 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa               470 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa               478 drivers/scsi/bfa/bfa_fcs_rport.c 		WARN_ON(!(bfa_fcport_get_topology(rport->port->fcs->bfa) !=
bfa               530 drivers/scsi/bfa/bfa_fcs_rport.c 				bfa_rport_create(rport->fcs->bfa, rport);
bfa               695 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               708 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               717 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               804 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               811 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               818 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               827 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               920 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa,
bfa               922 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa               929 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa               964 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa               976 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa              1140 drivers/scsi/bfa/bfa_fcs_rport.c 			bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa              1150 drivers/scsi/bfa/bfa_fcs_rport.c 		} else if (bfa_fcport_get_topology(rport->port->fcs->bfa) ==
bfa              1159 drivers/scsi/bfa/bfa_fcs_rport.c 				bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa              1238 drivers/scsi/bfa/bfa_fcs_rport.c 			bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa              1341 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa              1370 drivers/scsi/bfa/bfa_fcs_rport.c 		WARN_ON(!(bfa_fcport_get_topology(rport->port->fcs->bfa) !=
bfa              1437 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa              1443 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa              1459 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa              1460 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa              1467 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe);
bfa              1517 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa              1575 drivers/scsi/bfa/bfa_fcs_rport.c 			bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa              1597 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_timer_start(rport->fcs->bfa, &rport->timer,
bfa              1706 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &rport->fcxp_wqe,
bfa              1715 drivers/scsi/bfa/bfa_fcs_rport.c 				bfa_fcport_get_maxfrsize(port->fcs->bfa),
bfa              1716 drivers/scsi/bfa/bfa_fcs_rport.c 				bfa_fcport_get_rx_bbcredit(port->fcs->bfa));
bfa              1827 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &rport->fcxp_wqe,
bfa              1837 drivers/scsi/bfa/bfa_fcs_rport.c 				 bfa_fcport_get_maxfrsize(port->fcs->bfa),
bfa              1838 drivers/scsi/bfa/bfa_fcs_rport.c 				 bfa_fcport_get_rx_bbcredit(port->fcs->bfa));
bfa              1860 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &rport->fcxp_wqe,
bfa              1924 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &rport->fcxp_wqe,
bfa              2081 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &rport->fcxp_wqe,
bfa              2220 drivers/scsi/bfa/bfa_fcs_rport.c 	bfa_fcport_get_attr(port->fcs->bfa, &pport_attr);
bfa              2567 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcport_set_tx_bbcredit(port->fcs->bfa,
bfa              2789 drivers/scsi/bfa/bfa_fcs_rport.c bfa_cb_rport_scn_online(struct bfa_s *bfa)
bfa              2791 drivers/scsi/bfa/bfa_fcs_rport.c 	struct bfa_fcs_s *fcs = &((struct bfad_s *)bfa->bfad)->bfa_fcs;
bfa              2816 drivers/scsi/bfa/bfa_fcs_rport.c bfa_cb_rport_scn_offline(struct bfa_s *bfa)
bfa              2818 drivers/scsi/bfa/bfa_fcs_rport.c 	struct bfa_fcs_s *fcs = &((struct bfad_s *)bfa->bfad)->bfa_fcs;
bfa              3019 drivers/scsi/bfa/bfa_fcs_rport.c 	bfa_fcport_get_attr(rport->fcs->bfa, &port_attr);
bfa              3044 drivers/scsi/bfa/bfa_fcs_rport.c 	if (bfa_fcport_is_ratelim(port->fcs->bfa) &&
bfa              3048 drivers/scsi/bfa/bfa_fcs_rport.c 				bfa_fcport_get_ratelim_speed(rport->fcs->bfa);
bfa              3185 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rpf->fcxp_wqe);
bfa              3220 drivers/scsi/bfa/bfa_fcs_rport.c 			bfa_timer_start(rport->fcs->bfa, &rpf->timer,
bfa              3377 drivers/scsi/bfa/bfa_fcs_rport.c 		bfa_fcs_fcxp_alloc_wait(port->fcs->bfa, &rpf->fcxp_wqe,
bfa                16 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_reginit(struct bfa_s *bfa)
bfa                18 drivers/scsi/bfa/bfa_hw_cb.c 	struct bfa_iocfc_regs_s	*bfa_regs = &bfa->iocfc.bfa_regs;
bfa                19 drivers/scsi/bfa/bfa_hw_cb.c 	void __iomem *kva = bfa_ioc_bar0(&bfa->ioc);
bfa                20 drivers/scsi/bfa/bfa_hw_cb.c 	int	fn = bfa_ioc_pcifn(&bfa->ioc);
bfa                32 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_reqq_ack_msix(struct bfa_s *bfa, int reqq)
bfa                34 drivers/scsi/bfa/bfa_hw_cb.c 	writel(__HFN_INT_CPE_Q0 << CPE_Q_NUM(bfa_ioc_pcifn(&bfa->ioc), reqq),
bfa                35 drivers/scsi/bfa/bfa_hw_cb.c 			bfa->iocfc.bfa_regs.intr_status);
bfa                46 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_rspq_ack_msix(struct bfa_s *bfa, int rspq, u32 ci)
bfa                48 drivers/scsi/bfa/bfa_hw_cb.c 	writel(__HFN_INT_RME_Q0 << RME_Q_NUM(bfa_ioc_pcifn(&bfa->ioc), rspq),
bfa                49 drivers/scsi/bfa/bfa_hw_cb.c 		bfa->iocfc.bfa_regs.intr_status);
bfa                51 drivers/scsi/bfa/bfa_hw_cb.c 	if (bfa_rspq_ci(bfa, rspq) == ci)
bfa                54 drivers/scsi/bfa/bfa_hw_cb.c 	bfa_rspq_ci(bfa, rspq) = ci;
bfa                55 drivers/scsi/bfa/bfa_hw_cb.c 	writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]);
bfa                59 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci)
bfa                61 drivers/scsi/bfa/bfa_hw_cb.c 	if (bfa_rspq_ci(bfa, rspq) == ci)
bfa                64 drivers/scsi/bfa/bfa_hw_cb.c 	bfa_rspq_ci(bfa, rspq) = ci;
bfa                65 drivers/scsi/bfa/bfa_hw_cb.c 	writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]);
bfa                69 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_msix_getvecs(struct bfa_s *bfa, u32 *msix_vecs_bmap,
bfa                73 drivers/scsi/bfa/bfa_hw_cb.c 	if (bfa_ioc_pcifn(&bfa->ioc) == 0) {
bfa                98 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_msix_dummy(struct bfa_s *bfa, int vec)
bfa               106 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_msix_init(struct bfa_s *bfa, int nvecs)
bfa               110 drivers/scsi/bfa/bfa_hw_cb.c 	bfa->msix.nvecs = nvecs;
bfa               111 drivers/scsi/bfa/bfa_hw_cb.c 	bfa_hwcb_msix_uninstall(bfa);
bfa               115 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_msix_ctrl_install(struct bfa_s *bfa)
bfa               119 drivers/scsi/bfa/bfa_hw_cb.c 	if (bfa->msix.nvecs == 0)
bfa               122 drivers/scsi/bfa/bfa_hw_cb.c 	if (bfa->msix.nvecs == 1) {
bfa               124 drivers/scsi/bfa/bfa_hw_cb.c 			bfa->msix.handler[i] = bfa_msix_all;
bfa               129 drivers/scsi/bfa/bfa_hw_cb.c 		bfa->msix.handler[i] = bfa_msix_lpu_err;
bfa               133 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_msix_queue_install(struct bfa_s *bfa)
bfa               137 drivers/scsi/bfa/bfa_hw_cb.c 	if (bfa->msix.nvecs == 0)
bfa               140 drivers/scsi/bfa/bfa_hw_cb.c 	if (bfa->msix.nvecs == 1) {
bfa               142 drivers/scsi/bfa/bfa_hw_cb.c 			bfa->msix.handler[i] = bfa_msix_all;
bfa               147 drivers/scsi/bfa/bfa_hw_cb.c 		bfa->msix.handler[i] = bfa_msix_reqq;
bfa               150 drivers/scsi/bfa/bfa_hw_cb.c 		bfa->msix.handler[i] = bfa_msix_rspq;
bfa               154 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_msix_uninstall(struct bfa_s *bfa)
bfa               159 drivers/scsi/bfa/bfa_hw_cb.c 		bfa->msix.handler[i] = bfa_hwcb_msix_dummy;
bfa               166 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_isr_mode_set(struct bfa_s *bfa, bfa_boolean_t msix)
bfa               169 drivers/scsi/bfa/bfa_hw_cb.c 		bfa->iocfc.hwif.hw_reqq_ack = bfa_hwcb_reqq_ack_msix;
bfa               170 drivers/scsi/bfa/bfa_hw_cb.c 		bfa->iocfc.hwif.hw_rspq_ack = bfa_hwcb_rspq_ack_msix;
bfa               172 drivers/scsi/bfa/bfa_hw_cb.c 		bfa->iocfc.hwif.hw_reqq_ack = NULL;
bfa               173 drivers/scsi/bfa/bfa_hw_cb.c 		bfa->iocfc.hwif.hw_rspq_ack = bfa_hwcb_rspq_ack;
bfa               178 drivers/scsi/bfa/bfa_hw_cb.c bfa_hwcb_msix_get_rme_range(struct bfa_s *bfa, u32 *start, u32 *end)
bfa                21 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct_msix_dummy(struct bfa_s *bfa, int vec)
bfa                26 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct_reginit(struct bfa_s *bfa)
bfa                28 drivers/scsi/bfa/bfa_hw_ct.c 	struct bfa_iocfc_regs_s	*bfa_regs = &bfa->iocfc.bfa_regs;
bfa                29 drivers/scsi/bfa/bfa_hw_ct.c 	void __iomem *kva = bfa_ioc_bar0(&bfa->ioc);
bfa                30 drivers/scsi/bfa/bfa_hw_ct.c 	int	fn = bfa_ioc_pcifn(&bfa->ioc);
bfa                42 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct2_reginit(struct bfa_s *bfa)
bfa                44 drivers/scsi/bfa/bfa_hw_ct.c 	struct bfa_iocfc_regs_s *bfa_regs = &bfa->iocfc.bfa_regs;
bfa                45 drivers/scsi/bfa/bfa_hw_ct.c 	void __iomem	*kva = bfa_ioc_bar0(&bfa->ioc);
bfa                52 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct_reqq_ack(struct bfa_s *bfa, int reqq)
bfa                56 drivers/scsi/bfa/bfa_hw_ct.c 	r32 = readl(bfa->iocfc.bfa_regs.cpe_q_ctrl[reqq]);
bfa                57 drivers/scsi/bfa/bfa_hw_ct.c 	writel(r32, bfa->iocfc.bfa_regs.cpe_q_ctrl[reqq]);
bfa                67 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci)
bfa                71 drivers/scsi/bfa/bfa_hw_ct.c 	r32 = readl(bfa->iocfc.bfa_regs.rme_q_ctrl[rspq]);
bfa                72 drivers/scsi/bfa/bfa_hw_ct.c 	writel(r32, bfa->iocfc.bfa_regs.rme_q_ctrl[rspq]);
bfa                74 drivers/scsi/bfa/bfa_hw_ct.c 	bfa_rspq_ci(bfa, rspq) = ci;
bfa                75 drivers/scsi/bfa/bfa_hw_ct.c 	writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]);
bfa                84 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct2_rspq_ack(struct bfa_s *bfa, int rspq, u32 ci)
bfa                86 drivers/scsi/bfa/bfa_hw_ct.c 	bfa_rspq_ci(bfa, rspq) = ci;
bfa                87 drivers/scsi/bfa/bfa_hw_ct.c 	writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]);
bfa                91 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct_msix_getvecs(struct bfa_s *bfa, u32 *msix_vecs_bmap,
bfa               103 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct_msix_init(struct bfa_s *bfa, int nvecs)
bfa               106 drivers/scsi/bfa/bfa_hw_ct.c 	bfa_trc(bfa, nvecs);
bfa               108 drivers/scsi/bfa/bfa_hw_ct.c 	bfa->msix.nvecs = nvecs;
bfa               109 drivers/scsi/bfa/bfa_hw_ct.c 	bfa_hwct_msix_uninstall(bfa);
bfa               113 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct_msix_ctrl_install(struct bfa_s *bfa)
bfa               115 drivers/scsi/bfa/bfa_hw_ct.c 	if (bfa->msix.nvecs == 0)
bfa               118 drivers/scsi/bfa/bfa_hw_ct.c 	if (bfa->msix.nvecs == 1)
bfa               119 drivers/scsi/bfa/bfa_hw_ct.c 		bfa->msix.handler[BFI_MSIX_LPU_ERR_CT] = bfa_msix_all;
bfa               121 drivers/scsi/bfa/bfa_hw_ct.c 		bfa->msix.handler[BFI_MSIX_LPU_ERR_CT] = bfa_msix_lpu_err;
bfa               125 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct_msix_queue_install(struct bfa_s *bfa)
bfa               129 drivers/scsi/bfa/bfa_hw_ct.c 	if (bfa->msix.nvecs == 0)
bfa               132 drivers/scsi/bfa/bfa_hw_ct.c 	if (bfa->msix.nvecs == 1) {
bfa               134 drivers/scsi/bfa/bfa_hw_ct.c 			bfa->msix.handler[i] = bfa_msix_all;
bfa               139 drivers/scsi/bfa/bfa_hw_ct.c 		bfa->msix.handler[i] = bfa_msix_reqq;
bfa               142 drivers/scsi/bfa/bfa_hw_ct.c 		bfa->msix.handler[i] = bfa_msix_rspq;
bfa               146 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct_msix_uninstall(struct bfa_s *bfa)
bfa               151 drivers/scsi/bfa/bfa_hw_ct.c 		bfa->msix.handler[i] = bfa_hwct_msix_dummy;
bfa               158 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct_isr_mode_set(struct bfa_s *bfa, bfa_boolean_t msix)
bfa               160 drivers/scsi/bfa/bfa_hw_ct.c 	bfa_trc(bfa, 0);
bfa               161 drivers/scsi/bfa/bfa_hw_ct.c 	bfa_ioc_isr_mode_set(&bfa->ioc, msix);
bfa               165 drivers/scsi/bfa/bfa_hw_ct.c bfa_hwct_msix_get_rme_range(struct bfa_s *bfa, u32 *start, u32 *end)
bfa               337 drivers/scsi/bfa/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               344 drivers/scsi/bfa/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               392 drivers/scsi/bfa/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               414 drivers/scsi/bfa/bfa_ioc.c 	struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad;
bfa               416 drivers/scsi/bfa/bfa_ioc.c 	ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_OK);
bfa               462 drivers/scsi/bfa/bfa_ioc.c 	struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad;
bfa               520 drivers/scsi/bfa/bfa_ioc.c 		ioc->cbfn->disable_cbfn(ioc->bfa);
bfa               558 drivers/scsi/bfa/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               565 drivers/scsi/bfa/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               604 drivers/scsi/bfa/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               640 drivers/scsi/bfa/bfa_ioc.c 		ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa               644 drivers/scsi/bfa/bfa_ioc.c 		ioc->cbfn->disable_cbfn(ioc->bfa);
bfa               949 drivers/scsi/bfa/bfa_ioc.c 	iocpf->ioc->cbfn->reset_cbfn(iocpf->ioc->bfa);
bfa              1321 drivers/scsi/bfa/bfa_ioc.c 	ioc->cbfn->disable_cbfn(ioc->bfa);
bfa              1989 drivers/scsi/bfa/bfa_ioc.c 		mod->mbhdlr[mc].cbarg = ioc->bfa;
bfa              2155 drivers/scsi/bfa/bfa_ioc.c 	struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad;
bfa              2160 drivers/scsi/bfa/bfa_ioc.c 	ioc->cbfn->hbfail_cbfn(ioc->bfa);
bfa              2174 drivers/scsi/bfa/bfa_ioc.c 	struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad;
bfa              2178 drivers/scsi/bfa/bfa_ioc.c 	ioc->cbfn->enable_cbfn(ioc->bfa, BFA_STATUS_IOC_FAILURE);
bfa              2362 drivers/scsi/bfa/bfa_ioc.c bfa_ioc_attach(struct bfa_ioc_s *ioc, void *bfa, struct bfa_ioc_cbfn_s *cbfn,
bfa              2365 drivers/scsi/bfa/bfa_ioc.c 	ioc->bfa	= bfa;
bfa              2913 drivers/scsi/bfa/bfa_ioc.c 	struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad;
bfa              3711 drivers/scsi/bfa/bfa_ioc.c 	struct bfad_s *bfad = (struct bfad_s *)sfp->ioc->bfa->bfad;
bfa              4196 drivers/scsi/bfa/bfa_ioc.c 	struct bfad_s *bfad = (struct bfad_s *)ioc->bfa->bfad;
bfa              5854 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(dconf->bfa, event);
bfa              5859 drivers/scsi/bfa/bfa_ioc.c 			bfa_trc(dconf->bfa, dconf->min_cfg);
bfa              5860 drivers/scsi/bfa/bfa_ioc.c 			bfa_fsm_send_event(&dconf->bfa->iocfc,
bfa              5865 drivers/scsi/bfa/bfa_ioc.c 		bfa_timer_start(dconf->bfa, &dconf->timer,
bfa              5867 drivers/scsi/bfa/bfa_ioc.c 		bfa_status = bfa_flash_read_part(BFA_FLASH(dconf->bfa),
bfa              5871 drivers/scsi/bfa/bfa_ioc.c 					bfa_dconf_init_cb, dconf->bfa);
bfa              5874 drivers/scsi/bfa/bfa_ioc.c 			bfa_dconf_init_cb(dconf->bfa, BFA_STATUS_FAILED);
bfa              5880 drivers/scsi/bfa/bfa_ioc.c 		bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE);
bfa              5886 drivers/scsi/bfa/bfa_ioc.c 		bfa_sm_fault(dconf->bfa, event);
bfa              5897 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(dconf->bfa, event);
bfa              5906 drivers/scsi/bfa/bfa_ioc.c 		bfa_ioc_suspend(&dconf->bfa->ioc);
bfa              5911 drivers/scsi/bfa/bfa_ioc.c 		bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE);
bfa              5918 drivers/scsi/bfa/bfa_ioc.c 		bfa_sm_fault(dconf->bfa, event);
bfa              5928 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(dconf->bfa, event);
bfa              5932 drivers/scsi/bfa/bfa_ioc.c 		bfa_timer_start(dconf->bfa, &dconf->timer,
bfa              5938 drivers/scsi/bfa/bfa_ioc.c 		bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE);
bfa              5944 drivers/scsi/bfa/bfa_ioc.c 		bfa_sm_fault(dconf->bfa, event);
bfa              5955 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(dconf->bfa, event);
bfa              5964 drivers/scsi/bfa/bfa_ioc.c 		bfa_timer_start(dconf->bfa, &dconf->timer,
bfa              5969 drivers/scsi/bfa/bfa_ioc.c 		bfa_timer_start(dconf->bfa, &dconf->timer,
bfa              5981 drivers/scsi/bfa/bfa_ioc.c 		bfa_sm_fault(dconf->bfa, event);
bfa              5992 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(dconf->bfa, event);
bfa              6001 drivers/scsi/bfa/bfa_ioc.c 		bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE);
bfa              6004 drivers/scsi/bfa/bfa_ioc.c 		bfa_sm_fault(dconf->bfa, event);
bfa              6011 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(dconf->bfa, event);
bfa              6018 drivers/scsi/bfa/bfa_ioc.c 		bfa_timer_start(dconf->bfa, &dconf->timer,
bfa              6023 drivers/scsi/bfa/bfa_ioc.c 		bfa_timer_start(dconf->bfa, &dconf->timer,
bfa              6031 drivers/scsi/bfa/bfa_ioc.c 		bfa_sm_fault(dconf->bfa, event);
bfa              6039 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(dconf->bfa, event);
bfa              6043 drivers/scsi/bfa/bfa_ioc.c 		bfa_timer_start(dconf->bfa, &dconf->timer,
bfa              6049 drivers/scsi/bfa/bfa_ioc.c 		bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE);
bfa              6054 drivers/scsi/bfa/bfa_ioc.c 		bfa_sm_fault(dconf->bfa, event);
bfa              6063 drivers/scsi/bfa/bfa_ioc.c 		  struct bfa_s *bfa)
bfa              6065 drivers/scsi/bfa/bfa_ioc.c 	struct bfa_mem_kva_s *dconf_kva = BFA_MEM_DCONF_KVA(bfa);
bfa              6076 drivers/scsi/bfa/bfa_ioc.c bfa_dconf_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg)
bfa              6078 drivers/scsi/bfa/bfa_ioc.c 	struct bfa_dconf_mod_s *dconf = BFA_DCONF_MOD(bfa);
bfa              6081 drivers/scsi/bfa/bfa_ioc.c 	dconf->bfa = bfa;
bfa              6082 drivers/scsi/bfa/bfa_ioc.c 	dconf->instance = bfa->ioc.port_id;
bfa              6083 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(bfa, dconf->instance);
bfa              6094 drivers/scsi/bfa/bfa_ioc.c 	bfa_dconf_read_data_valid(bfa) = BFA_FALSE;
bfa              6101 drivers/scsi/bfa/bfa_ioc.c 	struct bfa_s *bfa = arg;
bfa              6102 drivers/scsi/bfa/bfa_ioc.c 	struct bfa_dconf_mod_s *dconf = BFA_DCONF_MOD(bfa);
bfa              6105 drivers/scsi/bfa/bfa_ioc.c 		bfa_dconf_read_data_valid(bfa) = BFA_TRUE;
bfa              6112 drivers/scsi/bfa/bfa_ioc.c 	bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_DCONF_DONE);
bfa              6116 drivers/scsi/bfa/bfa_ioc.c bfa_dconf_modinit(struct bfa_s *bfa)
bfa              6118 drivers/scsi/bfa/bfa_ioc.c 	struct bfa_dconf_mod_s *dconf = BFA_DCONF_MOD(bfa);
bfa              6129 drivers/scsi/bfa/bfa_ioc.c bfa_dconf_iocdisable(struct bfa_s *bfa)
bfa              6131 drivers/scsi/bfa/bfa_ioc.c 	struct bfa_dconf_mod_s *dconf = BFA_DCONF_MOD(bfa);
bfa              6139 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(dconf->bfa, 0);
bfa              6141 drivers/scsi/bfa/bfa_ioc.c 	bfa_status = bfa_flash_update_part(BFA_FLASH(dconf->bfa),
bfa              6147 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(dconf->bfa, bfa_status);
bfa              6153 drivers/scsi/bfa/bfa_ioc.c bfa_dconf_update(struct bfa_s *bfa)
bfa              6155 drivers/scsi/bfa/bfa_ioc.c 	struct bfa_dconf_mod_s *dconf = BFA_DCONF_MOD(bfa);
bfa              6156 drivers/scsi/bfa/bfa_ioc.c 	bfa_trc(dconf->bfa, 0);
bfa              6161 drivers/scsi/bfa/bfa_ioc.c 		bfa_trc(dconf->bfa, dconf->min_cfg);
bfa              6178 drivers/scsi/bfa/bfa_ioc.c bfa_dconf_modexit(struct bfa_s *bfa)
bfa              6180 drivers/scsi/bfa/bfa_ioc.c 	struct bfa_dconf_mod_s *dconf = BFA_DCONF_MOD(bfa);
bfa               249 drivers/scsi/bfa/bfa_ioc.h typedef void (*bfa_ioc_enable_cbfn_t)(void *bfa, enum bfa_status status);
bfa               250 drivers/scsi/bfa/bfa_ioc.h typedef void (*bfa_ioc_disable_cbfn_t)(void *bfa);
bfa               251 drivers/scsi/bfa/bfa_ioc.h typedef void (*bfa_ioc_hbfail_cbfn_t)(void *bfa);
bfa               252 drivers/scsi/bfa/bfa_ioc.h typedef void (*bfa_ioc_reset_cbfn_t)(void *bfa);
bfa               295 drivers/scsi/bfa/bfa_ioc.h 	struct bfa_s		*bfa;
bfa               784 drivers/scsi/bfa/bfa_ioc.h 	struct bfa_s		*bfa;
bfa               800 drivers/scsi/bfa/bfa_ioc.h void	bfa_dconf_modinit(struct bfa_s *bfa);
bfa               801 drivers/scsi/bfa/bfa_ioc.h void	bfa_dconf_modexit(struct bfa_s *bfa);
bfa               802 drivers/scsi/bfa/bfa_ioc.h bfa_status_t	bfa_dconf_update(struct bfa_s *bfa);
bfa               878 drivers/scsi/bfa/bfa_ioc.h void bfa_ioc_attach(struct bfa_ioc_s *ioc, void *bfa,
bfa                83 drivers/scsi/bfa/bfa_modules.h void bfa_fcp_iocdisable(struct bfa_s *bfa);
bfa                99 drivers/scsi/bfa/bfa_modules.h void bfa_fcdiag_attach(struct bfa_s *bfa, void *, struct bfa_iocfc_cfg_s *,
bfa               102 drivers/scsi/bfa/bfa_modules.h void bfa_lps_iocdisable(struct bfa_s *bfa);
bfa               107 drivers/scsi/bfa/bfa_modules.h void bfa_rport_iocdisable(struct bfa_s *bfa);
bfa                39 drivers/scsi/bfa/bfa_svc.c #define BFA_PORT_IS_DISABLED(bfa) \
bfa                40 drivers/scsi/bfa/bfa_svc.c 	((bfa_fcport_is_disabled(bfa) == BFA_TRUE) || \
bfa                41 drivers/scsi/bfa/bfa_svc.c 	(bfa_ioc_is_disabled(&bfa->ioc) == BFA_TRUE))
bfa                77 drivers/scsi/bfa/bfa_svc.c 	if ((__rp)->bfa->fcs)						\
bfa                80 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_queue((__rp)->bfa, &(__rp)->hcb_qe,		\
bfa                86 drivers/scsi/bfa/bfa_svc.c 	if ((__rp)->bfa->fcs)						\
bfa                89 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_queue((__rp)->bfa, &(__rp)->hcb_qe,		\
bfa                98 drivers/scsi/bfa/bfa_svc.c static void	hal_fcxp_rx_plog(struct bfa_s *bfa, struct bfa_fcxp_s *fcxp,
bfa               100 drivers/scsi/bfa/bfa_svc.c static void	hal_fcxp_tx_plog(struct bfa_s *bfa, u32 reqlen,
bfa               109 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_login_rsp(struct bfa_s *bfa,
bfa               112 drivers/scsi/bfa/bfa_svc.c static void bfa_lps_logout_rsp(struct bfa_s *bfa,
bfa               153 drivers/scsi/bfa/bfa_svc.c static void bfa_trunk_iocdisable(struct bfa_s *bfa);
bfa               453 drivers/scsi/bfa/bfa_svc.c 		struct bfa_s *bfa)
bfa               455 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcxp_mod_s *fcxp_mod = BFA_FCXP_MOD(bfa);
bfa               456 drivers/scsi/bfa/bfa_svc.c 	struct bfa_mem_kva_s *fcxp_kva = BFA_MEM_FCXP_KVA(bfa);
bfa               490 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg,
bfa               493 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcxp_mod_s *mod = BFA_FCXP_MOD(bfa);
bfa               495 drivers/scsi/bfa/bfa_svc.c 	mod->bfa = bfa;
bfa               512 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_iocdisable(struct bfa_s *bfa)
bfa               514 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcxp_mod_s *mod = BFA_FCXP_MOD(bfa);
bfa               530 drivers/scsi/bfa/bfa_svc.c 			bfa_cb_queue(bfa, &fcxp->hcb_qe,
bfa               554 drivers/scsi/bfa/bfa_svc.c 	       struct bfa_s *bfa,
bfa               565 drivers/scsi/bfa/bfa_svc.c 	WARN_ON(bfa == NULL);
bfa               567 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcxp->fcxp_tag);
bfa               592 drivers/scsi/bfa/bfa_svc.c 	       void *caller, struct bfa_s *bfa, int nreq_sgles,
bfa               599 drivers/scsi/bfa/bfa_svc.c 	WARN_ON(bfa == NULL);
bfa               601 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcxp->fcxp_tag);
bfa               605 drivers/scsi/bfa/bfa_svc.c 	bfa_fcxp_init_reqrsp(fcxp, bfa,
bfa               610 drivers/scsi/bfa/bfa_svc.c 	bfa_fcxp_init_reqrsp(fcxp, bfa,
bfa               629 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(mod->bfa, fcxp->fcxp_tag);
bfa               631 drivers/scsi/bfa/bfa_svc.c 		bfa_fcxp_init(fcxp, wqe->caller, wqe->bfa, wqe->nreq_sgles,
bfa               672 drivers/scsi/bfa/bfa_svc.c hal_fcxp_send_comp(struct bfa_s *bfa, struct bfi_fcxp_send_rsp_s *fcxp_rsp)
bfa               674 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcxp_mod_s	*mod = BFA_FCXP_MOD(bfa);
bfa               678 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcxp_tag);
bfa               695 drivers/scsi/bfa/bfa_svc.c 	hal_fcxp_rx_plog(mod->bfa, fcxp, fcxp_rsp);
bfa               698 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(mod->bfa, (NULL == fcxp->caller));
bfa               713 drivers/scsi/bfa/bfa_svc.c 			bfa_cb_queue(bfa, &fcxp->hcb_qe,
bfa               717 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(bfa, (NULL == fcxp->send_cbfn));
bfa               722 drivers/scsi/bfa/bfa_svc.c hal_fcxp_tx_plog(struct bfa_s *bfa, u32 reqlen, struct bfa_fcxp_s *fcxp,
bfa               733 drivers/scsi/bfa/bfa_svc.c 			bfa_plog_fchdr_and_pl(bfa->plog, BFA_PL_MID_HAL_FCXP,
bfa               738 drivers/scsi/bfa/bfa_svc.c 			bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP,
bfa               744 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP, BFA_PL_EID_TX,
bfa               750 drivers/scsi/bfa/bfa_svc.c hal_fcxp_rx_plog(struct bfa_s *bfa, struct bfa_fcxp_s *fcxp,
bfa               758 drivers/scsi/bfa/bfa_svc.c 			bfa_plog_fchdr_and_pl(bfa->plog, BFA_PL_MID_HAL_FCXP,
bfa               763 drivers/scsi/bfa/bfa_svc.c 			bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP,
bfa               769 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_FCXP, BFA_PL_EID_RX,
bfa               781 drivers/scsi/bfa/bfa_svc.c 	struct bfa_s			*bfa = fcxp->fcxp_mod->bfa;
bfa               785 drivers/scsi/bfa/bfa_svc.c 	send_req = bfa_reqq_next(bfa, BFA_REQQ_FCXP);
bfa               795 drivers/scsi/bfa/bfa_svc.c 	struct bfa_s			*bfa = fcxp->fcxp_mod->bfa;
bfa               801 drivers/scsi/bfa/bfa_svc.c 		    bfa_fn_lpu(bfa));
bfa               815 drivers/scsi/bfa/bfa_svc.c 	send_req->lp_fwtag = bfa_lps_get_fwtag(bfa, reqi->lp_tag);
bfa               861 drivers/scsi/bfa/bfa_svc.c 	hal_fcxp_tx_plog(bfa, reqi->req_tot_len, fcxp, &reqi->fchs);
bfa               863 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(bfa, BFA_REQQ_FCXP, send_req->mh);
bfa               865 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, bfa_reqq_pi(bfa, BFA_REQQ_FCXP));
bfa               866 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, bfa_reqq_ci(bfa, BFA_REQQ_FCXP));
bfa               895 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_req_rsp_alloc(void *caller, struct bfa_s *bfa, int nreq_sgles,
bfa               903 drivers/scsi/bfa/bfa_svc.c 	WARN_ON(bfa == NULL);
bfa               905 drivers/scsi/bfa/bfa_svc.c 	fcxp = bfa_fcxp_get(BFA_FCXP_MOD(bfa), req);
bfa               909 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcxp->fcxp_tag);
bfa               911 drivers/scsi/bfa/bfa_svc.c 	bfa_fcxp_init(fcxp, caller, bfa, nreq_sgles, nrsp_sgles, req_sga_cbfn,
bfa               979 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(mod->bfa, fcxp->fcxp_tag);
bfa              1010 drivers/scsi/bfa/bfa_svc.c 	struct bfa_s			*bfa  = fcxp->fcxp_mod->bfa;
bfa              1015 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcxp->fcxp_tag);
bfa              1035 drivers/scsi/bfa/bfa_svc.c 	send_req = bfa_reqq_next(bfa, BFA_REQQ_FCXP);
bfa              1037 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(bfa, fcxp->fcxp_tag);
bfa              1039 drivers/scsi/bfa/bfa_svc.c 		bfa_reqq_wait(bfa, BFA_REQQ_FCXP, &fcxp->reqq_wqe);
bfa              1056 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcxp->fcxp_mod->bfa, fcxp->fcxp_tag);
bfa              1062 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_req_rsp_alloc_wait(struct bfa_s *bfa, struct bfa_fcxp_wqe_s *wqe,
bfa              1070 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcxp_mod_s *mod = BFA_FCXP_MOD(bfa);
bfa              1080 drivers/scsi/bfa/bfa_svc.c 	wqe->bfa = bfa;
bfa              1095 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_walloc_cancel(struct bfa_s *bfa, struct bfa_fcxp_wqe_s *wqe)
bfa              1097 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcxp_mod_s *mod = BFA_FCXP_MOD(bfa);
bfa              1122 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_isr(struct bfa_s *bfa, struct bfi_msg_s *msg)
bfa              1126 drivers/scsi/bfa/bfa_svc.c 		hal_fcxp_send_comp(bfa, (struct bfi_fcxp_send_rsp_s *) msg);
bfa              1130 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(bfa, msg->mhdr.msg_id);
bfa              1136 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_get_maxrsp(struct bfa_s *bfa)
bfa              1138 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcxp_mod_s *mod = BFA_FCXP_MOD(bfa);
bfa              1144 drivers/scsi/bfa/bfa_svc.c bfa_fcxp_res_recfg(struct bfa_s *bfa, u16 num_fcxp_fw)
bfa              1146 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcxp_mod_s	*mod = BFA_FCXP_MOD(bfa);
bfa              1171 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, lps->bfa_tag);
bfa              1172 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, event);
bfa              1176 drivers/scsi/bfa/bfa_svc.c 		if (bfa_reqq_full(lps->bfa, lps->reqq)) {
bfa              1178 drivers/scsi/bfa/bfa_svc.c 			bfa_reqq_wait(lps->bfa, lps->reqq, &lps->wqe);
bfa              1185 drivers/scsi/bfa/bfa_svc.c 			bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
bfa              1188 drivers/scsi/bfa/bfa_svc.c 			bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
bfa              1219 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(lps->bfa, event);
bfa              1229 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, lps->bfa_tag);
bfa              1230 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, event);
bfa              1237 drivers/scsi/bfa/bfa_svc.c 				bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
bfa              1240 drivers/scsi/bfa/bfa_svc.c 				bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
bfa              1243 drivers/scsi/bfa/bfa_svc.c 			bfa_trc(lps->bfa, lps->fport);
bfa              1244 drivers/scsi/bfa/bfa_svc.c 			bfa_trc(lps->bfa, lps->lp_pid);
bfa              1251 drivers/scsi/bfa/bfa_svc.c 				bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
bfa              1255 drivers/scsi/bfa/bfa_svc.c 				bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
bfa              1268 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(lps->bfa, lps->fport);
bfa              1269 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(lps->bfa, lps->lp_pid);
bfa              1273 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(lps->bfa, event);
bfa              1283 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, lps->bfa_tag);
bfa              1284 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, event);
bfa              1307 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(lps->bfa, event);
bfa              1317 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, lps->bfa_tag);
bfa              1318 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, event);
bfa              1322 drivers/scsi/bfa/bfa_svc.c 		if (bfa_reqq_full(lps->bfa, lps->reqq)) {
bfa              1324 drivers/scsi/bfa/bfa_svc.c 			bfa_reqq_wait(lps->bfa, lps->reqq, &lps->wqe);
bfa              1329 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
bfa              1338 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
bfa              1343 drivers/scsi/bfa/bfa_svc.c 		if (bfa_reqq_full(lps->bfa, lps->reqq)) {
bfa              1345 drivers/scsi/bfa/bfa_svc.c 			bfa_reqq_wait(lps->bfa, lps->reqq, &lps->wqe);
bfa              1356 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(lps->bfa, event);
bfa              1366 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, lps->bfa_tag);
bfa              1367 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, event);
bfa              1377 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
bfa              1387 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(lps->bfa->plog, BFA_PL_MID_LPS,
bfa              1398 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(lps->bfa, event);
bfa              1408 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, lps->bfa_tag);
bfa              1409 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, event);
bfa              1423 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(lps->bfa, event);
bfa              1433 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, lps->bfa_tag);
bfa              1434 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, event);
bfa              1449 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(lps->bfa, event);
bfa              1464 drivers/scsi/bfa/bfa_svc.c 		struct bfa_s *bfa)
bfa              1466 drivers/scsi/bfa/bfa_svc.c 	struct bfa_mem_kva_s *lps_kva = BFA_MEM_LPS_KVA(bfa);
bfa              1480 drivers/scsi/bfa/bfa_svc.c bfa_lps_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg,
bfa              1483 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s	*mod = BFA_LPS_MOD(bfa);
bfa              1501 drivers/scsi/bfa/bfa_svc.c 		lps->bfa	= bfa;
bfa              1513 drivers/scsi/bfa/bfa_svc.c bfa_lps_iocdisable(struct bfa_s *bfa)
bfa              1515 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s	*mod = BFA_LPS_MOD(bfa);
bfa              1534 drivers/scsi/bfa/bfa_svc.c bfa_lps_login_rsp(struct bfa_s *bfa, struct bfi_lps_login_rsp_s *rsp)
bfa              1536 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s	*mod = BFA_LPS_MOD(bfa);
bfa              1589 drivers/scsi/bfa/bfa_svc.c 	struct bfa_s		*bfa = first_lps->bfa;
bfa              1590 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s	*mod = BFA_LPS_MOD(bfa);
bfa              1594 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, count);
bfa              1601 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(bfa, lps->bfa_tag);
bfa              1615 drivers/scsi/bfa/bfa_svc.c bfa_lps_logout_rsp(struct bfa_s *bfa, struct bfi_lps_logout_rsp_s *rsp)
bfa              1617 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s	*mod = BFA_LPS_MOD(bfa);
bfa              1630 drivers/scsi/bfa/bfa_svc.c bfa_lps_rx_cvl_event(struct bfa_s *bfa, struct bfi_lps_cvl_event_s *cvl)
bfa              1632 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s	*mod = BFA_LPS_MOD(bfa);
bfa              1657 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s	*mod = BFA_LPS_MOD(lps->bfa);
bfa              1670 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s	*mod = BFA_LPS_MOD(lps->bfa);
bfa              1673 drivers/scsi/bfa/bfa_svc.c 	m = bfa_reqq_next(lps->bfa, lps->reqq);
bfa              1677 drivers/scsi/bfa/bfa_svc.c 		bfa_fn_lpu(lps->bfa));
bfa              1687 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(lps->bfa, lps->reqq, m->mh);
bfa              1700 drivers/scsi/bfa/bfa_svc.c 	m = bfa_reqq_next(lps->bfa, lps->reqq);
bfa              1704 drivers/scsi/bfa/bfa_svc.c 		bfa_fn_lpu(lps->bfa));
bfa              1708 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(lps->bfa, lps->reqq, m->mh);
bfa              1719 drivers/scsi/bfa/bfa_svc.c 	m = bfa_reqq_next(lps->bfa, lps->reqq);
bfa              1723 drivers/scsi/bfa/bfa_svc.c 		bfa_fn_lpu(lps->bfa));
bfa              1727 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(lps->bfa, lps->reqq, m->mh);
bfa              1742 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_lps_fdisc_comp(lps->bfa->bfad, lps->uarg, lps->status);
bfa              1744 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_lps_flogi_comp(lps->bfa->bfad, lps->uarg, lps->status);
bfa              1753 drivers/scsi/bfa/bfa_svc.c 	if (!lps->bfa->fcs) {
bfa              1754 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_queue(lps->bfa, &lps->hcb_qe, bfa_lps_login_comp_cb,
bfa              1760 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_lps_fdisc_comp(lps->bfa->bfad, lps->uarg, lps->status);
bfa              1762 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_lps_flogi_comp(lps->bfa->bfad, lps->uarg, lps->status);
bfa              1777 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_lps_fdisclogo_comp(lps->bfa->bfad, lps->uarg);
bfa              1779 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_lps_flogo_comp(lps->bfa->bfad, lps->uarg);
bfa              1788 drivers/scsi/bfa/bfa_svc.c 	if (!lps->bfa->fcs) {
bfa              1789 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_queue(lps->bfa, &lps->hcb_qe, bfa_lps_logout_comp_cb,
bfa              1794 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_lps_fdisclogo_comp(lps->bfa->bfad, lps->uarg);
bfa              1810 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_lps_cvl_event(lps->bfa->bfad, lps->uarg);
bfa              1820 drivers/scsi/bfa/bfa_svc.c 	if (!lps->bfa->fcs) {
bfa              1821 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_queue(lps->bfa, &lps->hcb_qe, bfa_lps_cvl_event_cb,
bfa              1828 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_lps_cvl_event(lps->bfa->bfad, lps->uarg);
bfa              1838 drivers/scsi/bfa/bfa_svc.c bfa_lps_get_max_vport(struct bfa_s *bfa)
bfa              1840 drivers/scsi/bfa/bfa_svc.c 	if (bfa_ioc_devid(&bfa->ioc) == BFA_PCI_DEVICE_ID_CT)
bfa              1850 drivers/scsi/bfa/bfa_svc.c bfa_lps_alloc(struct bfa_s *bfa)
bfa              1852 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s	*mod = BFA_LPS_MOD(bfa);
bfa              1921 drivers/scsi/bfa/bfa_svc.c bfa_lps_get_fwtag(struct bfa_s *bfa, u8 lp_tag)
bfa              1923 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s    *mod = BFA_LPS_MOD(bfa);
bfa              1932 drivers/scsi/bfa/bfa_svc.c bfa_lps_get_tag_from_pid(struct bfa_s *bfa, u32 pid)
bfa              1934 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s	*mod = BFA_LPS_MOD(bfa);
bfa              1952 drivers/scsi/bfa/bfa_svc.c bfa_lps_get_base_pid(struct bfa_s *bfa)
bfa              1954 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s	*mod = BFA_LPS_MOD(bfa);
bfa              1965 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, lps->bfa_tag);
bfa              1966 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(lps->bfa, n2n_pid);
bfa              1976 drivers/scsi/bfa/bfa_svc.c bfa_lps_isr(struct bfa_s *bfa, struct bfi_msg_s *m)
bfa              1980 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, m->mhdr.msg_id);
bfa              1985 drivers/scsi/bfa/bfa_svc.c 		bfa_lps_login_rsp(bfa, msg.login_rsp);
bfa              1989 drivers/scsi/bfa/bfa_svc.c 		bfa_lps_logout_rsp(bfa, msg.logout_rsp);
bfa              1993 drivers/scsi/bfa/bfa_svc.c 		bfa_lps_rx_cvl_event(bfa, msg.cvl_event);
bfa              1997 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(bfa, m->mhdr.msg_id);
bfa              2005 drivers/scsi/bfa/bfa_svc.c 	struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad;
bfa              2012 drivers/scsi/bfa/bfa_svc.c 	aen_entry->aen_data.port.ioc_type = bfa_get_type(fcport->bfa);
bfa              2016 drivers/scsi/bfa/bfa_svc.c 	bfad_im_post_vendor_event(aen_entry, bfad, ++fcport->bfa->bfa_aen_seq,
bfa              2027 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2037 drivers/scsi/bfa/bfa_svc.c 			bfa_trc(fcport->bfa, BFA_TRUE);
bfa              2040 drivers/scsi/bfa/bfa_svc.c 			bfa_trc(fcport->bfa, BFA_FALSE);
bfa              2067 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(fcport->bfa, event);
bfa              2076 drivers/scsi/bfa/bfa_svc.c 	struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad;
bfa              2077 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2103 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              2131 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(fcport->bfa, event);
bfa              2140 drivers/scsi/bfa/bfa_svc.c 	struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad;
bfa              2141 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2170 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              2193 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(fcport->bfa, event);
bfa              2203 drivers/scsi/bfa/bfa_svc.c 	struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad;
bfa              2205 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2212 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              2214 drivers/scsi/bfa/bfa_svc.c 		if (!bfa_ioc_get_fcmode(&fcport->bfa->ioc)) {
bfa              2216 drivers/scsi/bfa/bfa_svc.c 			bfa_trc(fcport->bfa,
bfa              2218 drivers/scsi/bfa/bfa_svc.c 			bfa_trc(fcport->bfa,
bfa              2222 drivers/scsi/bfa/bfa_svc.c 				bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              2226 drivers/scsi/bfa/bfa_svc.c 				bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              2262 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              2285 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(fcport->bfa, event);
bfa              2294 drivers/scsi/bfa/bfa_svc.c 	struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad;
bfa              2296 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2314 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              2329 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              2332 drivers/scsi/bfa/bfa_svc.c 		if (BFA_PORT_IS_DISABLED(fcport->bfa)) {
bfa              2348 drivers/scsi/bfa/bfa_svc.c 		if (BFA_PORT_IS_DISABLED(fcport->bfa)) {
bfa              2365 drivers/scsi/bfa/bfa_svc.c 		if (BFA_PORT_IS_DISABLED(fcport->bfa)) {
bfa              2384 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(fcport->bfa, event);
bfa              2392 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2435 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(fcport->bfa, event);
bfa              2443 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2482 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(fcport->bfa, event);
bfa              2491 drivers/scsi/bfa/bfa_svc.c 	struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad;
bfa              2492 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2512 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              2537 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(fcport->bfa, event);
bfa              2546 drivers/scsi/bfa/bfa_svc.c 	struct bfad_s *bfad = (struct bfad_s *)fcport->bfa->bfad;
bfa              2547 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2567 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              2594 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(fcport->bfa, event);
bfa              2602 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2628 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2654 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2676 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2701 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(fcport->bfa, event);
bfa              2709 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2735 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(fcport->bfa, event);
bfa              2743 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, event);
bfa              2762 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              2778 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(fcport->bfa, event);
bfa              2789 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(ln->fcport->bfa, event);
bfa              2798 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(ln->fcport->bfa, event);
bfa              2809 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(ln->fcport->bfa, event);
bfa              2821 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(ln->fcport->bfa, event);
bfa              2832 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(ln->fcport->bfa, event);
bfa              2845 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(ln->fcport->bfa, event);
bfa              2856 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(ln->fcport->bfa, event);
bfa              2865 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(ln->fcport->bfa, event);
bfa              2876 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(ln->fcport->bfa, event);
bfa              2888 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(ln->fcport->bfa, event);
bfa              2899 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(ln->fcport->bfa, event);
bfa              2912 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(ln->fcport->bfa, event);
bfa              2923 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(ln->fcport->bfa, event);
bfa              2936 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(ln->fcport->bfa, event);
bfa              2979 drivers/scsi/bfa/bfa_svc.c 	if (fcport->bfa->fcs) {
bfa              2984 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_queue(fcport->bfa, &ln->ln_qe,
bfa              2994 drivers/scsi/bfa/bfa_svc.c 		   struct bfa_s *bfa)
bfa              2996 drivers/scsi/bfa/bfa_svc.c 	struct bfa_mem_dma_s *fcport_dma = BFA_MEM_FCPORT_DMA(bfa);
bfa              3024 drivers/scsi/bfa/bfa_svc.c bfa_fcport_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg,
bfa              3027 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3031 drivers/scsi/bfa/bfa_svc.c 	fcport->bfa = bfa;
bfa              3067 drivers/scsi/bfa/bfa_svc.c bfa_fcport_start(struct bfa_s *bfa)
bfa              3069 drivers/scsi/bfa/bfa_svc.c 	bfa_sm_send_event(BFA_FCPORT_MOD(bfa), BFA_FCPORT_SM_START);
bfa              3076 drivers/scsi/bfa/bfa_svc.c bfa_fcport_iocdisable(struct bfa_s *bfa)
bfa              3078 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3081 drivers/scsi/bfa/bfa_svc.c 	bfa_trunk_iocdisable(bfa);
bfa              3133 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, fcport->speed);
bfa              3134 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, fcport->topology);
bfa              3162 drivers/scsi/bfa/bfa_svc.c 	m = bfa_reqq_next(fcport->bfa, BFA_REQQ_PORT);
bfa              3164 drivers/scsi/bfa/bfa_svc.c 		bfa_reqq_wait(fcport->bfa, BFA_REQQ_PORT,
bfa              3170 drivers/scsi/bfa/bfa_svc.c 			bfa_fn_lpu(fcport->bfa));
bfa              3178 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, m->stats_dma_addr.a32.addr_lo);
bfa              3179 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, m->stats_dma_addr.a32.addr_hi);
bfa              3184 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(fcport->bfa, BFA_REQQ_PORT, m->mh);
bfa              3205 drivers/scsi/bfa/bfa_svc.c 	m = bfa_reqq_next(fcport->bfa, BFA_REQQ_PORT);
bfa              3207 drivers/scsi/bfa/bfa_svc.c 		bfa_reqq_wait(fcport->bfa, BFA_REQQ_PORT,
bfa              3213 drivers/scsi/bfa/bfa_svc.c 			bfa_fn_lpu(fcport->bfa));
bfa              3219 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(fcport->bfa, BFA_REQQ_PORT, m->mh);
bfa              3227 drivers/scsi/bfa/bfa_svc.c 	fcport->pwwn = fcport->bfa->ioc.attr->pwwn;
bfa              3228 drivers/scsi/bfa/bfa_svc.c 	fcport->nwwn = fcport->bfa->ioc.attr->nwwn;
bfa              3230 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, fcport->pwwn);
bfa              3231 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, fcport->nwwn);
bfa              3284 drivers/scsi/bfa/bfa_svc.c 				if (bfa_ioc_get_fcmode(&fcport->bfa->ioc))
bfa              3294 drivers/scsi/bfa/bfa_svc.c 			bfa_cb_queue_status(fcport->bfa, &cb->hcb_qe,
bfa              3309 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, fcport->stats_qfull);
bfa              3326 drivers/scsi/bfa/bfa_svc.c 	msg = bfa_reqq_next(fcport->bfa, BFA_REQQ_PORT);
bfa              3332 drivers/scsi/bfa/bfa_svc.c 		bfa_reqq_wait(fcport->bfa, BFA_REQQ_PORT,
bfa              3340 drivers/scsi/bfa/bfa_svc.c 			bfa_fn_lpu(fcport->bfa));
bfa              3341 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(fcport->bfa, BFA_REQQ_PORT, msg->mh);
bfa              3359 drivers/scsi/bfa/bfa_svc.c 			bfa_cb_queue_status(fcport->bfa, &cb->hcb_qe,
bfa              3374 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, fcport->stats_qfull);
bfa              3391 drivers/scsi/bfa/bfa_svc.c 	msg = bfa_reqq_next(fcport->bfa, BFA_REQQ_PORT);
bfa              3397 drivers/scsi/bfa/bfa_svc.c 		bfa_reqq_wait(fcport->bfa, BFA_REQQ_PORT,
bfa              3405 drivers/scsi/bfa/bfa_svc.c 			bfa_fn_lpu(fcport->bfa));
bfa              3406 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(fcport->bfa, BFA_REQQ_PORT, msg->mh);
bfa              3422 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, fcport->cfg.trunked);
bfa              3426 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, trunk->attr.state);
bfa              3427 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, scn->trunk_state);
bfa              3428 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(fcport->bfa, scn->trunk_speed);
bfa              3453 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(fcport->bfa, lattr->link_state);
bfa              3454 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(fcport->bfa, lattr->trunk_wwn);
bfa              3455 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(fcport->bfa, lattr->fctl);
bfa              3456 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(fcport->bfa, lattr->speed);
bfa              3457 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(fcport->bfa, lattr->deskew);
bfa              3462 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              3466 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              3470 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              3474 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_str(fcport->bfa->plog, BFA_PL_MID_HAL,
bfa              3489 drivers/scsi/bfa/bfa_svc.c bfa_trunk_iocdisable(struct bfa_s *bfa)
bfa              3491 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3520 drivers/scsi/bfa/bfa_svc.c bfa_fcport_init(struct bfa_s *bfa)
bfa              3522 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3529 drivers/scsi/bfa/bfa_svc.c 		fcport->cfg.maxfrsize = bfa_ioc_maxfrsize(&bfa->ioc);
bfa              3530 drivers/scsi/bfa/bfa_svc.c 	fcport->cfg.rx_bbcredit = bfa_ioc_rx_bbcredit(&bfa->ioc);
bfa              3531 drivers/scsi/bfa/bfa_svc.c 	fcport->speed_sup = bfa_ioc_speed_sup(&bfa->ioc);
bfa              3533 drivers/scsi/bfa/bfa_svc.c 	if (bfa_fcport_is_pbcdisabled(bfa))
bfa              3534 drivers/scsi/bfa/bfa_svc.c 		bfa->modules.port.pbc_disabled = BFA_TRUE;
bfa              3545 drivers/scsi/bfa/bfa_svc.c bfa_fcport_isr(struct bfa_s *bfa, struct bfi_msg_s *msg)
bfa              3547 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3553 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, msg->mhdr.msg_id);
bfa              3554 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, bfa_sm_to_state(hal_port_sm_table, fcport->sm));
bfa              3672 drivers/scsi/bfa/bfa_svc.c bfa_fcport_event_register(struct bfa_s *bfa,
bfa              3677 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3684 drivers/scsi/bfa/bfa_svc.c bfa_fcport_enable(struct bfa_s *bfa)
bfa              3686 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3688 drivers/scsi/bfa/bfa_svc.c 	if (bfa_fcport_is_pbcdisabled(bfa))
bfa              3691 drivers/scsi/bfa/bfa_svc.c 	if (bfa_ioc_is_disabled(&bfa->ioc))
bfa              3697 drivers/scsi/bfa/bfa_svc.c 	bfa_sm_send_event(BFA_FCPORT_MOD(bfa), BFA_FCPORT_SM_ENABLE);
bfa              3702 drivers/scsi/bfa/bfa_svc.c bfa_fcport_disable(struct bfa_s *bfa)
bfa              3704 drivers/scsi/bfa/bfa_svc.c 	if (bfa_fcport_is_pbcdisabled(bfa))
bfa              3707 drivers/scsi/bfa/bfa_svc.c 	if (bfa_ioc_is_disabled(&bfa->ioc))
bfa              3710 drivers/scsi/bfa/bfa_svc.c 	bfa_sm_send_event(BFA_FCPORT_MOD(bfa), BFA_FCPORT_SM_DISABLE);
bfa              3716 drivers/scsi/bfa/bfa_svc.c bfa_fcport_is_pbcdisabled(struct bfa_s *bfa)
bfa              3718 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3719 drivers/scsi/bfa/bfa_svc.c 	struct bfa_iocfc_s *iocfc = &bfa->iocfc;
bfa              3723 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(bfa, fcport->pwwn);
bfa              3733 drivers/scsi/bfa/bfa_svc.c bfa_fcport_cfg_speed(struct bfa_s *bfa, enum bfa_port_speed speed)
bfa              3735 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3737 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, speed);
bfa              3745 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(bfa, fcport->speed_sup);
bfa              3750 drivers/scsi/bfa/bfa_svc.c 	if (bfa_ioc_get_type(&fcport->bfa->ioc) == BFA_IOC_TYPE_FC) {
bfa              3753 drivers/scsi/bfa/bfa_svc.c 		    (bfa_asic_id_ct2(bfa->ioc.pcidev.device_id)))
bfa              3778 drivers/scsi/bfa/bfa_svc.c bfa_fcport_get_speed(struct bfa_s *bfa)
bfa              3780 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3789 drivers/scsi/bfa/bfa_svc.c bfa_fcport_cfg_topology(struct bfa_s *bfa, enum bfa_port_topology topology)
bfa              3791 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3793 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, topology);
bfa              3794 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcport->cfg.topology);
bfa              3801 drivers/scsi/bfa/bfa_svc.c 		if ((bfa_fcport_is_qos_enabled(bfa) != BFA_FALSE) ||
bfa              3806 drivers/scsi/bfa/bfa_svc.c 		if ((bfa_fcport_is_trunk_enabled(bfa) != BFA_FALSE) ||
bfa              3809 drivers/scsi/bfa/bfa_svc.c 		if ((bfa_fcport_get_speed(bfa) == BFA_PORT_SPEED_16GBPS) ||
bfa              3812 drivers/scsi/bfa/bfa_svc.c 		if (bfa_mfg_is_mezz(bfa->ioc.attr->card_type))
bfa              3814 drivers/scsi/bfa/bfa_svc.c 		if (bfa_fcport_is_dport(bfa) != BFA_FALSE)
bfa              3816 drivers/scsi/bfa/bfa_svc.c 		if (bfa_fcport_is_ddport(bfa) != BFA_FALSE)
bfa              3835 drivers/scsi/bfa/bfa_svc.c bfa_fcport_get_topology(struct bfa_s *bfa)
bfa              3837 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3846 drivers/scsi/bfa/bfa_svc.c bfa_fcport_get_cfg_topology(struct bfa_s *bfa)
bfa              3848 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3854 drivers/scsi/bfa/bfa_svc.c bfa_fcport_cfg_hardalpa(struct bfa_s *bfa, u8 alpa)
bfa              3856 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3858 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, alpa);
bfa              3859 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcport->cfg.cfg_hardalpa);
bfa              3860 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcport->cfg.hardalpa);
bfa              3869 drivers/scsi/bfa/bfa_svc.c bfa_fcport_clr_hardalpa(struct bfa_s *bfa)
bfa              3871 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3873 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcport->cfg.cfg_hardalpa);
bfa              3874 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcport->cfg.hardalpa);
bfa              3881 drivers/scsi/bfa/bfa_svc.c bfa_fcport_get_hardalpa(struct bfa_s *bfa, u8 *alpa)
bfa              3883 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3890 drivers/scsi/bfa/bfa_svc.c bfa_fcport_get_myalpa(struct bfa_s *bfa)
bfa              3892 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3898 drivers/scsi/bfa/bfa_svc.c bfa_fcport_cfg_maxfrsize(struct bfa_s *bfa, u16 maxfrsize)
bfa              3900 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3902 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, maxfrsize);
bfa              3903 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcport->cfg.maxfrsize);
bfa              3918 drivers/scsi/bfa/bfa_svc.c bfa_fcport_get_maxfrsize(struct bfa_s *bfa)
bfa              3920 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3926 drivers/scsi/bfa/bfa_svc.c bfa_fcport_get_rx_bbcredit(struct bfa_s *bfa)
bfa              3928 drivers/scsi/bfa/bfa_svc.c 	if (bfa_fcport_get_topology(bfa) != BFA_PORT_TOPOLOGY_LOOP)
bfa              3929 drivers/scsi/bfa/bfa_svc.c 		return (BFA_FCPORT_MOD(bfa))->cfg.rx_bbcredit;
bfa              3936 drivers/scsi/bfa/bfa_svc.c bfa_fcport_set_tx_bbcredit(struct bfa_s *bfa, u16 tx_bbcredit)
bfa              3938 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3948 drivers/scsi/bfa/bfa_svc.c bfa_fcport_get_wwn(struct bfa_s *bfa, bfa_boolean_t node)
bfa              3950 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3958 drivers/scsi/bfa/bfa_svc.c bfa_fcport_get_attr(struct bfa_s *bfa, struct bfa_port_attr_s *attr)
bfa              3960 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              3967 drivers/scsi/bfa/bfa_svc.c 	attr->factorypwwn =  bfa->ioc.attr->mfg_pwwn;
bfa              3968 drivers/scsi/bfa/bfa_svc.c 	attr->factorynwwn =  bfa->ioc.attr->mfg_nwwn;
bfa              3987 drivers/scsi/bfa/bfa_svc.c 	attr->pport_cfg.path_tov  = bfa_fcpim_path_tov_get(bfa);
bfa              3988 drivers/scsi/bfa/bfa_svc.c 	attr->pport_cfg.q_depth  = bfa_fcpim_qdepth_get(bfa);
bfa              3994 drivers/scsi/bfa/bfa_svc.c 	if (bfa_fcport_is_pbcdisabled(bfa))
bfa              3997 drivers/scsi/bfa/bfa_svc.c 		if (bfa_ioc_is_disabled(&fcport->bfa->ioc))
bfa              3999 drivers/scsi/bfa/bfa_svc.c 		else if (bfa_ioc_fw_mismatch(&fcport->bfa->ioc))
bfa              4013 drivers/scsi/bfa/bfa_svc.c bfa_fcport_get_stats(struct bfa_s *bfa, struct bfa_cb_pending_q_s *cb)
bfa              4015 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4017 drivers/scsi/bfa/bfa_svc.c 	if (!bfa_iocfc_is_operational(bfa) ||
bfa              4027 drivers/scsi/bfa/bfa_svc.c 		bfa_timer_start(bfa, &fcport->timer,
bfa              4040 drivers/scsi/bfa/bfa_svc.c bfa_fcport_clear_stats(struct bfa_s *bfa, struct bfa_cb_pending_q_s *cb)
bfa              4042 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4044 drivers/scsi/bfa/bfa_svc.c 	if (!bfa_iocfc_is_operational(bfa) ||
bfa              4054 drivers/scsi/bfa/bfa_svc.c 		bfa_timer_start(bfa, &fcport->timer,
bfa              4067 drivers/scsi/bfa/bfa_svc.c bfa_fcport_is_disabled(struct bfa_s *bfa)
bfa              4069 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4077 drivers/scsi/bfa/bfa_svc.c bfa_fcport_is_dport(struct bfa_s *bfa)
bfa              4079 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4086 drivers/scsi/bfa/bfa_svc.c bfa_fcport_is_ddport(struct bfa_s *bfa)
bfa              4088 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4095 drivers/scsi/bfa/bfa_svc.c bfa_fcport_set_qos_bw(struct bfa_s *bfa, struct bfa_qos_bw_s *qos_bw)
bfa              4097 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4098 drivers/scsi/bfa/bfa_svc.c 	enum bfa_ioc_type_e ioc_type = bfa_get_type(bfa);
bfa              4100 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, ioc_type);
bfa              4120 drivers/scsi/bfa/bfa_svc.c bfa_fcport_is_ratelim(struct bfa_s *bfa)
bfa              4122 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4132 drivers/scsi/bfa/bfa_svc.c bfa_fcport_cfg_faa(struct bfa_s *bfa, u8 state)
bfa              4134 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4136 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, state);
bfa              4144 drivers/scsi/bfa/bfa_svc.c bfa_fcport_get_ratelim_speed(struct bfa_s *bfa)
bfa              4146 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4148 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcport->cfg.trl_def_speed);
bfa              4157 drivers/scsi/bfa/bfa_svc.c 	struct bfa_s *bfa = dev;
bfa              4158 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4160 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, beacon);
bfa              4161 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, link_e2e_beacon);
bfa              4162 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcport->beacon);
bfa              4163 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, fcport->link_e2e_beacon);
bfa              4170 drivers/scsi/bfa/bfa_svc.c bfa_fcport_is_linkup(struct bfa_s *bfa)
bfa              4172 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4181 drivers/scsi/bfa/bfa_svc.c bfa_fcport_is_qos_enabled(struct bfa_s *bfa)
bfa              4183 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4189 drivers/scsi/bfa/bfa_svc.c bfa_fcport_is_trunk_enabled(struct bfa_s *bfa)
bfa              4191 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4197 drivers/scsi/bfa/bfa_svc.c bfa_fcport_cfg_bbcr(struct bfa_s *bfa, bfa_boolean_t on_off, u8 bb_scn)
bfa              4199 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4201 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, on_off);
bfa              4203 drivers/scsi/bfa/bfa_svc.c 	if (bfa_ioc_get_type(&fcport->bfa->ioc) != BFA_IOC_TYPE_FC)
bfa              4206 drivers/scsi/bfa/bfa_svc.c 	if (bfa_mfg_is_mezz(bfa->ioc.attr->card_type) &&
bfa              4207 drivers/scsi/bfa/bfa_svc.c 		(bfa->ioc.attr->card_type != BFA_MFG_TYPE_CHINOOK))
bfa              4221 drivers/scsi/bfa/bfa_svc.c 			(fcport->cfg.speed < bfa_ioc_speed_sup(&bfa->ioc)))
bfa              4224 drivers/scsi/bfa/bfa_svc.c 		if (bfa_ioc_speed_sup(&bfa->ioc) < BFA_PORT_SPEED_8GBPS)
bfa              4251 drivers/scsi/bfa/bfa_svc.c bfa_fcport_get_bbcr_attr(struct bfa_s *bfa,
bfa              4254 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(bfa);
bfa              4256 drivers/scsi/bfa/bfa_svc.c 	if (bfa_ioc_get_type(&fcport->bfa->ioc) != BFA_IOC_TYPE_FC)
bfa              4268 drivers/scsi/bfa/bfa_svc.c bfa_fcport_dportenable(struct bfa_s *bfa)
bfa              4273 drivers/scsi/bfa/bfa_svc.c 	bfa_sm_send_event(BFA_FCPORT_MOD(bfa), BFA_FCPORT_SM_DPORTENABLE);
bfa              4274 drivers/scsi/bfa/bfa_svc.c 	bfa_port_set_dportenabled(&bfa->modules.port, BFA_TRUE);
bfa              4278 drivers/scsi/bfa/bfa_svc.c bfa_fcport_dportdisable(struct bfa_s *bfa)
bfa              4283 drivers/scsi/bfa/bfa_svc.c 	bfa_sm_send_event(BFA_FCPORT_MOD(bfa), BFA_FCPORT_SM_DPORTDISABLE);
bfa              4284 drivers/scsi/bfa/bfa_svc.c 	bfa_port_set_dportenabled(&bfa->modules.port, BFA_FALSE);
bfa              4288 drivers/scsi/bfa/bfa_svc.c bfa_fcport_ddportenable(struct bfa_s *bfa)
bfa              4293 drivers/scsi/bfa/bfa_svc.c 	bfa_sm_send_event(BFA_FCPORT_MOD(bfa), BFA_FCPORT_SM_DDPORTENABLE);
bfa              4297 drivers/scsi/bfa/bfa_svc.c bfa_fcport_ddportdisable(struct bfa_s *bfa)
bfa              4302 drivers/scsi/bfa/bfa_svc.c 	bfa_sm_send_event(BFA_FCPORT_MOD(bfa), BFA_FCPORT_SM_DDPORTDISABLE);
bfa              4314 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, rp->rport_tag);
bfa              4315 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, event);
bfa              4325 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(rp->bfa, event);
bfa              4332 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, rp->rport_tag);
bfa              4333 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, event);
bfa              4357 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(rp->bfa, event);
bfa              4367 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, rp->rport_tag);
bfa              4368 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, event);
bfa              4394 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(rp->bfa, event);
bfa              4404 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, rp->rport_tag);
bfa              4405 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, event);
bfa              4435 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(rp->bfa, event);
bfa              4447 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, rp->rport_tag);
bfa              4448 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, event);
bfa              4479 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(rp->bfa, qos_scn->old_qos_attr.qos_flow_id);
bfa              4480 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(rp->bfa, qos_scn->new_qos_attr.qos_flow_id);
bfa              4481 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(rp->bfa, qos_scn->old_qos_attr.qos_priority);
bfa              4482 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(rp->bfa, qos_scn->new_qos_attr.qos_priority);
bfa              4503 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(rp->bfa, event);
bfa              4513 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, rp->rport_tag);
bfa              4514 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, event);
bfa              4536 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(rp->bfa, event);
bfa              4543 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, rp->rport_tag);
bfa              4544 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, event);
bfa              4566 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(rp->bfa, event);
bfa              4576 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, rp->rport_tag);
bfa              4577 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, event);
bfa              4605 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(rp->bfa, event);
bfa              4615 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, rp->rport_tag);
bfa              4616 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, event);
bfa              4632 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(rp->bfa, event);
bfa              4639 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, rp->rport_tag);
bfa              4640 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, event);
bfa              4657 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(rp->bfa, event);
bfa              4668 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, rp->rport_tag);
bfa              4669 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, event);
bfa              4688 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(rp->bfa, event);
bfa              4699 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, rp->rport_tag);
bfa              4700 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, event);
bfa              4724 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(rp->bfa, event);
bfa              4734 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, rp->rport_tag);
bfa              4735 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(rp->bfa, event);
bfa              4762 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(rp->bfa, event);
bfa              4800 drivers/scsi/bfa/bfa_svc.c 		struct bfa_s *bfa)
bfa              4802 drivers/scsi/bfa/bfa_svc.c 	struct bfa_mem_kva_s *rport_kva = BFA_MEM_RPORT_KVA(bfa);
bfa              4813 drivers/scsi/bfa/bfa_svc.c bfa_rport_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg,
bfa              4816 drivers/scsi/bfa/bfa_svc.c 	struct bfa_rport_mod_s *mod = BFA_RPORT_MOD(bfa);
bfa              4833 drivers/scsi/bfa/bfa_svc.c 		rp->bfa = bfa;
bfa              4853 drivers/scsi/bfa/bfa_svc.c bfa_rport_iocdisable(struct bfa_s *bfa)
bfa              4855 drivers/scsi/bfa/bfa_svc.c 	struct bfa_rport_mod_s *mod = BFA_RPORT_MOD(bfa);
bfa              4883 drivers/scsi/bfa/bfa_svc.c 	struct bfa_rport_mod_s *mod = BFA_RPORT_MOD(rport->bfa);
bfa              4898 drivers/scsi/bfa/bfa_svc.c 	m = bfa_reqq_next(rp->bfa, BFA_REQQ_RPORT);
bfa              4900 drivers/scsi/bfa/bfa_svc.c 		bfa_reqq_wait(rp->bfa, BFA_REQQ_RPORT, &rp->reqq_wait);
bfa              4905 drivers/scsi/bfa/bfa_svc.c 			bfa_fn_lpu(rp->bfa));
bfa              4909 drivers/scsi/bfa/bfa_svc.c 	m->lp_fwtag = bfa_lps_get_fwtag(rp->bfa, (u8)rp->rport_info.lp_tag);
bfa              4919 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(rp->bfa, BFA_REQQ_RPORT, m->mh);
bfa              4931 drivers/scsi/bfa/bfa_svc.c 	m = bfa_reqq_next(rp->bfa, BFA_REQQ_RPORT);
bfa              4933 drivers/scsi/bfa/bfa_svc.c 		bfa_reqq_wait(rp->bfa, BFA_REQQ_RPORT, &rp->reqq_wait);
bfa              4938 drivers/scsi/bfa/bfa_svc.c 			bfa_fn_lpu(rp->bfa));
bfa              4944 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(rp->bfa, BFA_REQQ_RPORT, m->mh);
bfa              4956 drivers/scsi/bfa/bfa_svc.c 	m = bfa_reqq_next(rp->bfa, BFA_REQQ_RPORT);
bfa              4958 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(rp->bfa, rp->rport_info.speed);
bfa              4963 drivers/scsi/bfa/bfa_svc.c 			bfa_fn_lpu(rp->bfa));
bfa              4970 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(rp->bfa, BFA_REQQ_RPORT, m->mh);
bfa              4984 drivers/scsi/bfa/bfa_svc.c bfa_rport_isr(struct bfa_s *bfa, struct bfi_msg_s *m)
bfa              4989 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, m->mhdr.msg_id);
bfa              4995 drivers/scsi/bfa/bfa_svc.c 		rp = BFA_RPORT_FROM_TAG(bfa, msg.create_rsp->bfa_handle);
bfa              4998 drivers/scsi/bfa/bfa_svc.c 		bfa_rport_set_lunmask(bfa, rp);
bfa              5004 drivers/scsi/bfa/bfa_svc.c 		rp = BFA_RPORT_FROM_TAG(bfa, msg.delete_rsp->bfa_handle);
bfa              5006 drivers/scsi/bfa/bfa_svc.c 		bfa_rport_unset_lunmask(bfa, rp);
bfa              5011 drivers/scsi/bfa/bfa_svc.c 		rp = BFA_RPORT_FROM_TAG(bfa, msg.qos_scn_evt->bfa_handle);
bfa              5017 drivers/scsi/bfa/bfa_svc.c 		bfa_fcport_update_loop_info(BFA_FCPORT_MOD(bfa),
bfa              5019 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_rport_scn_online(bfa);
bfa              5023 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_rport_scn_offline(bfa);
bfa              5027 drivers/scsi/bfa/bfa_svc.c 		rp = BFA_RPORT_FROM_TAG(bfa, msg.lip_scn->bfa_handle);
bfa              5032 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(bfa, m->mhdr.msg_id);
bfa              5038 drivers/scsi/bfa/bfa_svc.c bfa_rport_res_recfg(struct bfa_s *bfa, u16 num_rport_fw)
bfa              5040 drivers/scsi/bfa/bfa_svc.c 	struct bfa_rport_mod_s	*mod = BFA_RPORT_MOD(bfa);
bfa              5055 drivers/scsi/bfa/bfa_svc.c bfa_rport_create(struct bfa_s *bfa, void *rport_drv)
bfa              5059 drivers/scsi/bfa/bfa_svc.c 	rp = bfa_rport_alloc(BFA_RPORT_MOD(bfa));
bfa              5064 drivers/scsi/bfa/bfa_svc.c 	rp->bfa = bfa;
bfa              5084 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(rport->bfa, rport->rport_tag);
bfa              5106 drivers/scsi/bfa/bfa_svc.c bfa_rport_set_lunmask(struct bfa_s *bfa, struct bfa_rport_s *rp)
bfa              5108 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s	*lps_mod = BFA_LPS_MOD(bfa);
bfa              5117 drivers/scsi/bfa/bfa_svc.c 	bfa_fcpim_lunmask_rp_update(bfa, lp_wwn, rp_wwn, rp->rport_tag, lp_tag);
bfa              5122 drivers/scsi/bfa/bfa_svc.c bfa_rport_unset_lunmask(struct bfa_s *bfa, struct bfa_rport_s *rp)
bfa              5124 drivers/scsi/bfa/bfa_svc.c 	struct bfa_lps_mod_s	*lps_mod = BFA_LPS_MOD(bfa);
bfa              5132 drivers/scsi/bfa/bfa_svc.c 	bfa_fcpim_lunmask_rp_update(bfa, lp_wwn, rp_wwn,
bfa              5145 drivers/scsi/bfa/bfa_svc.c 		struct bfa_s *bfa)
bfa              5147 drivers/scsi/bfa/bfa_svc.c 	struct bfa_sgpg_mod_s *sgpg_mod = BFA_SGPG_MOD(bfa);
bfa              5148 drivers/scsi/bfa/bfa_svc.c 	struct bfa_mem_kva_s *sgpg_kva = BFA_MEM_SGPG_KVA(bfa);
bfa              5179 drivers/scsi/bfa/bfa_svc.c bfa_sgpg_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg,
bfa              5182 drivers/scsi/bfa/bfa_svc.c 	struct bfa_sgpg_mod_s *mod = BFA_SGPG_MOD(bfa);
bfa              5198 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, cfg->drvcfg.num_sgpgs);
bfa              5242 drivers/scsi/bfa/bfa_svc.c bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs)
bfa              5244 drivers/scsi/bfa/bfa_svc.c 	struct bfa_sgpg_mod_s *mod = BFA_SGPG_MOD(bfa);
bfa              5262 drivers/scsi/bfa/bfa_svc.c bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpg)
bfa              5264 drivers/scsi/bfa/bfa_svc.c 	struct bfa_sgpg_mod_s *mod = BFA_SGPG_MOD(bfa);
bfa              5284 drivers/scsi/bfa/bfa_svc.c 		bfa_sgpg_malloc(bfa, &wqe->sgpg_q, nsgpg);
bfa              5294 drivers/scsi/bfa/bfa_svc.c bfa_sgpg_wait(struct bfa_s *bfa, struct bfa_sgpg_wqe_s *wqe, int nsgpg)
bfa              5296 drivers/scsi/bfa/bfa_svc.c 	struct bfa_sgpg_mod_s *mod = BFA_SGPG_MOD(bfa);
bfa              5320 drivers/scsi/bfa/bfa_svc.c bfa_sgpg_wcancel(struct bfa_s *bfa, struct bfa_sgpg_wqe_s *wqe)
bfa              5322 drivers/scsi/bfa/bfa_svc.c 	struct bfa_sgpg_mod_s *mod = BFA_SGPG_MOD(bfa);
bfa              5328 drivers/scsi/bfa/bfa_svc.c 		bfa_sgpg_mfree(bfa, &wqe->sgpg_q,
bfa              5353 drivers/scsi/bfa/bfa_svc.c 	struct bfa_uf_mod_s *ufm = BFA_UF_MOD(uf->bfa);
bfa              5377 drivers/scsi/bfa/bfa_svc.c 			    bfa_fn_lpu(ufm->bfa));
bfa              5403 drivers/scsi/bfa/bfa_svc.c 		uf->bfa = ufm->bfa;
bfa              5426 drivers/scsi/bfa/bfa_svc.c 		struct bfa_s *bfa)
bfa              5428 drivers/scsi/bfa/bfa_svc.c 	struct bfa_uf_mod_s *ufm = BFA_UF_MOD(bfa);
bfa              5429 drivers/scsi/bfa/bfa_svc.c 	struct bfa_mem_kva_s *uf_kva = BFA_MEM_UF_KVA(bfa);
bfa              5453 drivers/scsi/bfa/bfa_svc.c bfa_uf_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg,
bfa              5456 drivers/scsi/bfa/bfa_svc.c 	struct bfa_uf_mod_s *ufm = BFA_UF_MOD(bfa);
bfa              5458 drivers/scsi/bfa/bfa_svc.c 	ufm->bfa = bfa;
bfa              5487 drivers/scsi/bfa/bfa_svc.c 	uf_post_msg = bfa_reqq_next(ufm->bfa, BFA_REQQ_FCXP);
bfa              5493 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(ufm->bfa, BFA_REQQ_FCXP, uf_post_msg->mh);
bfa              5495 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(ufm->bfa, uf->uf_tag);
bfa              5513 drivers/scsi/bfa/bfa_svc.c uf_recv(struct bfa_s *bfa, struct bfi_uf_frm_rcvd_s *m)
bfa              5515 drivers/scsi/bfa/bfa_svc.c 	struct bfa_uf_mod_s *ufm = BFA_UF_MOD(bfa);
bfa              5539 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_fchdr(bfa->plog, BFA_PL_MID_HAL_UF, BFA_PL_EID_RX,
bfa              5543 drivers/scsi/bfa/bfa_svc.c 		bfa_plog_fchdr_and_pl(bfa->plog, BFA_PL_MID_HAL_UF,
bfa              5548 drivers/scsi/bfa/bfa_svc.c 	if (bfa->fcs)
bfa              5551 drivers/scsi/bfa/bfa_svc.c 		bfa_cb_queue(bfa, &uf->hcb_qe, __bfa_cb_uf_recv, uf);
bfa              5555 drivers/scsi/bfa/bfa_svc.c bfa_uf_iocdisable(struct bfa_s *bfa)
bfa              5557 drivers/scsi/bfa/bfa_svc.c 	struct bfa_uf_mod_s *ufm = BFA_UF_MOD(bfa);
bfa              5572 drivers/scsi/bfa/bfa_svc.c bfa_uf_start(struct bfa_s *bfa)
bfa              5574 drivers/scsi/bfa/bfa_svc.c 	bfa_uf_post_all(BFA_UF_MOD(bfa));
bfa              5585 drivers/scsi/bfa/bfa_svc.c bfa_uf_recv_register(struct bfa_s *bfa, bfa_cb_uf_recv_t ufrecv, void *cbarg)
bfa              5587 drivers/scsi/bfa/bfa_svc.c 	struct bfa_uf_mod_s *ufm = BFA_UF_MOD(bfa);
bfa              5603 drivers/scsi/bfa/bfa_svc.c 	bfa_uf_put(BFA_UF_MOD(uf->bfa), uf);
bfa              5604 drivers/scsi/bfa/bfa_svc.c 	bfa_uf_post_all(BFA_UF_MOD(uf->bfa));
bfa              5613 drivers/scsi/bfa/bfa_svc.c bfa_uf_isr(struct bfa_s *bfa, struct bfi_msg_s *msg)
bfa              5615 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(bfa, msg->mhdr.msg_id);
bfa              5619 drivers/scsi/bfa/bfa_svc.c 		uf_recv(bfa, (struct bfi_uf_frm_rcvd_s *) msg);
bfa              5623 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(bfa, msg->mhdr.msg_id);
bfa              5629 drivers/scsi/bfa/bfa_svc.c bfa_uf_res_recfg(struct bfa_s *bfa, u16 num_uf_fw)
bfa              5631 drivers/scsi/bfa/bfa_svc.c 	struct bfa_uf_mod_s	*mod = BFA_UF_MOD(bfa);
bfa              5704 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(fcdiag->bfa);
bfa              5713 drivers/scsi/bfa/bfa_svc.c bfa_fcdiag_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg,
bfa              5716 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcdiag_s *fcdiag = BFA_FCDIAG_MOD(bfa);
bfa              5719 drivers/scsi/bfa/bfa_svc.c 	fcdiag->bfa             = bfa;
bfa              5720 drivers/scsi/bfa/bfa_svc.c 	fcdiag->trcmod  = bfa->trcmod;
bfa              5722 drivers/scsi/bfa/bfa_svc.c 	dport->bfa = bfa;
bfa              5732 drivers/scsi/bfa/bfa_svc.c bfa_fcdiag_iocdisable(struct bfa_s *bfa)
bfa              5734 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcdiag_s *fcdiag = BFA_FCDIAG_MOD(bfa);
bfa              5776 drivers/scsi/bfa/bfa_svc.c 	req = bfa_reqq_next(fcdiag->bfa, fcdiag->qtest.queue);
bfa              5782 drivers/scsi/bfa/bfa_svc.c 		bfa_fn_lpu(fcdiag->bfa));
bfa              5789 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(fcdiag->bfa, fcdiag->qtest.queue, req->mh);
bfa              5876 drivers/scsi/bfa/bfa_svc.c 	lb_req = bfa_reqq_next(fcdiag->bfa, BFA_REQQ_DIAG);
bfa              5882 drivers/scsi/bfa/bfa_svc.c 		bfa_fn_lpu(fcdiag->bfa));
bfa              5890 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(fcdiag->bfa, BFA_REQQ_DIAG, lb_req->mh);
bfa              5903 drivers/scsi/bfa/bfa_svc.c bfa_fcdiag_intr(struct bfa_s *bfa, struct bfi_msg_s *msg)
bfa              5905 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcdiag_s *fcdiag = BFA_FCDIAG_MOD(bfa);
bfa              5944 drivers/scsi/bfa/bfa_svc.c bfa_fcdiag_loopback(struct bfa_s *bfa, enum bfa_port_opmode opmode,
bfa              5952 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcdiag_s *fcdiag = BFA_FCDIAG_MOD(bfa);
bfa              5954 drivers/scsi/bfa/bfa_svc.c 	if (!bfa_iocfc_is_operational(bfa))
bfa              5958 drivers/scsi/bfa/bfa_svc.c 	if (bfa_fcport_is_pbcdisabled(bfa)) {
bfa              5963 drivers/scsi/bfa/bfa_svc.c 	if (bfa_fcport_is_disabled(bfa) == BFA_FALSE) {
bfa              5971 drivers/scsi/bfa/bfa_svc.c 	if (bfa_ioc_get_type(&bfa->ioc) == BFA_IOC_TYPE_FC) {
bfa              5981 drivers/scsi/bfa/bfa_svc.c 		bfa_fcport_get_attr(bfa, &attr);
bfa              5996 drivers/scsi/bfa/bfa_svc.c 	    (bfa_asic_id_ct2(bfa->ioc.pcidev.device_id))) {
bfa              6002 drivers/scsi/bfa/bfa_svc.c 	if (bfa_mfg_is_mezz(bfa->ioc.attr->card_type)) {
bfa              6003 drivers/scsi/bfa/bfa_svc.c 		if (bfa_ioc_get_type(&bfa->ioc) == BFA_IOC_TYPE_FC) {
bfa              6017 drivers/scsi/bfa/bfa_svc.c 	if (bfa_fcport_is_dport(bfa)) {
bfa              6056 drivers/scsi/bfa/bfa_svc.c bfa_fcdiag_queuetest(struct bfa_s *bfa, u32 force, u32 queue,
bfa              6060 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcdiag_s *fcdiag = BFA_FCDIAG_MOD(bfa);
bfa              6065 drivers/scsi/bfa/bfa_svc.c 	if (!force && !bfa_iocfc_is_operational(bfa))
bfa              6099 drivers/scsi/bfa/bfa_svc.c 		bfa_timer_start(bfa, &fcdiag->qtest.timer,
bfa              6115 drivers/scsi/bfa/bfa_svc.c bfa_fcdiag_lb_is_running(struct bfa_s *bfa)
bfa              6117 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcdiag_s *fcdiag = BFA_FCDIAG_MOD(bfa);
bfa              6148 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, event);
bfa              6152 drivers/scsi/bfa/bfa_svc.c 		bfa_fcport_dportenable(dport->bfa);
bfa              6169 drivers/scsi/bfa/bfa_svc.c 			bfa_fcport_ddportenable(dport->bfa);
bfa              6174 drivers/scsi/bfa/bfa_svc.c 			bfa_trc(dport->bfa, dport->i2hmsg.scn.state);
bfa              6180 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(dport->bfa, event);
bfa              6188 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, event);
bfa              6203 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(dport->bfa, event);
bfa              6210 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, event);
bfa              6227 drivers/scsi/bfa/bfa_svc.c 		bfa_fcport_dportdisable(dport->bfa);
bfa              6237 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(dport->bfa, event);
bfa              6244 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, event);
bfa              6255 drivers/scsi/bfa/bfa_svc.c 		bfa_fcport_dportdisable(dport->bfa);
bfa              6286 drivers/scsi/bfa/bfa_svc.c 			bfa_fcport_ddportdisable(dport->bfa);
bfa              6297 drivers/scsi/bfa/bfa_svc.c 			bfa_fcport_ddportdisable(dport->bfa);
bfa              6304 drivers/scsi/bfa/bfa_svc.c 			bfa_trc(dport->bfa, dport->i2hmsg.scn.state);
bfa              6305 drivers/scsi/bfa/bfa_svc.c 			bfa_sm_fault(dport->bfa, event);
bfa              6309 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(dport->bfa, event);
bfa              6317 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, event);
bfa              6336 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(dport->bfa, event);
bfa              6343 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, event);
bfa              6361 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(dport->bfa, event);
bfa              6369 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, event);
bfa              6384 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(dport->bfa, event);
bfa              6391 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, event);
bfa              6415 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(dport->bfa, event);
bfa              6423 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, event);
bfa              6431 drivers/scsi/bfa/bfa_svc.c 			bfa_fcport_enable(dport->bfa);
bfa              6435 drivers/scsi/bfa/bfa_svc.c 			bfa_trc(dport->bfa, dport->i2hmsg.scn.state);
bfa              6436 drivers/scsi/bfa/bfa_svc.c 			bfa_sm_fault(dport->bfa, event);
bfa              6447 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(dport->bfa, event);
bfa              6455 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, event);
bfa              6474 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(dport->bfa, event);
bfa              6486 drivers/scsi/bfa/bfa_svc.c 	m = bfa_reqq_next(dport->bfa, BFA_REQQ_DIAG);
bfa              6488 drivers/scsi/bfa/bfa_svc.c 		bfa_reqq_wait(dport->bfa, BFA_REQQ_PORT, &dport->reqq_wait);
bfa              6493 drivers/scsi/bfa/bfa_svc.c 		    bfa_fn_lpu(dport->bfa));
bfa              6503 drivers/scsi/bfa/bfa_svc.c 	bfa_reqq_produce(dport->bfa, BFA_REQQ_DIAG, m->mh);
bfa              6526 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, msg->status);
bfa              6527 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, dport->rp_pwwn);
bfa              6528 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, dport->rp_nwwn);
bfa              6532 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, msg->status);
bfa              6559 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, msg->state);
bfa              6565 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, dport->result.end_time);
bfa              6568 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, dport->result.status);
bfa              6580 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, dport->result.roundtrip_latency);
bfa              6581 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, dport->result.est_cable_distance);
bfa              6582 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, dport->result.buffer_required);
bfa              6583 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, dport->result.frmsz);
bfa              6584 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, dport->result.speed);
bfa              6589 drivers/scsi/bfa/bfa_svc.c 			bfa_trc(dport->bfa, dport->result.subtest[i].status);
bfa              6615 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, subtesttype);
bfa              6616 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa,
bfa              6628 drivers/scsi/bfa/bfa_svc.c 		bfa_sm_fault(dport->bfa, msg->state);
bfa              6640 drivers/scsi/bfa/bfa_svc.c bfa_dport_enable(struct bfa_s *bfa, u32 lpcnt, u32 pat,
bfa              6643 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcdiag_s *fcdiag = BFA_FCDIAG_MOD(bfa);
bfa              6649 drivers/scsi/bfa/bfa_svc.c 	if (bfa_mfg_is_mezz(dport->bfa->ioc.attr->card_type)) {
bfa              6650 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, BFA_STATUS_PBC);
bfa              6657 drivers/scsi/bfa/bfa_svc.c 	if (!(bfa_asic_id_ct2(dport->bfa->ioc.pcidev.device_id))) {
bfa              6658 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, dport->bfa->ioc.pcidev.device_id);
bfa              6665 drivers/scsi/bfa/bfa_svc.c 	if (!bfa_iocfc_is_operational(bfa))
bfa              6669 drivers/scsi/bfa/bfa_svc.c 	if (bfa_fcport_is_pbcdisabled(bfa)) {
bfa              6670 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, BFA_STATUS_PBC);
bfa              6677 drivers/scsi/bfa/bfa_svc.c 	if (bfa_ioc_get_type(&bfa->ioc) != BFA_IOC_TYPE_FC) {
bfa              6678 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, bfa_ioc_get_type(&bfa->ioc));
bfa              6685 drivers/scsi/bfa/bfa_svc.c 	if ((bfa_fcport_get_cfg_topology(bfa) == BFA_PORT_TOPOLOGY_LOOP) ||
bfa              6686 drivers/scsi/bfa/bfa_svc.c 	    (bfa_fcport_get_topology(bfa) == BFA_PORT_TOPOLOGY_LOOP)) {
bfa              6687 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, 0);
bfa              6694 drivers/scsi/bfa/bfa_svc.c 	if (bfa_fcport_is_trunk_enabled(bfa)) {
bfa              6695 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, 0);
bfa              6702 drivers/scsi/bfa/bfa_svc.c 	if (bfa_fcdiag_lb_is_running(bfa)) {
bfa              6703 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, 0);
bfa              6710 drivers/scsi/bfa/bfa_svc.c 	if ((bfa_fcport_is_disabled(bfa) == BFA_FALSE) &&
bfa              6711 drivers/scsi/bfa/bfa_svc.c 	    (bfa_fcport_is_dport(bfa) == BFA_FALSE)) {
bfa              6712 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, 0);
bfa              6732 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, 0);
bfa              6736 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, lpcnt);
bfa              6737 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, pat);
bfa              6753 drivers/scsi/bfa/bfa_svc.c bfa_dport_disable(struct bfa_s *bfa, bfa_cb_diag_t cbfn, void *cbarg)
bfa              6755 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcdiag_s *fcdiag = BFA_FCDIAG_MOD(bfa);
bfa              6758 drivers/scsi/bfa/bfa_svc.c 	if (bfa_ioc_is_disabled(&bfa->ioc))
bfa              6762 drivers/scsi/bfa/bfa_svc.c 	if (bfa_fcport_is_pbcdisabled(bfa)) {
bfa              6763 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, BFA_STATUS_PBC);
bfa              6777 drivers/scsi/bfa/bfa_svc.c 	if ((bfa_fcport_is_disabled(bfa) == BFA_FALSE) &&
bfa              6778 drivers/scsi/bfa/bfa_svc.c 	    (bfa_fcport_is_dport(bfa) == BFA_FALSE)) {
bfa              6779 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, 0);
bfa              6793 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, 0);
bfa              6810 drivers/scsi/bfa/bfa_svc.c bfa_dport_start(struct bfa_s *bfa, u32 lpcnt, u32 pat,
bfa              6813 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcdiag_s *fcdiag = BFA_FCDIAG_MOD(bfa);
bfa              6819 drivers/scsi/bfa/bfa_svc.c 	if (!bfa_iocfc_is_operational(bfa))
bfa              6839 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, 0);
bfa              6852 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, lpcnt);
bfa              6853 drivers/scsi/bfa/bfa_svc.c 	bfa_trc(dport->bfa, pat);
bfa              6871 drivers/scsi/bfa/bfa_svc.c bfa_dport_show(struct bfa_s *bfa, struct bfa_diag_dport_result_s *result)
bfa              6873 drivers/scsi/bfa/bfa_svc.c 	struct bfa_fcdiag_s *fcdiag = BFA_FCDIAG_MOD(bfa);
bfa              6879 drivers/scsi/bfa/bfa_svc.c 	if (!bfa_iocfc_is_operational(bfa))
bfa              6892 drivers/scsi/bfa/bfa_svc.c 		bfa_trc(dport->bfa, 0);
bfa                56 drivers/scsi/bfa/bfa_svc.h 	struct bfa_s *bfa;
bfa                67 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_sgpg_malloc(struct bfa_s *bfa, struct list_head *sgpg_q,
bfa                69 drivers/scsi/bfa/bfa_svc.h void bfa_sgpg_mfree(struct bfa_s *bfa, struct list_head *sgpg_q, int nsgpgs);
bfa                72 drivers/scsi/bfa/bfa_svc.h void bfa_sgpg_wait(struct bfa_s *bfa, struct bfa_sgpg_wqe_s *wqe, int nsgpgs);
bfa                73 drivers/scsi/bfa/bfa_svc.h void bfa_sgpg_wcancel(struct bfa_s *bfa, struct bfa_sgpg_wqe_s *wqe);
bfa                90 drivers/scsi/bfa/bfa_svc.h 	struct bfa_s      *bfa;		/* backpointer to BFA */
bfa               204 drivers/scsi/bfa/bfa_svc.h 	struct bfa_s	*bfa;
bfa               227 drivers/scsi/bfa/bfa_svc.h void	bfa_fcxp_isr(struct bfa_s *bfa, struct bfi_msg_s *msg);
bfa               269 drivers/scsi/bfa/bfa_svc.h void	bfa_rport_isr(struct bfa_s *bfa, struct bfi_msg_s *msg);
bfa               270 drivers/scsi/bfa/bfa_svc.h void	bfa_rport_res_recfg(struct bfa_s *bfa, u16 num_rport_fw);
bfa               293 drivers/scsi/bfa/bfa_svc.h 	struct bfa_s	*bfa;		/*  backpointer to BFA		    */
bfa               320 drivers/scsi/bfa/bfa_svc.h 	struct bfa_s		*bfa;	/*  bfa instance		*/
bfa               357 drivers/scsi/bfa/bfa_svc.h 	struct bfa_s *bfa;		/*  back pointer to BFA */
bfa               377 drivers/scsi/bfa/bfa_svc.h void	bfa_uf_isr(struct bfa_s *bfa, struct bfi_msg_s *msg);
bfa               378 drivers/scsi/bfa/bfa_svc.h void	bfa_uf_res_recfg(struct bfa_s *bfa, u16 num_uf_fw);
bfa               385 drivers/scsi/bfa/bfa_svc.h 	struct bfa_s	*bfa;		/*  parent bfa instance	*/
bfa               433 drivers/scsi/bfa/bfa_svc.h void	bfa_lps_isr(struct bfa_s *bfa, struct bfi_msg_s *msg);
bfa               460 drivers/scsi/bfa/bfa_svc.h 	struct bfa_s		*bfa;	/*  parent BFA instance */
bfa               518 drivers/scsi/bfa/bfa_svc.h void bfa_fcport_init(struct bfa_s *bfa);
bfa               519 drivers/scsi/bfa/bfa_svc.h void bfa_fcport_isr(struct bfa_s *bfa, struct bfi_msg_s *msg);
bfa               524 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcport_enable(struct bfa_s *bfa);
bfa               525 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcport_disable(struct bfa_s *bfa);
bfa               526 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcport_cfg_speed(struct bfa_s *bfa,
bfa               528 drivers/scsi/bfa/bfa_svc.h enum bfa_port_speed bfa_fcport_get_speed(struct bfa_s *bfa);
bfa               529 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcport_cfg_topology(struct bfa_s *bfa,
bfa               531 drivers/scsi/bfa/bfa_svc.h enum bfa_port_topology bfa_fcport_get_topology(struct bfa_s *bfa);
bfa               532 drivers/scsi/bfa/bfa_svc.h enum bfa_port_topology bfa_fcport_get_cfg_topology(struct bfa_s *bfa);
bfa               533 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcport_cfg_hardalpa(struct bfa_s *bfa, u8 alpa);
bfa               534 drivers/scsi/bfa/bfa_svc.h bfa_boolean_t bfa_fcport_get_hardalpa(struct bfa_s *bfa, u8 *alpa);
bfa               535 drivers/scsi/bfa/bfa_svc.h u8 bfa_fcport_get_myalpa(struct bfa_s *bfa);
bfa               536 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcport_clr_hardalpa(struct bfa_s *bfa);
bfa               537 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcport_cfg_maxfrsize(struct bfa_s *bfa, u16 maxsize);
bfa               538 drivers/scsi/bfa/bfa_svc.h u16 bfa_fcport_get_maxfrsize(struct bfa_s *bfa);
bfa               539 drivers/scsi/bfa/bfa_svc.h u8 bfa_fcport_get_rx_bbcredit(struct bfa_s *bfa);
bfa               540 drivers/scsi/bfa/bfa_svc.h void bfa_fcport_get_attr(struct bfa_s *bfa, struct bfa_port_attr_s *attr);
bfa               541 drivers/scsi/bfa/bfa_svc.h wwn_t bfa_fcport_get_wwn(struct bfa_s *bfa, bfa_boolean_t node);
bfa               542 drivers/scsi/bfa/bfa_svc.h void bfa_fcport_event_register(struct bfa_s *bfa,
bfa               545 drivers/scsi/bfa/bfa_svc.h bfa_boolean_t bfa_fcport_is_disabled(struct bfa_s *bfa);
bfa               546 drivers/scsi/bfa/bfa_svc.h bfa_boolean_t bfa_fcport_is_dport(struct bfa_s *bfa);
bfa               547 drivers/scsi/bfa/bfa_svc.h bfa_boolean_t bfa_fcport_is_ddport(struct bfa_s *bfa);
bfa               548 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcport_set_qos_bw(struct bfa_s *bfa,
bfa               550 drivers/scsi/bfa/bfa_svc.h enum bfa_port_speed bfa_fcport_get_ratelim_speed(struct bfa_s *bfa);
bfa               552 drivers/scsi/bfa/bfa_svc.h void bfa_fcport_set_tx_bbcredit(struct bfa_s *bfa, u16 tx_bbcredit);
bfa               553 drivers/scsi/bfa/bfa_svc.h bfa_boolean_t     bfa_fcport_is_ratelim(struct bfa_s *bfa);
bfa               556 drivers/scsi/bfa/bfa_svc.h bfa_boolean_t	bfa_fcport_is_linkup(struct bfa_s *bfa);
bfa               557 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcport_get_stats(struct bfa_s *bfa,
bfa               559 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcport_clear_stats(struct bfa_s *bfa,
bfa               561 drivers/scsi/bfa/bfa_svc.h bfa_boolean_t bfa_fcport_is_qos_enabled(struct bfa_s *bfa);
bfa               562 drivers/scsi/bfa/bfa_svc.h bfa_boolean_t bfa_fcport_is_trunk_enabled(struct bfa_s *bfa);
bfa               563 drivers/scsi/bfa/bfa_svc.h void bfa_fcport_dportenable(struct bfa_s *bfa);
bfa               564 drivers/scsi/bfa/bfa_svc.h void bfa_fcport_dportdisable(struct bfa_s *bfa);
bfa               565 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcport_is_pbcdisabled(struct bfa_s *bfa);
bfa               566 drivers/scsi/bfa/bfa_svc.h void bfa_fcport_cfg_faa(struct bfa_s *bfa, u8 state);
bfa               567 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcport_cfg_bbcr(struct bfa_s *bfa,
bfa               569 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_fcport_get_bbcr_attr(struct bfa_s *bfa,
bfa               575 drivers/scsi/bfa/bfa_svc.h struct bfa_rport_s *bfa_rport_create(struct bfa_s *bfa, void *rport_drv);
bfa               584 drivers/scsi/bfa/bfa_svc.h void bfa_cb_rport_scn_online(struct bfa_s *bfa);
bfa               585 drivers/scsi/bfa/bfa_svc.h void bfa_cb_rport_scn_offline(struct bfa_s *bfa);
bfa               596 drivers/scsi/bfa/bfa_svc.h void	bfa_rport_set_lunmask(struct bfa_s *bfa, struct bfa_rport_s *rp);
bfa               597 drivers/scsi/bfa/bfa_svc.h void	bfa_rport_unset_lunmask(struct bfa_s *bfa, struct bfa_rport_s *rp);
bfa               602 drivers/scsi/bfa/bfa_svc.h struct bfa_fcxp_s *bfa_fcxp_req_rsp_alloc(void *bfad_fcxp, struct bfa_s *bfa,
bfa               609 drivers/scsi/bfa/bfa_svc.h void bfa_fcxp_req_rsp_alloc_wait(struct bfa_s *bfa, struct bfa_fcxp_wqe_s *wqe,
bfa               618 drivers/scsi/bfa/bfa_svc.h void bfa_fcxp_walloc_cancel(struct bfa_s *bfa,
bfa               636 drivers/scsi/bfa/bfa_svc.h u32 bfa_fcxp_get_maxrsp(struct bfa_s *bfa);
bfa               637 drivers/scsi/bfa/bfa_svc.h void bfa_fcxp_res_recfg(struct bfa_s *bfa, u16 num_fcxp_fw);
bfa               654 drivers/scsi/bfa/bfa_svc.h void bfa_uf_recv_register(struct bfa_s *bfa, bfa_cb_uf_recv_t ufrecv,
bfa               662 drivers/scsi/bfa/bfa_svc.h u32 bfa_lps_get_max_vport(struct bfa_s *bfa);
bfa               663 drivers/scsi/bfa/bfa_svc.h struct bfa_lps_s *bfa_lps_alloc(struct bfa_s *bfa);
bfa               672 drivers/scsi/bfa/bfa_svc.h u8 bfa_lps_get_fwtag(struct bfa_s *bfa, u8 lp_tag);
bfa               673 drivers/scsi/bfa/bfa_svc.h u32 bfa_lps_get_base_pid(struct bfa_s *bfa);
bfa               674 drivers/scsi/bfa/bfa_svc.h u8 bfa_lps_get_tag_from_pid(struct bfa_s *bfa, u32 pid);
bfa               682 drivers/scsi/bfa/bfa_svc.h bfa_status_t bfa_faa_query(struct bfa_s *bfa, struct bfa_faa_attr_s *attr,
bfa               710 drivers/scsi/bfa/bfa_svc.h 	struct bfa_s	*bfa;		/* Back pointer to BFA	*/
bfa               727 drivers/scsi/bfa/bfa_svc.h 	struct bfa_s    *bfa;           /* Back pointer to BFA */
bfa               736 drivers/scsi/bfa/bfa_svc.h void	bfa_fcdiag_intr(struct bfa_s *bfa, struct bfi_msg_s *msg);
bfa               738 drivers/scsi/bfa/bfa_svc.h bfa_status_t	bfa_fcdiag_loopback(struct bfa_s *bfa,
bfa               743 drivers/scsi/bfa/bfa_svc.h bfa_status_t	bfa_fcdiag_queuetest(struct bfa_s *bfa, u32 ignore,
bfa               746 drivers/scsi/bfa/bfa_svc.h bfa_status_t	bfa_fcdiag_lb_is_running(struct bfa_s *bfa);
bfa               747 drivers/scsi/bfa/bfa_svc.h bfa_status_t	bfa_dport_enable(struct bfa_s *bfa, u32 lpcnt, u32 pat,
bfa               749 drivers/scsi/bfa/bfa_svc.h bfa_status_t	bfa_dport_disable(struct bfa_s *bfa, bfa_cb_diag_t cbfn,
bfa               751 drivers/scsi/bfa/bfa_svc.h bfa_status_t	bfa_dport_start(struct bfa_s *bfa, u32 lpcnt, u32 pat,
bfa               753 drivers/scsi/bfa/bfa_svc.h bfa_status_t	bfa_dport_show(struct bfa_s *bfa,
bfa               215 drivers/scsi/bfa/bfad.c 		bfa_iocfc_init(&bfad->bfa);
bfa               597 drivers/scsi/bfa/bfad.c 	bfa_cfg_get_meminfo(&bfad->ioc_cfg, hal_meminfo, &bfad->bfa);
bfa               694 drivers/scsi/bfa/bfad.c 	bfa_timer_beat(&bfad->bfa.timer_mod);
bfa               696 drivers/scsi/bfa/bfad.c 	bfa_comp_deq(&bfad->bfa, &doneq);
bfa               700 drivers/scsi/bfa/bfad.c 		bfa_comp_process(&bfad->bfa, &doneq);
bfa               702 drivers/scsi/bfa/bfad.c 		bfa_comp_free(&bfad->bfa, &doneq);
bfa               831 drivers/scsi/bfa/bfad.c 	bfad->bfa.trcmod = bfad->trcmod;
bfa               832 drivers/scsi/bfa/bfad.c 	bfad->bfa.plog = &bfad->plog_buf;
bfa               837 drivers/scsi/bfa/bfad.c 	bfa_attach(&bfad->bfa, bfad, &bfad->ioc_cfg, &bfad->meminfo,
bfa               843 drivers/scsi/bfa/bfad.c 	bfa_fcs_attach(&bfad->bfa_fcs, &bfad->bfa, bfad, BFA_FALSE);
bfa               859 drivers/scsi/bfa/bfad.c 	bfa_iocfc_stop(&bfad->bfa);
bfa               864 drivers/scsi/bfa/bfad.c 	bfa_isr_disable(&bfad->bfa);
bfa               865 drivers/scsi/bfa/bfad.c 	bfa_detach(&bfad->bfa);
bfa               878 drivers/scsi/bfa/bfad.c 	bfa_iocfc_start(&bfad->bfa);
bfa               910 drivers/scsi/bfa/bfad.c 	bfa_iocfc_stop(&bfad->bfa);
bfa              1095 drivers/scsi/bfa/bfad.c 	rc = bfa_intx(&bfad->bfa);
bfa              1101 drivers/scsi/bfa/bfad.c 	bfa_comp_deq(&bfad->bfa, &doneq);
bfa              1105 drivers/scsi/bfa/bfad.c 		bfa_comp_process(&bfad->bfa, &doneq);
bfa              1108 drivers/scsi/bfa/bfad.c 		bfa_comp_free(&bfad->bfa, &doneq);
bfa              1126 drivers/scsi/bfa/bfad.c 	bfa_msix(&bfad->bfa, vec->msix.entry);
bfa              1127 drivers/scsi/bfa/bfad.c 	bfa_comp_deq(&bfad->bfa, &doneq);
bfa              1131 drivers/scsi/bfa/bfad.c 		bfa_comp_process(&bfad->bfa, &doneq);
bfa              1134 drivers/scsi/bfa/bfad.c 		bfa_comp_free(&bfad->bfa, &doneq);
bfa              1210 drivers/scsi/bfa/bfad.c 	bfa_msix_getvecs(&bfad->bfa, &mask, &num_bit, &max_bit);
bfa              1251 drivers/scsi/bfa/bfad.c 		bfa_msix_init(&bfad->bfa, bfad->nvec);
bfa              1411 drivers/scsi/bfa/bfad.c 	bfa_detach(&bfad->bfa);
bfa              1449 drivers/scsi/bfa/bfad.c 		bfa_ioc_suspend(&bfad->bfa.ioc);
bfa              1459 drivers/scsi/bfa/bfad.c 		bfa_ioc_suspend(&bfad->bfa.ioc);
bfa              1496 drivers/scsi/bfa/bfad.c 	bfa_attach(&bfad->bfa, bfad, &bfad->ioc_cfg,
bfa              1509 drivers/scsi/bfa/bfad.c 	bfa_iocfc_init(&bfad->bfa);
bfa              1591 drivers/scsi/bfa/bfad.c 	bfa_ioc_debug_save_ftrc(&bfad->bfa.ioc);
bfa               153 drivers/scsi/bfa/bfad_attr.c 	bfa_fcport_get_attr(&bfad->bfa, &attr);
bfa               209 drivers/scsi/bfa/bfad_attr.c 	bfa_fcport_get_attr(&bfad->bfa, &attr);
bfa               275 drivers/scsi/bfa/bfad_attr.c 	rc = bfa_port_get_stats(BFA_FCPORT(&bfad->bfa),
bfa               320 drivers/scsi/bfa/bfad_attr.c 	rc = bfa_port_clear_stats(BFA_FCPORT(&bfad->bfa), bfad_hcb_comp,
bfa               344 drivers/scsi/bfa/bfad_attr.c 	uint16_t path_tov = bfa_fcpim_path_tov_get(&bfad->bfa);
bfa               420 drivers/scsi/bfa/bfad_attr.c 				bfad_im_supported_speeds(&bfad->bfa);
bfa               422 drivers/scsi/bfa/bfad_attr.c 				bfa_fcport_get_maxfrsize(&bfad->bfa);
bfa               452 drivers/scsi/bfa/bfad_attr.c 	status = bfa_port_disable(&bfad->bfa.modules.port,
bfa               464 drivers/scsi/bfa/bfad_attr.c 	status = bfa_port_enable(&bfad->bfa.modules.port,
bfa               713 drivers/scsi/bfa/bfad_attr.c 	bfa_get_adapter_serial_num(&bfad->bfa, serial_num);
bfa               727 drivers/scsi/bfa/bfad_attr.c 	bfa_get_adapter_model(&bfad->bfa, model);
bfa               743 drivers/scsi/bfa/bfad_attr.c 	bfa_get_adapter_model(&bfad->bfa, model);
bfa               744 drivers/scsi/bfa/bfad_attr.c 	nports = bfa_get_nports(&bfad->bfa);
bfa               785 drivers/scsi/bfa/bfad_attr.c 		if (nports == 1 && bfa_ioc_is_cna(&bfad->bfa.ioc))
bfa               788 drivers/scsi/bfa/bfad_attr.c 		else if (nports == 1 && !bfa_ioc_is_cna(&bfad->bfa.ioc))
bfa               791 drivers/scsi/bfa/bfad_attr.c 		else if (nports == 2 && bfa_ioc_is_cna(&bfad->bfa.ioc))
bfa               794 drivers/scsi/bfa/bfad_attr.c 		else if (nports == 2 && !bfa_ioc_is_cna(&bfad->bfa.ioc))
bfa               798 drivers/scsi/bfa/bfad_attr.c 		if (nports == 1 && !bfa_ioc_is_cna(&bfad->bfa.ioc))
bfa               801 drivers/scsi/bfa/bfad_attr.c 		else if (nports == 2 && !bfa_ioc_is_cna(&bfad->bfa.ioc))
bfa               852 drivers/scsi/bfa/bfad_attr.c 	bfa_get_pci_chip_rev(&bfad->bfa, hw_ver);
bfa               873 drivers/scsi/bfa/bfad_attr.c 	bfa_get_adapter_optrom_ver(&bfad->bfa, optrom_ver);
bfa               887 drivers/scsi/bfa/bfad_attr.c 	bfa_get_adapter_fw_ver(&bfad->bfa, fw_ver);
bfa               901 drivers/scsi/bfa/bfad_attr.c 			bfa_get_nports(&bfad->bfa));
bfa                26 drivers/scsi/bfa/bfad_bsg.c 	if (!bfa_ioc_is_disabled(&bfad->bfa.ioc)) {
bfa                33 drivers/scsi/bfa/bfad_bsg.c 	bfa_iocfc_enable(&bfad->bfa);
bfa                48 drivers/scsi/bfa/bfad_bsg.c 	if (bfa_ioc_is_disabled(&bfad->bfa.ioc)) {
bfa                61 drivers/scsi/bfa/bfad_bsg.c 	bfa_iocfc_disable(&bfad->bfa);
bfa                81 drivers/scsi/bfa/bfad_bsg.c 	bfa_fcport_get_attr(&bfad->bfa, &pattr);
bfa                84 drivers/scsi/bfa/bfad_bsg.c 	iocmd->ioc_type = bfa_get_type(&bfad->bfa);
bfa                85 drivers/scsi/bfa/bfad_bsg.c 	iocmd->mac = bfa_get_mac(&bfad->bfa);
bfa                86 drivers/scsi/bfa/bfad_bsg.c 	iocmd->factory_mac = bfa_get_mfg_mac(&bfad->bfa);
bfa                87 drivers/scsi/bfa/bfad_bsg.c 	bfa_get_adapter_serial_num(&bfad->bfa, iocmd->serialnum);
bfa               117 drivers/scsi/bfa/bfad_bsg.c 	bfa_ioc_get_attr(&bfad->bfa.ioc, &iocmd->ioc_attr);
bfa               144 drivers/scsi/bfa/bfad_bsg.c 	bfa_ioc_get_stats(&bfad->bfa, &iocmd->ioc_stats);
bfa               167 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_ioc_fw_stats_get(&bfad->bfa.ioc, iocmd_bufptr);
bfa               186 drivers/scsi/bfa/bfad_bsg.c 		bfa_ioc_clear_stats(&bfad->bfa);
bfa               190 drivers/scsi/bfa/bfad_bsg.c 		iocmd->status = bfa_ioc_fw_stats_clear(&bfad->bfa.ioc);
bfa               217 drivers/scsi/bfa/bfad_bsg.c 	bfa_iocfc_get_attr(&bfad->bfa, &iocmd->iocfc_attr);
bfa               229 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_ioc_fwsig_invalidate(&bfad->bfa.ioc);
bfa               241 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_iocfc_israttr_set(&bfad->bfa, &iocmd->attr);
bfa               256 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_port_enable(&bfad->bfa.modules.port,
bfa               277 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_port_disable(&bfad->bfa.modules.port,
bfa               298 drivers/scsi/bfa/bfad_bsg.c 	bfa_fcport_get_attr(&bfad->bfa, &iocmd->attr);
bfa               338 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_port_get_stats(&bfad->bfa.modules.port,
bfa               361 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_port_clear_stats(&bfad->bfa.modules.port,
bfa               381 drivers/scsi/bfa/bfad_bsg.c 		cmd->status = bfa_fcport_cfg_topology(&bfad->bfa, cmd->param);
bfa               383 drivers/scsi/bfa/bfad_bsg.c 		cmd->status = bfa_fcport_cfg_speed(&bfad->bfa, cmd->param);
bfa               385 drivers/scsi/bfa/bfad_bsg.c 		cmd->status = bfa_fcport_cfg_hardalpa(&bfad->bfa, cmd->param);
bfa               387 drivers/scsi/bfa/bfad_bsg.c 		cmd->status = bfa_fcport_clr_hardalpa(&bfad->bfa);
bfa               401 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fcport_cfg_maxfrsize(&bfad->bfa, iocmd->maxfrsize);
bfa               417 drivers/scsi/bfa/bfad_bsg.c 		rc = bfa_fcport_cfg_bbcr(&bfad->bfa, BFA_TRUE, iocmd->bb_scn);
bfa               419 drivers/scsi/bfa/bfad_bsg.c 		rc = bfa_fcport_cfg_bbcr(&bfad->bfa, BFA_FALSE, 0);
bfa               438 drivers/scsi/bfa/bfad_bsg.c 		bfa_fcport_get_bbcr_attr(&bfad->bfa, &iocmd->attr);
bfa               498 drivers/scsi/bfa/bfad_bsg.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(&bfad->bfa);
bfa               543 drivers/scsi/bfa/bfad_bsg.c 	bfa_fcpim_port_iostats(&bfad->bfa, &iocmd->iostats,
bfa               917 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fcport_set_qos_bw(&bfad->bfa, &iocmd->qos_bw);
bfa               927 drivers/scsi/bfa/bfad_bsg.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa);
bfa               956 drivers/scsi/bfa/bfad_bsg.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa);
bfa               988 drivers/scsi/bfa/bfad_bsg.c 	bfa_fcpim_path_tov_set(&bfad->bfa, iocmd->param);
bfa               999 drivers/scsi/bfa/bfad_bsg.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(&bfad->bfa);
bfa              1021 drivers/scsi/bfa/bfad_bsg.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(&bfad->bfa);
bfa              1043 drivers/scsi/bfa/bfad_bsg.c 	struct bfa_fcpim_s *fcpim = BFA_FCPIM(&bfad->bfa);
bfa              1170 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fcport_enable(&bfad->bfa);
bfa              1183 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fcport_disable(&bfad->bfa);
bfa              1198 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_ablk_query(&bfad->bfa.modules.ablk,
bfa              1220 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_ablk_pf_create(&bfad->bfa.modules.ablk,
bfa              1243 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_ablk_pf_delete(&bfad->bfa.modules.ablk,
bfa              1265 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_ablk_pf_update(&bfad->bfa.modules.ablk,
bfa              1290 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_ablk_adapter_config(&bfad->bfa.modules.ablk,
bfa              1313 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_ablk_port_config(&bfad->bfa.modules.ablk,
bfa              1337 drivers/scsi/bfa/bfad_bsg.c 		iocmd->status = bfa_ablk_optrom_en(&bfad->bfa.modules.ablk,
bfa              1340 drivers/scsi/bfa/bfad_bsg.c 		iocmd->status = bfa_ablk_optrom_dis(&bfad->bfa.modules.ablk,
bfa              1363 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_faa_query(&bfad->bfa, &iocmd->faa_attr,
bfa              1398 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_cee_get_attr(&bfad->bfa.modules.cee, iocmd_bufptr,
bfa              1435 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_cee_get_stats(&bfad->bfa.modules.cee, iocmd_bufptr,
bfa              1456 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_cee_reset_stats(&bfad->bfa.modules.cee, NULL, NULL);
bfa              1472 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_sfp_media(BFA_SFP_MOD(&bfad->bfa), &iocmd->media,
bfa              1494 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_sfp_speed(BFA_SFP_MOD(&bfad->bfa), iocmd->speed,
bfa              1516 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_flash_get_attr(BFA_FLASH(&bfad->bfa), &iocmd->attr,
bfa              1536 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_flash_erase_part(BFA_FLASH(&bfad->bfa), iocmd->type,
bfa              1567 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_flash_update_part(BFA_FLASH(&bfad->bfa),
bfa              1599 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_flash_read_part(BFA_FLASH(&bfad->bfa), iocmd->type,
bfa              1621 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_diag_tsensor_query(BFA_DIAG_MOD(&bfad->bfa),
bfa              1643 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_diag_memtest(BFA_DIAG_MOD(&bfad->bfa),
bfa              1666 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fcdiag_loopback(&bfad->bfa, iocmd->opmode,
bfa              1689 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_diag_fwping(BFA_DIAG_MOD(&bfad->bfa), iocmd->cnt,
bfa              1712 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fcdiag_queuetest(&bfad->bfa, iocmd->force,
bfa              1734 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_sfp_show(BFA_SFP_MOD(&bfad->bfa), &iocmd->sfp,
bfa              1754 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_diag_ledtest(BFA_DIAG_MOD(&bfad->bfa),
bfa              1768 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_diag_beacon_port(BFA_DIAG_MOD(&bfad->bfa),
bfa              1783 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fcdiag_lb_is_running(&bfad->bfa);
bfa              1800 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_dport_enable(&bfad->bfa, iocmd->lpcnt,
bfa              1821 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_dport_disable(&bfad->bfa, bfad_hcb_comp, &fcomp);
bfa              1842 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_dport_start(&bfad->bfa, iocmd->lpcnt,
bfa              1865 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_dport_show(&bfad->bfa, &iocmd->result);
bfa              1882 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_phy_get_attr(BFA_PHY(&bfad->bfa), iocmd->instance,
bfa              1903 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_phy_get_stats(BFA_PHY(&bfad->bfa), iocmd->instance,
bfa              1932 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_phy_read(BFA_PHY(&bfad->bfa),
bfa              1955 drivers/scsi/bfa/bfad_bsg.c 	attr->pwwn =  bfad->bfa.ioc.attr->pwwn;
bfa              1956 drivers/scsi/bfa/bfad_bsg.c 	attr->nwwn =  bfad->bfa.ioc.attr->nwwn;
bfa              1957 drivers/scsi/bfa/bfad_bsg.c 	attr->plog_enabled = (bfa_boolean_t)bfad->bfa.plog->plog_enabled;
bfa              1958 drivers/scsi/bfa/bfad_bsg.c 	attr->io_profile = bfa_fcpim_get_io_profile(&bfad->bfa);
bfa              1959 drivers/scsi/bfa/bfad_bsg.c 	attr->path_tov  = bfa_fcpim_path_tov_get(&bfad->bfa);
bfa              1983 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_phy_update(BFA_PHY(&bfad->bfa),
bfa              2041 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_ioc_debug_fwcore(&bfad->bfa.ioc, iocmd_bufptr,
bfa              2057 drivers/scsi/bfa/bfad_bsg.c 		bfad->bfa.ioc.dbg_fwsave_once = BFA_TRUE;
bfa              2093 drivers/scsi/bfa/bfad_bsg.c 		iocmd->status = bfa_fcpim_profile_on(&bfad->bfa, ktime_get_real_seconds());
bfa              2095 drivers/scsi/bfa/bfad_bsg.c 		iocmd->status = bfa_fcpim_profile_off(&bfad->bfa);
bfa              2141 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fcport_get_stats(&bfad->bfa, &cb_qe);
bfa              2165 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fcport_clear_stats(&bfad->bfa, &cb_qe);
bfa              2186 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_flash_update_part(BFA_FLASH(&bfad->bfa),
bfa              2187 drivers/scsi/bfa/bfad_bsg.c 			BFA_FLASH_PART_BOOT, bfad->bfa.ioc.port_id,
bfa              2208 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_flash_read_part(BFA_FLASH(&bfad->bfa),
bfa              2209 drivers/scsi/bfa/bfad_bsg.c 			BFA_FLASH_PART_BOOT, bfad->bfa.ioc.port_id,
bfa              2225 drivers/scsi/bfa/bfad_bsg.c 	struct bfi_iocfc_cfgrsp_s *cfgrsp = bfad->bfa.iocfc.cfgrsp;
bfa              2249 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_flash_update_part(BFA_FLASH(&bfad->bfa),
bfa              2251 drivers/scsi/bfa/bfad_bsg.c 				bfad->bfa.ioc.port_id, &iocmd->cfg,
bfa              2272 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_flash_read_part(BFA_FLASH(&bfad->bfa),
bfa              2274 drivers/scsi/bfa/bfad_bsg.c 				bfad->bfa.ioc.port_id, &iocmd->cfg,
bfa              2290 drivers/scsi/bfa/bfad_bsg.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa);
bfa              2296 drivers/scsi/bfa/bfad_bsg.c 	if (bfa_fcport_is_dport(&bfad->bfa)) {
bfa              2307 drivers/scsi/bfa/bfad_bsg.c 			bfa_fcport_disable(&bfad->bfa);
bfa              2311 drivers/scsi/bfa/bfad_bsg.c 			bfa_fcport_disable(&bfad->bfa);
bfa              2315 drivers/scsi/bfa/bfad_bsg.c 		if (!bfa_fcport_is_disabled(&bfad->bfa))
bfa              2316 drivers/scsi/bfa/bfad_bsg.c 			bfa_fcport_enable(&bfad->bfa);
bfa              2330 drivers/scsi/bfa/bfad_bsg.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa);
bfa              2341 drivers/scsi/bfa/bfad_bsg.c 		iocmd->attr.port_id = bfa_lps_get_base_pid(&bfad->bfa);
bfa              2353 drivers/scsi/bfa/bfad_bsg.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa);
bfa              2357 drivers/scsi/bfa/bfad_bsg.c 	if (bfa_ioc_get_type(&bfad->bfa.ioc) == BFA_IOC_TYPE_FC) {
bfa              2381 drivers/scsi/bfa/bfad_bsg.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa);
bfa              2408 drivers/scsi/bfa/bfad_bsg.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa);
bfa              2443 drivers/scsi/bfa/bfad_bsg.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa);
bfa              2450 drivers/scsi/bfa/bfad_bsg.c 	WARN_ON(!bfa_ioc_get_fcmode(&bfad->bfa.ioc));
bfa              2455 drivers/scsi/bfa/bfad_bsg.c 		iocmd->status = bfa_fcport_get_stats(&bfad->bfa, &cb_qe);
bfa              2474 drivers/scsi/bfa/bfad_bsg.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa);
bfa              2481 drivers/scsi/bfa/bfad_bsg.c 	WARN_ON(!bfa_ioc_get_fcmode(&bfad->bfa.ioc));
bfa              2486 drivers/scsi/bfa/bfad_bsg.c 		iocmd->status = bfa_fcport_clear_stats(&bfad->bfa, &cb_qe);
bfa              2566 drivers/scsi/bfa/bfad_bsg.c 		iocmd->status = bfa_fcpim_lunmask_update(&bfad->bfa, BFA_TRUE);
bfa              2571 drivers/scsi/bfa/bfad_bsg.c 		iocmd->status = bfa_fcpim_lunmask_update(&bfad->bfa, BFA_FALSE);
bfa              2576 drivers/scsi/bfa/bfad_bsg.c 		iocmd->status = bfa_fcpim_lunmask_clear(&bfad->bfa);
bfa              2590 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fcpim_lunmask_query(&bfad->bfa, lun_mask);
bfa              2604 drivers/scsi/bfa/bfad_bsg.c 		iocmd->status = bfa_fcpim_lunmask_add(&bfad->bfa, iocmd->vf_id,
bfa              2607 drivers/scsi/bfa/bfad_bsg.c 		iocmd->status = bfa_fcpim_lunmask_delete(&bfad->bfa,
bfa              2622 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fcpim_throttle_get(&bfad->bfa,
bfa              2637 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fcpim_throttle_set(&bfad->bfa,
bfa              2654 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_tfru_read(BFA_FRU(&bfad->bfa),
bfa              2676 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_tfru_write(BFA_FRU(&bfad->bfa),
bfa              2698 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fruvpd_read(BFA_FRU(&bfad->bfa),
bfa              2720 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fruvpd_update(BFA_FRU(&bfad->bfa),
bfa              2740 drivers/scsi/bfa/bfad_bsg.c 	iocmd->status = bfa_fruvpd_get_max_size(BFA_FRU(&bfad->bfa),
bfa              3313 drivers/scsi/bfa/bfad_bsg.c 	hal_fcxp = bfa_fcxp_req_rsp_alloc(drv_fcxp, &bfad->bfa,
bfa              3328 drivers/scsi/bfa/bfad_bsg.c 	lp_tag = bfa_lps_get_tag_from_pid(&bfad->bfa, bsg_fcpt->fchs.s_id);
bfa                85 drivers/scsi/bfa/bfad_debugfs.c 	rc = bfa_ioc_debug_fwtrc(&bfad->bfa.ioc,
bfa               127 drivers/scsi/bfa/bfad_debugfs.c 	rc = bfa_ioc_debug_fwsave(&bfad->bfa.ioc,
bfa               191 drivers/scsi/bfa/bfad_debugfs.c bfad_reg_offset_check(struct bfa_s *bfa, u32 offset, u32 len)
bfa               207 drivers/scsi/bfa/bfad_debugfs.c 		if ((offset + (len<<2)) > BFA_REG_ADDRMSK(&bfa->ioc))
bfa               244 drivers/scsi/bfa/bfad_debugfs.c 	struct bfa_s *bfa = &bfad->bfa;
bfa               245 drivers/scsi/bfa/bfad_debugfs.c 	struct bfa_ioc_s *ioc = &bfa->ioc;
bfa               283 drivers/scsi/bfa/bfad_debugfs.c 	rc = bfad_reg_offset_check(bfa, addr, len);
bfa               313 drivers/scsi/bfa/bfad_debugfs.c 	struct bfa_s *bfa = &bfad->bfa;
bfa               314 drivers/scsi/bfa/bfad_debugfs.c 	struct bfa_ioc_s *ioc = &bfa->ioc;
bfa               337 drivers/scsi/bfa/bfad_debugfs.c 	rc = bfad_reg_offset_check(bfa, addr, 1);
bfa               185 drivers/scsi/bfa/bfad_drv.h 	struct bfa_s	bfa;
bfa               249 drivers/scsi/bfa/bfad_im.c 	tskim = bfa_tskim_alloc(&bfad->bfa, (struct bfad_tskim_s *) cmnd);
bfa               315 drivers/scsi/bfa/bfad_im.c 	tskim = bfa_tskim_alloc(&bfad->bfa, (struct bfad_tskim_s *) cmnd);
bfa               932 drivers/scsi/bfa/bfad_im.c 	struct bfa_s *bfa = itnim_data->itnim->bfa_itnim->bfa;
bfa               934 drivers/scsi/bfa/bfad_im.c 	struct bfa_lun_mask_s *lun_list = bfa_get_lun_mask_list(bfa);
bfa               957 drivers/scsi/bfa/bfad_im.c 	struct bfa_s *bfa;
bfa               963 drivers/scsi/bfa/bfad_im.c 	bfa = itnim_data->itnim->bfa_itnim->bfa;
bfa               965 drivers/scsi/bfa/bfad_im.c 	if (bfa_get_lun_mask_status(bfa) == BFA_LUNMASK_ENABLED) {
bfa               991 drivers/scsi/bfa/bfad_im.c bfad_im_supported_speeds(struct bfa_s *bfa)
bfa              1000 drivers/scsi/bfa/bfad_im.c 	bfa_ioc_get_attr(&bfa->ioc, ioc_attr);
bfa              1031 drivers/scsi/bfa/bfad_im.c 	struct bfa_fcport_s *fcport = BFA_FCPORT_MOD(&bfad->bfa);
bfa              1037 drivers/scsi/bfa/bfad_im.c 	fc_host_max_npiv_vports(host) = bfa_lps_get_max_vport(&bfad->bfa);
bfa              1053 drivers/scsi/bfa/bfad_im.c 	fc_host_supported_speeds(host) = bfad_im_supported_speeds(&bfad->bfa);
bfa              1156 drivers/scsi/bfa/bfad_im.c 					bfa_fcpim_path_tov_get(&bfad->bfa) + 1;
bfa              1182 drivers/scsi/bfa/bfad_im.c 					bfa_fcpim_path_tov_get(&bfad->bfa) + 1;
bfa              1254 drivers/scsi/bfa/bfad_im.c 	hal_io = bfa_ioim_alloc(&bfad->bfa, (struct bfad_ioim_s *) cmnd,
bfa              1322 drivers/scsi/bfa/bfad_im.c 	bfa_iocfc_get_bootwwns(&bfad->bfa, &nwwns, wwns);
bfa                33 drivers/scsi/bfa/bfad_im.h u32 bfad_im_supported_speeds(struct bfa_s *bfa);