Lines Matching refs:lbc

67 	struct fsl_lbc_regs __iomem *lbc;  in fsl_lbc_find()  local
72 lbc = fsl_lbc_ctrl_dev->regs; in fsl_lbc_find()
73 for (i = 0; i < ARRAY_SIZE(lbc->bank); i++) { in fsl_lbc_find()
74 u32 br = in_be32(&lbc->bank[i].br); in fsl_lbc_find()
75 u32 or = in_be32(&lbc->bank[i].or); in fsl_lbc_find()
98 struct fsl_lbc_regs __iomem *lbc; in fsl_upm_find() local
107 lbc = fsl_lbc_ctrl_dev->regs; in fsl_upm_find()
108 br = in_be32(&lbc->bank[bank].br); in fsl_upm_find()
112 upm->mxmr = &lbc->mamr; in fsl_upm_find()
115 upm->mxmr = &lbc->mbmr; in fsl_upm_find()
118 upm->mxmr = &lbc->mcmr; in fsl_upm_find()
188 struct fsl_lbc_regs __iomem *lbc = ctrl->regs; in fsl_lbc_ctrl_init() local
191 setbits32(&lbc->ltesr, LTESR_CLEAR); in fsl_lbc_ctrl_init()
192 out_be32(&lbc->lteatr, 0); in fsl_lbc_ctrl_init()
193 out_be32(&lbc->ltear, 0); in fsl_lbc_ctrl_init()
194 out_be32(&lbc->lteccr, LTECCR_CLEAR); in fsl_lbc_ctrl_init()
195 out_be32(&lbc->ltedr, LTEDR_ENABLE); in fsl_lbc_ctrl_init()
199 clrsetbits_be32(&lbc->lbcr, LBCR_BMT, LBCR_BMTPS); in fsl_lbc_ctrl_init()
212 struct fsl_lbc_regs __iomem *lbc = ctrl->regs; in fsl_lbc_ctrl_irq() local
217 status = in_be32(&lbc->ltesr); in fsl_lbc_ctrl_irq()
223 out_be32(&lbc->ltesr, LTESR_CLEAR); in fsl_lbc_ctrl_irq()
224 out_be32(&lbc->lteatr, 0); in fsl_lbc_ctrl_irq()
225 out_be32(&lbc->ltear, 0); in fsl_lbc_ctrl_irq()
355 struct fsl_lbc_regs __iomem *lbc; in fsl_lbc_syscore_suspend() local
361 lbc = ctrl->regs; in fsl_lbc_syscore_suspend()
362 if (!lbc) in fsl_lbc_syscore_suspend()
369 _memcpy_fromio(ctrl->saved_regs, lbc, sizeof(struct fsl_lbc_regs)); in fsl_lbc_syscore_suspend()
379 struct fsl_lbc_regs __iomem *lbc; in fsl_lbc_syscore_resume() local
385 lbc = ctrl->regs; in fsl_lbc_syscore_resume()
386 if (!lbc) in fsl_lbc_syscore_resume()
390 _memcpy_toio(lbc, ctrl->saved_regs, in fsl_lbc_syscore_resume()