Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/bfa/ !
Dbfa_core.c248 bfa_iocfc_sm_stopped_entry(struct bfa_iocfc_s *iocfc) in bfa_iocfc_sm_stopped_entry() argument
253 bfa_iocfc_sm_stopped(struct bfa_iocfc_s *iocfc, enum iocfc_event event) in bfa_iocfc_sm_stopped() argument
255 bfa_trc(iocfc->bfa, event); in bfa_iocfc_sm_stopped()
260 bfa_fsm_set_state(iocfc, bfa_iocfc_sm_initing); in bfa_iocfc_sm_stopped()
263 bfa_sm_fault(iocfc->bfa, event); in bfa_iocfc_sm_stopped()
269 bfa_iocfc_sm_initing_entry(struct bfa_iocfc_s *iocfc) in bfa_iocfc_sm_initing_entry() argument
271 bfa_ioc_enable(&iocfc->bfa->ioc); in bfa_iocfc_sm_initing_entry()
275 bfa_iocfc_sm_initing(struct bfa_iocfc_s *iocfc, enum iocfc_event event) in bfa_iocfc_sm_initing() argument
277 bfa_trc(iocfc->bfa, event); in bfa_iocfc_sm_initing()
281 bfa_fsm_set_state(iocfc, bfa_iocfc_sm_dconf_read); in bfa_iocfc_sm_initing()
[all …]
Dbfa.h36 #define bfa_reqq_pi(__bfa, __reqq) ((__bfa)->iocfc.req_cq_pi[__reqq])
38 (*(u32 *)((__bfa)->iocfc.req_cq_shadow_ci[__reqq].kva))
42 ((__bfa)->iocfc.cfg.drvcfg.num_reqq_elems - 1)) == \
47 ((void *)((struct bfi_msg_s *)((__bfa)->iocfc.req_cq_ba[__reqq].kva) \
51 (__mh).mtag.h2i.qid = (__bfa)->iocfc.hw_qid[__reqq];\
52 (__bfa)->iocfc.req_cq_pi[__reqq]++; \
53 (__bfa)->iocfc.req_cq_pi[__reqq] &= \
54 ((__bfa)->iocfc.cfg.drvcfg.num_reqq_elems - 1); \
55 writel((__bfa)->iocfc.req_cq_pi[__reqq], \
56 (__bfa)->iocfc.bfa_regs.cpe_q_pi[__reqq]); \
[all …]
Dbfa_hw_cb.c18 struct bfa_iocfc_regs_s *bfa_regs = &bfa->iocfc.bfa_regs; in bfa_hwcb_reginit()
35 bfa->iocfc.bfa_regs.intr_status); in bfa_hwcb_reqq_ack_msix()
49 bfa->iocfc.bfa_regs.intr_status); in bfa_hwcb_rspq_ack_msix()
55 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwcb_rspq_ack_msix()
65 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwcb_rspq_ack()
169 bfa->iocfc.hwif.hw_reqq_ack = bfa_hwcb_reqq_ack_msix; in bfa_hwcb_isr_mode_set()
170 bfa->iocfc.hwif.hw_rspq_ack = bfa_hwcb_rspq_ack_msix; in bfa_hwcb_isr_mode_set()
172 bfa->iocfc.hwif.hw_reqq_ack = NULL; in bfa_hwcb_isr_mode_set()
173 bfa->iocfc.hwif.hw_rspq_ack = bfa_hwcb_rspq_ack; in bfa_hwcb_isr_mode_set()
Dbfa_hw_ct.c28 struct bfa_iocfc_regs_s *bfa_regs = &bfa->iocfc.bfa_regs; in bfa_hwct_reginit()
44 struct bfa_iocfc_regs_s *bfa_regs = &bfa->iocfc.bfa_regs; in bfa_hwct2_reginit()
56 r32 = readl(bfa->iocfc.bfa_regs.cpe_q_ctrl[reqq]); in bfa_hwct_reqq_ack()
57 writel(r32, bfa->iocfc.bfa_regs.cpe_q_ctrl[reqq]); in bfa_hwct_reqq_ack()
71 r32 = readl(bfa->iocfc.bfa_regs.rme_q_ctrl[rspq]); in bfa_hwct_rspq_ack()
72 writel(r32, bfa->iocfc.bfa_regs.rme_q_ctrl[rspq]); in bfa_hwct_rspq_ack()
75 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwct_rspq_ack()
87 writel(ci, bfa->iocfc.bfa_regs.rme_q_ci[rspq]); in bfa_hwct2_rspq_ack()
Dbfa_modules.h63 struct bfa_iocfc_s iocfc; /* IOCFC module */ member
Dbfa_ioc.c5854 bfa_fsm_send_event(&dconf->bfa->iocfc, in bfa_dconf_sm_uninit()
5874 bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE); in bfa_dconf_sm_uninit()
5906 bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE); in bfa_dconf_sm_flash_read()
5933 bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE); in bfa_dconf_sm_ready()
5996 bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE); in bfa_dconf_sm_final_sync()
6044 bfa_fsm_send_event(&dconf->bfa->iocfc, IOCFC_E_DCONF_DONE); in bfa_dconf_sm_iocdown_dirty()
6107 bfa_fsm_send_event(&bfa->iocfc, IOCFC_E_DCONF_DONE); in bfa_dconf_init_cb()
Dbfa_svc.c3713 struct bfa_iocfc_s *iocfc = &bfa->iocfc; in bfa_fcport_is_pbcdisabled() local
3714 struct bfi_iocfc_cfgrsp_s *cfgrsp = iocfc->cfgrsp; in bfa_fcport_is_pbcdisabled()
Dbfad_bsg.c2225 struct bfi_iocfc_cfgrsp_s *cfgrsp = bfad->bfa.iocfc.cfgrsp; in bfad_iocmd_preboot_query()