Home
last modified time | relevance | path

Searched refs:iocfc (Results 1 – 8 of 8) sorted by relevance

/drivers/scsi/bfa/
Dbfa_core.c252 bfa_iocfc_sm_stopped_entry(struct bfa_iocfc_s *iocfc) in bfa_iocfc_sm_stopped_entry() argument
257 bfa_iocfc_sm_stopped(struct bfa_iocfc_s *iocfc, enum iocfc_event event) in bfa_iocfc_sm_stopped() argument
259 bfa_trc(iocfc->bfa, event); in bfa_iocfc_sm_stopped()
264 bfa_fsm_set_state(iocfc, bfa_iocfc_sm_initing); in bfa_iocfc_sm_stopped()
267 bfa_sm_fault(iocfc->bfa, event); in bfa_iocfc_sm_stopped()
273 bfa_iocfc_sm_initing_entry(struct bfa_iocfc_s *iocfc) in bfa_iocfc_sm_initing_entry() argument
275 bfa_ioc_enable(&iocfc->bfa->ioc); in bfa_iocfc_sm_initing_entry()
279 bfa_iocfc_sm_initing(struct bfa_iocfc_s *iocfc, enum iocfc_event event) in bfa_iocfc_sm_initing() argument
281 bfa_trc(iocfc->bfa, event); in bfa_iocfc_sm_initing()
285 bfa_fsm_set_state(iocfc, bfa_iocfc_sm_dconf_read); in bfa_iocfc_sm_initing()
[all …]
Dbfa.h43 #define bfa_reqq_pi(__bfa, __reqq) ((__bfa)->iocfc.req_cq_pi[__reqq])
45 (*(u32 *)((__bfa)->iocfc.req_cq_shadow_ci[__reqq].kva))
49 ((__bfa)->iocfc.cfg.drvcfg.num_reqq_elems - 1)) == \
54 ((void *)((struct bfi_msg_s *)((__bfa)->iocfc.req_cq_ba[__reqq].kva) \
58 (__mh).mtag.h2i.qid = (__bfa)->iocfc.hw_qid[__reqq];\
59 (__bfa)->iocfc.req_cq_pi[__reqq]++; \
60 (__bfa)->iocfc.req_cq_pi[__reqq] &= \
61 ((__bfa)->iocfc.cfg.drvcfg.num_reqq_elems - 1); \
62 writel((__bfa)->iocfc.req_cq_pi[__reqq], \
63 (__bfa)->iocfc.bfa_regs.cpe_q_pi[__reqq]); \
[all …]
Dbfa_hw_cb.c25 struct bfa_iocfc_regs_s *bfa_regs = &bfa->iocfc.bfa_regs; in bfa_hwcb_reginit()
42 bfa->iocfc.bfa_regs.intr_status); in bfa_hwcb_reqq_ack_msix()
56 bfa->iocfc.bfa_regs.intr_status); in bfa_hwcb_rspq_ack_msix()
62 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwcb_rspq_ack_msix()
73 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwcb_rspq_ack()
178 bfa->iocfc.hwif.hw_reqq_ack = bfa_hwcb_reqq_ack_msix; in bfa_hwcb_isr_mode_set()
179 bfa->iocfc.hwif.hw_rspq_ack = bfa_hwcb_rspq_ack_msix; in bfa_hwcb_isr_mode_set()
181 bfa->iocfc.hwif.hw_reqq_ack = NULL; in bfa_hwcb_isr_mode_set()
182 bfa->iocfc.hwif.hw_rspq_ack = bfa_hwcb_rspq_ack; in bfa_hwcb_isr_mode_set()
Dbfa_hw_ct.c35 struct bfa_iocfc_regs_s *bfa_regs = &bfa->iocfc.bfa_regs; in bfa_hwct_reginit()
51 struct bfa_iocfc_regs_s *bfa_regs = &bfa->iocfc.bfa_regs; in bfa_hwct2_reginit()
63 r32 = readl(bfa->iocfc.bfa_regs.cpe_q_ctrl[reqq]); in bfa_hwct_reqq_ack()
64 writel(r32, bfa->iocfc.bfa_regs.cpe_q_ctrl[reqq]); in bfa_hwct_reqq_ack()
78 r32 = readl(bfa->iocfc.bfa_regs.rme_q_ctrl[rspq]); in bfa_hwct_rspq_ack()
79 writel(r32, bfa->iocfc.bfa_regs.rme_q_ctrl[rspq]); in bfa_hwct_rspq_ack()
82 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwct_rspq_ack()
95 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwct2_rspq_ack()
Dbfa_modules.h116 struct bfa_iocfc_s iocfc; /* IOCFC module */ member
Dbfa_ioc.c5623 bfa_fsm_send_event(&dconf->bfa->iocfc, in bfa_dconf_sm_uninit()
5643 bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE); in bfa_dconf_sm_uninit()
5674 bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE); in bfa_dconf_sm_flash_read()
5701 bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE); in bfa_dconf_sm_ready()
5763 bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE); in bfa_dconf_sm_final_sync()
5811 bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE); in bfa_dconf_sm_iocdown_dirty()
5875 bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_DCONF_DONE); in bfa_dconf_init_cb()
Dbfa_svc.c3752 struct bfa_iocfc_s *iocfc = &bfa->iocfc; in bfa_fcport_is_pbcdisabled() local
3753 struct bfi_iocfc_cfgrsp_s *cfgrsp = iocfc->cfgrsp; in bfa_fcport_is_pbcdisabled()
Dbfad_bsg.c2170 struct bfi_iocfc_cfgrsp_s *cfgrsp = bfad->bfa.iocfc.cfgrsp; in bfad_iocmd_preboot_query()