• Home
  • Raw
  • Download

Lines Matching full:ifc

39  * fsl_ifc_find - find IFC bank
42 * This function walks IFC banks comparing "Base address" field of the CSPR
68 struct fsl_ifc_global __iomem *ifc = ctrl->gregs; in fsl_ifc_ctrl_init() local
73 if (ifc_in32(&ifc->cm_evter_stat) & IFC_CM_EVTER_STAT_CSER) in fsl_ifc_ctrl_init()
74 ifc_out32(IFC_CM_EVTER_STAT_CSER, &ifc->cm_evter_stat); in fsl_ifc_ctrl_init()
77 ifc_out32(IFC_CM_EVTER_EN_CSEREN, &ifc->cm_evter_en); in fsl_ifc_ctrl_init()
80 ifc_out32(IFC_CM_EVTER_INTR_EN_CSERIREN, &ifc->cm_evter_intr_en); in fsl_ifc_ctrl_init()
81 ifc_out32(0x0, &ifc->cm_erattr0); in fsl_ifc_ctrl_init()
82 ifc_out32(0x0, &ifc->cm_erattr1); in fsl_ifc_ctrl_init()
114 struct fsl_ifc_runtime __iomem *ifc = ctrl->rregs; in check_nand_stat() local
120 stat = ifc_in32(&ifc->ifc_nand.nand_evter_stat); in check_nand_stat()
122 ifc_out32(stat, &ifc->ifc_nand.nand_evter_stat); in check_nand_stat()
143 * NOTE: This interrupt is used to report ifc events of various kinds,
149 struct fsl_ifc_global __iomem *ifc = ctrl->gregs; in fsl_ifc_ctrl_irq() local
154 cs_err = ifc_in32(&ifc->cm_evter_stat); in fsl_ifc_ctrl_irq()
156 dev_err(ctrl->dev, "transaction sent to IFC is not mapped to any memory bank 0x%08X\n", in fsl_ifc_ctrl_irq()
159 ifc_out32(IFC_CM_EVTER_STAT_CSER, &ifc->cm_evter_stat); in fsl_ifc_ctrl_irq()
162 status = ifc_in32(&ifc->cm_erattr0); in fsl_ifc_ctrl_irq()
163 err_addr = ifc_in32(&ifc->cm_erattr1); in fsl_ifc_ctrl_irq()
218 /* IOMAP the entire IFC region */ in fsl_ifc_ctrl_probe()
227 dev_dbg(&dev->dev, "IFC REGISTERS are LITTLE endian\n"); in fsl_ifc_ctrl_probe()
230 dev_dbg(&dev->dev, "IFC REGISTERS are BIG endian\n"); in fsl_ifc_ctrl_probe()
237 dev_info(&dev->dev, "IFC version %d.%d, %d banks\n", in fsl_ifc_ctrl_probe()
253 dev_err(&dev->dev, "failed to get irq resource for IFC\n"); in fsl_ifc_ctrl_probe()
271 "fsl-ifc", fsl_ifc_ctrl_dev); in fsl_ifc_ctrl_probe()
280 0, "fsl-ifc-nand", fsl_ifc_ctrl_dev); in fsl_ifc_ctrl_probe()
302 .compatible = "fsl,ifc",
309 .name = "fsl-ifc",