Lines Matching refs:lbc

70 	struct fsl_lbc_regs __iomem *lbc;  in fsl_lbc_find()  local
75 lbc = fsl_lbc_ctrl_dev->regs; in fsl_lbc_find()
76 for (i = 0; i < ARRAY_SIZE(lbc->bank); i++) { in fsl_lbc_find()
77 u32 br = in_be32(&lbc->bank[i].br); in fsl_lbc_find()
78 u32 or = in_be32(&lbc->bank[i].or); in fsl_lbc_find()
101 struct fsl_lbc_regs __iomem *lbc; in fsl_upm_find() local
110 lbc = fsl_lbc_ctrl_dev->regs; in fsl_upm_find()
111 br = in_be32(&lbc->bank[bank].br); in fsl_upm_find()
115 upm->mxmr = &lbc->mamr; in fsl_upm_find()
118 upm->mxmr = &lbc->mbmr; in fsl_upm_find()
121 upm->mxmr = &lbc->mcmr; in fsl_upm_find()
191 struct fsl_lbc_regs __iomem *lbc = ctrl->regs; in fsl_lbc_ctrl_init() local
194 setbits32(&lbc->ltesr, LTESR_CLEAR); in fsl_lbc_ctrl_init()
195 out_be32(&lbc->lteatr, 0); in fsl_lbc_ctrl_init()
196 out_be32(&lbc->ltear, 0); in fsl_lbc_ctrl_init()
197 out_be32(&lbc->lteccr, LTECCR_CLEAR); in fsl_lbc_ctrl_init()
198 out_be32(&lbc->ltedr, LTEDR_ENABLE); in fsl_lbc_ctrl_init()
202 clrsetbits_be32(&lbc->lbcr, LBCR_BMT, LBCR_BMTPS); in fsl_lbc_ctrl_init()
215 struct fsl_lbc_regs __iomem *lbc = ctrl->regs; in fsl_lbc_ctrl_irq() local
220 status = in_be32(&lbc->ltesr); in fsl_lbc_ctrl_irq()
226 out_be32(&lbc->ltesr, LTESR_CLEAR); in fsl_lbc_ctrl_irq()
227 out_be32(&lbc->lteatr, 0); in fsl_lbc_ctrl_irq()
228 out_be32(&lbc->ltear, 0); in fsl_lbc_ctrl_irq()
360 struct fsl_lbc_regs __iomem *lbc = ctrl->regs; in fsl_lbc_suspend() local
366 _memcpy_fromio(ctrl->saved_regs, lbc, sizeof(struct fsl_lbc_regs)); in fsl_lbc_suspend()
374 struct fsl_lbc_regs __iomem *lbc = ctrl->regs; in fsl_lbc_resume() local
377 _memcpy_toio(lbc, ctrl->saved_regs, in fsl_lbc_resume()