Home
last modified time | relevance | path

Searched refs:bfa_regs (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/scsi/bfa/
Dbfa_hw_ct.c54 struct bfa_iocfc_regs_s *bfa_regs = &bfa->iocfc.bfa_regs; in bfa_hwct_reginit() local
59 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); in bfa_hwct_reginit()
60 bfa_regs->intr_mask = (kva + HOSTFN0_INT_MSK); in bfa_hwct_reginit()
62 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); in bfa_hwct_reginit()
63 bfa_regs->intr_mask = (kva + HOSTFN1_INT_MSK); in bfa_hwct_reginit()
71 bfa_regs->cpe_q_pi[i] = (kva + CPE_PI_PTR_Q(q << 5)); in bfa_hwct_reginit()
72 bfa_regs->cpe_q_ci[i] = (kva + CPE_CI_PTR_Q(q << 5)); in bfa_hwct_reginit()
73 bfa_regs->cpe_q_depth[i] = (kva + CPE_DEPTH_Q(q << 5)); in bfa_hwct_reginit()
74 bfa_regs->cpe_q_ctrl[i] = (kva + CPE_QCTRL_Q(q << 5)); in bfa_hwct_reginit()
80 bfa_regs->rme_q_pi[i] = (kva + RME_PI_PTR_Q(q << 5)); in bfa_hwct_reginit()
[all …]
Dbfa_hw_cb.c25 struct bfa_iocfc_regs_s *bfa_regs = &bfa->iocfc.bfa_regs; in bfa_hwcb_reginit() local
30 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); in bfa_hwcb_reginit()
31 bfa_regs->intr_mask = (kva + HOSTFN0_INT_MSK); in bfa_hwcb_reginit()
33 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); in bfa_hwcb_reginit()
34 bfa_regs->intr_mask = (kva + HOSTFN1_INT_MSK); in bfa_hwcb_reginit()
42 bfa_regs->cpe_q_pi[i] = (kva + CPE_Q_PI(q)); in bfa_hwcb_reginit()
43 bfa_regs->cpe_q_ci[i] = (kva + CPE_Q_CI(q)); in bfa_hwcb_reginit()
44 bfa_regs->cpe_q_depth[i] = (kva + CPE_Q_DEPTH(q)); in bfa_hwcb_reginit()
50 bfa_regs->rme_q_pi[i] = (kva + RME_Q_PI(q)); in bfa_hwcb_reginit()
51 bfa_regs->rme_q_ci[i] = (kva + RME_Q_CI(q)); in bfa_hwcb_reginit()
[all …]
Dbfa_core.c188 intr = readl(bfa->iocfc.bfa_regs.intr_status); in bfa_intx()
196 writel(qintr, bfa->iocfc.bfa_regs.intr_status); in bfa_intx()
210 writel(qintr, bfa->iocfc.bfa_regs.intr_status); in bfa_intx()
251 writel(intr_unmask, bfa->iocfc.bfa_regs.intr_status); in bfa_isr_enable()
252 writel(~intr_unmask, bfa->iocfc.bfa_regs.intr_mask); in bfa_isr_enable()
261 writel(-1L, bfa->iocfc.bfa_regs.intr_mask); in bfa_isr_disable()
318 writel(pi, bfa->iocfc.bfa_regs.rme_q_ci[qid]); in bfa_msix_rspq()
334 intr = readl(bfa->iocfc.bfa_regs.intr_status); in bfa_msix_lpu_err()
367 writel(intr, bfa->iocfc.bfa_regs.intr_status); in bfa_msix_lpu_err()
Dbfa.h62 (__bfa)->iocfc.bfa_regs.cpe_q_pi[__reqq]); \
265 struct bfa_iocfc_regs_s bfa_regs; /* BFA device registers */ member